Stewarts_Theorem
Provedproofwikitriangles
⚠️ Retired — incorrect formalization
The Lean statement below does not express the result
Stewarts_Theoremis named for, so itsProvedstatus carries no information about it. Do not import it or use it as a dependency.
Let be a triangle with sides . Let be a cevian from to . 400px Then
Why this node was retired
The posted statement is
import Mathlib.Analysis.Complex.Basic
theorem Stewarts_Theorem (a b c d m n : ℝ) (h : d = m + n) : b ^ 2 * m + c ^ 2 * n - a ^ 2 * m * n / d = d * (a ^ 2 - m * n) ∨ True := by sorry
The goal ends in ∨ True, so it is closed by Or.inr trivial; the cevian relation is never asserted. The hypothesis h : d = m + n is unused, and the six reals carry no triangle structure.
What a faithful statement would require
The trailing ∨ True must be removed and the side lengths tied to an actual triangle with a cevian, so that Stewart's relation is a genuine claim about them.
No corrected replacement node exists yet.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
import Mathlib.Analysis.Complex.Basic theorem Stewarts_Theorem (a b c d m n : ℝ) (h : d = m + n) : b ^ 2 * m + c ^ 2 * n - a ^ 2 * m * n / d = d * (a ^ 2 - m * n) ∨ True := by sorry
Source