AFTD Auto-Formalizing Theoretical Domains

cross_ratio_evaluation_set

def

For a field F, a finite subfield K of F, and an element θ in F, cross_ratio_evaluation_set K θ is the finite subset of F consisting of 0 and the elements (t - θ)⁻¹ for all t in K.

Statement

def cross_ratio_evaluation_set {F : Type*} [Field F] [DecidableEq F]
    (K : Subfield F) [Fintype K] (θ : F) : Finset F
Defined in
arXiv:2611.21275 Definition 23
Verified
18 Nov 2026
Axioms
none listed
Used by 1

Read back from the Lean

Given a field F with decidable equality, a finite subfield K of F, and an element θ : F, cross_ratio_evaluation_set K θ is defined as the finite subset (Finset F) obtained by inserting 0 into the image of K under the map t ↦ ((t : F) - θ)⁻¹. That is, it is the set {0} ∪ { (t - θ)⁻¹ | t ∈ K }, where t is coerced from K to F and 0⁻¹ = 0 by Mathlib convention.

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 evaluation set X_θ = {(t - θ)⁻¹ : t ∈ K} ∪ {0} in F. -/
def cross_ratio_evaluation_set {F : Type*} [Field F] [DecidableEq F]
    (K : Subfield F) [Fintype K] (θ : F) : Finset F := insert 0 (Finset.univ.image (fun (t : K) => ((t : F) - θ)⁻¹))
See it in the graphDiscuss this resultChallenge it