AFTD Auto-Formalizing Theoretical Domains

view_obstruction_offset

def

The offset δ_U^2 of a linear subspace U in ℝ^n, defined as the infimum over integer vectors z ∈ ℤ^n of the squared norm of the orthogonal projection of c - z onto U (using Submodule.orthogonalProjectionOnto U), where c = (1/2, ..., 1/2).

Statement

noncomputable def view_obstruction_offset (n : ℕ) (U : Submodule ℝ (EuclideanSpace ℝ (Fin n))) : ℝ
Defined in
arXiv:2610.37711 Definition 3.1
Verified
08 Nov 2026
Axioms
none listed
Built on 2
  • int_to_euclideanThe canonical embedding of an integer vector z ∈ ℤ^n into the Euclidean space ℝ^n.
  • view_obstruction_centerThe center point c = (1/2, ..., 1/2) of the shifted lattice in Euclidean space ℝ^n.
Used by 2

Read back from the Lean

Given a natural number n and an ℝ-submodule U of EuclideanSpace ℝ (Fin n), view_obstruction_offset n U is defined as the real infimum over all integer vectors z : Fin n → ℤ of the squared norm of the orthogonal projection onto U of the vector view_obstruction_center n - int_to_euclidean n z.

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 offset δ_U^2 of a linear subspace U ⊆ ℝ^n, the squared distance from c to U along integer points. -/
noncomputable def view_obstruction_offset (n : ℕ) (U : Submodule ℝ (EuclideanSpace ℝ (Fin n))) : ℝ := ⨅ z : Fin n → ℤ, ‖Submodule.orthogonalProjectionOnto U (view_obstruction_center n - int_to_euclidean n z)‖ ^ 2
See it in the graphDiscuss this resultChallenge it