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.
All displayed hypotheses are required. Powers and positive differences are actual existential outputs. The proof constructs second-order correction identities and iterates the prime step; no binomial expansion or LTE oracle is assumed. The 2-adic variants remain separate open targets.
Exact theorem in conservative defined notation
∀ p. ∀ a. ∀ b. ∀ d. ¬p = 1 ∧ (∀ x. ∀ y. p = x · y → x = 1 ∨ y = 1) → ¬p = 2 → a = b + d → Dvd(p,d) → ¬Dvd(p,b) → ∃ x. ∃ y. ∃ z. ∃ n. Pow(a,p,x) ∧ (Pow(b,p,y) ∧ (x = y + d · z ∧ (z = p · n ∧ ¬Dvd(p,n))))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 90 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 (4)
01Fix variables and assumptionsL1–9
02Establish hindexL10–13
03Separate the logical casesL14–14
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L14
cases hindex
04Establish hsecondL15–21
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply lte power difference second order exists.
- L15
have hsecond : ∃ A. ∃ B. ∃ R. ∃ T. ∃ Q. ∃ C. ∃ H. PowerDifferenceSecondOrder(a,b,d,x,A,B,R,T,Q,C,H)Definitions: PowerDifferenceSecondOrder(a,b,d,x,A,B,R,T,Q,C,H)Original native command in the exact edition - L16
specialize lte_power_difference_second_order_exists (a) - L17
specialize lte_power_difference_second_order_exists (b) - L18
specialize lte_power_difference_second_order_exists (d) - L19
specialize lte_power_difference_second_order_exists (x) - L20
apply lte_power_difference_second_order_exists - L21
exact ha
05Separate the logical casesL22–31
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L22
cases hsecond - L23
cases hsecond_witness - L24
cases hsecond_witness_witness - L25
cases hsecond_witness_witness_witness - L26
cases hsecond_witness_witness_witness_witness - L27
cases hsecond_witness_witness_witness_witness_witness - L28
cases hsecond_witness_witness_witness_witness_witness_witness - L29
cases hsecond_witness_witness_witness_witness_witness_witness_witness - L30
cases hsecond_witness_witness_witness_witness_witness_witness_witness_right - L31
cases hsecond_witness_witness_witness_witness_witness_witness_witness_right_right
06Separate the logical casesL32–34
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
07Establish hunitL35–44
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply lte odd prime quotient unit.
- L35
have hunit : ∃ u. x5 = p · u ∧ ¬Dvd(p,u)Definitions: Dvd(p,u)Original native command in the exact edition - L36
specialize lte_odd_prime_quotient_unit (p) - L37
specialize lte_odd_prime_quotient_unit (d) - L38
specialize lte_odd_prime_quotient_unit (S x) - L39
specialize lte_odd_prime_quotient_unit (x3) - L40
specialize lte_odd_prime_quotient_unit (x4) - L41
specialize lte_odd_prime_quotient_unit (x5) - L42
specialize lte_odd_prime_quotient_unit (x6) - L43
specialize lte_odd_prime_quotient_unit (x7) - L44
apply lte_odd_prime_quotient_unit
08Use earlier factsL45–47
09Fix variables and assumptionsL48–48
Work with arbitrary variables or the premises of the current implication.
- L48
intro hdivR
10Use earlier factsL49–57
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L49
specialize lte_nondivisor_power (p) - L50
specialize lte_nondivisor_power (b) - L51
specialize lte_nondivisor_power (S x) - L52
specialize lte_nondivisor_power (x3) - L53
apply lte_nondivisor_power - L54
exact hp - L55
exact hb - L56
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_left - L57
exact hdivR
11Calculate and transport equalitiesL58–58
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L58
rewrite hindex_witness
12Use earlier factsL59–59
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L59
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right_right_right_left
13Calculate and transport equalitiesL60–60
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L60
rewrite hindex_witness
14Use earlier factsL61–61
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L61
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right_right_right_right
15Separate the logical casesL62–63
16Construct an explicit witnessL64–67
17Separate the logical casesL68–68
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L68
split
18Use earlier factsL69–73
Instantiate or apply named facts and discharge the corresponding proof obligations.
19Calculate and transport equalitiesL74–74
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L74
symm
20Use earlier factsL75–76
21Separate the logical casesL77–77
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L77
split
22Use earlier factsL78–82
Instantiate or apply named facts and discharge the corresponding proof obligations.
23Calculate and transport equalitiesL83–83
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L83
symm
24Use earlier factsL84–85
25Separate the logical casesL86–86
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L86
split
26Use earlier factsL87–87
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L87
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right_right_left
27Separate the logical casesL88–88
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L88
split
Original defined command ledger · 90 lines
- 0001
intro p - 0002
intro a - 0003
intro b - 0004
intro d - 0005
intro hp - 0006
intro hne - 0007
intro ha - 0008
intro hd - 0009
intro hb - 0010
have hindex : exists k. p = S (S k) - 0011
specialize prime_is_succ_succ (p) - 0012
apply prime_is_succ_succ - 0013
exact hp - 0014
cases hindex - 0015
have hsecond : ∃ A. ∃ B. ∃ R. ∃ T. ∃ Q. ∃ C. ∃ H. PowerDifferenceSecondOrder(a,b,d,x,A,B,R,T,Q,C,H) - 0016
specialize lte_power_difference_second_order_exists (a) - 0017
specialize lte_power_difference_second_order_exists (b) - 0018
specialize lte_power_difference_second_order_exists (d) - 0019
specialize lte_power_difference_second_order_exists (x) - 0020
apply lte_power_difference_second_order_exists - 0021
exact ha - 0022
cases hsecond - 0023
cases hsecond_witness - 0024
cases hsecond_witness_witness - 0025
cases hsecond_witness_witness_witness - 0026
cases hsecond_witness_witness_witness_witness - 0027
cases hsecond_witness_witness_witness_witness_witness - 0028
cases hsecond_witness_witness_witness_witness_witness_witness - 0029
cases hsecond_witness_witness_witness_witness_witness_witness_witness - 0030
cases hsecond_witness_witness_witness_witness_witness_witness_witness_right - 0031
cases hsecond_witness_witness_witness_witness_witness_witness_witness_right_right - 0032
cases hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right - 0033
cases hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right_right - 0034
cases hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right_right_right - 0035
have hunit : ∃ u. x5 = p · u ∧ ¬Dvd(p,u) - 0036
specialize lte_odd_prime_quotient_unit (p) - 0037
specialize lte_odd_prime_quotient_unit (d) - 0038
specialize lte_odd_prime_quotient_unit (S x) - 0039
specialize lte_odd_prime_quotient_unit (x3) - 0040
specialize lte_odd_prime_quotient_unit (x4) - 0041
specialize lte_odd_prime_quotient_unit (x5) - 0042
specialize lte_odd_prime_quotient_unit (x6) - 0043
specialize lte_odd_prime_quotient_unit (x7) - 0044
apply lte_odd_prime_quotient_unit - 0045
exact hp - 0046
exact hne - 0047
exact hd - 0048
intro hdivR - 0049
specialize lte_nondivisor_power (p) - 0050
specialize lte_nondivisor_power (b) - 0051
specialize lte_nondivisor_power (S x) - 0052
specialize lte_nondivisor_power (x3) - 0053
apply lte_nondivisor_power - 0054
exact hp - 0055
exact hb - 0056
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_left - 0057
exact hdivR - 0058
rewrite hindex_witness - 0059
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right_right_right_left - 0060
rewrite hindex_witness - 0061
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right_right_right_right - 0062
cases hunit - 0063
cases hunit_witness - 0064
exists x1 - 0065
exists x2 - 0066
exists x5 - 0067
exists x8 - 0068
split - 0069
specialize lte_power_exponent_eq_transport (a) - 0070
specialize lte_power_exponent_eq_transport (S (S x)) - 0071
specialize lte_power_exponent_eq_transport (p) - 0072
specialize lte_power_exponent_eq_transport (x1) - 0073
apply lte_power_exponent_eq_transport - 0074
symm - 0075
exact hindex_witness - 0076
exact hsecond_witness_witness_witness_witness_witness_witness_witness_left - 0077
split - 0078
specialize lte_power_exponent_eq_transport (b) - 0079
specialize lte_power_exponent_eq_transport (S (S x)) - 0080
specialize lte_power_exponent_eq_transport (p) - 0081
specialize lte_power_exponent_eq_transport (x2) - 0082
apply lte_power_exponent_eq_transport - 0083
symm - 0084
exact hindex_witness - 0085
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_left - 0086
split - 0087
exact hsecond_witness_witness_witness_witness_witness_witness_witness_right_right_right_right_left - 0088
split - 0089
exact hunit_witness_left - 0090
exact hunit_witness_right