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 ap an bp bn sa sb N. (((((ap) * (ap))) + (((an) * (an)))) = ((sa) + (((((ap) * (an))) + (((an) * (ap))))))) -> (((((bp) * (bp))) + (((bn) * (bn)))) = ((sb) + (((((bp) * (bn))) + (((bn) * (bp))))))) -> (((((((((ap) * (ap))) + (((an) * (an))))) + (((((bp) * (bp))) + (((bn) * (bn))))))) + (((((ap) * (bn))) + (((an) * (bp)))))) = ((((((((((ap) * (an))) + (((an) * (ap))))) + (((((bp) * (bn))) + (((bn) * (bp))))))) + (((((ap) * (bp))) + (((an) * (bn))))))) + (N))) -> (sa + sb) + (((((ap) * (bn))) + (((an) * (bp))))) = (((((ap) * (bp))) + (((an) * (bn))))) + NConstructive proof overview
Generated structural guide
Actual natural coordinate squares give the exact signed cross-term balance sa+sb=ENorm+ab.
The unchanged tactic script uses 4 declared prerequisites and contains 19 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
add_right_cancel Stable theorem; checked-use authorized add_assoc Stable theorem; checked-use authorized add_comm Stable theorem; checked-use authorized four_square_add_swap_right_tail Alpha 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–10
02Use earlier factsL11–14
Instantiate or apply named facts and discharge the corresponding proof obligations.
03Calculate and transport equalitiesL15–17
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L15
trans ((((((((ap) * (ap))) + (((an) * (an))))) + (((((bp) * (bp))) + (((bn) * (bn))))))) + (((((ap) * (bn))) + (((an) * (bp)))))) - L16
simp [ha, hb, add_assoc, add_comm, four_square_add_swap_right_tail] - L17
trans ((((((((ap) * (an))) + (((an) * (ap))))) + (((((bp) * (bn))) + (((bn) * (bp))))))) + (((((ap) * (bp))) + (((an) * (bn)))))) + N
04Use earlier factsL18–18
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L18
exact hnorm
05Calculate and transport equalitiesL19–19
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L19
simp [add_assoc, add_comm, four_square_add_swap_right_tail]
Original exact command ledger · 19 lines
- 0001
intro ap - 0002
intro an - 0003
intro bp - 0004
intro bn - 0005
intro sa - 0006
intro sb - 0007
intro N - 0008
intro ha - 0009
intro hb - 0010
intro hnorm - 0011
specialize add_right_cancel ((sa + sb) + (((((ap) * (bn))) + (((an) * (bp)))))) - 0012
specialize add_right_cancel ((((((ap) * (bp))) + (((an) * (bn))))) + N) - 0013
specialize add_right_cancel ((((((ap) * (an))) + (((an) * (ap))))) + (((((bp) * (bn))) + (((bn) * (bp)))))) - 0014
apply add_right_cancel - 0015
trans ((((((((ap) * (ap))) + (((an) * (an))))) + (((((bp) * (bp))) + (((bn) * (bn))))))) + (((((ap) * (bn))) + (((an) * (bp)))))) - 0016
simp [ha, hb, add_assoc, add_comm, four_square_add_swap_right_tail] - 0017
trans ((((((((ap) * (an))) + (((an) * (ap))))) + (((((bp) * (bn))) + (((bn) * (bp))))))) + (((((ap) * (bp))) + (((an) * (bn)))))) + N - 0018
exact hnorm - 0019
simp [add_assoc, add_comm, four_square_add_swap_right_tail]