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 t d e M. ((((L)=(t)+(M)) /\ (((forall fom_index_pfp_trim_empty_sourceinput. (exists fom_gap_pfp_trim_empty_sourceinput_index_bound. fom_gap_pfp_trim_empty_sourceinput_index_bound + S (fom_index_pfp_trim_empty_sourceinput) = L) -> exists fom_value_pfp_trim_empty_sourceinput. ((((exists fom_beta_height_pfp_trim_empty_sourceinput_entry. fom_beta_height_pfp_trim_empty_sourceinput_entry + S (fom_value_pfp_trim_empty_sourceinput) = S ((S (fom_index_pfp_trim_empty_sourceinput)) * c)) /\ exists fom_beta_quotient_pfp_trim_empty_sourceinput_entry. b = fom_beta_quotient_pfp_trim_empty_sourceinput_entry * S ((S (fom_index_pfp_trim_empty_sourceinput)) * c) + (fom_value_pfp_trim_empty_sourceinput))) /\ (exists fom_gap_pfp_trim_empty_sourceinput_value_bound. fom_gap_pfp_trim_empty_sourceinput_value_bound + S (fom_value_pfp_trim_empty_sourceinput) = p))) /\ (((forall pfp_repeat_index_trim_empty_sourceremoved. (exists pfa_gap_trim_empty_sourceremovedindex. pfa_gap_trim_empty_sourceremovedindex + S (pfp_repeat_index_trim_empty_sourceremoved) = (t)) -> (((exists ff_h_pfp_trim_empty_sourceremovedentry. ff_h_pfp_trim_empty_sourceremovedentry + S (0) = S ((S (pfp_repeat_index_trim_empty_sourceremoved)) * c)) /\ exists ff_q_pfp_trim_empty_sourceremovedentry. b = ff_q_pfp_trim_empty_sourceremovedentry * S ((S (pfp_repeat_index_trim_empty_sourceremoved)) * c) + (0)))) /\ (((forall pftrim_index_trim_empty_sourcesuffix pftrim_value_trim_empty_sourcesuffix. (exists pfa_gap_trim_empty_sourcesuffixbound. pfa_gap_trim_empty_sourcesuffixbound + S (pftrim_index_trim_empty_sourcesuffix) = (M)) -> (((exists ff_h_pfp_trim_empty_sourcesuffixsource. ff_h_pfp_trim_empty_sourcesuffixsource + S (pftrim_value_trim_empty_sourcesuffix) = S ((S ((t)+pftrim_index_trim_empty_sourcesuffix)) * c)) /\ exists ff_q_pfp_trim_empty_sourcesuffixsource. b = ff_q_pfp_trim_empty_sourcesuffixsource * S ((S ((t)+pftrim_index_trim_empty_sourcesuffix)) * c) + (pftrim_value_trim_empty_sourcesuffix))) -> (((exists ff_h_pfp_trim_empty_sourcesuffixoutput. ff_h_pfp_trim_empty_sourcesuffixoutput + S (pftrim_value_trim_empty_sourcesuffix) = S ((S (pftrim_index_trim_empty_sourcesuffix)) * e)) /\ exists ff_q_pfp_trim_empty_sourcesuffixoutput. d = ff_q_pfp_trim_empty_sourcesuffixoutput * S ((S (pftrim_index_trim_empty_sourcesuffix)) * e) + (pftrim_value_trim_empty_sourcesuffix)))) /\ (((M)=0 \/ (exists pftrim_leading_trim_empty_sourcenormal. ((((exists ff_h_pfp_trim_empty_sourcenormalentry. ff_h_pfp_trim_empty_sourcenormalentry + S (pftrim_leading_trim_empty_sourcenormal) = S ((S (0)) * e)) /\ exists ff_q_pfp_trim_empty_sourcenormalentry. d = ff_q_pfp_trim_empty_sourcenormalentry * S ((S (0)) * e) + (pftrim_leading_trim_empty_sourcenormal))) /\ ((~(pftrim_leading_trim_empty_sourcenormal=0))))))))))))))) -> M=0 -> (forall pfp_repeat_index_trim_zero_input. (exists pfa_gap_trim_zero_inputindex. pfa_gap_trim_zero_inputindex + S (pfp_repeat_index_trim_zero_input) = (L)) -> (((exists ff_h_pfp_trim_zero_inputentry. ff_h_pfp_trim_zero_inputentry + S (0) = S ((S (pfp_repeat_index_trim_zero_input)) * c)) /\ exists ff_q_pfp_trim_zero_inputentry. b = ff_q_pfp_trim_zero_inputentry * S ((S (pfp_repeat_index_trim_zero_input)) * c) + (0))))Constructive proof overview
Generated structural guide
An empty actual trim certifies that every coefficient of the entire input prefix is zero.
The unchanged tactic script uses 0 declared prerequisites and contains 21 exact native proof lines.
Alpha v34 checked-use · first admitted v32 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
Direct 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–10
02Separate the logical casesL11–14
Original exact command ledger · 21 lines
- 0001
intro p - 0002
intro b - 0003
intro c - 0004
intro L - 0005
intro t - 0006
intro d - 0007
intro e - 0008
intro M - 0009
intro h - 0010
intro hM - 0011
cases h - 0012
cases h_right - 0013
cases h_right_right - 0014
cases h_right_right_right - 0015
have hlen : L=t - 0016
trans t+M - 0017
exact h_left - 0018
rewrite hM - 0019
simp - 0020
rewrite hlen - 0021
exact h_right_right_left