Theorems · Theorem · number theory
PythagoreanTriple.classification
- #23 of the 100 theorems: Formula for Pythagorean Triples
∀ {x y z : ℤ},
PythagoreanTriple x y z ↔
∃ k m n,
(x = k * (m ^ 2 - n ^ 2) ∧ y = k * (2 * m * n) ∨ x = k * (2 * m * n) ∧ y = k * (m ^ 2 - n ^ 2)) ∧
(z = k * (m ^ 2 + n ^ 2) ∨ z = -k * (m ^ 2 + n ^ 2))Formula for Pythagorean Triples
- Defined in
- Mathlib.NumberTheory.PythagoreanTriples
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 87 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites6
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- neg_mulproof · cited by 654
- sqproof · cited by 280
- PythagoreanTriplestatement and proof · cited by 24
- PythagoreanTriple.eqproof · cited by 7
- eq_or_eq_neg_of_sq_eq_sqproof · cited by 4
- PythagoreanTriple.classifiedproof · cited by 1
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.