Context stringlengths 57 6.04k | file_name stringlengths 21 79 | start int64 14 1.49k | end int64 18 1.5k | theorem stringlengths 25 1.55k | proof stringlengths 5 7.36k | eval_complexity float64 0 1 |
|---|---|---|---|---|---|---|
import Mathlib.Topology.Algebra.Module.WeakDual
import Mathlib.Algebra.Algebra.Spectrum
import Mathlib.Topology.ContinuousFunction.Algebra
import Mathlib.Data.Set.Lattice
#align_import topology.algebra.module.character_space from "leanprover-community/mathlib"@"a148d797a1094ab554ad4183a4ad6f130358ef64"
namespace WeakDual
def characterSpace (π : Type*) (A : Type*) [CommSemiring π] [TopologicalSpace π] [ContinuousAdd π]
[ContinuousConstSMul π π] [NonUnitalNonAssocSemiring A] [TopologicalSpace A] [Module π A] :=
{Ο : WeakDual π A | Ο β 0 β§ β x y : A, Ο (x * y) = Ο x * Ο y}
#align weak_dual.character_space WeakDual.characterSpace
variable {π : Type*} {A : Type*}
-- Porting note: even though the capitalization of the namespace differs, it doesn't matter
-- because there is no dot notation since `characterSpace` is only a type via `CoeSort`.
namespace CharacterSpace
section NonUnitalNonAssocSemiring
variable [CommSemiring π] [TopologicalSpace π] [ContinuousAdd π] [ContinuousConstSMul π π]
[NonUnitalNonAssocSemiring A] [TopologicalSpace A] [Module π A]
instance instFunLike : FunLike (characterSpace π A) A π where
coe Ο := ((Ο : WeakDual π A) : A β π)
coe_injective' Ο Ο h := by ext1; apply DFunLike.ext; exact congr_fun h
instance instContinuousLinearMapClass : ContinuousLinearMapClass (characterSpace π A) π A π where
map_smulββ Ο := (Ο : WeakDual π A).map_smul
map_add Ο := (Ο : WeakDual π A).map_add
map_continuous Ο := (Ο : WeakDual π A).cont
-- Porting note: moved because Lean 4 doesn't see the `DFunLike` instance on `characterSpace π A`
-- until the `ContinuousLinearMapClass` instance is declared
@[simp, norm_cast]
protected theorem coe_coe (Ο : characterSpace π A) : β(Ο : WeakDual π A) = (Ο : A β π) :=
rfl
#align weak_dual.character_space.coe_coe WeakDual.CharacterSpace.coe_coe
@[ext]
theorem ext {Ο Ο : characterSpace π A} (h : β x, Ο x = Ο x) : Ο = Ο :=
DFunLike.ext _ _ h
#align weak_dual.character_space.ext WeakDual.CharacterSpace.ext
def toCLM (Ο : characterSpace π A) : A βL[π] π :=
(Ο : WeakDual π A)
#align weak_dual.character_space.to_clm WeakDual.CharacterSpace.toCLM
@[simp]
theorem coe_toCLM (Ο : characterSpace π A) : β(toCLM Ο) = Ο :=
rfl
#align weak_dual.character_space.coe_to_clm WeakDual.CharacterSpace.coe_toCLM
instance instNonUnitalAlgHomClass : NonUnitalAlgHomClass (characterSpace π A) π A π :=
{ CharacterSpace.instContinuousLinearMapClass with
map_smulββ := fun Ο => map_smul Ο
map_zero := fun Ο => map_zero Ο
map_mul := fun Ο => Ο.prop.2 }
def toNonUnitalAlgHom (Ο : characterSpace π A) : A βββ[π] π where
toFun := (Ο : A β π)
map_mul' := map_mul Ο
map_smul' := map_smul Ο
map_zero' := map_zero Ο
map_add' := map_add Ο
#align weak_dual.character_space.to_non_unital_alg_hom WeakDual.CharacterSpace.toNonUnitalAlgHom
@[simp]
theorem coe_toNonUnitalAlgHom (Ο : characterSpace π A) : β(toNonUnitalAlgHom Ο) = Ο :=
rfl
#align weak_dual.character_space.coe_to_non_unital_alg_hom WeakDual.CharacterSpace.coe_toNonUnitalAlgHom
instance instIsEmpty [Subsingleton A] : IsEmpty (characterSpace π A) :=
β¨fun Ο => Ο.prop.1 <|
ContinuousLinearMap.ext fun x => by
rw [show x = 0 from Subsingleton.elim x 0, map_zero, map_zero] β©
variable (π A)
theorem union_zero :
characterSpace π A βͺ {0} = {Ο : WeakDual π A | β x y : A, Ο (x * y) = Ο x * Ο y} :=
le_antisymm (by
rintro Ο (hΟ | rfl)
Β· exact hΟ.2
Β· exact fun _ _ => by exact (zero_mul (0 : π)).symm)
fun Ο hΟ => Or.elim (em <| Ο = 0) Or.inr fun hβ => Or.inl β¨hβ, hΟβ©
#align weak_dual.character_space.union_zero WeakDual.CharacterSpace.union_zero
| Mathlib/Topology/Algebra/Module/CharacterSpace.lean | 128 | 134 | theorem union_zero_isClosed [T2Space π] [ContinuousMul π] :
IsClosed (characterSpace π A βͺ {0}) := by |
simp only [union_zero, Set.setOf_forall]
exact
isClosed_iInter fun x =>
isClosed_iInter fun y =>
isClosed_eq (eval_continuous _) <| (eval_continuous _).mul (eval_continuous _)
| 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.