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 ab ac L K. (~((p) = 1) /\ forall pfa_factor_left_alignment_prime pfa_factor_right_alignment_prime. (p) = pfa_factor_left_alignment_prime * pfa_factor_right_alignment_prime -> pfa_factor_left_alignment_prime = 1 \/ pfa_factor_right_alignment_prime = 1) -> (forall fom_index_pfp_alignment_input. (exists fom_gap_pfp_alignment_input_index_bound. fom_gap_pfp_alignment_input_index_bound + S (fom_index_pfp_alignment_input) = L) -> exists fom_value_pfp_alignment_input. ((((exists fom_beta_height_pfp_alignment_input_entry. fom_beta_height_pfp_alignment_input_entry + S (fom_value_pfp_alignment_input) = S ((S (fom_index_pfp_alignment_input)) * ac)) /\ exists fom_beta_quotient_pfp_alignment_input_entry. ab = fom_beta_quotient_pfp_alignment_input_entry * S ((S (fom_index_pfp_alignment_input)) * ac) + (fom_value_pfp_alignment_input))) /\ (exists fom_gap_pfp_alignment_input_value_bound. fom_gap_pfp_alignment_input_value_bound + S (fom_value_pfp_alignment_input) = p))) -> (exists pfrep_gap_alignment_length_bound. pfrep_gap_alignment_length_bound+(L)=(K)) -> (exists ub uc. ((forall fom_index_pfp_alignment_output_bounded. (exists fom_gap_pfp_alignment_output_bounded_index_bound. fom_gap_pfp_alignment_output_bounded_index_bound + S (fom_index_pfp_alignment_output_bounded) = K) -> exists fom_value_pfp_alignment_output_bounded. ((((exists fom_beta_height_pfp_alignment_output_bounded_entry. fom_beta_height_pfp_alignment_output_bounded_entry + S (fom_value_pfp_alignment_output_bounded) = S ((S (fom_index_pfp_alignment_output_bounded)) * uc)) /\ exists fom_beta_quotient_pfp_alignment_output_bounded_entry. ub = fom_beta_quotient_pfp_alignment_output_bounded_entry * S ((S (fom_index_pfp_alignment_output_bounded)) * uc) + (fom_value_pfp_alignment_output_bounded))) /\ (exists fom_gap_pfp_alignment_output_bounded_value_bound. fom_gap_pfp_alignment_output_bounded_value_bound + S (fom_value_pfp_alignment_output_bounded) = p))) /\ ((forall pfrep_power_alignment_output_equivalent pfrep_left_alignment_output_equivalent pfrep_right_alignment_output_equivalent. ((exists pfrep_position_alignment_output_equivalentfirst. ((pfrep_position_alignment_output_equivalentfirst+S (pfrep_power_alignment_output_equivalent)=(L)) /\ ((((exists ff_h_pfp_alignment_output_equivalentfirstentry. ff_h_pfp_alignment_output_equivalentfirstentry + S (pfrep_left_alignment_output_equivalent) = S ((S (pfrep_position_alignment_output_equivalentfirst)) * ac)) /\ exists ff_q_pfp_alignment_output_equivalentfirstentry. ab = ff_q_pfp_alignment_output_equivalentfirstentry * S ((S (pfrep_position_alignment_output_equivalentfirst)) * ac) + (pfrep_left_alignment_output_equivalent)))))) \/ (((exists pfrep_gap_alignment_output_equivalentfirstoutside. pfrep_gap_alignment_output_equivalentfirstoutside+(L)=(pfrep_power_alignment_output_equivalent)) /\ (((pfrep_left_alignment_output_equivalent)=0))))) -> ((exists pfrep_position_alignment_output_equivalentsecond. ((pfrep_position_alignment_output_equivalentsecond+S (pfrep_power_alignment_output_equivalent)=(K)) /\ ((((exists ff_h_pfp_alignment_output_equivalentsecondentry. ff_h_pfp_alignment_output_equivalentsecondentry + S (pfrep_right_alignment_output_equivalent) = S ((S (pfrep_position_alignment_output_equivalentsecond)) * uc)) /\ exists ff_q_pfp_alignment_output_equivalentsecondentry. ub = ff_q_pfp_alignment_output_equivalentsecondentry * S ((S (pfrep_position_alignment_output_equivalentsecond)) * uc) + (pfrep_right_alignment_output_equivalent)))))) \/ (((exists pfrep_gap_alignment_output_equivalentsecondoutside. pfrep_gap_alignment_output_equivalentsecondoutside+(K)=(pfrep_power_alignment_output_equivalent)) /\ (((pfrep_right_alignment_output_equivalent)=0))))) -> pfrep_left_alignment_output_equivalent=pfrep_right_alignment_output_equivalent))))Constructive proof overview
Generated structural guide
From L<=K construct a genuine leading-zero beta prefix of length K, retain canonical coefficients, and prove formal equivalence to the input, including empty prefixes.
The unchanged tactic script uses 3 declared prerequisites and contains 42 exact native proof lines.
Alpha v34 checked-use · first admitted v34 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
prime_field_polynomial_left_pad_exists Alpha theorem; checked-use authorized prime_field_polynomial_left_pad_bounded Alpha theorem; checked-use authorized prime_field_polynomial_left_pad_equivalent Alpha theorem; checked-use authorizedDirect 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.
01Fix variables and assumptionsL1–8
02Separate the logical casesL9–9
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L9
cases hlen
03Establish hpadL10–15
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime field polynomial left pad exists.
- L10
have hpad : ∃ ub. ∃ uc. PolynomialLeftPad(ab,ac,L,x,ub,uc)Definitions: PolynomialLeftPad - L11
specialize prime_field_polynomial_left_pad_exists (ab) - L12
specialize prime_field_polynomial_left_pad_exists (ac) - L13
specialize prime_field_polynomial_left_pad_exists (x) - L14
specialize prime_field_polynomial_left_pad_exists (L) - L15
apply prime_field_polynomial_left_pad_exists
04Separate the logical casesL16–17
05Construct an explicit witnessL18–19
06Separate the logical casesL20–20
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L20
split
07Calculate and transport equalitiesL21–21
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L21
rewrite <- hlen_witness
08Use earlier factsL22–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L22
specialize prime_field_polynomial_left_pad_bounded (p) - L23
specialize prime_field_polynomial_left_pad_bounded (ab) - L24
specialize prime_field_polynomial_left_pad_bounded (ac) - L25
specialize prime_field_polynomial_left_pad_bounded (L) - L26
specialize prime_field_polynomial_left_pad_bounded (x) - L27
specialize prime_field_polynomial_left_pad_bounded (x1) - L28
specialize prime_field_polynomial_left_pad_bounded (x2) - L29
apply prime_field_polynomial_left_pad_bounded - L30
exact hp - L31
exact ha
09Use earlier factsL32–32
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L32
exact hpad_witness_witness
10Calculate and transport equalitiesL33–34
11Use earlier factsL35–42
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L35
specialize prime_field_polynomial_left_pad_equivalent (ab) - L36
specialize prime_field_polynomial_left_pad_equivalent (ac) - L37
specialize prime_field_polynomial_left_pad_equivalent (L) - L38
specialize prime_field_polynomial_left_pad_equivalent (x) - L39
specialize prime_field_polynomial_left_pad_equivalent (x1) - L40
specialize prime_field_polynomial_left_pad_equivalent (x2) - L41
apply prime_field_polynomial_left_pad_equivalent - L42
exact hpad_witness_witness
Original exact command ledger · 42 lines
- 0001
intro p - 0002
intro ab - 0003
intro ac - 0004
intro L - 0005
intro K - 0006
intro hp - 0007
intro ha - 0008
intro hlen - 0009
cases hlen - 0010
have hpad : exists ub uc. (((forall pfp_repeat_index_alignment_constructed_padzeros. (exists pfa_gap_alignment_constructed_padzerosindex. pfa_gap_alignment_constructed_padzerosindex + S (pfp_repeat_index_alignment_constructed_padzeros) = (x)) -> (((exists ff_h_pfp_alignment_constructed_padzerosentry. ff_h_pfp_alignment_constructed_padzerosentry + S (0) = S ((S (pfp_repeat_index_alignment_constructed_padzeros)) * uc)) /\ exists ff_q_pfp_alignment_constructed_padzerosentry. ub = ff_q_pfp_alignment_constructed_padzerosentry * S ((S (pfp_repeat_index_alignment_constructed_padzeros)) * uc) + (0)))) /\ ((forall pfrep_index_alignment_constructed_pad pfrep_value_alignment_constructed_pad. (exists pfa_gap_alignment_constructed_padbound. pfa_gap_alignment_constructed_padbound + S (pfrep_index_alignment_constructed_pad) = (L)) -> (((exists ff_h_pfp_alignment_constructed_padinput. ff_h_pfp_alignment_constructed_padinput + S (pfrep_value_alignment_constructed_pad) = S ((S (pfrep_index_alignment_constructed_pad)) * ac)) /\ exists ff_q_pfp_alignment_constructed_padinput. ab = ff_q_pfp_alignment_constructed_padinput * S ((S (pfrep_index_alignment_constructed_pad)) * ac) + (pfrep_value_alignment_constructed_pad))) -> (((exists ff_h_pfp_alignment_constructed_padoutput. ff_h_pfp_alignment_constructed_padoutput + S (pfrep_value_alignment_constructed_pad) = S ((S ((x)+pfrep_index_alignment_constructed_pad)) * uc)) /\ exists ff_q_pfp_alignment_constructed_padoutput. ub = ff_q_pfp_alignment_constructed_padoutput * S ((S ((x)+pfrep_index_alignment_constructed_pad)) * uc) + (pfrep_value_alignment_constructed_pad))))))) - 0011
specialize prime_field_polynomial_left_pad_exists (ab) - 0012
specialize prime_field_polynomial_left_pad_exists (ac) - 0013
specialize prime_field_polynomial_left_pad_exists (x) - 0014
specialize prime_field_polynomial_left_pad_exists (L) - 0015
apply prime_field_polynomial_left_pad_exists - 0016
cases hpad - 0017
cases hpad_witness - 0018
exists x1 - 0019
exists x2 - 0020
split - 0021
rewrite <- hlen_witness - 0022
specialize prime_field_polynomial_left_pad_bounded (p) - 0023
specialize prime_field_polynomial_left_pad_bounded (ab) - 0024
specialize prime_field_polynomial_left_pad_bounded (ac) - 0025
specialize prime_field_polynomial_left_pad_bounded (L) - 0026
specialize prime_field_polynomial_left_pad_bounded (x) - 0027
specialize prime_field_polynomial_left_pad_bounded (x1) - 0028
specialize prime_field_polynomial_left_pad_bounded (x2) - 0029
apply prime_field_polynomial_left_pad_bounded - 0030
exact hp - 0031
exact ha - 0032
exact hpad_witness_witness - 0033
rewrite <- hlen_witness - 0034
rewrite <- hlen_witness - 0035
specialize prime_field_polynomial_left_pad_equivalent (ab) - 0036
specialize prime_field_polynomial_left_pad_equivalent (ac) - 0037
specialize prime_field_polynomial_left_pad_equivalent (L) - 0038
specialize prime_field_polynomial_left_pad_equivalent (x) - 0039
specialize prime_field_polynomial_left_pad_equivalent (x1) - 0040
specialize prime_field_polynomial_left_pad_equivalent (x2) - 0041
apply prime_field_polynomial_left_pad_equivalent - 0042
exact hpad_witness_witness