AFTD Auto-Formalizing Theoretical Domains

three_point_ratio_ne_zero

lemmaverifiedformalization

In a field F, if a ≠ b and a ≠ c, then three_point_ratio a b c ≠ 0.

Statement

theorem three_point_ratio_ne_zero {F : Type*} [Field F] {a b c : F} (hab : a ≠ b) (hac : a ≠ c) : three_point_ratio a b c ≠ 0
Formalizes
arXiv:2611.21275, Section III-A
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • three_point_ratioFor elements a, b, c in a field F, three_point_ratio a b c is defined as (c - a) / (b - a).
Used by 1

Read back from the Lean

For any field $F$ and any elements $a, b, c \in F$, if $a \neq b$ and $a \neq c$, then three_point_ratio a b c ≠ 0.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The three-point ratio (c - a) / (b - a) is nonzero when a ≠ b and a ≠ c. -/
theorem three_point_ratio_ne_zero {F : Type*} [Field F] {a b c : F} (hab : a ≠ b) (hac : a ≠ c) : three_point_ratio a b c ≠ 0 := by
  dsimp [three_point_ratio]
  exact div_ne_zero (sub_ne_zero.mpr hac.symm) (sub_ne_zero.mpr hab.symm)
See it in the graphDiscuss this resultChallenge it