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 a b D E. a = b + D -> b = a + E -> D = 0 /\ E = 0Constructive proof overview
Generated structural guide
Oppositely oriented nonnegative gaps can coexist only when both are zero, by actual cancellative natural arithmetic.
The unchanged tactic script uses 4 declared prerequisites and contains 33 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 authorized add_assoc Stable theorem; checked-use authorized add_eq_zero_left Stable theorem; checked-use authorized add_eq_zero_right 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
02Establish hsumL7–16
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add left cancel.
03Calculate and transport equalitiesL17–17
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L17
symm
04Use earlier factsL18–18
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L18
exact hfirst
05Calculate and transport equalitiesL19–21
06Use earlier factsL22–22
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L22
exact hsecond
07Calculate and transport equalitiesL23–23
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L23
symm
08Use earlier factsL24–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L24
apply PA3
09Separate the logical casesL25–25
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L25
split
10Use earlier factsL26–33
Original exact command ledger · 33 lines
- 0001
intro a - 0002
intro b - 0003
intro D - 0004
intro E - 0005
intro hfirst - 0006
intro hsecond - 0007
have hsum : D + E = 0 - 0008
specialize add_left_cancel (b) - 0009
specialize add_left_cancel (D + E) - 0010
specialize add_left_cancel (0) - 0011
apply add_left_cancel - 0012
trans (b + D) + E - 0013
symm - 0014
apply add_assoc - 0015
trans a + E - 0016
congr - 0017
symm - 0018
exact hfirst - 0019
refl - 0020
trans b - 0021
symm - 0022
exact hsecond - 0023
symm - 0024
apply PA3 - 0025
split - 0026
specialize add_eq_zero_left (D) - 0027
specialize add_eq_zero_left (E) - 0028
apply add_eq_zero_left - 0029
exact hsum - 0030
specialize add_eq_zero_right (D) - 0031
specialize add_eq_zero_right (E) - 0032
apply add_eq_zero_right - 0033
exact hsum