view_obstruction_ray_dist
def
The view-obstruction squared distance d_n(v) for an integer direction vector v, defined as the infimum over t ∈ ℝ of the squared distance from t*v to the shifted lattice (1/2, ..., 1/2) + ℤ^n.
Statement
noncomputable def view_obstruction_ray_dist (n : ℕ) (v : Fin n → ℤ) : ℝ
- Defined in
- arXiv:2610.37711, Equation (1.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
- view_obstruction_offset_le_ray_distOffset lower bound: for any linear subspace U ⊆ ℝ^n and any integer direction vector v ∈ ℤ^n orthogonal to U (v ∈ U^⊥), the…
- view_obstruction_ray_dist_absFor every integer vector v in ℤ^n with no zero coordinate, the view-obstruction distance d_n(|v|) equals d_n(v).
Read back from the Lean
Given a dimension n : ℕ and an integer vector v : Fin n → ℤ, view_obstruction_ray_dist n v is defined as the real number given by the infimum over all t : ℝ and all integer vectors z : Fin n → ℤ of the squared Euclidean distance in EuclideanSpace ℝ (Fin n) between t • v (with v cast to real coordinates) and (1/2, ..., 1/2) + z (with z cast to real coordinates).
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 view-obstruction squared distance d_n(v) for an integer direction vector v. -/ noncomputable def view_obstruction_ray_dist (n : ℕ) (v : Fin n → ℤ) : ℝ := ⨅ (t : ℝ) (z : Fin n → ℤ), ‖t • int_to_euclidean n v - (view_obstruction_center n + int_to_euclidean n z)‖ ^ 2