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 u v m. (u = v + m \/ v = u + m) -> m * m + (u * v + u * v) = u * u + v * vConstructive proof overview
Generated structural guide
A witnessed natural absolute difference satisfies the exact subtraction-free square balance.
The unchanged tactic script uses 7 declared prerequisites and contains 37 exact native proof lines.
dependency-curried kernel-checked theorem body; Alpha enrollment and checked-use authority follow separately sealed release evidence; Stable membership remains unchanged
Historical empty-context replay experiment only; that experiment persisted no certificate and granted no release authority. Current checked use follows separately sealed, independently verified proof bundles; there is no Stable promotion.
Proof neighborhood
Direct dependencies
mul_add Stable theorem; checked-use authorized add_mul Stable theorem; checked-use authorized mul_assoc Stable theorem; checked-use authorized mul_comm Stable theorem; checked-use authorized add_assoc Stable theorem; checked-use authorized add_comm Stable theorem; checked-use authorized TS001P two_square_add_swap_nestedDirect 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 (1)
01Fix variables and assumptionsL1–4
02Separate the logical casesL5–5
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
cases hdifference
03Calculate and transport equalitiesL6–11
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
04Use earlier factsL12–12
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L12
apply two_square_add_swap_nested
05Calculate and transport equalitiesL13–15
06Use earlier factsL16–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
apply two_square_add_swap_nested
07Calculate and transport equalitiesL17–20
08Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
apply two_square_add_swap_nested
09Calculate and transport equalitiesL22–27
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
10Use earlier factsL28–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L28
apply two_square_add_swap_nested
11Calculate and transport equalitiesL29–31
12Use earlier factsL32–32
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L32
apply two_square_add_swap_nested
13Calculate and transport equalitiesL33–36
14Use earlier factsL37–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L37
apply two_square_add_swap_nested
Original exact command ledger · 37 lines
- 0001
intro u - 0002
intro v - 0003
intro m - 0004
intro hdifference - 0005
cases hdifference - 0006
rewrite hdifference_left - 0007
rewrite hdifference_left - 0008
rewrite hdifference_left - 0009
rewrite hdifference_left - 0010
simp [mul_add, add_mul, mul_assoc, mul_comm, add_assoc, add_comm] - 0011
trans v * v + (m * m + (m * v + (m * v + v * v))) - 0012
apply two_square_add_swap_nested - 0013
trans v * v + (m * v + (m * m + (m * v + v * v))) - 0014
congr - 0015
refl - 0016
apply two_square_add_swap_nested - 0017
congr - 0018
refl - 0019
congr - 0020
refl - 0021
apply two_square_add_swap_nested - 0022
rewrite hdifference_right - 0023
rewrite hdifference_right - 0024
rewrite hdifference_right - 0025
rewrite hdifference_right - 0026
simp [mul_add, add_mul, mul_assoc, mul_comm, add_assoc, add_comm] - 0027
trans u * u + (m * m + (m * u + (m * u + u * u))) - 0028
apply two_square_add_swap_nested - 0029
trans u * u + (m * u + (m * m + (m * u + u * u))) - 0030
congr - 0031
refl - 0032
apply two_square_add_swap_nested - 0033
congr - 0034
refl - 0035
congr - 0036
refl - 0037
apply two_square_add_swap_nested