AFTD Auto-Formalizing Theoretical Domains

LinearMap.map_smul_of_commutesI

theoremverifiedformalizationimported Lean

An ℝ-linear map commuting with i along v commutes with every complex scalar along v.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {V E : Type*} [AddCommGroup V] [Module ℝ V] [Module ℂ V] [IsScalarTower ℝ ℂ V]
  [AddCommGroup E] [Module ℝ E] [Module ℂ E] [IsScalarTower ℝ ℂ E] in
lemma LinearMap.map_smul_of_commutesI (L : V →ₗ[ℝ] E) {v : V}
    (h : L (Complex.I • v) = Complex.I • L v) (c : ℂ) :
    L (c • v) = c • L v
Formalizes
Physlib, `LinearMap.map_smul_of_commutesI`
Lean proof
By Andrea Pari, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Andrea Pari. 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 2

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true invariable {V E : Type*} [AddCommGroup V] [Module ℝ V] [Module ℂ V] [IsScalarTower ℝ ℂ V]  [AddCommGroup E] [Module ℝ E] [Module ℂ E] [IsScalarTower ℝ ℂ E] in/-- An `ℝ`-linear map commuting with `i` along `v` commutes with every complex scalar along `v`. -/lemma LinearMap.map_smul_of_commutesI (L : V →ₗ[ℝ] E) {v : V}    (h : L (Complex.I • v) = Complex.I • L v) (c : ℂ) :    L (c • v) = c • L v := by  have hV : c • v = c.re • v + c.im • (Complex.I • v) := by    conv_lhs => rw [← Complex.re_add_im c]    simp only [add_smul, mul_smul, ← Complex.coe_algebraMap, algebraMap_smul]  have hE : c • L v = c.re • L v + c.im • (Complex.I • L v) := by    conv_lhs => rw [← Complex.re_add_im c]    simp only [add_smul, mul_smul, ← Complex.coe_algebraMap, algebraMap_smul]  rw [hV, map_add, L.map_smul, L.map_smul, h, hE]
See it in the graphDiscuss this resultChallenge it