AFTD Auto-Formalizing Theoretical Domains

Matrix.tsum_eq_zero

theoremverifiedformalizationimported Lean

If every term of a series is zero, then its sum is zero.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open scoped BigOperators Topology in
variable {𝕂 m n : Type*} in
lemma Matrix.tsum_eq_zero
    {β : Type*} [TopologicalSpace β] [AddCommMonoid β]
    {f : ℕ → β} (h : ∀ n, f n = 0) :
    (∑' n, f n) = 0
Formalizes
Physlib, `Matrix.tsum_eq_zero`
Lean proof
By Matteo Cipollina, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Matteo Cipollina. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
09 Oct 2026
Axioms
Classical.choiceQuot.soundpropext

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen scoped BigOperators Topology invariable {𝕂 m n : Type*} in/-- If every term of a series is zero, then its sum is zero. -/lemma Matrix.tsum_eq_zero    {β : Type*} [TopologicalSpace β] [AddCommMonoid β]    {f : ℕ → β} (h : ∀ n, f n = 0) :    (∑' n, f n) = 0 := by  simp_all only [tsum_zero]
See it in the graphDiscuss this resultChallenge it