AFTD Auto-Formalizing Theoretical Domains

LinearMap.continuous_iff_bounded

theoremverifiedformalizationimported Lean

f : E โ†’โ‚—[๐•œ] F is continuous iff there exists M > 0 s.t. โ€–f xโ€– โ‰ค M * โ€–xโ€– for all x : E. This is a (convenient) immediate consequence of IsBoundedLinearMap.isLinearMap_and_continuous_iff_isBoundedLinearMap.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Submodule in
open InnerProductSpace in
open Complex ComplexConjugate in
variable
  {H : Type*} [NormedAddCommGroup H] [InnerProductSpace โ„‚ H]
  {H' : Type*} [NormedAddCommGroup H'] [InnerProductSpace โ„‚ H']
  {H'' : Type*} [NormedAddCommGroup H''] [InnerProductSpace โ„‚ H'']
  {ฮฑ : Type*} [Fintype ฮฑ]
  {T Tโ‚ Tโ‚‚ : H โ†’โ‚—.[โ„‚] H} {S : ฮฑ โ†’ H โ†’โ‚—.[โ„‚] H}
  {U Uโ‚ Uโ‚‚ : H โ†’โ‚—.[โ„‚] H'} {W : ฮฑ โ†’ H โ†’โ‚—.[โ„‚] H'}
  {V Vโ‚ Vโ‚‚ : H' โ†’โ‚—.[โ„‚] H''} in
lemma LinearMap.continuous_iff_bounded {๐•œ E F : Type*} [NontriviallyNormedField ๐•œ]
    [SeminormedAddCommGroup E] [NormedSpace ๐•œ E] [SeminormedAddCommGroup F] [NormedSpace ๐•œ F]
    {f : E โ†’โ‚—[๐•œ] F} : Continuous f โ†” โˆƒ M, 0 < M โˆง โˆ€ x : E, โ€–f xโ€– โ‰ค M * โ€–xโ€–
Formalizes
Physlib, `LinearMap.continuous_iff_bounded`
Lean proof
By Adam Bornemann, Gregory J. Loges, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Gregory J. Loges. 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
10 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 3

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Submodule inopen InnerProductSpace inopen Complex ComplexConjugate invariable  {H : Type*} [NormedAddCommGroup H] [InnerProductSpace โ„‚ H]  {H' : Type*} [NormedAddCommGroup H'] [InnerProductSpace โ„‚ H']  {H'' : Type*} [NormedAddCommGroup H''] [InnerProductSpace โ„‚ H'']  {ฮฑ : Type*} [Fintype ฮฑ]  {T Tโ‚ Tโ‚‚ : H โ†’โ‚—.[โ„‚] H} {S : ฮฑ โ†’ H โ†’โ‚—.[โ„‚] H}  {U Uโ‚ Uโ‚‚ : H โ†’โ‚—.[โ„‚] H'} {W : ฮฑ โ†’ H โ†’โ‚—.[โ„‚] H'}  {V Vโ‚ Vโ‚‚ : H' โ†’โ‚—.[โ„‚] H''} in/-- `f : E โ†’โ‚—[๐•œ] F` is continuous iff there exists `M > 0` s.t. `โ€–f xโ€– โ‰ค M * โ€–xโ€–` for all `x : E`. This is a (convenient) immediate consequence of `IsBoundedLinearMap.isLinearMap_and_continuous_iff_isBoundedLinearMap`. -/lemma LinearMap.continuous_iff_bounded {๐•œ E F : Type*} [NontriviallyNormedField ๐•œ]    [SeminormedAddCommGroup E] [NormedSpace ๐•œ E] [SeminormedAddCommGroup F] [NormedSpace ๐•œ F]    {f : E โ†’โ‚—[๐•œ] F} : Continuous f โ†” โˆƒ M, 0 < M โˆง โˆ€ x : E, โ€–f xโ€– โ‰ค M * โ€–xโ€– := by  refine (and_congr_right_iff (a := IsLinearMap ๐•œ f)).mp ?_ f.isLinear  rw [โ† isBoundedLinearMap_iff]  exact IsBoundedLinearMap.isLinearMap_and_continuous_iff_isBoundedLinearMap f
See it in the graphDiscuss this resultChallenge it