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.Matrix.tsum_eq_zero← Matrix.tsum_eq_zero (Physlib/Mathematics/ForMathlib/DataStructures/Matrix/LieTrace.lean:38): verbatim
- Verified
- 09 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
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]