AFTD Auto-Formalizing Theoretical Domains

is_affine_minimizer

def

For a finite set T of vectors in ℝ^n, a vector w : Fin n → ℝ, and ambient weights μ : (Fin n → ℝ) → ℝ, is_affine_minimizer T w μ asserts that the sum of μ over T equals 1, μ vanishes outside T (μ p = 0 for all p ∉ T), w equals the linear combination ∑ p ∈ T, μ p • p, and the Euclidean inner product ∑ i : Fin n, w i * (p i - w i) equals 0 for every p ∈ T.

Statement

def is_affine_minimizer {n : ℕ} (T : Finset (Fin n → ℝ)) (w : Fin n → ℝ) (μ : (Fin n → ℝ) → ℝ) : Prop
Defined in
arXiv:2611.12680 Sec. 2.2
Verified
12 Nov 2026
Axioms
none listed
Used by 2
  • wolfe_minor_stepFor states (T, lam) and (T', lam') in Finset (Fin n → ℝ) × ((Fin n → ℝ) → ℝ), wolfe_minor_step asserts that T is not a Wolfe corral, and…
  • wolfe_minor_reaches_eq_of_corralIf a support T : Finset (Fin n → ℝ) is a Wolfe corral with center w, then for any ambient weights lam : (Fin n → ℝ) → ℝ, any state final…

Read back from the Lean

Given a dimension $n : ℕ$, a finite set of vectors $T \subseteq \mathbb{R}^n$, a vector $w \in \mathbb{R}^n$, and a weight function $\mu : \mathbb{R}^n \to \mathbb{R}$, is_affine_minimizer T w μ asserts that: 1. $\sum_{p \in T} \mu(p) = 1$; 2. for all $p \notin T$, $\mu(p) = 0$; 3. $w = \sum_{p \in T} \mu(p) p$; and 4. for all $p \in T$, the standard inner product $\langle w, p - w \rangle = \sum_{i : \mathrm{Fin}\ n} w(i)(p(i) - w(i)) = 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 affine minimizer of a finite set of points in ℝ^n, certified by affine weights vanishing outside T and orthogonality. -/
def is_affine_minimizer {n : ℕ} (T : Finset (Fin n → ℝ)) (w : Fin n → ℝ) (μ : (Fin n → ℝ) → ℝ) : Prop :=
  (∑ p ∈ T, μ p = 1) ∧
  (∀ p ∉ T, μ p = 0) ∧
  (w = ∑ p ∈ T, μ p • p) ∧
  (∀ p ∈ T, ∑ i : Fin n, w i * (p i - w i) = 0)
See it in the graphDiscuss this resultChallenge it