Repository navigation
Conversation
PR summary 7acaa1e4b3Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| The set `{g • x | g ∈ U}`. Intended to be used for `U ∈ 𝓝 1`. Named in analogy to | ||
| `UniformSpace.ball`. | ||
| -/ | ||
| abbrev ball [SMul G X] (x : X) (U : Set G) : Set X := U • {x} |
There was a problem hiding this comment.
This definition has nothing to do with topology, and should go to a file somewhere in Algebra/. I would discuss it on Zulip. Also, why do you use abbrev instead of protected def? Also, please add an additive version.
There was a problem hiding this comment.
I opened #mathlib4 > defining `MulAction.ball`, where I motivate my first proposition of placing this definition in this file.
There was a problem hiding this comment.
As I am new to lean and mathlib, at the moment I do not understand the role of transparency settings and simply do not know how to best write definitions. If you believe that protected def is the right choice here, I trust your judgement.
There was a problem hiding this comment.
You are definitely right that this needs an additive version. I only omitted it because I am not familiar with @[to_additive]. I will try and learn from the files in Algebra/Group/ to implement it here. If you could point me to specific documentation on the topic, that would be very helpful.
| /-- Class `ContinuousSMulConst Γ T` says that the scalar multiplication `(•) : Γ → T → T` | ||
| is continuous in the first argument. We use the same class for all kinds of multiplicative | ||
| actions, including (semi)modules and algebras. -/ | ||
| @[mk_iff] class ContinuousSMulConst (Γ : Type*) (T : Type*) |
There was a problem hiding this comment.
Please explain both in the module docstring and in the PR description what are the use cases that satisfy this condition but don't satisfy ContinuousSMul. Also, please add an additive version.
There was a problem hiding this comment.
I added an example to the module docstring. Is this example clear enough or does it need a proof? Maybe in the Counterexamples\ folder?
In the file Topology.Algebra.ConstMulAction I am not seeing an example that ContinuousConstSMul is truly weaker than ContinuousSMul. the example I give could also be used there. Therefore I wonder, if it would be better to place the example in Topology.Algebra.MulAction where ContinuousSMul is defined.
There was a problem hiding this comment.
I added the additive version ContinuousVAddConst. I tried to follow the definitions to ContinuousVAdd and ContinuousConstVAdd as closely as possible. However, I cannot say I truly understand how the tags work, so please review extra carefully.
For instance, continuous_smul and continuous_vadd are tagged with continuity and fun_prop, but not continuous_const_smul and continuous_const_vadd. Was I right in adding those tags here? Should they also be added there?
add Topology/Algebra/MulActionConst.lean
introduce class
ContinuousSMulConstfor a scalar multiplication that is continuous in the first argument, in analogy toContinuousConstSMuldefine
MulAction.ball x Uas the setU • {x}given[SMul G X] (x : X) (U : Set G)The lemmas shown here will be useful to prove the Effros Theorem, see zulip.