AFTD Auto-Formalizing Theoretical Domains

Matrix.map_tsum

theoremverifiedformalizationimported Lean

Matrix.map_tsum

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open scoped BigOperators Topology in
variable {𝕂 m n : Type*} in
lemma Matrix.map_tsum {α β m n : Type*}
    [AddCommMonoid α] [AddCommMonoid β] [TopologicalSpace α] [TopologicalSpace β]
    [T2Space β]
    (f : α →+ β) (hf : Continuous f) {s : ℕ → Matrix m n α} (hs : Summable s) :
    (∑' k, s k).map f = ∑' k, (s k).map f
Formalizes
Physlib, `Matrix.map_tsum`
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
Used by 1

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen scoped BigOperators Topology invariable {𝕂 m n : Type*} inlemma Matrix.map_tsum {α β m n : Type*}    [AddCommMonoid α] [AddCommMonoid β] [TopologicalSpace α] [TopologicalSpace β]    [T2Space β]    (f : α →+ β) (hf : Continuous f) {s : ℕ → Matrix m n α} (hs : Summable s) :    (∑' k, s k).map f = ∑' k, (s k).map f := by  let F : Matrix m n α →+ Matrix m n β := AddMonoidHom.mapMatrix f  have hF : Continuous F := Continuous.matrix_map continuous_id hf  exact (hs.hasSum.map F hF).tsum_eq.symm
See it in the graphDiscuss this resultChallenge it