topology.algebra.module.character_space
β·
Mathlib.Topology.Algebra.Module.CharacterSpace
The following section lists changes to this file in mathlib3 and mathlib4 that occured after the initial port. Most recent changes are shown first. Hovering over a commit will show all commits associated with the same mathlib3 commit.
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(no changes)
(last sync)
mathlib commit https://github.com/leanprover-community/mathlib/commit/65a1391a0106c9204fe45bc73a039f056558cb83
@@ -95,7 +95,7 @@ theorem coe_toCLM (Ο : characterSpace π A) : β(toCLM Ο) = Ο :=
-/
/-- Elements of the character space are non-unital algebra homomorphisms. -/
-instance : NonUnitalAlgHomClass (characterSpace π A) π A π :=
+instance : NonUnitalAlgSemiHomClass (characterSpace π A) π A π :=
{
characterSpace.continuousLinearMapClass with
map_smul := fun Ο => map_smul Ο
mathlib commit https://github.com/leanprover-community/mathlib/commit/65a1391a0106c9204fe45bc73a039f056558cb83
@@ -225,7 +225,7 @@ theorem ext_ker {Ο Ο : characterSpace π A} (h : RingHom.ker Ο = RingHom.ke
ext
have : x - algebraMap π A (Ο x) β RingHom.ker Ο := by
simpa only [h, RingHom.mem_ker, map_sub, AlgHomClass.commutes] using sub_self (Ο x)
- Β· rwa [RingHom.mem_ker, map_sub, AlgHomClass.commutes, sub_eq_zero] at this
+ Β· rwa [RingHom.mem_ker, map_sub, AlgHomClass.commutes, sub_eq_zero] at this
#align weak_dual.character_space.ext_ker WeakDual.CharacterSpace.ext_ker
-/
mathlib commit https://github.com/leanprover-community/mathlib/commit/65a1391a0106c9204fe45bc73a039f056558cb83
@@ -80,18 +80,18 @@ theorem ext {Ο Ο : characterSpace π A} (h : β x, Ο x = Ο x) : Ο = Ο :
#align weak_dual.character_space.ext WeakDual.CharacterSpace.ext
-/
-#print WeakDual.CharacterSpace.toClm /-
+#print WeakDual.CharacterSpace.toCLM /-
/-- An element of the character space, as a continuous linear map. -/
-def toClm (Ο : characterSpace π A) : A βL[π] π :=
+def toCLM (Ο : characterSpace π A) : A βL[π] π :=
(Ο : WeakDual π A)
-#align weak_dual.character_space.to_clm WeakDual.CharacterSpace.toClm
+#align weak_dual.character_space.to_clm WeakDual.CharacterSpace.toCLM
-/
-#print WeakDual.CharacterSpace.coe_toClm /-
+#print WeakDual.CharacterSpace.coe_toCLM /-
@[simp]
-theorem coe_toClm (Ο : characterSpace π A) : β(toClm Ο) = Ο :=
+theorem coe_toCLM (Ο : characterSpace π A) : β(toCLM Ο) = Ο :=
rfl
-#align weak_dual.character_space.coe_to_clm WeakDual.CharacterSpace.coe_toClm
+#align weak_dual.character_space.coe_to_clm WeakDual.CharacterSpace.coe_toCLM
-/
/-- Elements of the character space are non-unital algebra homomorphisms. -/
mathlib commit https://github.com/leanprover-community/mathlib/commit/65a1391a0106c9204fe45bc73a039f056558cb83
@@ -76,7 +76,7 @@ instance : ContinuousLinearMapClass (characterSpace π A) π A π
#print WeakDual.CharacterSpace.ext /-
@[ext]
theorem ext {Ο Ο : characterSpace π A} (h : β x, Ο x = Ο x) : Ο = Ο :=
- FunLike.ext _ _ h
+ DFunLike.ext _ _ h
#align weak_dual.character_space.ext WeakDual.CharacterSpace.ext
-/
mathlib commit https://github.com/leanprover-community/mathlib/commit/ce64cd319bb6b3e82f31c2d38e79080d377be451
@@ -3,9 +3,9 @@ Copyright (c) 2022 FrΓ©dΓ©ric Dupuis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: FrΓ©dΓ©ric Dupuis
-/
-import Mathbin.Topology.Algebra.Module.WeakDual
-import Mathbin.Algebra.Algebra.Spectrum
-import Mathbin.Topology.ContinuousFunction.Algebra
+import Topology.Algebra.Module.WeakDual
+import Algebra.Algebra.Spectrum
+import Topology.ContinuousFunction.Algebra
#align_import topology.algebra.module.character_space from "leanprover-community/mathlib"@"6b31d1eebd64eab86d5bd9936bfaada6ca8b5842"
mathlib commit https://github.com/leanprover-community/mathlib/commit/32a7e535287f9c73f2e4d2aef306a39190f0b504
@@ -100,7 +100,7 @@ instance : NonUnitalAlgHomClass (characterSpace π A) π A π :=
characterSpace.continuousLinearMapClass with
map_smul := fun Ο => map_smul Ο
map_zero := fun Ο => map_zero Ο
- map_mul := fun Ο => Ο.Prop.2 }
+ map_hMul := fun Ο => Ο.Prop.2 }
#print WeakDual.CharacterSpace.toNonUnitalAlgHom /-
/-- An element of the character space, as an non-unital algebra homomorphism. -/
mathlib commit https://github.com/leanprover-community/mathlib/commit/8ea5598db6caeddde6cb734aa179cc2408dbd345
@@ -2,16 +2,13 @@
Copyright (c) 2022 FrΓ©dΓ©ric Dupuis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: FrΓ©dΓ©ric Dupuis
-
-! This file was ported from Lean 3 source module topology.algebra.module.character_space
-! leanprover-community/mathlib commit 6b31d1eebd64eab86d5bd9936bfaada6ca8b5842
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
-/
import Mathbin.Topology.Algebra.Module.WeakDual
import Mathbin.Algebra.Algebra.Spectrum
import Mathbin.Topology.ContinuousFunction.Algebra
+#align_import topology.algebra.module.character_space from "leanprover-community/mathlib"@"6b31d1eebd64eab86d5bd9936bfaada6ca8b5842"
+
/-!
# Character space of a topological algebra
mathlib commit https://github.com/leanprover-community/mathlib/commit/9fb8964792b4237dac6200193a0d533f1b3f7423
@@ -42,12 +42,14 @@ character space, Gelfand transform, functional calculus
namespace WeakDual
+#print WeakDual.characterSpace /-
/-- The character space of a topological algebra is the subset of elements of the weak dual that
are also algebra homomorphisms. -/
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 _}
@@ -58,10 +60,12 @@ section NonUnitalNonAssocSemiring
variable [CommSemiring π] [TopologicalSpace π] [ContinuousAdd π] [ContinuousConstSMul π π]
[NonUnitalNonAssocSemiring A] [TopologicalSpace A] [Module π A]
+#print WeakDual.CharacterSpace.coe_coe /-
@[simp, norm_cast, protected]
theorem coe_coe (Ο : characterSpace π A) : β(Ο : WeakDual π A) = Ο :=
rfl
#align weak_dual.character_space.coe_coe WeakDual.CharacterSpace.coe_coe
+-/
/-- Elements of the character space are continuous linear maps. -/
instance : ContinuousLinearMapClass (characterSpace π A) π A π
@@ -72,20 +76,26 @@ instance : ContinuousLinearMapClass (characterSpace π A) π A π
map_add Ο := (Ο : WeakDual π A).map_add
map_continuous Ο := (Ο : WeakDual π A).cont
+#print WeakDual.CharacterSpace.ext /-
@[ext]
theorem ext {Ο Ο : characterSpace π A} (h : β x, Ο x = Ο x) : Ο = Ο :=
FunLike.ext _ _ h
#align weak_dual.character_space.ext WeakDual.CharacterSpace.ext
+-/
+#print WeakDual.CharacterSpace.toClm /-
/-- An element of the character space, as a continuous linear map. -/
def toClm (Ο : characterSpace π A) : A βL[π] π :=
(Ο : WeakDual π A)
#align weak_dual.character_space.to_clm WeakDual.CharacterSpace.toClm
+-/
+#print WeakDual.CharacterSpace.coe_toClm /-
@[simp]
theorem coe_toClm (Ο : characterSpace π A) : β(toClm Ο) = Ο :=
rfl
#align weak_dual.character_space.coe_to_clm WeakDual.CharacterSpace.coe_toClm
+-/
/-- Elements of the character space are non-unital algebra homomorphisms. -/
instance : NonUnitalAlgHomClass (characterSpace π A) π A π :=
@@ -95,6 +105,7 @@ instance : NonUnitalAlgHomClass (characterSpace π A) π A π :=
map_zero := fun Ο => map_zero Ο
map_mul := fun Ο => Ο.Prop.2 }
+#print WeakDual.CharacterSpace.toNonUnitalAlgHom /-
/-- An element of the character space, as an non-unital algebra homomorphism. -/
def toNonUnitalAlgHom (Ο : characterSpace π A) : A βββ[π] π
where
@@ -104,11 +115,14 @@ def toNonUnitalAlgHom (Ο : characterSpace π A) : A βββ[π] π
map_zero' := map_zero Ο
map_add' := map_add Ο
#align weak_dual.character_space.to_non_unital_alg_hom WeakDual.CharacterSpace.toNonUnitalAlgHom
+-/
+#print WeakDual.CharacterSpace.coe_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 [Subsingleton A] : IsEmpty (characterSpace π A) :=
β¨fun Ο =>
@@ -116,13 +130,16 @@ instance [Subsingleton A] : IsEmpty (characterSpace π A) :=
variable (π A)
+#print WeakDual.CharacterSpace.union_zero /-
theorem union_zero :
characterSpace π A βͺ {0} = {Ο : WeakDual π A | β x y : A, Ο (x * y) = Ο x * Ο y} :=
le_antisymm
(by rintro Ο (hΟ | hβ); Β· exact hΟ.2; Β· exact fun x y => by simp [Set.eq_of_mem_singleton hβ])
fun Ο hΟ => Or.elim (em <| Ο = 0) (fun hβ => Or.inr hβ) fun hβ => Or.inl β¨hβ, hΟβ©
#align weak_dual.character_space.union_zero WeakDual.CharacterSpace.union_zero
+-/
+#print WeakDual.CharacterSpace.union_zero_isClosed /-
/-- The `character_space π A` along with `0` is always a closed set in `weak_dual π A`. -/
theorem union_zero_isClosed [T2Space π] [ContinuousMul π] : IsClosed (characterSpace π A βͺ {0}) :=
by
@@ -132,6 +149,7 @@ theorem union_zero_isClosed [T2Space π] [ContinuousMul π] : IsClosed (char
isClosed_iInter fun y =>
isClosed_eq (eval_continuous _) <| (eval_continuous _).mul (eval_continuous _)
#align weak_dual.character_space.union_zero_is_closed WeakDual.CharacterSpace.union_zero_isClosed
+-/
end NonUnitalNonAssocSemiring
@@ -158,6 +176,7 @@ instance : AlgHomClass (characterSpace π A) π A π :=
change ((Ο : WeakDual π A) : A βL[π] π) (r β’ 1) = r
rw [map_smul, Algebra.id.smul_eq_mul, character_space.coe_coe, map_one' Ο, mul_one] }
+#print WeakDual.CharacterSpace.toAlgHom /-
/-- An element of the character space of a unital algebra, as an algebra homomorphism. -/
@[simps]
def toAlgHom (Ο : characterSpace π A) : A ββ[π] π :=
@@ -165,7 +184,9 @@ def toAlgHom (Ο : characterSpace π A) : A ββ[π] π :=
map_one' := map_one Ο
commutes' := AlgHomClass.commutes Ο }
#align weak_dual.character_space.to_alg_hom WeakDual.CharacterSpace.toAlgHom
+-/
+#print WeakDual.CharacterSpace.eq_set_map_one_map_mul /-
theorem eq_set_map_one_map_mul [Nontrivial π] :
characterSpace π A = {Ο : WeakDual π A | Ο 1 = 1 β§ β x y : A, Ο (x * y) = Ο x * Ο y} :=
by
@@ -174,7 +195,9 @@ theorem eq_set_map_one_map_mul [Nontrivial π] :
rintro rfl
simpa using h.1
#align weak_dual.character_space.eq_set_map_one_map_mul WeakDual.CharacterSpace.eq_set_map_one_map_mul
+-/
+#print WeakDual.CharacterSpace.isClosed /-
/-- under suitable mild assumptions on `π`, the character space is a closed set in
`weak_dual π A`. -/
protected theorem isClosed [Nontrivial π] [T2Space π] [ContinuousMul π] :
@@ -184,6 +207,7 @@ protected theorem isClosed [Nontrivial π] [T2Space π] [ContinuousMul π]
refine' IsClosed.inter (isClosed_eq (eval_continuous _) continuous_const) _
simpa only [(union_zero π A).symm] using union_zero_is_closed _ _
#align weak_dual.character_space.is_closed WeakDual.CharacterSpace.isClosed
+-/
end Unital
@@ -192,10 +216,13 @@ section Ring
variable [CommRing π] [NoZeroDivisors π] [TopologicalSpace π] [ContinuousAdd π]
[ContinuousConstSMul π π] [TopologicalSpace A] [Ring A] [Algebra π A]
+#print WeakDual.CharacterSpace.apply_mem_spectrum /-
theorem apply_mem_spectrum [Nontrivial π] (Ο : characterSpace π A) (a : A) : Ο a β spectrum π a :=
AlgHom.apply_mem_spectrum Ο a
#align weak_dual.character_space.apply_mem_spectrum WeakDual.CharacterSpace.apply_mem_spectrum
+-/
+#print WeakDual.CharacterSpace.ext_ker /-
theorem ext_ker {Ο Ο : characterSpace π A} (h : RingHom.ker Ο = RingHom.ker Ο) : Ο = Ο :=
by
ext
@@ -203,6 +230,7 @@ theorem ext_ker {Ο Ο : characterSpace π A} (h : RingHom.ker Ο = RingHom.ke
simpa only [h, RingHom.mem_ker, map_sub, AlgHomClass.commutes] using sub_self (Ο x)
Β· rwa [RingHom.mem_ker, map_sub, AlgHomClass.commutes, sub_eq_zero] at this
#align weak_dual.character_space.ext_ker WeakDual.CharacterSpace.ext_ker
+-/
end Ring
@@ -214,11 +242,13 @@ variable [Field π] [TopologicalSpace π] [ContinuousAdd π] [ContinuousCo
variable [Ring A] [TopologicalSpace A] [Algebra π A]
+#print WeakDual.ker_isMaximal /-
/-- The `ring_hom.ker` of `Ο : character_space π A` is maximal. -/
instance ker_isMaximal (Ο : characterSpace π A) : (RingHom.ker Ο).IsMaximal :=
RingHom.ker_isMaximal_of_surjective Ο fun z =>
β¨algebraMap π A z, by simp only [AlgHomClass.commutes, Algebra.id.map_eq_id, RingHom.id_apply]β©
#align weak_dual.ker_is_maximal WeakDual.ker_isMaximal
+-/
end Kernel
@@ -229,6 +259,7 @@ open ContinuousMap
variable (π A) [CommRing π] [NoZeroDivisors π] [TopologicalSpace π] [TopologicalRing π]
[TopologicalSpace A] [Semiring A] [Algebra π A]
+#print WeakDual.gelfandTransform /-
/-- The **Gelfand transform** is an algebra homomorphism (over `π`) from a topological `π`-algebra
`A` into the `π`-algebra of continuous `π`-valued functions on the `character_space π A`.
The character space itself consists of all algebra homomorphisms from `A` to `π`. -/
@@ -246,6 +277,7 @@ def gelfandTransform : A ββ[π] C(characterSpace π A, π)
simp only [AlgHomClass.commutes, Algebra.id.map_eq_id, RingHom.id_apply, coe_mk,
algebraMap_apply, Algebra.id.smul_eq_mul, mul_one]
#align weak_dual.gelfand_transform WeakDual.gelfandTransform
+-/
end GelfandTransform
mathlib commit https://github.com/leanprover-community/mathlib/commit/a3e83f0fa4391c8740f7d773a7a9b74e311ae2a3
@@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: FrΓ©dΓ©ric Dupuis
! This file was ported from Lean 3 source module topology.algebra.module.character_space
-! leanprover-community/mathlib commit a148d797a1094ab554ad4183a4ad6f130358ef64
+! leanprover-community/mathlib commit 6b31d1eebd64eab86d5bd9936bfaada6ca8b5842
! Please do not edit these lines, except to modify the commit id
! if you have ported upstream changes.
-/
@@ -15,6 +15,9 @@ import Mathbin.Topology.ContinuousFunction.Algebra
/-!
# Character space of a topological algebra
+> THIS FILE IS SYNCHRONIZED WITH MATHLIB4.
+> Any changes to this file require a corresponding PR to mathlib4.
+
The character space of a topological algebra is the subset of elements of the weak dual that
are also algebra homomorphisms. This space is used in the Gelfand transform, which gives an
isomorphism between a commutative Cβ-algebra and continuous functions on the character space
mathlib commit https://github.com/leanprover-community/mathlib/commit/31c24aa72e7b3e5ed97a8412470e904f82b81004
@@ -58,7 +58,7 @@ variable [CommSemiring π] [TopologicalSpace π] [ContinuousAdd π] [Conti
@[simp, norm_cast, protected]
theorem coe_coe (Ο : characterSpace π A) : β(Ο : WeakDual π A) = Ο :=
rfl
-#align weak_dual.character_space.coe_coe WeakDual.characterSpace.coe_coe
+#align weak_dual.character_space.coe_coe WeakDual.CharacterSpace.coe_coe
/-- Elements of the character space are continuous linear maps. -/
instance : ContinuousLinearMapClass (characterSpace π A) π A π
@@ -72,17 +72,17 @@ instance : ContinuousLinearMapClass (characterSpace π A) π A π
@[ext]
theorem ext {Ο Ο : characterSpace π A} (h : β x, Ο x = Ο x) : Ο = Ο :=
FunLike.ext _ _ h
-#align weak_dual.character_space.ext WeakDual.characterSpace.ext
+#align weak_dual.character_space.ext WeakDual.CharacterSpace.ext
/-- An element of the character space, as a continuous linear map. -/
def toClm (Ο : characterSpace π A) : A βL[π] π :=
(Ο : WeakDual π A)
-#align weak_dual.character_space.to_clm WeakDual.characterSpace.toClm
+#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
+#align weak_dual.character_space.coe_to_clm WeakDual.CharacterSpace.coe_toClm
/-- Elements of the character space are non-unital algebra homomorphisms. -/
instance : NonUnitalAlgHomClass (characterSpace π A) π A π :=
@@ -100,12 +100,12 @@ def toNonUnitalAlgHom (Ο : characterSpace π A) : A βββ[π] π
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
+#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
+#align weak_dual.character_space.coe_to_non_unital_alg_hom WeakDual.CharacterSpace.coe_toNonUnitalAlgHom
instance [Subsingleton A] : IsEmpty (characterSpace π A) :=
β¨fun Ο =>
@@ -118,7 +118,7 @@ theorem union_zero :
le_antisymm
(by rintro Ο (hΟ | hβ); Β· exact hΟ.2; Β· exact fun x y => by simp [Set.eq_of_mem_singleton hβ])
fun Ο hΟ => Or.elim (em <| Ο = 0) (fun hβ => Or.inr hβ) fun hβ => Or.inl β¨hβ, hΟβ©
-#align weak_dual.character_space.union_zero WeakDual.characterSpace.union_zero
+#align weak_dual.character_space.union_zero WeakDual.CharacterSpace.union_zero
/-- The `character_space π A` along with `0` is always a closed set in `weak_dual π A`. -/
theorem union_zero_isClosed [T2Space π] [ContinuousMul π] : IsClosed (characterSpace π A βͺ {0}) :=
@@ -128,7 +128,7 @@ theorem union_zero_isClosed [T2Space π] [ContinuousMul π] : IsClosed (char
isClosed_iInter fun x =>
isClosed_iInter fun y =>
isClosed_eq (eval_continuous _) <| (eval_continuous _).mul (eval_continuous _)
-#align weak_dual.character_space.union_zero_is_closed WeakDual.characterSpace.union_zero_isClosed
+#align weak_dual.character_space.union_zero_is_closed WeakDual.CharacterSpace.union_zero_isClosed
end NonUnitalNonAssocSemiring
@@ -161,7 +161,7 @@ def toAlgHom (Ο : characterSpace π A) : A ββ[π] π :=
{ toNonUnitalAlgHom Ο with
map_one' := map_one Ο
commutes' := AlgHomClass.commutes Ο }
-#align weak_dual.character_space.to_alg_hom WeakDual.characterSpace.toAlgHom
+#align weak_dual.character_space.to_alg_hom WeakDual.CharacterSpace.toAlgHom
theorem eq_set_map_one_map_mul [Nontrivial π] :
characterSpace π A = {Ο : WeakDual π A | Ο 1 = 1 β§ β x y : A, Ο (x * y) = Ο x * Ο y} :=
@@ -170,7 +170,7 @@ theorem eq_set_map_one_map_mul [Nontrivial π] :
refine' β¨fun h => β¨map_one (β¨x, hβ© : character_space π A), h.2β©, fun h => β¨_, h.2β©β©
rintro rfl
simpa using h.1
-#align weak_dual.character_space.eq_set_map_one_map_mul WeakDual.characterSpace.eq_set_map_one_map_mul
+#align weak_dual.character_space.eq_set_map_one_map_mul WeakDual.CharacterSpace.eq_set_map_one_map_mul
/-- under suitable mild assumptions on `π`, the character space is a closed set in
`weak_dual π A`. -/
@@ -180,7 +180,7 @@ protected theorem isClosed [Nontrivial π] [T2Space π] [ContinuousMul π]
rw [eq_set_map_one_map_mul, Set.setOf_and]
refine' IsClosed.inter (isClosed_eq (eval_continuous _) continuous_const) _
simpa only [(union_zero π A).symm] using union_zero_is_closed _ _
-#align weak_dual.character_space.is_closed WeakDual.characterSpace.isClosed
+#align weak_dual.character_space.is_closed WeakDual.CharacterSpace.isClosed
end Unital
@@ -191,7 +191,7 @@ variable [CommRing π] [NoZeroDivisors π] [TopologicalSpace π] [Continuo
theorem apply_mem_spectrum [Nontrivial π] (Ο : characterSpace π A) (a : A) : Ο a β spectrum π a :=
AlgHom.apply_mem_spectrum Ο a
-#align weak_dual.character_space.apply_mem_spectrum WeakDual.characterSpace.apply_mem_spectrum
+#align weak_dual.character_space.apply_mem_spectrum WeakDual.CharacterSpace.apply_mem_spectrum
theorem ext_ker {Ο Ο : characterSpace π A} (h : RingHom.ker Ο = RingHom.ker Ο) : Ο = Ο :=
by
@@ -199,7 +199,7 @@ theorem ext_ker {Ο Ο : characterSpace π A} (h : RingHom.ker Ο = RingHom.ke
have : x - algebraMap π A (Ο x) β RingHom.ker Ο := by
simpa only [h, RingHom.mem_ker, map_sub, AlgHomClass.commutes] using sub_self (Ο x)
Β· rwa [RingHom.mem_ker, map_sub, AlgHomClass.commutes, sub_eq_zero] at this
-#align weak_dual.character_space.ext_ker WeakDual.characterSpace.ext_ker
+#align weak_dual.character_space.ext_ker WeakDual.CharacterSpace.ext_ker
end Ring
mathlib commit https://github.com/leanprover-community/mathlib/commit/5f25c089cb34db4db112556f23c50d12da81b297
@@ -43,7 +43,7 @@ namespace WeakDual
are also algebra homomorphisms. -/
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 }
+ {Ο : WeakDual π A | Ο β 0 β§ β x y : A, Ο (x * y) = Ο x * Ο y}
#align weak_dual.character_space WeakDual.characterSpace
variable {π : Type _} {A : Type _}
@@ -114,7 +114,7 @@ instance [Subsingleton A] : IsEmpty (characterSpace π A) :=
variable (π A)
theorem union_zero :
- characterSpace π A βͺ {0} = { Ο : WeakDual π A | β x y : A, Ο (x * y) = Ο x * Ο y } :=
+ characterSpace π A βͺ {0} = {Ο : WeakDual π A | β x y : A, Ο (x * y) = Ο x * Ο y} :=
le_antisymm
(by rintro Ο (hΟ | hβ); Β· exact hΟ.2; Β· exact fun x y => by simp [Set.eq_of_mem_singleton hβ])
fun Ο hΟ => Or.elim (em <| Ο = 0) (fun hβ => Or.inr hβ) fun hβ => Or.inl β¨hβ, hΟβ©
@@ -164,7 +164,7 @@ def toAlgHom (Ο : characterSpace π A) : A ββ[π] π :=
#align weak_dual.character_space.to_alg_hom WeakDual.characterSpace.toAlgHom
theorem eq_set_map_one_map_mul [Nontrivial π] :
- characterSpace π A = { Ο : WeakDual π A | Ο 1 = 1 β§ β x y : A, Ο (x * y) = Ο x * Ο y } :=
+ characterSpace π A = {Ο : WeakDual π A | Ο 1 = 1 β§ β x y : A, Ο (x * y) = Ο x * Ο y} :=
by
ext x
refine' β¨fun h => β¨map_one (β¨x, hβ© : character_space π A), h.2β©, fun h => β¨_, h.2β©β©
mathlib commit https://github.com/leanprover-community/mathlib/commit/cca40788df1b8755d5baf17ab2f27dacc2e17acb
@@ -198,7 +198,7 @@ theorem ext_ker {Ο Ο : characterSpace π A} (h : RingHom.ker Ο = RingHom.ke
ext
have : x - algebraMap π A (Ο x) β RingHom.ker Ο := by
simpa only [h, RingHom.mem_ker, map_sub, AlgHomClass.commutes] using sub_self (Ο x)
- Β· rwa [RingHom.mem_ker, map_sub, AlgHomClass.commutes, sub_eq_zero] at this
+ Β· rwa [RingHom.mem_ker, map_sub, AlgHomClass.commutes, sub_eq_zero] at this
#align weak_dual.character_space.ext_ker WeakDual.characterSpace.ext_ker
end Ring
mathlib commit https://github.com/leanprover-community/mathlib/commit/917c3c072e487b3cccdbfeff17e75b40e45f66cb
@@ -64,9 +64,7 @@ theorem coe_coe (Ο : characterSpace π A) : β(Ο : WeakDual π A) = Ο :=
instance : ContinuousLinearMapClass (characterSpace π A) π A π
where
coe Ο := (Ο : A β π)
- coe_injective' Ο Ο h := by
- ext
- exact congr_fun h x
+ coe_injective' Ο Ο h := by ext; exact congr_fun h x
map_smulββ Ο := (Ο : WeakDual π A).map_smul
map_add Ο := (Ο : WeakDual π A).map_add
map_continuous Ο := (Ο : WeakDual π A).cont
@@ -118,10 +116,7 @@ variable (π A)
theorem union_zero :
characterSpace π A βͺ {0} = { Ο : WeakDual π A | β x y : A, Ο (x * y) = Ο x * Ο y } :=
le_antisymm
- (by
- rintro Ο (hΟ | hβ)
- Β· exact hΟ.2
- Β· exact fun x y => by simp [Set.eq_of_mem_singleton hβ])
+ (by rintro Ο (hΟ | hβ); Β· exact hΟ.2; Β· exact fun x y => by simp [Set.eq_of_mem_singleton hβ])
fun Ο hΟ => Or.elim (em <| Ο = 0) (fun hβ => Or.inr hβ) fun hβ => Or.inl β¨hβ, hΟβ©
#align weak_dual.character_space.union_zero WeakDual.characterSpace.union_zero
@@ -240,20 +235,11 @@ def gelfandTransform : A ββ[π] C(characterSpace π A, π)
toFun a :=
{ toFun := fun Ο => Ο a
continuous_toFun := (eval_continuous a).comp continuous_induced_dom }
- map_one' := by
- ext
- simp only [coe_mk, coe_one, Pi.one_apply, map_one a]
- map_mul' a b := by
- ext
- simp only [map_mul, coe_mk, coe_mul, Pi.mul_apply]
- map_zero' := by
- ext
- simp only [map_zero, coe_mk, coe_mul, coe_zero, Pi.zero_apply]
- map_add' a b := by
- ext
- simp only [map_add, coe_mk, coe_add, Pi.add_apply]
- commutes' k := by
- ext
+ map_one' := by ext; simp only [coe_mk, coe_one, Pi.one_apply, map_one a]
+ map_mul' a b := by ext; simp only [map_mul, coe_mk, coe_mul, Pi.mul_apply]
+ map_zero' := by ext; simp only [map_zero, coe_mk, coe_mul, coe_zero, Pi.zero_apply]
+ map_add' a b := by ext; simp only [map_add, coe_mk, coe_add, Pi.add_apply]
+ commutes' k := by ext;
simp only [AlgHomClass.commutes, Algebra.id.map_eq_id, RingHom.id_apply, coe_mk,
algebraMap_apply, Algebra.id.smul_eq_mul, mul_one]
#align weak_dual.gelfand_transform WeakDual.gelfandTransform
mathlib commit https://github.com/leanprover-community/mathlib/commit/e3fb84046afd187b710170887195d50bada934ee
@@ -130,8 +130,8 @@ theorem union_zero_isClosed [T2Space π] [ContinuousMul π] : IsClosed (char
by
simp only [union_zero, Set.setOf_forall]
exact
- isClosed_interα΅’ fun x =>
- isClosed_interα΅’ fun y =>
+ isClosed_iInter fun x =>
+ isClosed_iInter fun y =>
isClosed_eq (eval_continuous _) <| (eval_continuous _).mul (eval_continuous _)
#align weak_dual.character_space.union_zero_is_closed WeakDual.characterSpace.union_zero_isClosed
mathlib commit https://github.com/leanprover-community/mathlib/commit/3180fab693e2cee3bff62675571264cb8778b212
@@ -148,7 +148,7 @@ instance : AlgHomClass (characterSpace π A) π A π :=
by
have hβ : Ο 1 * (1 - Ο 1) = 0 := by rw [mul_sub, sub_eq_zero, mul_one, β map_mul Ο, one_mul]
rcases mul_eq_zero.mp hβ with (hβ | hβ)
- Β· have : β a, Ο (a * 1) = 0 := fun a => by simp only [map_mul Ο, hβ, mul_zero]
+ Β· have : β a, Ο (a * 1) = 0 := fun a => by simp only [map_mul Ο, hβ, MulZeroClass.mul_zero]
exact False.elim (Ο.prop.1 <| ContinuousLinearMap.ext <| by simpa only [mul_one] using this)
Β· exact (sub_eq_zero.mp hβ).symm
{
mathlib commit https://github.com/leanprover-community/mathlib/commit/bd9851ca476957ea4549eb19b40e7b5ade9428cc
Generalize MulActionHom
so that it allows two different monoids acting, related by a morphism. This is inspired by the treatment of (semi)linear maps in mathlib, and allows to refactor them.
Let M
, N
, X
, Y
be types, with SMul M X
and SMul N Y
, and let Ο : M β N
be a map.
MulActionHom Ο X Y
, the type of equivariant functions from X
to Y
, consists of functions f : X β Y
such that f (m β’ x) = (Ο m) β’ (f x)
for all m : M
and x : X
.Assume that we have Monoid M
, Monoid N
and that Ο : M β* N
. For A
, B
by types with AddMonoid A
and AddMonoid B
, endowed with DistribMulAction M A
and DistribMulAction M B
:
DistribMulActionHom Ο A B
is the type of equivariant additive monoid homomorphisms from A
to B
.Similarly, when R
and S
are types with Semiring R
, Semiring S
, MulSemiringAction M R
and MulSemiringAction N S
SMulSemiringHom Ο R S
is the type of equivariant ring homomorphisms
from R
to S
.The above types have corresponding classes:
MulActionHomClass F Ο X Y
states that F
is a type of bundled X β Y
homs which are Ο
-equivariantDistribMulActionHomClass F Ο A B
states that F
is a type of bundled A β B
homs preserving the additive monoid structure and Ο
-equivariantSMulSemiringHomClass F Ο R S
states that F
is a type of bundled R β S
homs preserving the ring structure and Ο
-equivariantWe introduce the following notation to code equivariant maps
(the subscript index β
is for equivariant) :
X ββ[Ο] Y
is MulActionHom Ο X Y
.A ββ+[Ο] B
is DistribMulActionHom Ο A B
.R ββ+*[Ο] S
is MulSemiringActionHom Ο R S
.When M = N
and Ο = MonoidHom.id M
, we provide the backward compatible notation :
X β[M] Y
is MulActionHom ([@id](https://github.com/id) M) X Y
A β+[M] B
is DistribMulActionHom (MonoidHom.id M) A B
R β+*[M] S
is MulSemiringActionHom (MonoidHom.id M) R S
This more general definition is propagated all over mathlib, in particular to LinearMap
.
The treatment of composition of equivariant maps is inspired by that of semilinear maps. We provide classes CompTriple
and MonoidHom.CompTriple
of βcomposable triples`, and various instances for them.
@@ -90,7 +90,7 @@ theorem coe_toCLM (Ο : characterSpace π A) : β(toCLM Ο) = Ο :=
/-- Elements of the character space are non-unital algebra homomorphisms. -/
instance instNonUnitalAlgHomClass : NonUnitalAlgHomClass (characterSpace π A) π A π :=
{ CharacterSpace.instContinuousLinearMapClass with
- map_smul := fun Ο => map_smulββ Ο
+ map_smulββ := fun Ο => map_smul Ο
map_zero := fun Ο => map_zero Ο
map_mul := fun Ο => Ο.prop.2 }
Empty lines were removed by executing the following Python script twice
import os
import re
# Loop through each file in the repository
for dir_path, dirs, files in os.walk('.'):
for filename in files:
if filename.endswith('.lean'):
file_path = os.path.join(dir_path, filename)
# Open the file and read its contents
with open(file_path, 'r') as file:
content = file.read()
# Use a regular expression to replace sequences of "variable" lines separated by empty lines
# with sequences without empty lines
modified_content = re.sub(r'(variable.*\n)\n(variable(?! .* in))', r'\1\2', content)
# Write the modified content back to the file
with open(file_path, 'w') as file:
file.write(modified_content)
@@ -210,7 +210,6 @@ end CharacterSpace
section Kernel
variable [Field π] [TopologicalSpace π] [ContinuousAdd π] [ContinuousConstSMul π π]
-
variable [Ring A] [TopologicalSpace A] [Algebra π A]
/-- The `RingHom.ker` of `Ο : characterSpace π A` is maximal. -/
Homogenises porting notes via capitalisation and addition of whitespace.
It makes the following changes:
@@ -46,7 +46,7 @@ def characterSpace (π : Type*) (A : Type*) [CommSemiring π] [TopologicalSp
variable {π : Type*} {A : Type*}
--- porting note: even though the capitalization of the namespace differs, it doesn't matter
+-- 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
@@ -65,7 +65,7 @@ instance instContinuousLinearMapClass : ContinuousLinearMapClass (characterSpace
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`
+-- 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 β π) :=
@@ -6,6 +6,7 @@ Authors: FrΓ©dΓ©ric Dupuis
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"
The FunLike hierarchy is very big and gets scanned through each time we need a coercion (via the CoeFun
instance). It looks like unbundled inheritance suits Lean 4 better here. The only class that still extends FunLike
is EquivLike
, since that has a custom coe_injective'
field that is easier to implement. All other classes should take FunLike
or EquivLike
as a parameter.
Previously, morphism classes would be Type
-valued and extend FunLike
:
/-- `MyHomClass F A B` states that `F` is a type of `MyClass.op`-preserving morphisms.
You should extend this class when you extend `MyHom`. -/
class MyHomClass (F : Type*) (A B : outParam <| Type*) [MyClass A] [MyClass B]
extends FunLike F A B :=
(map_op : β (f : F) (x y : A), f (MyClass.op x y) = MyClass.op (f x) (f y))
After this PR, they should be Prop
-valued and take FunLike
as a parameter:
/-- `MyHomClass F A B` states that `F` is a type of `MyClass.op`-preserving morphisms.
You should extend this class when you extend `MyHom`. -/
class MyHomClass (F : Type*) (A B : outParam <| Type*) [MyClass A] [MyClass B]
[FunLike F A B] : Prop :=
(map_op : β (f : F) (x y : A), f (MyClass.op x y) = MyClass.op (f x) (f y))
(Note that A B
stay marked as outParam
even though they are not purely required to be so due to the FunLike
parameter already filling them in. This is required to see through type synonyms, which is important in the category theory library. Also, I think keeping them as outParam
is slightly faster.)
Similarly, MyEquivClass
should take EquivLike
as a parameter.
As a result, every mention of [MyHomClass F A B]
should become [FunLike F A B] [MyHomClass F A B]
.
While overall this gives some great speedups, there are some cases that are noticeably slower. In particular, a failing application of a lemma such as map_mul
is more expensive. This is due to suboptimal processing of arguments. For example:
variable [FunLike F M N] [Mul M] [Mul N] (f : F) (x : M) (y : M)
theorem map_mul [MulHomClass F M N] : f (x * y) = f x * f y
example [AddHomClass F A B] : f (x * y) = f x * f y := map_mul f _ _
Before this PR, applying map_mul f
gives the goals [Mul ?M] [Mul ?N] [MulHomClass F ?M ?N]
. Since M
and N
are out_param
s, [MulHomClass F ?M ?N]
is synthesized first, supplies values for ?M
and ?N
and then the Mul M
and Mul N
instances can be found.
After this PR, the goals become [FunLike F ?M ?N] [Mul ?M] [Mul ?N] [MulHomClass F ?M ?N]
. Now [FunLike F ?M ?N]
is synthesized first, supplies values for ?M
and ?N
and then the Mul M
and Mul N
instances can be found, before trying MulHomClass F M N
which fails. Since the Mul
hierarchy is very big, this can be slow to fail, especially when there is no such Mul
instance.
A long-term but harder to achieve solution would be to specify the order in which instance goals get solved. For example, we'd like to change the arguments to map_mul
to look like [FunLike F M N] [Mul M] [Mul N] [highPriority <| MulHomClass F M N]
because MulHomClass
fails or succeeds much faster than the others.
As a consequence, the simpNF
linter is much slower since by design it tries and fails to apply many map_
lemmas. The same issue occurs a few times in existing calls to simp [map_mul]
, where map_mul
is tried "too soon" and fails. Thanks to the speedup of leanprover/lean4#2478 the impact is very limited, only in files that already were close to the timeout.
simp
not firing sometimesThis affects map_smulββ
and related definitions. For simp
lemmas Lean apparently uses a slightly different mechanism to find instances, so that rw
can find every argument to map_smulββ
successfully but simp
can't: leanprover/lean4#3701.
Especially in the category theory library, we might sometimes have a type A
which is also accessible as a synonym (Bundled A hA).1
. Instance synthesis doesn't always work if we have f : A β* B
but x * y : (Bundled A hA).1
or vice versa. This seems to be mostly fixed by keeping A B
as outParam
s in MulHomClass F A B
. (Presumably because Lean will do a definitional check A =?= (Bundled A hA).1
instead of using the syntax in the discrimination tree.)
The timeouts can be worked around for now by specifying which map_mul
we mean, either as map_mul f
for some explicit f
, or as e.g. MonoidHomClass.map_mul
.
map_smulββ
not firing as simp
lemma can be worked around by going back to the pre-FunLike situation and making LinearMap.map_smulββ
a simp
lemma instead of the generic map_smulββ
. Writing simp [map_smulββ _]
also works.
Co-authored-by: Matthew Ballard <matt@mrb.email> Co-authored-by: Scott Morrison <scott.morrison@gmail.com> Co-authored-by: Scott Morrison <scott@tqft.net> Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
@@ -54,10 +54,12 @@ section NonUnitalNonAssocSemiring
variable [CommSemiring π] [TopologicalSpace π] [ContinuousAdd π] [ContinuousConstSMul π π]
[NonUnitalNonAssocSemiring A] [TopologicalSpace A] [Module π A]
-/-- Elements of the character space are continuous linear maps. -/
-instance instContinuousLinearMapClass : ContinuousLinearMapClass (characterSpace π A) π A π where
+instance instFunLike : FunLike (characterSpace π A) A π where
coe Ο := ((Ο : WeakDual π A) : A β π)
coe_injective' Ο Ο h := by ext1; apply DFunLike.ext; exact congr_fun h
+
+/-- Elements of the character space are continuous linear maps. -/
+instance instContinuousLinearMapClass : ContinuousLinearMapClass (characterSpace π A) π A π where
map_smulββ Ο := (Ο : WeakDual π A).map_smul
map_add Ο := (Ο : WeakDual π A).map_add
map_continuous Ο := (Ο : WeakDual π A).cont
@@ -87,7 +89,7 @@ theorem coe_toCLM (Ο : characterSpace π A) : β(toCLM Ο) = Ο :=
/-- Elements of the character space are non-unital algebra homomorphisms. -/
instance instNonUnitalAlgHomClass : NonUnitalAlgHomClass (characterSpace π A) π A π :=
{ CharacterSpace.instContinuousLinearMapClass with
- map_smul := fun Ο => map_smul Ο
+ map_smul := fun Ο => map_smulββ Ο
map_zero := fun Ο => map_zero Ο
map_mul := fun Ο => Ο.prop.2 }
Clm
-> CLM
, Cle
-> CLE
(#10018)
Rename
Complex.equivRealProdClm
β Complex.equivRealProdCLM
;
CLE
?Complex.reClm
β Complex.reCLM
;Complex.imClm
β Complex.imCLM
;Complex.conjLie
β Complex.conjLIE
;Complex.conjCle
β Complex.conjCLE
;Complex.ofRealLi
β Complex.ofRealLI
;Complex.ofRealClm
β Complex.ofRealCLM
;fderivInnerClm
β fderivInnerCLM
;LinearPMap.adjointDomainMkClm
β LinearPMap.adjointDomainMkCLM
;LinearPMap.adjointDomainMkClmExtend
β LinearPMap.adjointDomainMkCLMExtend
;IsROrC.reClm
β IsROrC.reCLM
;IsROrC.imClm
β IsROrC.imCLM
;IsROrC.conjLie
β IsROrC.conjLIE
;IsROrC.conjCle
β IsROrC.conjCLE
;IsROrC.ofRealLi
β IsROrC.ofRealLI
;IsROrC.ofRealClm
β IsROrC.ofRealCLM
;MeasureTheory.condexpL1Clm
β MeasureTheory.condexpL1CLM
;algebraMapClm
β algebraMapCLM
;WeakDual.CharacterSpace.toClm
β WeakDual.CharacterSpace.toCLM
;BoundedContinuousFunction.evalClm
β BoundedContinuousFunction.evalCLM
;ContinuousMap.evalClm
β ContinuousMap.evalCLM
;TrivSqZeroExt.fstClm
β TrivSqZeroExt.fstClm
;TrivSqZeroExt.sndClm
β TrivSqZeroExt.sndCLM
;TrivSqZeroExt.inlClm
β TrivSqZeroExt.inlCLM
;TrivSqZeroExt.inrClm
β TrivSqZeroExt.inrCLM
and related theorems.
@@ -23,7 +23,7 @@ Cβ-algebras.
We define `WeakDual.characterSpace π A` as a subset of the weak dual, which automatically puts the
correct topology on the space. We then define `WeakDual.CharacterSpace.toAlgHom` which provides the
-algebra homomorphism corresponding to any element. We also provide `WeakDual.CharacterSpace.toClm`
+algebra homomorphism corresponding to any element. We also provide `WeakDual.CharacterSpace.toCLM`
which provides the element as a continuous linear map. (Even though `WeakDual π A` is a type copy of
`A βL[π] π`, this is often more convenient.)
@@ -75,14 +75,14 @@ theorem ext {Ο Ο : characterSpace π A} (h : β x, Ο x = Ο x) : Ο = Ο :
#align weak_dual.character_space.ext WeakDual.CharacterSpace.ext
/-- An element of the character space, as a continuous linear map. -/
-def toClm (Ο : characterSpace π A) : A βL[π] π :=
+def toCLM (Ο : characterSpace π A) : A βL[π] π :=
(Ο : WeakDual π A)
-#align weak_dual.character_space.to_clm WeakDual.CharacterSpace.toClm
+#align weak_dual.character_space.to_clm WeakDual.CharacterSpace.toCLM
@[simp]
-theorem coe_toClm (Ο : characterSpace π A) : β(toClm Ο) = Ο :=
+theorem coe_toCLM (Ο : characterSpace π A) : β(toCLM Ο) = Ο :=
rfl
-#align weak_dual.character_space.coe_to_clm WeakDual.CharacterSpace.coe_toClm
+#align weak_dual.character_space.coe_to_clm WeakDual.CharacterSpace.coe_toCLM
/-- Elements of the character space are non-unital algebra homomorphisms. -/
instance instNonUnitalAlgHomClass : NonUnitalAlgHomClass (characterSpace π A) π A π :=
FunLike
to DFunLike
(#9785)
This prepares for the introduction of a non-dependent synonym of FunLike, which helps a lot with keeping #8386 readable.
This is entirely search-and-replace in 680197f combined with manual fixes in 4145626, e900597 and b8428f8. The commands that generated this change:
sed -i 's/\bFunLike\b/DFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\btoFunLike\b/toDFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/import Mathlib.Data.DFunLike/import Mathlib.Data.FunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\bHom_FunLike\b/Hom_DFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\binstFunLike\b/instDFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\bfunLike\b/instDFunLike/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
sed -i 's/\btoo many metavariables to apply `fun_like.has_coe_to_fun`/too many metavariables to apply `DFunLike.hasCoeToFun`/g' {Archive,Counterexamples,Mathlib,test}/**/*.lean
Co-authored-by: Anne Baanen <Vierkantor@users.noreply.github.com>
@@ -57,12 +57,12 @@ variable [CommSemiring π] [TopologicalSpace π] [ContinuousAdd π] [Conti
/-- Elements of the character space are continuous linear maps. -/
instance instContinuousLinearMapClass : ContinuousLinearMapClass (characterSpace π A) π A π where
coe Ο := ((Ο : WeakDual π A) : A β π)
- coe_injective' Ο Ο h := by ext1; apply FunLike.ext; exact congr_fun h
+ coe_injective' Ο Ο h := by ext1; apply DFunLike.ext; exact congr_fun h
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 `FunLike` instance on `characterSpace π A`
+-- 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 β π) :=
@@ -71,7 +71,7 @@ protected theorem coe_coe (Ο : characterSpace π A) : β(Ο : WeakDual π
@[ext]
theorem ext {Ο Ο : characterSpace π A} (h : β x, Ο x = Ο x) : Ο = Ο :=
- FunLike.ext _ _ h
+ DFunLike.ext _ _ h
#align weak_dual.character_space.ext WeakDual.CharacterSpace.ext
/-- An element of the character space, as a continuous linear map. -/
MulZeroClass.
in mul_zero
/zero_mul
(#6682)
Search&replace MulZeroClass.mul_zero
-> mul_zero
, MulZeroClass.zero_mul
-> zero_mul
.
These were introduced by Mathport, as the full name of mul_zero
is actually MulZeroClass.mul_zero
(it's exported with the short name).
@@ -143,7 +143,7 @@ instance instAlgHomClass : AlgHomClass (characterSpace π A) π A π :=
haveI map_one' : β Ο : characterSpace π A, Ο 1 = 1 := fun Ο => by
have hβ : Ο 1 * (1 - Ο 1) = 0 := by rw [mul_sub, sub_eq_zero, mul_one, β map_mul Ο, one_mul]
rcases mul_eq_zero.mp hβ with (hβ | hβ)
- Β· have : β a, Ο (a * 1) = 0 := fun a => by simp only [map_mul Ο, hβ, MulZeroClass.mul_zero]
+ Β· have : β a, Ο (a * 1) = 0 := fun a => by simp only [map_mul Ο, hβ, mul_zero]
exact False.elim (Ο.prop.1 <| ContinuousLinearMap.ext <| by simpa only [mul_one] using this)
Β· exact (sub_eq_zero.mp hβ).symm
{ CharacterSpace.instNonUnitalAlgHomClass with
Type _
and Sort _
(#6499)
We remove all possible occurences of Type _
and Sort _
in favor of Type*
and Sort*
.
This has nice performance benefits.
@@ -38,12 +38,12 @@ namespace WeakDual
/-- The character space of a topological algebra is the subset of elements of the weak dual that
are also algebra homomorphisms. -/
-def characterSpace (π : Type _) (A : Type _) [CommSemiring π] [TopologicalSpace π] [ContinuousAdd π]
+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 _}
+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`.
@@ -2,16 +2,13 @@
Copyright (c) 2022 FrΓ©dΓ©ric Dupuis. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: FrΓ©dΓ©ric Dupuis
-
-! This file was ported from Lean 3 source module topology.algebra.module.character_space
-! leanprover-community/mathlib commit a148d797a1094ab554ad4183a4ad6f130358ef64
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
-/
import Mathlib.Topology.Algebra.Module.WeakDual
import Mathlib.Algebra.Algebra.Spectrum
import Mathlib.Topology.ContinuousFunction.Algebra
+#align_import topology.algebra.module.character_space from "leanprover-community/mathlib"@"a148d797a1094ab554ad4183a4ad6f130358ef64"
+
/-!
# Character space of a topological algebra
@@ -109,7 +109,7 @@ theorem coe_toNonUnitalAlgHom (Ο : characterSpace π A) : β(toNonUnitalAlgH
#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 <|
+ β¨fun Ο => Ο.prop.1 <|
ContinuousLinearMap.ext fun x => by
rw [show x = 0 from Subsingleton.elim x 0, map_zero, map_zero] β©
@@ -25,10 +25,10 @@ Cβ-algebras.
## Implementation notes
We define `WeakDual.characterSpace π A` as a subset of the weak dual, which automatically puts the
-correct topology on the space. We then define `to_alg_hom` which provides the algebra homomorphism
-corresponding to any element. We also provide `to_clm` which provides the element as a
-continuous linear map. (Even though `WeakDual π A` is a type copy of `A βL[π] π`, this is
-often more convenient.)
+correct topology on the space. We then define `WeakDual.CharacterSpace.toAlgHom` which provides the
+algebra homomorphism corresponding to any element. We also provide `WeakDual.CharacterSpace.toClm`
+which provides the element as a continuous linear map. (Even though `WeakDual π A` is a type copy of
+`A βL[π] π`, this is often more convenient.)
## Tags
@@ -200,7 +200,7 @@ theorem ext_ker {Ο Ο : characterSpace π A} (h : RingHom.ker Ο = RingHom.ke
ext x
have : x - algebraMap π A (Ο x) β RingHom.ker Ο := by
simpa only [h, RingHom.mem_ker, map_sub, AlgHomClass.commutes] using sub_self (Ο x)
- Β· rwa [RingHom.mem_ker, map_sub, AlgHomClass.commutes, sub_eq_zero] at this
+ rwa [RingHom.mem_ker, map_sub, AlgHomClass.commutes, sub_eq_zero] at this
#align weak_dual.character_space.ext_ker WeakDual.CharacterSpace.ext_ker
end Ring
@@ -94,7 +94,7 @@ instance instNonUnitalAlgHomClass : NonUnitalAlgHomClass (characterSpace π A)
map_zero := fun Ο => map_zero Ο
map_mul := fun Ο => Ο.prop.2 }
-/-- An element of the character space, as an non-unital algebra homomorphism. -/
+/-- An element of the character space, as a non-unital algebra homomorphism. -/
def toNonUnitalAlgHom (Ο : characterSpace π A) : A βββ[π] π where
toFun := (Ο : A β π)
map_mul' := map_mul Ο
The unported dependencies are