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 b c L d e. (forall pfp_repeat_index_shift_zero_source. (exists pfa_gap_shift_zero_sourceindex. pfa_gap_shift_zero_sourceindex + S (pfp_repeat_index_shift_zero_source) = (L)) -> (((exists ff_h_pfp_shift_zero_sourceentry. ff_h_pfp_shift_zero_sourceentry + S (0) = S ((S (pfp_repeat_index_shift_zero_source)) * c)) /\ exists ff_q_pfp_shift_zero_sourceentry. b = ff_q_pfp_shift_zero_sourceentry * S ((S (pfp_repeat_index_shift_zero_source)) * c) + (0)))) -> (((forall mdr_i_pfp_shift_zero_relationprefix mdr_a_pfp_shift_zero_relationprefix. (exists mdr_gap_pfp_shift_zero_relationprefixb. mdr_gap_pfp_shift_zero_relationprefixb + S (mdr_i_pfp_shift_zero_relationprefix) = (L)) -> (((exists ff_h_mdr_pfp_shift_zero_relationprefixo. ff_h_mdr_pfp_shift_zero_relationprefixo + S (mdr_a_pfp_shift_zero_relationprefix) = S ((S (mdr_i_pfp_shift_zero_relationprefix)) * c)) /\ exists ff_q_mdr_pfp_shift_zero_relationprefixo. b = ff_q_mdr_pfp_shift_zero_relationprefixo * S ((S (mdr_i_pfp_shift_zero_relationprefix)) * c) + (mdr_a_pfp_shift_zero_relationprefix))) -> (((exists ff_h_mdr_pfp_shift_zero_relationprefixn. ff_h_mdr_pfp_shift_zero_relationprefixn + S (mdr_a_pfp_shift_zero_relationprefix) = S ((S (mdr_i_pfp_shift_zero_relationprefix)) * e)) /\ exists ff_q_mdr_pfp_shift_zero_relationprefixn. d = ff_q_mdr_pfp_shift_zero_relationprefixn * S ((S (mdr_i_pfp_shift_zero_relationprefix)) * e) + (mdr_a_pfp_shift_zero_relationprefix)))) /\ ((((exists ff_h_pfp_shift_zero_relationlast. ff_h_pfp_shift_zero_relationlast + S (0) = S ((S (L)) * e)) /\ exists ff_q_pfp_shift_zero_relationlast. d = ff_q_pfp_shift_zero_relationlast * S ((S (L)) * e) + (0)))))) -> (forall pfp_repeat_index_shift_zero_result. (exists pfa_gap_shift_zero_resultindex. pfa_gap_shift_zero_resultindex + S (pfp_repeat_index_shift_zero_result) = (S L)) -> (((exists ff_h_pfp_shift_zero_resultentry. ff_h_pfp_shift_zero_resultentry + S (0) = S ((S (pfp_repeat_index_shift_zero_result)) * e)) /\ exists ff_q_pfp_shift_zero_resultentry. d = ff_q_pfp_shift_zero_resultentry * S ((S (pfp_repeat_index_shift_zero_result)) * e) + (0))))Constructive proof overview
Generated structural guide
The actual shift of an all-zero prefix is again all zero, including the length-one shift of an empty input.
The unchanged tactic script uses 1 declared prerequisite and contains 26 exact native proof lines.
Alpha v34 checked-use · first admitted v34 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
finite_lt_succ_eq_or_lt 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–7
02Separate the logical casesL8–8
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L8
cases hs
03Fix variables and assumptionsL9–10
04Establish hoL11–15
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply finite lt succ eq or lt.
05Separate the logical casesL16–16
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L16
cases ho
06Calculate and transport equalitiesL17–18
Original exact command ledger · 26 lines
- 0001
intro b - 0002
intro c - 0003
intro L - 0004
intro d - 0005
intro e - 0006
intro hz - 0007
intro hs - 0008
cases hs - 0009
intro i - 0010
intro hi - 0011
have ho : i=L \/ (exists pfa_gap_shift_zero_old_index. pfa_gap_shift_zero_old_index + S (i) = (L)) - 0012
specialize finite_lt_succ_eq_or_lt (L) - 0013
specialize finite_lt_succ_eq_or_lt (i) - 0014
apply finite_lt_succ_eq_or_lt - 0015
exact hi - 0016
cases ho - 0017
rewrite ho_left - 0018
rewrite ho_left - 0019
exact hs_right - 0020
specialize hs_left (i) - 0021
specialize hs_left (0) - 0022
apply hs_left - 0023
exact ho_right - 0024
specialize hz (i) - 0025
apply hz - 0026
exact ho_right