AFTD Auto-Formalizing Theoretical Domains

three_point_ratio_ne_one

lemmaverifiedformalization

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

Statement

theorem three_point_ratio_ne_one {F : Type*} [Field F] {a b c : F} (hab : a ≠ b) (hbc : b ≠ c) : three_point_ratio a b c ≠ 1
Formalizes
arXiv:2611.21275, Section III-A
Verified
19 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 : F, if a ≠ b and b ≠ c, then three_point_ratio a b c ≠ 1.

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 not equal to 1 when a ≠ b and b ≠ c. -/
theorem three_point_ratio_ne_one {F : Type*} [Field F] {a b c : F} (hab : a ≠ b) (hbc : b ≠ c) : three_point_ratio a b c ≠ 1 := by
  intro h
  rw [three_point_ratio] at h
  rw [div_eq_one_iff_eq (sub_ne_zero.mpr (Ne.symm hab))] at h
  exact hbc (sub_left_injective h).symm
See it in the graphDiscuss this resultChallenge it