AFTD Auto-Formalizing Theoretical Domains

LinearPMap.isClosed_iff_isClosed_domain_of_continuous

theoremverifiedformalizationimported Lean

A continuous operator is closed iff its domain is closed.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open LinearPMap 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 LinearPMap.isClosed_iff_isClosed_domain_of_continuous [CompleteSpace H'] (h : Continuous U) :
    U.IsClosed ↔ _root_.IsClosed (U.domain : Set H)
Formalizes
Physlib, `LinearPMap.isClosed_iff_isClosed_domain_of_continuous`
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
Built on 3

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen LinearPMap 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/-- A continuous operator is closed iff its domain is closed. -/lemma LinearPMap.isClosed_iff_isClosed_domain_of_continuous [CompleteSpace H'] (h : Continuous U) :    U.IsClosed ↔ _root_.IsClosed (U.domain : Set H) := by  rw [(isClosable_of_continuous h).isClosed_iff]  have h_domain := closure_domain_eq_domain_closure_of_continuous h  constructor <;> intro hcl  · exact hcl ▸ h_domain ▸ isClosed_closure  · refine (eq_of_le_of_domain_eq U.le_closure ?_).symm    exact h_domain ▸ hcl.submodule_topologicalClosure_eq.symm
See it in the graphDiscuss this resultChallenge it