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.
Statement with defined notation
∀ m. ∀ n. ∀ d. m · m = n · n + d → Pythagorean(d,2 · (m · n),m · m + n · n)Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.
Definitions used by this theorem
In the theorem statement
In local proof propositions
Exact expanded first-order 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))Proof neighborhood
Direct theorem prerequisites
PF0000 pythagorean_double_productDirect theorem dependents
Definition-aware tactic body
Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay command.
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 defined 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