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 N F pb pc nb nc. ((F) = (((((pb) + (pc)) * S ((pb) + (pc)) + ((pc) + (pc))) + (((nb) + (nc)) * S ((nb) + (nc)) + ((nc) + (nc)))) * S ((((pb) + (pc)) * S ((pb) + (pc)) + ((pc) + (pc))) + (((nb) + (nc)) * S ((nb) + (nc)) + ((nc) + (nc)))) + ((((nb) + (nc)) * S ((nb) + (nc)) + ((nc) + (nc))) + (((nb) + (nc)) * S ((nb) + (nc)) + ((nc) + (nc)))))) -> (exists dst_positive_code_constructor_table dst_positive_scale_constructor_table dst_negative_code_constructor_table dst_negative_scale_constructor_table. (((F) = (((((dst_positive_code_constructor_table) + (dst_positive_scale_constructor_table)) * S ((dst_positive_code_constructor_table) + (dst_positive_scale_constructor_table)) + ((dst_positive_scale_constructor_table) + (dst_positive_scale_constructor_table))) + (((dst_negative_code_constructor_table) + (dst_negative_scale_constructor_table)) * S ((dst_negative_code_constructor_table) + (dst_negative_scale_constructor_table)) + ((dst_negative_scale_constructor_table) + (dst_negative_scale_constructor_table)))) * S ((((dst_positive_code_constructor_table) + (dst_positive_scale_constructor_table)) * S ((dst_positive_code_constructor_table) + (dst_positive_scale_constructor_table)) + ((dst_positive_scale_constructor_table) + (dst_positive_scale_constructor_table))) + (((dst_negative_code_constructor_table) + (dst_negative_scale_constructor_table)) * S ((dst_negative_code_constructor_table) + (dst_negative_scale_constructor_table)) + ((dst_negative_scale_constructor_table) + (dst_negative_scale_constructor_table)))) + ((((dst_negative_code_constructor_table) + (dst_negative_scale_constructor_table)) * S ((dst_negative_code_constructor_table) + (dst_negative_scale_constructor_table)) + ((dst_negative_scale_constructor_table) + (dst_negative_scale_constructor_table))) + (((dst_negative_code_constructor_table) + (dst_negative_scale_constructor_table)) * S ((dst_negative_code_constructor_table) + (dst_negative_scale_constructor_table)) + ((dst_negative_scale_constructor_table) + (dst_negative_scale_constructor_table)))))) /\ (forall dst_index_constructor_table. (exists pvs_le_gap_constructor_tabledomain. pvs_le_gap_constructor_tabledomain + (dst_index_constructor_table) = (N)) -> exists dst_positive_constructor_table dst_negative_constructor_table dst_value_constructor_table. ((((exists ff_h_pvs_constructor_tableentrypositive. ff_h_pvs_constructor_tableentrypositive + S (dst_positive_constructor_table) = S ((S (dst_index_constructor_table)) * dst_positive_scale_constructor_table)) /\ exists ff_q_pvs_constructor_tableentrypositive. dst_positive_code_constructor_table = ff_q_pvs_constructor_tableentrypositive * S ((S (dst_index_constructor_table)) * dst_positive_scale_constructor_table) + (dst_positive_constructor_table))) /\ (((((exists ff_h_pvs_constructor_tableentrynegative. ff_h_pvs_constructor_tableentrynegative + S (dst_negative_constructor_table) = S ((S (dst_index_constructor_table)) * dst_negative_scale_constructor_table)) /\ exists ff_q_pvs_constructor_tableentrynegative. dst_negative_code_constructor_table = ff_q_pvs_constructor_tableentrynegative * S ((S (dst_index_constructor_table)) * dst_negative_scale_constructor_table) + (dst_negative_constructor_table))) /\ (exists ge_balance_positive_constructor_tableentryvalue ge_balance_negative_constructor_tableentryvalue. (((((dst_value_constructor_table) = 2 * (ge_balance_positive_constructor_tableentryvalue) /\ (ge_balance_negative_constructor_tableentryvalue) = 0) \/ exists ge_signed_half_constructor_tableentryvaluedecode. (((dst_value_constructor_table) = 2 * ge_signed_half_constructor_tableentryvaluedecode + 1 /\ (ge_balance_positive_constructor_tableentryvalue) = 0) /\ (ge_balance_negative_constructor_tableentryvalue) = S ge_signed_half_constructor_tableentryvaluedecode))) /\ ((dst_positive_constructor_table) + ge_balance_negative_constructor_tableentryvalue = (dst_negative_constructor_table) + ge_balance_positive_constructor_tableentryvalue)))))))))Constructive proof overview
Generated structural guide
Every actual pair of beta component streams gives canonical signed entries on every requested finite domain, including the zero endpoint.
The unchanged tactic script uses 2 declared prerequisites and contains 40 exact native proof lines.
Alpha v34 checked-use · first admitted v31 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
beta_at_exists Stable theorem; checked-use authorized signed_balance_total 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
02Construct an explicit witnessL8–11
03Separate the logical casesL12–12
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L12
split
04Use earlier factsL13–13
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L13
exact hrep
05Fix variables and assumptionsL14–15
06Establish hpL16–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L16
have hp : exists p. (((exists ff_h_pvs_constructor_positive. ff_h_pvs_constructor_positive + S (p) = S ((S (i)) * pc)) /\ exists ff_q_pvs_constructor_positive. pb = ff_q_pvs_constructor_positive * S ((S (i)) * pc) + (p))) - L17
specialize beta_at_exists (pb) - L18
specialize beta_at_exists (pc) - L19
specialize beta_at_exists (i) - L20
apply beta_at_exists
07Separate the logical casesL21–21
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L21
cases hp
08Establish hnL22–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L22
have hn : exists n. (((exists ff_h_pvs_constructor_negative. ff_h_pvs_constructor_negative + S (n) = S ((S (i)) * nc)) /\ exists ff_q_pvs_constructor_negative. nb = ff_q_pvs_constructor_negative * S ((S (i)) * nc) + (n))) - L23
specialize beta_at_exists (nb) - L24
specialize beta_at_exists (nc) - L25
specialize beta_at_exists (i) - L26
apply beta_at_exists
09Separate the logical casesL27–27
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L27
cases hn
10Establish hzL28–31
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.
- L28
have hz : exists z. (exists ge_balance_positive_constructor_balance ge_balance_negative_constructor_balance. (((((z) = 2 * (ge_balance_positive_constructor_balance) /\ (ge_balance_negative_constructor_balance) = 0) \/ exists ge_signed_half_constructor_balancedecode. (((z) = 2 * ge_signed_half_constructor_balancedecode + 1 /\ (ge_balance_positive_constructor_balance) = 0) /\ (ge_balance_negative_constructor_balance) = S ge_signed_half_constructor_balancedecode))) /\ ((x) + ge_balance_negative_constructor_balance = (x1) + ge_balance_positive_constructor_balance))) - L29
specialize signed_balance_total (x) - L30
specialize signed_balance_total (x1) - L31
apply signed_balance_total
11Separate the logical casesL32–32
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L32
cases hz
12Construct an explicit witnessL33–35
13Separate the logical casesL36–36
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L36
split
14Use earlier factsL37–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L37
exact hp_witness
15Separate the logical casesL38–38
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L38
split
Original exact command ledger · 40 lines
- 0001
intro N - 0002
intro F - 0003
intro pb - 0004
intro pc - 0005
intro nb - 0006
intro nc - 0007
intro hrep - 0008
exists pb - 0009
exists pc - 0010
exists nb - 0011
exists nc - 0012
split - 0013
exact hrep - 0014
intro i - 0015
intro hbound - 0016
have hp : exists p. (((exists ff_h_pvs_constructor_positive. ff_h_pvs_constructor_positive + S (p) = S ((S (i)) * pc)) /\ exists ff_q_pvs_constructor_positive. pb = ff_q_pvs_constructor_positive * S ((S (i)) * pc) + (p))) - 0017
specialize beta_at_exists (pb) - 0018
specialize beta_at_exists (pc) - 0019
specialize beta_at_exists (i) - 0020
apply beta_at_exists - 0021
cases hp - 0022
have hn : exists n. (((exists ff_h_pvs_constructor_negative. ff_h_pvs_constructor_negative + S (n) = S ((S (i)) * nc)) /\ exists ff_q_pvs_constructor_negative. nb = ff_q_pvs_constructor_negative * S ((S (i)) * nc) + (n))) - 0023
specialize beta_at_exists (nb) - 0024
specialize beta_at_exists (nc) - 0025
specialize beta_at_exists (i) - 0026
apply beta_at_exists - 0027
cases hn - 0028
have hz : exists z. (exists ge_balance_positive_constructor_balance ge_balance_negative_constructor_balance. (((((z) = 2 * (ge_balance_positive_constructor_balance) /\ (ge_balance_negative_constructor_balance) = 0) \/ exists ge_signed_half_constructor_balancedecode. (((z) = 2 * ge_signed_half_constructor_balancedecode + 1 /\ (ge_balance_positive_constructor_balance) = 0) /\ (ge_balance_negative_constructor_balance) = S ge_signed_half_constructor_balancedecode))) /\ ((x) + ge_balance_negative_constructor_balance = (x1) + ge_balance_positive_constructor_balance))) - 0029
specialize signed_balance_total (x) - 0030
specialize signed_balance_total (x1) - 0031
apply signed_balance_total - 0032
cases hz - 0033
exists x - 0034
exists x1 - 0035
exists x2 - 0036
split - 0037
exact hp_witness - 0038
split - 0039
exact hn_witness - 0040
exact hz_witness