Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
Exact expanded first-order arithmetic statement
forall p b c a n qb qc r. (~((p) = 1) /\ forall pfa_factor_left_bounded_prime pfa_factor_right_bounded_prime. (p) = pfa_factor_left_bounded_prime * pfa_factor_right_bounded_prime -> pfa_factor_left_bounded_prime = 1 \/ pfa_factor_right_bounded_prime = 1) -> (exists pfs_history_code_bounded_division pfs_history_scale_bounded_division. ((((exists pfa_gap_bounded_divisiontracebase. pfa_gap_bounded_divisiontracebase + S (a) = (p)) /\ (((((exists ff_h_pfp_bounded_divisiontraceinitial. ff_h_pfp_bounded_divisiontraceinitial + S (0) = S ((S (0)) * pfs_history_scale_bounded_division)) /\ exists ff_q_pfp_bounded_divisiontraceinitial. pfs_history_code_bounded_division = ff_q_pfp_bounded_divisiontraceinitial * S ((S (0)) * pfs_history_scale_bounded_division) + (0))) /\ (((((exists ff_h_pfp_bounded_divisiontraceterminal. ff_h_pfp_bounded_divisiontraceterminal + S (r) = S ((S (S (n))) * pfs_history_scale_bounded_division)) /\ exists ff_q_pfp_bounded_divisiontraceterminal. pfs_history_code_bounded_division = ff_q_pfp_bounded_divisiontraceterminal * S ((S (S (n))) * pfs_history_scale_bounded_division) + (r))) /\ ((forall pfh_index_bounded_divisiontracesteps. (exists pfa_gap_bounded_divisiontracestepsindex. pfa_gap_bounded_divisiontracestepsindex + S (pfh_index_bounded_divisiontracesteps) = (S (n))) -> (exists pfh_coefficient_bounded_divisiontracestepsstep pfh_before_bounded_divisiontracestepsstep pfh_after_bounded_divisiontracestepsstep pfh_product_bounded_divisiontracestepsstep. ((((exists ff_h_pfp_bounded_divisiontracestepsstepcoefficient. ff_h_pfp_bounded_divisiontracestepsstepcoefficient + S (pfh_coefficient_bounded_divisiontracestepsstep) = S ((S (pfh_index_bounded_divisiontracesteps)) * c)) /\ exists ff_q_pfp_bounded_divisiontracestepsstepcoefficient. b = ff_q_pfp_bounded_divisiontracestepsstepcoefficient * S ((S (pfh_index_bounded_divisiontracesteps)) * c) + (pfh_coefficient_bounded_divisiontracestepsstep))) /\ (((((exists ff_h_pfp_bounded_divisiontracestepsstepbefore. ff_h_pfp_bounded_divisiontracestepsstepbefore + S (pfh_before_bounded_divisiontracestepsstep) = S ((S (pfh_index_bounded_divisiontracesteps)) * pfs_history_scale_bounded_division)) /\ exists ff_q_pfp_bounded_divisiontracestepsstepbefore. pfs_history_code_bounded_division = ff_q_pfp_bounded_divisiontracestepsstepbefore * S ((S (pfh_index_bounded_divisiontracesteps)) * pfs_history_scale_bounded_division) + (pfh_before_bounded_divisiontracestepsstep))) /\ (((((exists ff_h_pfp_bounded_divisiontracestepsstepafter. ff_h_pfp_bounded_divisiontracestepsstepafter + S (pfh_after_bounded_divisiontracestepsstep) = S ((S (S (pfh_index_bounded_divisiontracesteps))) * pfs_history_scale_bounded_division)) /\ exists ff_q_pfp_bounded_divisiontracestepsstepafter. pfs_history_code_bounded_division = ff_q_pfp_bounded_divisiontracestepsstepafter * S ((S (S (pfh_index_bounded_divisiontracesteps))) * pfs_history_scale_bounded_division) + (pfh_after_bounded_divisiontracestepsstep))) /\ (((((exists pfa_gap_bounded_divisiontracestepsstepmultiplyleft. pfa_gap_bounded_divisiontracestepsstepmultiplyleft + S (pfh_before_bounded_divisiontracestepsstep) = (p)) /\ (((exists pfa_gap_bounded_divisiontracestepsstepmultiplyright. pfa_gap_bounded_divisiontracestepsstepmultiplyright + S (a) = (p)) /\ ((((exists pfa_gap_bounded_divisiontracestepsstepmultiplyresultbound. pfa_gap_bounded_divisiontracestepsstepmultiplyresultbound + S (pfh_product_bounded_divisiontracestepsstep) = (p)) /\ ((exists pfa_offset_left_bounded_divisiontracestepsstepmultiplyresultcongruence pfa_offset_right_bounded_divisiontracestepsstepmultiplyresultcongruence. ((pfh_before_bounded_divisiontracestepsstep) * (a)) + (p) * pfa_offset_left_bounded_divisiontracestepsstepmultiplyresultcongruence = (pfh_product_bounded_divisiontracestepsstep) + (p) * pfa_offset_right_bounded_divisiontracestepsstepmultiplyresultcongruence))))))))) /\ ((((exists pfa_gap_bounded_divisiontracestepsstepaddleft. pfa_gap_bounded_divisiontracestepsstepaddleft + S (pfh_product_bounded_divisiontracestepsstep) = (p)) /\ (((exists pfa_gap_bounded_divisiontracestepsstepaddright. pfa_gap_bounded_divisiontracestepsstepaddright + S (pfh_coefficient_bounded_divisiontracestepsstep) = (p)) /\ ((((exists pfa_gap_bounded_divisiontracestepsstepaddresultbound. pfa_gap_bounded_divisiontracestepsstepaddresultbound + S (pfh_after_bounded_divisiontracestepsstep) = (p)) /\ ((exists pfa_offset_left_bounded_divisiontracestepsstepaddresultcongruence pfa_offset_right_bounded_divisiontracestepsstepaddresultcongruence. ((pfh_product_bounded_divisiontracestepsstep) + (pfh_coefficient_bounded_divisiontracestepsstep)) + (p) * pfa_offset_left_bounded_divisiontracestepsstepaddresultcongruence = (pfh_after_bounded_divisiontracestepsstep) + (p) * pfa_offset_right_bounded_divisiontracestepsstepaddresultcongruence)))))))))))))))))))))))))) /\ ((forall ff_index_mcp_pfs_bounded_divisionquotient ff_source_mcp_pfs_bounded_divisionquotient ff_target_mcp_pfs_bounded_divisionquotient. (exists mcp_gap_pfs_bounded_divisionquotient_bound. mcp_gap_pfs_bounded_divisionquotient_bound + S (ff_index_mcp_pfs_bounded_divisionquotient) = (n)) -> (((exists fs_h_mcp_pfs_bounded_divisionquotient_source. fs_h_mcp_pfs_bounded_divisionquotient_source + S (ff_source_mcp_pfs_bounded_divisionquotient) = S ((S ((1) + (1) * ff_index_mcp_pfs_bounded_divisionquotient)) * pfs_history_scale_bounded_division)) /\ exists fs_q_mcp_pfs_bounded_divisionquotient_source. pfs_history_code_bounded_division = fs_q_mcp_pfs_bounded_divisionquotient_source * S ((S ((1) + (1) * ff_index_mcp_pfs_bounded_divisionquotient)) * pfs_history_scale_bounded_division) + (ff_source_mcp_pfs_bounded_divisionquotient))) -> (((exists fs_h_mcp_pfs_bounded_divisionquotient_target. fs_h_mcp_pfs_bounded_divisionquotient_target + S (ff_target_mcp_pfs_bounded_divisionquotient) = S ((S (ff_index_mcp_pfs_bounded_divisionquotient)) * qc)) /\ exists fs_q_mcp_pfs_bounded_divisionquotient_target. qb = fs_q_mcp_pfs_bounded_divisionquotient_target * S ((S (ff_index_mcp_pfs_bounded_divisionquotient)) * qc) + (ff_target_mcp_pfs_bounded_divisionquotient))) -> ff_target_mcp_pfs_bounded_divisionquotient = ff_source_mcp_pfs_bounded_divisionquotient)))) -> (forall fom_index_pfp_bounded_quotient. (exists fom_gap_pfp_bounded_quotient_index_bound. fom_gap_pfp_bounded_quotient_index_bound + S (fom_index_pfp_bounded_quotient) = n) -> exists fom_value_pfp_bounded_quotient. ((((exists fom_beta_height_pfp_bounded_quotient_entry. fom_beta_height_pfp_bounded_quotient_entry + S (fom_value_pfp_bounded_quotient) = S ((S (fom_index_pfp_bounded_quotient)) * qc)) /\ exists fom_beta_quotient_pfp_bounded_quotient_entry. qb = fom_beta_quotient_pfp_bounded_quotient_entry * S ((S (fom_index_pfp_bounded_quotient)) * qc) + (fom_value_pfp_bounded_quotient))) /\ (exists fom_gap_pfp_bounded_quotient_value_bound. fom_gap_pfp_bounded_quotient_value_bound + S (fom_value_pfp_bounded_quotient) = p)))Constructive proof overview
Generated structural guide
The constructively encoded quotient has canonical coefficients at every one of its n positions; this includes an empty quotient for constants.
The unchanged tactic script uses 3 declared prerequisites and contains 43 exact native proof lines.
Alpha v34 checked-use · first admitted v32 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
beta_at_exists Stable theorem; checked-use authorized prime_field_polynomial_horner_result_bounded Alpha theorem; checked-use authorized PQ0049 prime_field_polynomial_synthetic_quotient_entryDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
Named ingredients (1)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–12
03Establish heL13–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L13
have he : exists h. (((exists ff_h_pfp_bounded_entry. ff_h_pfp_bounded_entry + S (h) = S ((S (i)) * qc)) /\ exists ff_q_pfp_bounded_entry. qb = ff_q_pfp_bounded_entry * S ((S (i)) * qc) + (h))) - L14
specialize beta_at_exists (qb) - L15
specialize beta_at_exists (qc) - L16
specialize beta_at_exists (i) - L17
apply beta_at_exists
04Separate the logical casesL18–18
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L18
cases he
05Construct an explicit witnessL19–19
Supply the displayed value, then prove that it has the required property.
- L19
exists x
06Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
split
07Use earlier factsL21–30
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact he_witness - L22
specialize prime_field_polynomial_horner_result_bounded (p) - L23
specialize prime_field_polynomial_horner_result_bounded (b) - L24
specialize prime_field_polynomial_horner_result_bounded (c) - L25
specialize prime_field_polynomial_horner_result_bounded (a) - L26
specialize prime_field_polynomial_horner_result_bounded (S i) - L27
specialize prime_field_polynomial_horner_result_bounded (x) - L28
apply prime_field_polynomial_horner_result_bounded - L29
exact hp - L30
specialize prime_field_polynomial_synthetic_quotient_entry (p)
08Use earlier factsL31–40
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
specialize prime_field_polynomial_synthetic_quotient_entry (b) - L32
specialize prime_field_polynomial_synthetic_quotient_entry (c) - L33
specialize prime_field_polynomial_synthetic_quotient_entry (a) - L34
specialize prime_field_polynomial_synthetic_quotient_entry (n) - L35
specialize prime_field_polynomial_synthetic_quotient_entry (qb) - L36
specialize prime_field_polynomial_synthetic_quotient_entry (qc) - L37
specialize prime_field_polynomial_synthetic_quotient_entry (r) - L38
specialize prime_field_polynomial_synthetic_quotient_entry (i) - L39
specialize prime_field_polynomial_synthetic_quotient_entry (x) - L40
apply prime_field_polynomial_synthetic_quotient_entry
Original exact command ledger · 43 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro a - 0005
intro n - 0006
intro qb - 0007
intro qc - 0008
intro r - 0009
intro hp - 0010
intro hs - 0011
intro i - 0012
intro hi - 0013
have he : exists h. (((exists ff_h_pfp_bounded_entry. ff_h_pfp_bounded_entry + S (h) = S ((S (i)) * qc)) /\ exists ff_q_pfp_bounded_entry. qb = ff_q_pfp_bounded_entry * S ((S (i)) * qc) + (h))) - 0014
specialize beta_at_exists (qb) - 0015
specialize beta_at_exists (qc) - 0016
specialize beta_at_exists (i) - 0017
apply beta_at_exists - 0018
cases he - 0019
exists x - 0020
split - 0021
exact he_witness - 0022
specialize prime_field_polynomial_horner_result_bounded (p) - 0023
specialize prime_field_polynomial_horner_result_bounded (b) - 0024
specialize prime_field_polynomial_horner_result_bounded (c) - 0025
specialize prime_field_polynomial_horner_result_bounded (a) - 0026
specialize prime_field_polynomial_horner_result_bounded (S i) - 0027
specialize prime_field_polynomial_horner_result_bounded (x) - 0028
apply prime_field_polynomial_horner_result_bounded - 0029
exact hp - 0030
specialize prime_field_polynomial_synthetic_quotient_entry (p) - 0031
specialize prime_field_polynomial_synthetic_quotient_entry (b) - 0032
specialize prime_field_polynomial_synthetic_quotient_entry (c) - 0033
specialize prime_field_polynomial_synthetic_quotient_entry (a) - 0034
specialize prime_field_polynomial_synthetic_quotient_entry (n) - 0035
specialize prime_field_polynomial_synthetic_quotient_entry (qb) - 0036
specialize prime_field_polynomial_synthetic_quotient_entry (qc) - 0037
specialize prime_field_polynomial_synthetic_quotient_entry (r) - 0038
specialize prime_field_polynomial_synthetic_quotient_entry (i) - 0039
specialize prime_field_polynomial_synthetic_quotient_entry (x) - 0040
apply prime_field_polynomial_synthetic_quotient_entry - 0041
exact hs - 0042
exact hi - 0043
exact he_witness