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 L q. ((((L)=S (q)) /\ (((forall fom_index_pfp_trim_already_normalcoefficients. (exists fom_gap_pfp_trim_already_normalcoefficients_index_bound. fom_gap_pfp_trim_already_normalcoefficients_index_bound + S (fom_index_pfp_trim_already_normalcoefficients) = L) -> exists fom_value_pfp_trim_already_normalcoefficients. ((((exists fom_beta_height_pfp_trim_already_normalcoefficients_entry. fom_beta_height_pfp_trim_already_normalcoefficients_entry + S (fom_value_pfp_trim_already_normalcoefficients) = S ((S (fom_index_pfp_trim_already_normalcoefficients)) * c)) /\ exists fom_beta_quotient_pfp_trim_already_normalcoefficients_entry. b = fom_beta_quotient_pfp_trim_already_normalcoefficients_entry * S ((S (fom_index_pfp_trim_already_normalcoefficients)) * c) + (fom_value_pfp_trim_already_normalcoefficients))) /\ (exists fom_gap_pfp_trim_already_normalcoefficients_value_bound. fom_gap_pfp_trim_already_normalcoefficients_value_bound + S (fom_value_pfp_trim_already_normalcoefficients) = p))) /\ ((exists pfd_leading_trim_already_normal. ((((exists ff_h_pfp_trim_already_normalentry. ff_h_pfp_trim_already_normalentry + S (pfd_leading_trim_already_normal) = S ((S (0)) * c)) /\ exists ff_q_pfp_trim_already_normalentry. b = ff_q_pfp_trim_already_normalentry * S ((S (0)) * c) + (pfd_leading_trim_already_normal))) /\ ((~(pfd_leading_trim_already_normal=0)))))))))) -> ((((L)=(0)+(L)) /\ (((forall fom_index_pfp_trim_identityinput. (exists fom_gap_pfp_trim_identityinput_index_bound. fom_gap_pfp_trim_identityinput_index_bound + S (fom_index_pfp_trim_identityinput) = L) -> exists fom_value_pfp_trim_identityinput. ((((exists fom_beta_height_pfp_trim_identityinput_entry. fom_beta_height_pfp_trim_identityinput_entry + S (fom_value_pfp_trim_identityinput) = S ((S (fom_index_pfp_trim_identityinput)) * c)) /\ exists fom_beta_quotient_pfp_trim_identityinput_entry. b = fom_beta_quotient_pfp_trim_identityinput_entry * S ((S (fom_index_pfp_trim_identityinput)) * c) + (fom_value_pfp_trim_identityinput))) /\ (exists fom_gap_pfp_trim_identityinput_value_bound. fom_gap_pfp_trim_identityinput_value_bound + S (fom_value_pfp_trim_identityinput) = p))) /\ (((forall pfp_repeat_index_trim_identityremoved. (exists pfa_gap_trim_identityremovedindex. pfa_gap_trim_identityremovedindex + S (pfp_repeat_index_trim_identityremoved) = (0)) -> (((exists ff_h_pfp_trim_identityremovedentry. ff_h_pfp_trim_identityremovedentry + S (0) = S ((S (pfp_repeat_index_trim_identityremoved)) * c)) /\ exists ff_q_pfp_trim_identityremovedentry. b = ff_q_pfp_trim_identityremovedentry * S ((S (pfp_repeat_index_trim_identityremoved)) * c) + (0)))) /\ (((forall pftrim_index_trim_identitysuffix pftrim_value_trim_identitysuffix. (exists pfa_gap_trim_identitysuffixbound. pfa_gap_trim_identitysuffixbound + S (pftrim_index_trim_identitysuffix) = (L)) -> (((exists ff_h_pfp_trim_identitysuffixsource. ff_h_pfp_trim_identitysuffixsource + S (pftrim_value_trim_identitysuffix) = S ((S ((0)+pftrim_index_trim_identitysuffix)) * c)) /\ exists ff_q_pfp_trim_identitysuffixsource. b = ff_q_pfp_trim_identitysuffixsource * S ((S ((0)+pftrim_index_trim_identitysuffix)) * c) + (pftrim_value_trim_identitysuffix))) -> (((exists ff_h_pfp_trim_identitysuffixoutput. ff_h_pfp_trim_identitysuffixoutput + S (pftrim_value_trim_identitysuffix) = S ((S (pftrim_index_trim_identitysuffix)) * c)) /\ exists ff_q_pfp_trim_identitysuffixoutput. b = ff_q_pfp_trim_identitysuffixoutput * S ((S (pftrim_index_trim_identitysuffix)) * c) + (pftrim_value_trim_identitysuffix)))) /\ (((L)=0 \/ (exists pftrim_leading_trim_identitynormal. ((((exists ff_h_pfp_trim_identitynormalentry. ff_h_pfp_trim_identitynormalentry + S (pftrim_leading_trim_identitynormal) = S ((S (0)) * c)) /\ exists ff_q_pfp_trim_identitynormalentry. b = ff_q_pfp_trim_identitynormalentry * S ((S (0)) * c) + (pftrim_leading_trim_identitynormal))) /\ ((~(pftrim_leading_trim_identitynormal=0)))))))))))))))Constructive proof overview
Generated structural guide
A canonical nonzero-leading representation trims to itself with zero removals, preserving its actual length and all decoded coefficients.
The unchanged tactic script uses 2 declared prerequisites and contains 34 exact native proof lines.
Alpha v34 checked-use · first admitted v32 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
zero_add Stable theorem; checked-use authorized beta_repeat_empty Stable 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–6
02Separate the logical casesL7–9
03Calculate and transport equalitiesL10–10
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L10
symm
04Use earlier factsL11–12
05Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
split
06Use earlier factsL14–14
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L14
exact h_right_left
07Separate the logical casesL15–15
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L15
split
08Use earlier factsL16–20
09Calculate and transport equalitiesL21–21
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L21
refl
10Separate the logical casesL22–22
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L22
split
11Fix variables and assumptionsL23–26
12Establish heqL27–32
13Separate the logical casesL33–33
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L33
right
14Use earlier factsL34–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L34
exact h_right_right
Original exact command ledger · 34 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro L - 0005
intro q - 0006
intro h - 0007
cases h - 0008
cases h_right - 0009
split - 0010
symm - 0011
specialize zero_add (L) - 0012
apply zero_add - 0013
split - 0014
exact h_right_left - 0015
split - 0016
specialize beta_repeat_empty (b) - 0017
specialize beta_repeat_empty (c) - 0018
specialize beta_repeat_empty (0) - 0019
specialize beta_repeat_empty (0) - 0020
apply beta_repeat_empty - 0021
refl - 0022
split - 0023
intro i - 0024
intro a - 0025
intro hi - 0026
intro ha - 0027
have heq : 0+i=i - 0028
specialize zero_add (i) - 0029
apply zero_add - 0030
rewrite heq at ha - 0031
rewrite heq at ha - 0032
exact ha - 0033
right - 0034
exact h_right_right