AFTD Auto-Formalizing Theoretical Domains

EconCSLib.LinearAlgebra.liftCert_column_zero_last

theoremverifiedformalizationimported Lean

Lifted column-zero condition for j = Fin.last n: holds because the last column of L · A is zero by FM design.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Finset BigOperators in
set_option linter.unusedSectionVars false in
variable {𝕜 : Type*} [Field 𝕜] [LinearOrder 𝕜] [IsStrictOrderedRing 𝕜] in
variable {I : Type*} [Fintype I] [DecidableEq I] {n : ℕ} in
theorem EconCSLib.LinearAlgebra.liftCert_column_zero_last (A : I → Fin (n+1) → 𝕜)
    (u' : FMRowIndex A → 𝕜) :
    ∑ i, liftCert A u' i * A i (Fin.last n) = 0
Formalizes
EconCSLib, `EconCSLib.LinearAlgebra.liftCert_column_zero_last`
Lean proof
By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at 1a88f809b538 (Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.
Verified
08 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 13
Used by 1

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Finset BigOperators inset_option linter.unusedSectionVars false invariable {𝕜 : Type*} [Field 𝕜] [LinearOrder 𝕜] [IsStrictOrderedRing 𝕜] invariable {I : Type*} [Fintype I] [DecidableEq I] {n : ℕ} in/-- Lifted column-zero condition for `j = Fin.last n`: holds because the last column of `L · A` is zero by FM design. -/theorem EconCSLib.LinearAlgebra.liftCert_column_zero_last (A : I → Fin (n+1) → 𝕜)    (u' : FMRowIndex A → 𝕜) :    ∑ i, liftCert A u' i * A i (Fin.last n) = 0 := by  rw [liftCert_weighted_sum_swap]  apply Finset.sum_eq_zero  intro idx _  rcases idx with k | ⟨p, q⟩  · simp only [liftCoeff_weighted_inl, k.property, mul_zero]  · simp only [liftCoeff_weighted_inr]    -- (-A q last) * A p last + A p last * A q last = 0    ring
See it in the graphDiscuss this resultChallenge it