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 original first-admission records.
Exact expanded first-order arithmetic statement
forall b c d e l i p q k a. (((((exists ff_h_pfp_swapoldi. ff_h_pfp_swapoldi + S (p) = S ((S (i)) * c)) /\ exists ff_q_pfp_swapoldi. b = ff_q_pfp_swapoldi * S ((S (i)) * c) + (p))) /\ (((((exists ff_h_pfp_swapoldlast. ff_h_pfp_swapoldlast + S (q) = S ((S (l)) * c)) /\ exists ff_q_pfp_swapoldlast. b = ff_q_pfp_swapoldlast * S ((S (l)) * c) + (q))) /\ (((((exists ff_h_pfp_swapnewi. ff_h_pfp_swapnewi + S (q) = S ((S (i)) * e)) /\ exists ff_q_pfp_swapnewi. d = ff_q_pfp_swapnewi * S ((S (i)) * e) + (q))) /\ (((((exists ff_h_pfp_swapnewlast. ff_h_pfp_swapnewlast + S (p) = S ((S (l)) * e)) /\ exists ff_q_pfp_swapnewlast. d = ff_q_pfp_swapnewlast * S ((S (l)) * e) + (p))) /\ (forall pfp_j_swap pfp_a_swap. (exists pfp_gap_swapbound. pfp_gap_swapbound + S (pfp_j_swap) = (S (l))) -> ~(pfp_j_swap = i) -> ~(pfp_j_swap = l) -> (((exists ff_h_pfp_swapold. ff_h_pfp_swapold + S (pfp_a_swap) = S ((S (pfp_j_swap)) * c)) /\ exists ff_q_pfp_swapold. b = ff_q_pfp_swapold * S ((S (pfp_j_swap)) * c) + (pfp_a_swap))) -> (((exists ff_h_pfp_swapnew. ff_h_pfp_swapnew + S (pfp_a_swap) = S ((S (pfp_j_swap)) * e)) /\ exists ff_q_pfp_swapnew. d = ff_q_pfp_swapnew * S ((S (pfp_j_swap)) * e) + (pfp_a_swap)))))))))))) -> (exists pfp_gap_reflect_swap_bound. pfp_gap_reflect_swap_bound + S (k) = (S l)) -> ~(k = i) -> ~(k = l) -> (((exists ff_h_pfp_reflect_swap_new. ff_h_pfp_reflect_swap_new + S (a) = S ((S (k)) * e)) /\ exists ff_q_pfp_reflect_swap_new. d = ff_q_pfp_reflect_swap_new * S ((S (k)) * e) + (a))) -> (((exists ff_h_pfp_reflect_swap_old. ff_h_pfp_reflect_swap_old + S (a) = S ((S (k)) * c)) /\ exists ff_q_pfp_reflect_swap_old. b = ff_q_pfp_reflect_swap_old * S ((S (k)) * c) + (a)))Constructive proof overview
Generated structural guide
An actual swapped prefix reflects back to the original entry at every index other than the two moved indices.
The unchanged tactic script uses 2 declared prerequisites and contains 45 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
beta_at_exists Stable theorem; checked-use authorized beta_at_unique 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–10
02Fix variables and assumptionsL11–15
03Separate the logical casesL16–19
04Establish holdL20–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L20
have hold : exists z. (((exists ff_h_pfp_swap_original. ff_h_pfp_swap_original + S (z) = S ((S (k)) * c)) /\ exists ff_q_pfp_swap_original. b = ff_q_pfp_swap_original * S ((S (k)) * c) + (z))) - L21
specialize beta_at_exists (b) - L22
specialize beta_at_exists (c) - L23
specialize beta_at_exists (k) - L24
apply beta_at_exists
05Separate the logical casesL25–25
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L25
cases hold
06Establish hmovedL26–33
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hs right right right right.
- L26
have hmoved : ((exists ff_h_pfp_swap_moved. ff_h_pfp_swap_moved + S (x) = S ((S (k)) * e)) /\ exists ff_q_pfp_swap_moved. d = ff_q_pfp_swap_moved * S ((S (k)) * e) + (x)) - L27
specialize hs_right_right_right_right (k) - L28
specialize hs_right_right_right_right (x) - L29
apply hs_right_right_right_right - L30
exact hk - L31
exact hki - L32
exact hkl - L33
exact hold_witness
07Establish heqL34–43
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.
08Calculate and transport equalitiesL44–44
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L44
rewrite heq
09Use earlier factsL45–45
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L45
exact hold_witness
Original exact command ledger · 45 lines
- 0001
intro b - 0002
intro c - 0003
intro d - 0004
intro e - 0005
intro l - 0006
intro i - 0007
intro p - 0008
intro q - 0009
intro k - 0010
intro a - 0011
intro hs - 0012
intro hk - 0013
intro hki - 0014
intro hkl - 0015
intro hnew - 0016
cases hs - 0017
cases hs_right - 0018
cases hs_right_right - 0019
cases hs_right_right_right - 0020
have hold : exists z. (((exists ff_h_pfp_swap_original. ff_h_pfp_swap_original + S (z) = S ((S (k)) * c)) /\ exists ff_q_pfp_swap_original. b = ff_q_pfp_swap_original * S ((S (k)) * c) + (z))) - 0021
specialize beta_at_exists (b) - 0022
specialize beta_at_exists (c) - 0023
specialize beta_at_exists (k) - 0024
apply beta_at_exists - 0025
cases hold - 0026
have hmoved : ((exists ff_h_pfp_swap_moved. ff_h_pfp_swap_moved + S (x) = S ((S (k)) * e)) /\ exists ff_q_pfp_swap_moved. d = ff_q_pfp_swap_moved * S ((S (k)) * e) + (x)) - 0027
specialize hs_right_right_right_right (k) - 0028
specialize hs_right_right_right_right (x) - 0029
apply hs_right_right_right_right - 0030
exact hk - 0031
exact hki - 0032
exact hkl - 0033
exact hold_witness - 0034
have heq : a = x - 0035
specialize beta_at_unique (d) - 0036
specialize beta_at_unique (e) - 0037
specialize beta_at_unique (k) - 0038
specialize beta_at_unique (a) - 0039
specialize beta_at_unique (x) - 0040
apply beta_at_unique - 0041
exact hnew - 0042
exact hmoved - 0043
rewrite heq - 0044
rewrite heq - 0045
exact hold_witness