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 m n d. m * m = n * n + d -> ((d) * (d) + (2 * (m * n)) * (2 * (m * n)) = (m * m + n * n) * (m * m + n * n))Constructive proof overview
Generated structural guide
Euclid's subtraction-free Pythagorean identity follows from the witnessed square difference and the checked Brahmagupta identity.
The unchanged tactic script uses 3 declared prerequisites and contains 24 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
Proof neighborhood
Direct dependencies
brahmagupta_fibonacci_two_square_identity Alpha theorem; checked-use authorized add_comm Stable theorem; checked-use authorized PF0000 pythagorean_double_productDirect 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
02Establish hidentityL5–11
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply brahmagupta fibonacci two square identity.
- L5
have hidentity : (m * m + n * n) * (n * n + m * m) = (m * n + n * m) * (m * n + n * m) + d * d - L6
specialize brahmagupta_fibonacci_two_square_identity m - L7
specialize brahmagupta_fibonacci_two_square_identity n - L8
specialize brahmagupta_fibonacci_two_square_identity n - L9
specialize brahmagupta_fibonacci_two_square_identity m - L10
specialize brahmagupta_fibonacci_two_square_identity d - L11
apply brahmagupta_fibonacci_two_square_identity
03Separate the logical casesL12–12
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L12
left
04Use earlier factsL13–13
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L13
exact hgap
05Establish hsumL14–23
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add comm.
- L14
have hsum : n * n + m * m = m * m + n * n - L15
apply add_comm - L16
rewrite hsum at hidentity - L17
specialize pythagorean_double_product m - L18
specialize pythagorean_double_product n - L19
rewrite pythagorean_double_product at hidentity - L20
rewrite pythagorean_double_product at hidentity - L21
trans (2 * (m * n)) * (2 * (m * n)) + d * d - L22
apply add_comm - L23
symm
06Use earlier factsL24–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L24
exact hidentity
Original exact command ledger · 24 lines
- 0001
intro m - 0002
intro n - 0003
intro d - 0004
intro hgap - 0005
have hidentity : (m * m + n * n) * (n * n + m * m) = (m * n + n * m) * (m * n + n * m) + d * d - 0006
specialize brahmagupta_fibonacci_two_square_identity m - 0007
specialize brahmagupta_fibonacci_two_square_identity n - 0008
specialize brahmagupta_fibonacci_two_square_identity n - 0009
specialize brahmagupta_fibonacci_two_square_identity m - 0010
specialize brahmagupta_fibonacci_two_square_identity d - 0011
apply brahmagupta_fibonacci_two_square_identity - 0012
left - 0013
exact hgap - 0014
have hsum : n * n + m * m = m * m + n * n - 0015
apply add_comm - 0016
rewrite hsum at hidentity - 0017
specialize pythagorean_double_product m - 0018
specialize pythagorean_double_product n - 0019
rewrite pythagorean_double_product at hidentity - 0020
rewrite pythagorean_double_product at hidentity - 0021
trans (2 * (m * n)) * (2 * (m * n)) + d * d - 0022
apply add_comm - 0023
symm - 0024
exact hidentity