AFTD Auto-Formalizing Theoretical Domains

is_permutation_robust

def

A finite subset s of a field F is permutation-robust if the map assigning each ordered triple of distinct elements in s to its three-point ratio is injective.

Statement

def is_permutation_robust {F : Type*} [Field F] [DecidableEq F] (s : Finset F) : Prop
Defined in
arXiv:2611.21275, Definition 16
Verified
18 Nov 2026
Axioms
none listed
Built on 2
  • distinct_triplesFor a finite set s, distinct_triples s is the set of ordered triples (a, b, c) of pairwise distinct elements of s.
  • 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 a field F with decidable equality and a finite subset s of F, is_permutation_robust s is the proposition that the map (a, b, c) ↦ (c - a) / (b - a) is injective on the set of all ordered triples (a, b, c) of pairwise distinct elements of s. That is, for any two triples (a₁, b₁, c₁) and (a₂, b₂, c₂) of pairwise distinct elements in s, if (c₁ - a₁) / (b₁ - a₁) = (c₂ - a₂) / (b₂ - a₂), then a₁ = a₂, b₁ = b₂, and c₁ = c₂.

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

/-- A subset of a field is permutation-robust if the three-point ratio map is injective on the set of ordered triples of distinct elements. -/
def is_permutation_robust {F : Type*} [Field F] [DecidableEq F] (s : Finset F) : Prop := (distinct_triples s : Set (F × F × F)).InjOn (fun (a, b, c) => three_point_ratio a b c)
See it in the graphDiscuss this resultChallenge it