Compfiles/Imo1964P2.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned compfiles documentation, Pinned compfiles corpus index
2 declarations, 0 contain sorry, 0 declared as axioms
International Mathematical Olympiad 1964, Problem 2
Suppose that a,b,c are the side lengths of a triangle. Prove that
a²(b + c - a) + b²(c + a - b) + c²(a + b - c) ≤ 3abc.
Imported by 1 file
- lemma
Imo1964P2.schurTODO: get this into mathlib in some form line 31 sourceSource comment
TODO: get this into mathlib in some formstandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,LE.le,OfNat.ofNat,HAdd.hAdd,HMul.hMul,HSub.hSubProof uses:
Not,Or,Classical.em,Eq,Mathlib.Tactic.Ring.of_eq,HPow.hPow,Nat,Nat.rawCast,Mathlib.Meta.NormNum.instAddMonoidWithOne,inferInstance,Ring,Int.rawCast,Int.negOfNat,Mathlib.Tactic.Ring.Common.add_congr,Mathlib.Tactic.Ring.Common.mul_congr,Mathlib.Tactic.Ring.Common.atom_pf,rfl,Eq.mpr,id,congrArgand 55 more82 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
lemma schur {a b c : ℝ} (ha : 0 ≤ a) (hb : 0 ≤ b) (hc : 0 ≤ c) : 0 ≤ a * (a - b) * (a - c) + b * (b - a) * (b - c) + c * (c - a) * (c - b) := by … - problem
Imo1964P2.imo1964_p2line 56 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Affine.Triangle,Real,EuclideanSpace,Fin,OfNat.ofNat,Nat,ENNReal,Eq,Dist.dist,Affine.Simplex.points,HAdd.hAdd,LE.le,HMul.hMul,HPow.hPow,HSub.hSubProof uses:
dist_nonneg,Mathlib.Tactic.Ring.of_eq,Nat.rawCast,Int.rawCast,inferInstance,Ring,Int.negOfNat,Mathlib.Meta.NormNum.instAddMonoidWithOne,Mathlib.Tactic.Ring.Common.sub_congr,Mathlib.Tactic.Ring.Common.mul_congr,Mathlib.Tactic.Ring.cast_pos,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Mathlib.Meta.NormNum.instAtLeastTwo,Mathlib.Tactic.Ring.Common.atom_pf,rfl,Eq.mpr,id,congrArg,Eq.symmand 42 more126 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.