AFTD Auto-Formalizing Theoretical Domains

InnerProductSpaceSubmodule.submoduleToLp

defimported Lean

The submodule of WithLp 2 (E × F) defined by M.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open LinearPMap Submodule in
variable
  {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
  {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℂ F]
  (M : Submodule ℂ (E × F))
  (f : E × F) (g : F × E) in
def InnerProductSpaceSubmodule.submoduleToLp : Submodule ℂ (WithLp 2 (E × F))
Defined in
Physlib, `InnerProductSpaceSubmodule.submoduleToLp`
Lean proof
By 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
09 Oct 2026
Axioms
none listed
Used by 10

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open LinearPMap Submodule in
variable
  {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
  {F : Type*} [NormedAddCommGroup F] [InnerProductSpace ℂ F]
  (M : Submodule ℂ (E × F))
  (f : E × F) (g : F × E) in
/-- The submodule of `WithLp 2 (E × F)` defined by `M`. -/
def InnerProductSpaceSubmodule.submoduleToLp : Submodule ℂ (WithLp 2 (E × F)) where
  carrier := {x | x.ofLp ∈ M}
  add_mem' := by
    intro a b ha hb
    exact Submodule.add_mem M ha hb
  zero_mem' := Submodule.zero_mem M
  smul_mem' := by
    intro c x hx
    exact Submodule.smul_mem M c hx
See it in the graphDiscuss this resultChallenge it