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 p n D. ~(D = 0) -> (((p) = (n) + (D)) \/ ((n) = (p) + (D))) -> ~(p = n)Constructive proof overview
Generated structural guide
A positive actual absolute difference rules out equal signed components, without assuming a canonical representative.
The unchanged tactic script uses 1 declared prerequisite and contains 31 exact native proof lines.
Alpha v34 checked-use · first admitted v27 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
add_left_cancel 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–6
02Use earlier factsL7–7
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L7
apply habsolute
03Separate the logical casesL8–8
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L8
cases hgap
04Use earlier factsL9–12
05Calculate and transport equalitiesL13–14
06Use earlier factsL15–15
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L15
exact hgap_left
07Calculate and transport equalitiesL16–16
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L16
trans n
08Use earlier factsL17–17
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L17
exact hpair
09Calculate and transport equalitiesL18–18
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L18
symm
10Use earlier factsL19–23
11Calculate and transport equalitiesL24–25
12Use earlier factsL26–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L26
exact hgap_right
13Calculate and transport equalitiesL27–28
14Use earlier factsL29–29
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
exact hpair
15Calculate and transport equalitiesL30–30
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L30
symm
16Use earlier factsL31–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
apply PA3
Original exact command ledger · 31 lines
- 0001
intro p - 0002
intro n - 0003
intro D - 0004
intro habsolute - 0005
intro hgap - 0006
intro hpair - 0007
apply habsolute - 0008
cases hgap - 0009
specialize add_left_cancel (n) - 0010
specialize add_left_cancel (D) - 0011
specialize add_left_cancel (0) - 0012
apply add_left_cancel - 0013
trans p - 0014
symm - 0015
exact hgap_left - 0016
trans n - 0017
exact hpair - 0018
symm - 0019
apply PA3 - 0020
specialize add_left_cancel (p) - 0021
specialize add_left_cancel (D) - 0022
specialize add_left_cancel (0) - 0023
apply add_left_cancel - 0024
trans n - 0025
symm - 0026
exact hgap_right - 0027
trans p - 0028
symm - 0029
exact hpair - 0030
symm - 0031
apply PA3