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.
Sets are complete characteristic-bit codes with actual finite cardinality witnesses. The proof constructs translations and the sumset; no finite-choice oracle, supplied cardinality conclusion, or unproved polynomial-method premise is used.
Exact theorem in conservative defined notation
∀ b. ∀ c. ∀ d. ∀ e. ∀ p. ∀ n. ∀ m. ¬p = 0 → BitCount(b,c,p,n) → BitCount(d,e,p,m) → ∃ x. ∃ y. ∃ z. BitCount(x,y,p,z) ∧ ModularSetSum(b,c,d,e,x,y,p)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 74 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.
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.
Named ingredients (1)
01Fix variables and assumptionsL1–10
02Establish hprefixL11–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply finite modular sumset prefix exists.
- L11
have hprefix : ∃ u. ∃ v. ∃ q. BitCount(u,v,p,q) ∧ (∀ x. Lt(x,p) → (BetaAt(u,v,x,1) → ∃ y. ∃ z. ModularSetMember(b,c,p,y) ∧ (ModularSetMember(d,e,p,z) ∧ (Lt(z,p) ∧ ModEq(p,y + z,x)))) ∧ ((∃ y. ∃ z. ModularSetMember(b,c,p,y) ∧ (ModularSetMember(d,e,p,z) ∧ (Lt(z,p) ∧ ModEq(p,y + z,x)))) → BetaAt(u,v,x,1)))Definitions: BitCount(u,v,p,q)Lt(x,p)BetaAt(u,v,x,1)ModularSetMember(b,c,p,y)ModularSetMember(d,e,p,z)Lt(z,p)ModEq(p,y + z,x)Original native command in the exact edition - L12
specialize finite_modular_sumset_prefix_exists b - L13
specialize finite_modular_sumset_prefix_exists c - L14
specialize finite_modular_sumset_prefix_exists d - L15
specialize finite_modular_sumset_prefix_exists e - L16
specialize finite_modular_sumset_prefix_exists p - L17
specialize finite_modular_sumset_prefix_exists n - L18
specialize finite_modular_sumset_prefix_exists p - L19
apply finite_modular_sumset_prefix_exists - L20
exact hp
03Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact hA
04Separate the logical casesL22–22
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L22
cases hB
05Use earlier factsL23–25
06Separate the logical casesL26–29
07Construct an explicit witnessL30–32
08Separate the logical casesL33–33
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L33
split
09Use earlier factsL34–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L34
exact hprefix_witness_witness_witness_left
10Fix variables and assumptionsL35–36
11Establish heL37–40
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hprefix witness witness witness right.
- L37
have he : (BetaAt(x,x1,z,1) → ∃ y. ∃ n. ModularSetMember(b,c,p,y) ∧ (ModularSetMember(d,e,p,n) ∧ (Lt(n,p) ∧ ModEq(p,y + n,z)))) ∧ ((∃ y. ∃ n. ModularSetMember(b,c,p,y) ∧ (ModularSetMember(d,e,p,n) ∧ (Lt(n,p) ∧ ModEq(p,y + n,z)))) → BetaAt(x,x1,z,1))Definitions: BetaAt(x,x1,z,1)ModularSetMember(b,c,p,y)ModularSetMember(d,e,p,n)Lt(n,p)ModEq(p,y + n,z)Original native command in the exact edition - L38
specialize hprefix_witness_witness_witness_right z - L39
apply hprefix_witness_witness_witness_right - L40
exact hz
12Separate the logical casesL41–42
13Fix variables and assumptionsL43–43
Work with arbitrary variables or the premises of the current implication.
- L43
intro hs
14Establish hwL44–46
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply he left.
- L44
have hw : ∃ fms_first_partial. ∃ fms_second_partial. ModularSetMember(b,c,p,fms_first_partial) ∧ (ModularSetMember(d,e,p,fms_second_partial) ∧ (Lt(fms_second_partial,p) ∧ ModEq(p,fms_first_partial + fms_second_partial,z)))Definitions: ModularSetMember(b,c,p,fms_first_partial)ModularSetMember(d,e,p,fms_second_partial)Lt(fms_second_partial,p)ModEq(p,fms_first_partial + fms_second_partial,z)Original native command in the exact edition - L45
apply he_left - L46
exact hs
15Separate the logical casesL47–51
16Construct an explicit witnessL52–53
17Separate the logical casesL54–54
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L54
split
18Use earlier factsL55–55
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L55
exact hw_witness_witness_left
19Separate the logical casesL56–56
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L56
split
20Use earlier factsL57–58
21Fix variables and assumptionsL59–59
Work with arbitrary variables or the premises of the current implication.
- L59
intro hw
22Separate the logical casesL60–63
23Use earlier factsL64–64
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L64
apply he_right
24Construct an explicit witnessL65–66
25Separate the logical casesL67–67
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L67
split
26Use earlier factsL68–68
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L68
exact hw_witness_witness_left
27Separate the logical casesL69–69
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L69
split
28Use earlier factsL70–70
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L70
exact hw_witness_witness_right_left
29Separate the logical casesL71–72
Original defined command ledger · 74 lines
- 0001
intro b - 0002
intro c - 0003
intro d - 0004
intro e - 0005
intro p - 0006
intro n - 0007
intro m - 0008
intro hp - 0009
intro hA - 0010
intro hB - 0011
have hprefix : ∃ u. ∃ v. ∃ q. BitCount(u,v,p,q) ∧ (∀ x. Lt(x,p) → (BetaAt(u,v,x,1) → ∃ y. ∃ z. ModularSetMember(b,c,p,y) ∧ (ModularSetMember(d,e,p,z) ∧ (Lt(z,p) ∧ ModEq(p,y + z,x)))) ∧ ((∃ y. ∃ z. ModularSetMember(b,c,p,y) ∧ (ModularSetMember(d,e,p,z) ∧ (Lt(z,p) ∧ ModEq(p,y + z,x)))) → BetaAt(u,v,x,1))) - 0012
specialize finite_modular_sumset_prefix_exists b - 0013
specialize finite_modular_sumset_prefix_exists c - 0014
specialize finite_modular_sumset_prefix_exists d - 0015
specialize finite_modular_sumset_prefix_exists e - 0016
specialize finite_modular_sumset_prefix_exists p - 0017
specialize finite_modular_sumset_prefix_exists n - 0018
specialize finite_modular_sumset_prefix_exists p - 0019
apply finite_modular_sumset_prefix_exists - 0020
exact hp - 0021
exact hA - 0022
cases hB - 0023
exact hB_right - 0024
specialize le_refl p - 0025
apply le_refl - 0026
cases hprefix - 0027
cases hprefix_witness - 0028
cases hprefix_witness_witness - 0029
cases hprefix_witness_witness_witness - 0030
exists x - 0031
exists x1 - 0032
exists x2 - 0033
split - 0034
exact hprefix_witness_witness_witness_left - 0035
intro z - 0036
intro hz - 0037
have he : (BetaAt(x,x1,z,1) → ∃ y. ∃ n. ModularSetMember(b,c,p,y) ∧ (ModularSetMember(d,e,p,n) ∧ (Lt(n,p) ∧ ModEq(p,y + n,z)))) ∧ ((∃ y. ∃ n. ModularSetMember(b,c,p,y) ∧ (ModularSetMember(d,e,p,n) ∧ (Lt(n,p) ∧ ModEq(p,y + n,z)))) → BetaAt(x,x1,z,1)) - 0038
specialize hprefix_witness_witness_witness_right z - 0039
apply hprefix_witness_witness_witness_right - 0040
exact hz - 0041
cases he - 0042
split - 0043
intro hs - 0044
have hw : ∃ fms_first_partial. ∃ fms_second_partial. ModularSetMember(b,c,p,fms_first_partial) ∧ (ModularSetMember(d,e,p,fms_second_partial) ∧ (Lt(fms_second_partial,p) ∧ ModEq(p,fms_first_partial + fms_second_partial,z))) - 0045
apply he_left - 0046
exact hs - 0047
cases hw - 0048
cases hw_witness - 0049
cases hw_witness_witness - 0050
cases hw_witness_witness_right - 0051
cases hw_witness_witness_right_right - 0052
exists x3 - 0053
exists x4 - 0054
split - 0055
exact hw_witness_witness_left - 0056
split - 0057
exact hw_witness_witness_right_left - 0058
exact hw_witness_witness_right_right_right - 0059
intro hw - 0060
cases hw - 0061
cases hw_witness - 0062
cases hw_witness_witness - 0063
cases hw_witness_witness_right - 0064
apply he_right - 0065
exists x3 - 0066
exists x4 - 0067
split - 0068
exact hw_witness_witness_left - 0069
split - 0070
exact hw_witness_witness_right_left - 0071
split - 0072
cases hw_witness_witness_right_left - 0073
exact hw_witness_witness_right_left_left - 0074
exact hw_witness_witness_right_right