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 d e L. (forall pfrep_power_equivalent_to_equal_input pfrep_left_equivalent_to_equal_input pfrep_right_equivalent_to_equal_input. ((exists pfrep_position_equivalent_to_equal_inputfirst. ((pfrep_position_equivalent_to_equal_inputfirst+S (pfrep_power_equivalent_to_equal_input)=(L)) /\ ((((exists ff_h_pfp_equivalent_to_equal_inputfirstentry. ff_h_pfp_equivalent_to_equal_inputfirstentry + S (pfrep_left_equivalent_to_equal_input) = S ((S (pfrep_position_equivalent_to_equal_inputfirst)) * c)) /\ exists ff_q_pfp_equivalent_to_equal_inputfirstentry. b = ff_q_pfp_equivalent_to_equal_inputfirstentry * S ((S (pfrep_position_equivalent_to_equal_inputfirst)) * c) + (pfrep_left_equivalent_to_equal_input)))))) \/ (((exists pfrep_gap_equivalent_to_equal_inputfirstoutside. pfrep_gap_equivalent_to_equal_inputfirstoutside+(L)=(pfrep_power_equivalent_to_equal_input)) /\ (((pfrep_left_equivalent_to_equal_input)=0))))) -> ((exists pfrep_position_equivalent_to_equal_inputsecond. ((pfrep_position_equivalent_to_equal_inputsecond+S (pfrep_power_equivalent_to_equal_input)=(L)) /\ ((((exists ff_h_pfp_equivalent_to_equal_inputsecondentry. ff_h_pfp_equivalent_to_equal_inputsecondentry + S (pfrep_right_equivalent_to_equal_input) = S ((S (pfrep_position_equivalent_to_equal_inputsecond)) * e)) /\ exists ff_q_pfp_equivalent_to_equal_inputsecondentry. d = ff_q_pfp_equivalent_to_equal_inputsecondentry * S ((S (pfrep_position_equivalent_to_equal_inputsecond)) * e) + (pfrep_right_equivalent_to_equal_input)))))) \/ (((exists pfrep_gap_equivalent_to_equal_inputsecondoutside. pfrep_gap_equivalent_to_equal_inputsecondoutside+(L)=(pfrep_power_equivalent_to_equal_input)) /\ (((pfrep_right_equivalent_to_equal_input)=0))))) -> pfrep_left_equivalent_to_equal_input=pfrep_right_equivalent_to_equal_input) -> (forall mdr_i_pfp_equivalent_to_equal_result mdr_a_pfp_equivalent_to_equal_result. (exists mdr_gap_pfp_equivalent_to_equal_resultb. mdr_gap_pfp_equivalent_to_equal_resultb + S (mdr_i_pfp_equivalent_to_equal_result) = (L)) -> (((exists ff_h_mdr_pfp_equivalent_to_equal_resulto. ff_h_mdr_pfp_equivalent_to_equal_resulto + S (mdr_a_pfp_equivalent_to_equal_result) = S ((S (mdr_i_pfp_equivalent_to_equal_result)) * c)) /\ exists ff_q_mdr_pfp_equivalent_to_equal_resulto. b = ff_q_mdr_pfp_equivalent_to_equal_resulto * S ((S (mdr_i_pfp_equivalent_to_equal_result)) * c) + (mdr_a_pfp_equivalent_to_equal_result))) -> (((exists ff_h_mdr_pfp_equivalent_to_equal_resultn. ff_h_mdr_pfp_equivalent_to_equal_resultn + S (mdr_a_pfp_equivalent_to_equal_result) = S ((S (mdr_i_pfp_equivalent_to_equal_result)) * e)) /\ exists ff_q_mdr_pfp_equivalent_to_equal_resultn. d = ff_q_mdr_pfp_equivalent_to_equal_resultn * S ((S (mdr_i_pfp_equivalent_to_equal_result)) * e) + (mdr_a_pfp_equivalent_to_equal_result))))Constructive proof overview
Generated structural guide
At a common annotated length, formal coefficient equivalence gives the exact inherited decoded-prefix equality.
The unchanged tactic script uses 2 declared prerequisites and contains 39 exact native proof lines.
Alpha v34 checked-use · first admitted v33 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
add_comm Alpha theorem; checked-use authorized beta_at_exists 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–10
02Separate the logical casesL11–11
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L11
cases hi
03Establish hsL12–15
04Establish hvL16–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L16
have hv : exists r. (((exists ff_h_pfp_equivalent_to_equal_lookup. ff_h_pfp_equivalent_to_equal_lookup + S (r) = S ((S (i)) * e)) /\ exists ff_q_pfp_equivalent_to_equal_lookup. d = ff_q_pfp_equivalent_to_equal_lookup * S ((S (i)) * e) + (r))) - L17
specialize beta_at_exists (d) - L18
specialize beta_at_exists (e) - L19
specialize beta_at_exists (i) - L20
apply beta_at_exists
05Separate the logical casesL21–21
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L21
cases hv
06Establish heqL22–26
07Separate the logical casesL27–27
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L27
left
08Construct an explicit witnessL28–28
Supply the displayed value, then prove that it has the required property.
- L28
exists i
09Separate the logical casesL29–29
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L29
split
10Use earlier factsL30–31
11Separate the logical casesL32–32
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L32
left
12Construct an explicit witnessL33–33
Supply the displayed value, then prove that it has the required property.
- L33
exists i
13Separate the logical casesL34–34
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L34
split
14Use earlier factsL35–36
15Calculate and transport equalitiesL37–38
16Use earlier factsL39–39
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L39
exact hv_witness
Original exact command ledger · 39 lines
- 0001
intro b - 0002
intro c - 0003
intro d - 0004
intro e - 0005
intro L - 0006
intro he - 0007
intro i - 0008
intro a - 0009
intro hi - 0010
intro ha - 0011
cases hi - 0012
have hs : i+S x=L - 0013
trans x+S i - 0014
simp [add_comm] - 0015
exact hi_witness - 0016
have hv : exists r. (((exists ff_h_pfp_equivalent_to_equal_lookup. ff_h_pfp_equivalent_to_equal_lookup + S (r) = S ((S (i)) * e)) /\ exists ff_q_pfp_equivalent_to_equal_lookup. d = ff_q_pfp_equivalent_to_equal_lookup * S ((S (i)) * e) + (r))) - 0017
specialize beta_at_exists (d) - 0018
specialize beta_at_exists (e) - 0019
specialize beta_at_exists (i) - 0020
apply beta_at_exists - 0021
cases hv - 0022
have heq : a=x1 - 0023
specialize he (x) - 0024
specialize he (a) - 0025
specialize he (x1) - 0026
apply he - 0027
left - 0028
exists i - 0029
split - 0030
exact hs - 0031
exact ha - 0032
left - 0033
exists i - 0034
split - 0035
exact hs - 0036
exact hv_witness - 0037
rewrite heq - 0038
rewrite heq - 0039
exact hv_witness