Zulip Chat Archive

Stream: condensed mathematics

Topic: bound_by


Riccardo Brasca (Jun 08 2021 at 14:27):

I started the work to refactor LTE to get rid of bound_by, in branch byebye-bound_by. I started working on a random place where it was used, just to have an idea about what I have to do, and I chose double_complex.d_one_norm_noninc in src/thm95/double_complex.lean.

Can someone have a look of what I've done, just to check that is reasonable? This is the relevant commit. To start with, I decided to keep norm_noninc, adding norm_noninc_iff_norm_le_one. Of course sooner or later we should also get rid of norm_noninc.

Johan Commelin (Jun 08 2021 at 14:31):

Nice branch name :rofl:
Maybe norm_noninc can stay? I don't know. @Sebastien Gouezel @Patrick Massot what do you think? With norm_noninc you don't have the 1 * _ appearing that you would otherwise.

Riccardo Brasca (Jun 08 2021 at 14:38):

Ah yes, that's why we introduce it!

Patrick Massot (Jun 08 2021 at 14:45):

I understand the 1 * _ can be annoying if it comes up a lot. I also understand this special case has nicer composition behavior so maybe we need some category using this as morphisms.

Patrick Massot (Jun 08 2021 at 14:46):

I think having bound_by duplicating the operator norm stuff is ridiculous, but the norm_noninc special case may be worth the trouble.

Adam Topaz (Jun 08 2021 at 14:49):

We have the category with non increasing morphisms in mathlib

Adam Topaz (Jun 08 2021 at 14:51):

docs#SemiNormedGroup₁

Adam Topaz (Jun 08 2021 at 15:00):

My inclination is still that SemiNormedGroup should be considered as something like a seminormed category a la

https://github.com/leanprover-community/lean-liquid/blob/semi-normed-category/src/for_mathlib/seminormed_category/basic.lean

along with the notion of bounded (co)limits, or something similar. But this is probably too experimental even for the LTexperiment…

Riccardo Brasca (Jun 08 2021 at 15:09):

OK, I will keep norm_noninc

Riccardo Brasca (Jun 08 2021 at 18:14):

I will start merging my branch to master if the build succeed. bound_by is used a lot, but replacing it with the norm condition it's not difficult.

Riccardo Brasca (Jun 08 2021 at 23:55):

LTE is normed_group_hom.bound_by free. (Note that if you search bound_by you still get a lot of results, some of them are in the for_mathlib folder and are useless, and the others refer to different notion of bound_by).

Riccardo Brasca (Jun 08 2021 at 23:58):

If someone has some time I noticed two simple cleanups:

  • all the stuff about completion of normed_group in src/locally_constant/Vhat.lean are already in the for_mathlib folder.
  • src/prop_92/concrete.lean contains some lemmas about geometric series that I think are in mathlib, or at least should go to to mathlib.

I can do them tomorrow if nobody wants to do them.

Johan Commelin (Jun 09 2021 at 04:20):

@Riccardo Brasca Great! Thanks a lot for doing this

Johan Commelin (Jun 09 2021 at 06:42):

fyi: I bumped mathlib

Riccardo Brasca (Jun 09 2021 at 07:51):

I am taking care of src/locally_constant/Vhat.lean.

Patrick Massot (Jun 09 2021 at 08:08):

I'll work on geometric series now

Patrick Massot (Jun 09 2021 at 11:10):

See #7858. This takes care of specific_limits, pseudo_metric and part of normed_group

Johan Commelin (Jun 09 2021 at 12:29):

@Riccardo Brasca So what is the status with bound_by? I guess we can now rip the defn out of mathlib?

Riccardo Brasca (Jun 09 2021 at 12:30):

Yes, it is in my todo list

Riccardo Brasca (Jun 11 2021 at 09:03):

bound_by has been removed from mathlib. This shouldn't cause any problem in the next mathlib bump :)

Kevin Buzzard (Jun 11 2021 at 12:54):

Bye bye bound_by!

Johan Commelin (Jun 11 2021 at 13:03):

I'll try bumping mathlib now

Johan Commelin (Jun 11 2021 at 13:20):

Done. Thanks @Riccardo Brasca, that went really smooth!

Riccardo Brasca (Jun 11 2021 at 13:29):

I will see next week what can I do about has_nnnorm.

Riccardo Brasca (Jun 11 2021 at 13:30):

Creating the class is of course very easy, but I guess that using it everywhere in LTE requires a little work

Johan Commelin (Jun 11 2021 at 13:32):

Mathlib might be even easier. Not sure how much nnnorm is used there :wink:

Riccardo Brasca (Jun 17 2021 at 12:14):

What is a reasonale notation for nnnorm? Lean doesn't like

class has_nnnorm (α : Type*) := (nnnorm : α  0)

export has_nnnorm (nnnorm)

notation `∥`:1024 e:1 `∥₊`:1 := nnnorm e

I got tons of errors in analys/normed_space/basic if I add these lines... I think this is because with this notation when Lean sees ∥x∥ it gets confused.

notation `∥₊`:1024 e:1 `∥`:1 := nnnorm e

works, but it seems quite unnatural...

Riccardo Brasca (Jun 18 2021 at 11:55):

#7986


Last updated: Dec 20 2023 at 11:08 UTC