Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The pivot set of any line is its direction's first nonzero coordinate

Proved
MIPRE.LIDT.Adapter.pivots_span_singleton

by thomasvidick · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

low-degree-testmip-remipre-formalizationpolynomial-time

A statement of the module MIPRE.Background.LIDT.Adapter.Geometry of the MIP* = RE formalization (commit 70cbf1c of vidick/MIPRE-formalization). The seeded-CL adapter, part 1: the two games describe the same lines. The seeded CL test MIPRE.LIDT.CL.clGame and the canonical-line test MIPRE.LIDT.lidtGame present a line differently, and the adapter of planning/lidt-cl-adapter.md has to know that the two presentations agree where they should. This file settles the axis-parallel case, which is the one that needs the canonical representative of def:cl-canonical to be computed rather than used abstractly. The seeded test's base point for direction w is rep w u = canonLin (span {w}) u, the canonical linear map with kernel `span…

The pivot set of any line is its direction's first nonzero coordinate.

Formal statement. In Lean, with the scope shown:

open MIPRE
open MIPRE.LIDT
open MIPRE.LIDT.Adapter
open Finset Submodule Module MIPRE.CL
variable {F : Type*} [Field F] {n : ℕ}
variable [DecidableEq F]

theorem MIPRE.LIDT.Adapter.pivots_span_singleton {w : Fin n → F} (hw : ∃ j, w j ≠ 0) :
    pivots (span F {w}) = {Fin.find (fun j => w j ≠ 0) hw}

Formalization Note MIPRE.LIDT.Adapter.pivots_span_singleton is declared in MIPRE/Background/LIDT/Adapter/Geometry.lean, lines 382–417. The binders, hypotheses and conclusion are exactly those of the Lean statement above; the uploaded statement elaborates to the same type as the declaration in the repository. The definitions it mentions are those of the published definition bundles of the module's import closure.

Preamble
import Mathlib.Analysis.CStarAlgebra.CStarMatrix
import Mathlib.Analysis.CStarAlgebra.Classes
import Mathlib.Analysis.Matrix.Order
import Mathlib.Data.ENat.Lattice
import Mathlib.Data.Fin.Tuple.Basic
import Mathlib.LinearAlgebra.BilinearForm.Orthogonal
import Mathlib.LinearAlgebra.FiniteDimensional.Lemmas
import Mathlib.LinearAlgebra.Matrix.Kronecker
import Mathlib.LinearAlgebra.Pi
import Mathlib.Tactic.DeriveFintype
import Definitions.Def_MIPRE_Foundations_Games
import Definitions.Def_MIPRE_Foundations_Distances
import Definitions.Def_MIPRE_Background_LIDT_Game
import Definitions.Def_MIPRE_Foundations_CL_Register
import Definitions.Def_MIPRE_Foundations_CL_Canonical
import Definitions.Def_MIPRE_Background_LIDT_CLGame
import Definitions.Def_MIPRE_Background_LIDT_Adapter_Geometry

open MIPRE
open MIPRE.LIDT
open MIPRE.LIDT.Adapter
open Finset Submodule Module MIPRE.CL
variable {F : Type*} [Field F] {n : ℕ}
variable [DecidableEq F]
Formal statement
theorem MIPRE.LIDT.Adapter.pivots_span_singleton {w : Fin n → F} (hw : ∃ j, w j ≠ 0) :
    pivots (span F {w}) = {Fin.find (fun j => w j ≠ 0) hw} := by sorry
Source
https://github.com/vidick/MIPRE-formalization/blob/70cbf1c52e3d5e1dff1162fdf952c9a9f4bd99ed/MIPRE/Background/LIDT/Adapter/Geometry.lean#L382-L417

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me