Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Conditional LGV-type identity for a finite marked-family system

Proved
ProofsInTheBook.Chapter30.chapter30

by xiangyazi24 · Sep 12, 2026 · Mathlib c5ea003 (Lean v4.30.0)

combinatoricsconditional-identitydeterminantsfinite-sumslean4proofs-from-the-book

Let n be a natural number, let V have decidable equality, and let R be a commutative ring. Suppose a PathCountSystem is supplied: a vertex weight v:V→Rv:V\to Rv:V→R; finite types PijP_{ij}Pij​ with weights a:Pij→Ra:P_{ij}\to Ra:Pij​→R for every pair i,j∈{0,…,n−1}i,j\in\{0,\ldots,n-1\}i,j∈{0,…,n−1}; a bijection

E:∐σ∈Sn∏iPσ(i),i  ⟶  Fn(V);E:\coprod_{\sigma\in S_n}\prod_i P_{\sigma(i),i}\;\longrightarrow\;\mathcal F_n(V);E:σ∈Sn​∐​i∏​Pσ(i),i​⟶Fn​(V);

and, for every choice (σ,p)(\sigma,p)(σ,p), the compatibility identity

wv(E(σ,p))=sgn⁡(σ)∏ia(pi).w_v(E(\sigma,p))=\operatorname{sgn}(\sigma)\prod_i a(p_i).wv​(E(σ,p))=sgn(σ)i∏​a(pi​).

Here Fn(V)\mathcal F_n(V)Fn​(V) is the defined disjoint union of pairwise vertex-disjoint list families and marked bad list data, and wvw_vwv​ is its specified signed vertex-product weight. Set Mij=∑p∈Pija(p)M_{ij}=\sum_{p\in P_{ij}}a(p)Mij​=∑p∈Pij​​a(p). Assume explicitly that the entire type Fn(V)\mathcal F_n(V)Fn​(V) is finite.

Assume also decidable equality on Fn(V)\mathcal F_n(V)Fn​(V) and that the additive group of R is torsion-free. Then

det⁡M=∑F∈Fn(V)¬isBad(F)wv(F).\det M=\sum_{\substack{F\in\mathcal F_n(V)\\\neg\mathrm{isBad}(F)}}w_v(F).detM=F∈Fn​(V)¬isBad(F)​∑​wv​(F).

Here isBad selects the marked bad constructor; its complement consists exactly of good families, whose distinct vertex lists are disjoint including endpoints. The sum remains signed; no hypothesis restricts surviving permutations to the identity.

This is a conditional algebraic identity for the supplied finite system and its weight-preserving bijection. The underlying lists have unrestricted length and no graph-edge, source, sink, or lattice-step constraints. For positive n and nonempty V, unrestricted list families are not a finite geometric path space. The source explicitly leaves bounded or geometric path infrastructure, grid applications, and the hook-length formula unresolved.

Preamble
import Mathlib
import Definitions.Def_ProofsInTheBook_Chapter30
open ProofsInTheBook.Chapter30
open Matrix BigOperators
Formal statement
theorem ProofsInTheBook.Chapter30.chapter30 {n : ℕ} {V R : Type*} [DecidableEq V]
    [Fintype (LGVFamily n V)] [DecidableEq (LGVFamily n V)]
    [CommRing R] [IsAddTorsionFree R]
    (S : PathCountSystem n V R) :
    S.matrix.det =
      ∑ F ∈ Finset.univ.filter (fun F : LGVFamily n V => ¬ ProofsInTheBook.Chapter30.LGVFamily.isBad F),
        ProofsInTheBook.Chapter30.LGVFamily.signedWeight S.vertexWeight F := by sorry
Source
Exact repository declaration: https://github.com/xiangyazi24/proof_in_the_book/blob/88d88d141768cded75e782c525ef1bf04b8fe220/ProofsInTheBook/Chapter30.lean#L567. PathCountSystem hypotheses: https://github.com/xiangyazi24/proof_in_the_book/blob/88d88d141768cded75e782c525ef1bf04b8fe220/ProofsInTheBook/Chapter30.lean#L435. Explicit scope limitation: https://github.com/xiangyazi24/proof_in_the_book/blob/88d88d141768cded75e782c525ef1bf04b8fe220/ProofsInTheBook/Chapter30.lean#L578. Repository topic: “Lattice paths and determinants.” No edition-specific chapter mapping or geometric application is asserted.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me