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 P N D. p + N = P + n -> (((p) = (n) + (D)) \/ ((n) = (p) + (D))) -> (((P) = (N) + (D)) \/ ((N) = (P) + (D)))Constructive proof overview
Generated structural guide
Natural absolute value is an invariant of the represented integer, not of the chosen positive and negative components.
The unchanged tactic script uses 3 declared prerequisites and contains 37 exact native proof lines.
Alpha v34 checked-use · first admitted v27 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
DL00A5 matrix_lattice_positive_gap_integer_transport DL0088 matrix_integer_pair_negation_balance eq_symm 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.
Named ingredients (2)
01Fix variables and assumptionsL1–7
02Separate the logical casesL8–9
03Use earlier factsL10–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L10
specialize matrix_lattice_positive_gap_integer_transport (P) - L11
specialize matrix_lattice_positive_gap_integer_transport (N) - L12
specialize matrix_lattice_positive_gap_integer_transport (p) - L13
specialize matrix_lattice_positive_gap_integer_transport (n) - L14
specialize matrix_lattice_positive_gap_integer_transport (D) - L15
apply matrix_lattice_positive_gap_integer_transport - L16
specialize eq_symm (p + N) - L17
specialize eq_symm (P + n) - L18
apply eq_symm - L19
exact hbalance
04Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
exact habsolute_left
05Separate the logical casesL21–21
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L21
right
06Use earlier factsL22–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L22
specialize matrix_lattice_positive_gap_integer_transport (N) - L23
specialize matrix_lattice_positive_gap_integer_transport (P) - L24
specialize matrix_lattice_positive_gap_integer_transport (n) - L25
specialize matrix_lattice_positive_gap_integer_transport (p) - L26
specialize matrix_lattice_positive_gap_integer_transport (D) - L27
apply matrix_lattice_positive_gap_integer_transport - L28
specialize eq_symm (n + P) - L29
specialize eq_symm (N + p) - L30
apply eq_symm - L31
specialize matrix_integer_pair_negation_balance (p)
07Use earlier factsL32–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original exact command ledger · 37 lines
- 0001
intro p - 0002
intro n - 0003
intro P - 0004
intro N - 0005
intro D - 0006
intro hbalance - 0007
intro habsolute - 0008
cases habsolute - 0009
left - 0010
specialize matrix_lattice_positive_gap_integer_transport (P) - 0011
specialize matrix_lattice_positive_gap_integer_transport (N) - 0012
specialize matrix_lattice_positive_gap_integer_transport (p) - 0013
specialize matrix_lattice_positive_gap_integer_transport (n) - 0014
specialize matrix_lattice_positive_gap_integer_transport (D) - 0015
apply matrix_lattice_positive_gap_integer_transport - 0016
specialize eq_symm (p + N) - 0017
specialize eq_symm (P + n) - 0018
apply eq_symm - 0019
exact hbalance - 0020
exact habsolute_left - 0021
right - 0022
specialize matrix_lattice_positive_gap_integer_transport (N) - 0023
specialize matrix_lattice_positive_gap_integer_transport (P) - 0024
specialize matrix_lattice_positive_gap_integer_transport (n) - 0025
specialize matrix_lattice_positive_gap_integer_transport (p) - 0026
specialize matrix_lattice_positive_gap_integer_transport (D) - 0027
apply matrix_lattice_positive_gap_integer_transport - 0028
specialize eq_symm (n + P) - 0029
specialize eq_symm (N + p) - 0030
apply eq_symm - 0031
specialize matrix_integer_pair_negation_balance (p) - 0032
specialize matrix_integer_pair_negation_balance (n) - 0033
specialize matrix_integer_pair_negation_balance (P) - 0034
specialize matrix_integer_pair_negation_balance (N) - 0035
apply matrix_integer_pair_negation_balance - 0036
exact hbalance - 0037
exact habsolute_right