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.
The original division, gcd, cancellation, and factor-existence foundations are exposed through checked wrappers. Unordered uniqueness adds an actual bounded, injective, surjective index map matching repeated prime occurrences. The empty factor list represents one, not zero.
Exact theorem in conservative defined notation
∀ b. ∀ c. ∀ d. ∀ e. ∀ l. ∀ i. ∀ p. ∀ q. Lt(i,l) → AllPrime(b,c,S l) → BetaAt(b,c,i,p) ∧ (BetaAt(b,c,l,q) ∧ (BetaAt(d,e,i,q) ∧ (BetaAt(d,e,l,p) ∧ (∀ x. ∀ y. Lt(x,S l) → ¬x = i → ¬x = l → BetaAt(b,c,x,y) → BetaAt(d,e,x,y))))) → AllPrime(d,e,S l)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 110 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 (2)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–11
Work with arbitrary variables or the premises of the current implication.
- L11
intro hs
03Establish hcopyL12–13
Establish this local claim before using it. It is not an additional assumption.
- L12
have hcopy : BetaAt(b,c,i,p) ∧ (BetaAt(b,c,l,q) ∧ (BetaAt(d,e,i,q) ∧ (BetaAt(d,e,l,p) ∧ (∀ x. ∀ y. Lt(x,S l) → ¬x = i → ¬x = l → BetaAt(b,c,x,y) → BetaAt(d,e,x,y)))))Definitions: BetaAt(b,c,i,p)BetaAt(b,c,l,q)BetaAt(d,e,i,q)BetaAt(d,e,l,p)Lt(x,S l)BetaAt(b,c,x,y)BetaAt(d,e,x,y)Original native command in the exact edition - L13
exact hs
04Separate the logical casesL14–17
05Fix variables and assumptionsL18–19
06Establish hvalueL20–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at exists.
- L20
have hvalue : ∃ a. BetaAt(d,e,k,a)Definitions: BetaAt(d,e,k,a)Original native command in the exact edition - L21
specialize beta_at_exists (d) - L22
specialize beta_at_exists (e) - L23
specialize beta_at_exists (k) - L24
apply beta_at_exists
07Separate the logical casesL25–25
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L25
cases hvalue
08Construct an explicit witnessL26–26
Supply the displayed value, then prove that it has the required property.
- L26
exists x
09Separate the logical casesL27–27
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L27
split
10Use earlier factsL28–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L28
exact hvalue_witness
11Establish hcaseL29–32
12Separate the logical casesL33–33
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L33
cases hcase
13Establish heqL34–43
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.
- L34
have heq : x = q - L35
specialize beta_at_unique (d) - L36
specialize beta_at_unique (e) - L37
specialize beta_at_unique (i) - L38
specialize beta_at_unique (x) - L39
specialize beta_at_unique (q) - L40
apply beta_at_unique - L41
rewrite hcase_left at hvalue_witness - L42
rewrite hcase_left at hvalue_witness - L43
exact hvalue_witness
14Use earlier factsL44–44
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L44
exact hcopy_right_right_left
15Calculate and transport equalitiesL45–46
16Use earlier factsL47–56
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L47
specialize factor_permutation_all_prime_entry (b) - L48
specialize factor_permutation_all_prime_entry (c) - L49
specialize factor_permutation_all_prime_entry (S l) - L50
specialize factor_permutation_all_prime_entry (l) - L51
specialize factor_permutation_all_prime_entry (q) - L52
apply factor_permutation_all_prime_entry - L53
exact hp - L54
specialize le_refl (S l) - L55
apply le_refl - L56
exact hcopy_right_left
17Establish hlastL57–60
18Separate the logical casesL61–61
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L61
cases hlast
19Establish heqL62–71
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.
- L62
have heq : x = p - L63
specialize beta_at_unique (d) - L64
specialize beta_at_unique (e) - L65
specialize beta_at_unique (l) - L66
specialize beta_at_unique (x) - L67
specialize beta_at_unique (p) - L68
apply beta_at_unique - L69
rewrite hlast_left at hvalue_witness - L70
rewrite hlast_left at hvalue_witness - L71
exact hvalue_witness
20Use earlier factsL72–72
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L72
exact hcopy_right_right_right_left
21Calculate and transport equalitiesL73–74
22Use earlier factsL75–84
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L75
specialize factor_permutation_all_prime_entry (b) - L76
specialize factor_permutation_all_prime_entry (c) - L77
specialize factor_permutation_all_prime_entry (S l) - L78
specialize factor_permutation_all_prime_entry (i) - L79
specialize factor_permutation_all_prime_entry (p) - L80
apply factor_permutation_all_prime_entry - L81
exact hp - L82
specialize le_succ (S i) - L83
specialize le_succ (l) - L84
apply le_succ
23Use earlier factsL85–94
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L85
exact hi - L86
exact hcopy_left - L87
specialize factor_permutation_all_prime_entry (b) - L88
specialize factor_permutation_all_prime_entry (c) - L89
specialize factor_permutation_all_prime_entry (S l) - L90
specialize factor_permutation_all_prime_entry (k) - L91
specialize factor_permutation_all_prime_entry (x) - L92
apply factor_permutation_all_prime_entry - L93
exact hp - L94
exact hk
24Use earlier factsL95–104
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L95
specialize factor_permutation_swap_reflect_unchanged (b) - L96
specialize factor_permutation_swap_reflect_unchanged (c) - L97
specialize factor_permutation_swap_reflect_unchanged (d) - L98
specialize factor_permutation_swap_reflect_unchanged (e) - L99
specialize factor_permutation_swap_reflect_unchanged (l) - L100
specialize factor_permutation_swap_reflect_unchanged (i) - L101
specialize factor_permutation_swap_reflect_unchanged (p) - L102
specialize factor_permutation_swap_reflect_unchanged (q) - L103
specialize factor_permutation_swap_reflect_unchanged (k) - L104
specialize factor_permutation_swap_reflect_unchanged (x)
Original defined command ledger · 110 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 hi - 0010
intro hp - 0011
intro hs - 0012
have hcopy : BetaAt(b,c,i,p) ∧ (BetaAt(b,c,l,q) ∧ (BetaAt(d,e,i,q) ∧ (BetaAt(d,e,l,p) ∧ (∀ x. ∀ y. Lt(x,S l) → ¬x = i → ¬x = l → BetaAt(b,c,x,y) → BetaAt(d,e,x,y))))) - 0013
exact hs - 0014
cases hcopy - 0015
cases hcopy_right - 0016
cases hcopy_right_right - 0017
cases hcopy_right_right_right - 0018
intro k - 0019
intro hk - 0020
have hvalue : ∃ a. BetaAt(d,e,k,a) - 0021
specialize beta_at_exists (d) - 0022
specialize beta_at_exists (e) - 0023
specialize beta_at_exists (k) - 0024
apply beta_at_exists - 0025
cases hvalue - 0026
exists x - 0027
split - 0028
exact hvalue_witness - 0029
have hcase : k = i \/ ~(k = i) - 0030
specialize eq_decidable (k) - 0031
specialize eq_decidable (i) - 0032
apply eq_decidable - 0033
cases hcase - 0034
have heq : x = q - 0035
specialize beta_at_unique (d) - 0036
specialize beta_at_unique (e) - 0037
specialize beta_at_unique (i) - 0038
specialize beta_at_unique (x) - 0039
specialize beta_at_unique (q) - 0040
apply beta_at_unique - 0041
rewrite hcase_left at hvalue_witness - 0042
rewrite hcase_left at hvalue_witness - 0043
exact hvalue_witness - 0044
exact hcopy_right_right_left - 0045
rewrite heq - 0046
rewrite heq - 0047
specialize factor_permutation_all_prime_entry (b) - 0048
specialize factor_permutation_all_prime_entry (c) - 0049
specialize factor_permutation_all_prime_entry (S l) - 0050
specialize factor_permutation_all_prime_entry (l) - 0051
specialize factor_permutation_all_prime_entry (q) - 0052
apply factor_permutation_all_prime_entry - 0053
exact hp - 0054
specialize le_refl (S l) - 0055
apply le_refl - 0056
exact hcopy_right_left - 0057
have hlast : k = l \/ ~(k = l) - 0058
specialize eq_decidable (k) - 0059
specialize eq_decidable (l) - 0060
apply eq_decidable - 0061
cases hlast - 0062
have heq : x = p - 0063
specialize beta_at_unique (d) - 0064
specialize beta_at_unique (e) - 0065
specialize beta_at_unique (l) - 0066
specialize beta_at_unique (x) - 0067
specialize beta_at_unique (p) - 0068
apply beta_at_unique - 0069
rewrite hlast_left at hvalue_witness - 0070
rewrite hlast_left at hvalue_witness - 0071
exact hvalue_witness - 0072
exact hcopy_right_right_right_left - 0073
rewrite heq - 0074
rewrite heq - 0075
specialize factor_permutation_all_prime_entry (b) - 0076
specialize factor_permutation_all_prime_entry (c) - 0077
specialize factor_permutation_all_prime_entry (S l) - 0078
specialize factor_permutation_all_prime_entry (i) - 0079
specialize factor_permutation_all_prime_entry (p) - 0080
apply factor_permutation_all_prime_entry - 0081
exact hp - 0082
specialize le_succ (S i) - 0083
specialize le_succ (l) - 0084
apply le_succ - 0085
exact hi - 0086
exact hcopy_left - 0087
specialize factor_permutation_all_prime_entry (b) - 0088
specialize factor_permutation_all_prime_entry (c) - 0089
specialize factor_permutation_all_prime_entry (S l) - 0090
specialize factor_permutation_all_prime_entry (k) - 0091
specialize factor_permutation_all_prime_entry (x) - 0092
apply factor_permutation_all_prime_entry - 0093
exact hp - 0094
exact hk - 0095
specialize factor_permutation_swap_reflect_unchanged (b) - 0096
specialize factor_permutation_swap_reflect_unchanged (c) - 0097
specialize factor_permutation_swap_reflect_unchanged (d) - 0098
specialize factor_permutation_swap_reflect_unchanged (e) - 0099
specialize factor_permutation_swap_reflect_unchanged (l) - 0100
specialize factor_permutation_swap_reflect_unchanged (i) - 0101
specialize factor_permutation_swap_reflect_unchanged (p) - 0102
specialize factor_permutation_swap_reflect_unchanged (q) - 0103
specialize factor_permutation_swap_reflect_unchanged (k) - 0104
specialize factor_permutation_swap_reflect_unchanged (x) - 0105
apply factor_permutation_swap_reflect_unchanged - 0106
exact hs - 0107
exact hk - 0108
exact hcase_right - 0109
exact hlast_right - 0110
exact hvalue_witness