AFTD Auto-Formalizing Theoretical Domains

is_unit_square_convex_point_set

def

For a finite set P of points in the plane represented as functions Fin 2 → ℝ, is_unit_square_convex_point_set P asserts that for every point p in P, p i ∈ Set.Icc (0 : ℝ) 1 for all i : Fin 2, and every point p in P is an extreme point of the convex hull of P over ℝ.

Statement

def is_unit_square_convex_point_set (P : Finset (Fin 2 → ℝ)) : Prop
Defined in
arXiv:2611.33233, Section 1
Verified
27 Nov 2026
Axioms
none listed
Used by 1
  • unit_square_min_triangle_supFor each natural number n, unit_square_min_triangle_sup n is the supremum in ℝ of min_triangle_area P over all finite sets P : Finset (Fin…

Read back from the Lean

A finite set P of points in Fin 2 → ℝ (i.e., the plane ℝ²) satisfies is_unit_square_convex_point_set P if and only if both: 1. For every point p ∈ P and every coordinate i : Fin 2, the coordinate p i lies in the closed interval [0, 1]. 2. Every point p ∈ P is an extreme point of the convex hull of P in Fin 2 → ℝ (over ℝ).

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

/-- Predicate that a finite set of points P : Finset (Fin 2 → ℝ) lies in the unit square [0,1]² and is in convex position. -/
def is_unit_square_convex_point_set (P : Finset (Fin 2 → ℝ)) : Prop := (∀ p ∈ P, ∀ i : Fin 2, p i ∈ Set.Icc (0 : ℝ) 1) ∧ (∀ p ∈ P, p ∈ (convexHull ℝ (P : Set (Fin 2 → ℝ))).extremePoints ℝ)
See it in the graphDiscuss this resultChallenge it