Zulip Chat Archive

Stream: maths

Topic: Orthogonality in mathlib


Ricardo Prado Cunha (Jun 28 2023 at 18:41):

I am interested in contributing to mathlib and, out of the trivial targets, orthogonality seems the most tenable to me. Are there any past or current attempts at formalizing this or similar that I should be aware of before trying to do it myself?
Also this is a bit unrelated but why does mathlib prefer to use different branches on the main repository rather than forks?

Jireh Loreaux (Jun 28 2023 at 18:50):

Re: branches instead of forks: because we want to run our CI automatically and it's easier to work with branches than forks for this.

Yury G. Kudryashov (Jun 28 2023 at 18:57):

We already have docs#Submodule.IsOrtho

Yury G. Kudryashov (Jun 28 2023 at 18:57):

And docs#Submodule.orthogonal

Jireh Loreaux (Jun 28 2023 at 18:57):

Yury, that's for inner product spaces.

Yury G. Kudryashov (Jun 28 2023 at 18:58):

And the goal here is to talk about orthogonality in the space and the dual space?

Jireh Loreaux (Jun 28 2023 at 18:58):

I think this is about annihilators, but maybe I'm misunderstanding

Ricardo Prado Cunha (Jun 28 2023 at 19:00):

The link says that it's about annihilators of a subset of V as a subset of the dual space of V.

Yury G. Kudryashov (Jun 28 2023 at 19:00):

What about copying the docs#convolution design pattern and define orthogonality w.r.t. a (semi)linear operator?

Jireh Loreaux (Jun 28 2023 at 19:01):

oof, that seems like a nice approach, but maybe a big refactor. Probably not the kind of thing for a new contributor. But maybe I'm overestimating the pain.

Anatole Dedecker (Jun 28 2023 at 19:02):

Well for sure we could define that for any pairing (i.e bilinear/sesquilinear form) and then apply it to docs#Module.dualPairing

Anatole Dedecker (Jun 28 2023 at 19:03):

Wait isn't all of this just docs#Submodule.dualAnnihilator ?

Anatole Dedecker (Jun 28 2023 at 19:05):

Yeah we've had that since !3#6078...

Jireh Loreaux (Jun 28 2023 at 19:08):

Lol, so I guess we just need to link it to the undergrad list?

Ricardo Prado Cunha (Jun 28 2023 at 19:09):

Oh yeah that's definitely it. I wonder why it's still in the TODO list? It seems like we also already have stuff like the orthogonal of the bottom and top subspaces, etc. as desired in the wiki. Is it just outdated?

Jireh Loreaux (Jun 28 2023 at 19:09):

Busy now, but if no one gets to it in an hour or two I'll make a PR to update the list.

Anatole Dedecker (Jun 28 2023 at 19:11):

Ricardo Prado Cunha said:

Oh yeah that's definitely it. I wonder why it's still in the TODO list? It seems like we also already have stuff like the orthogonal of the bottom and top subspaces, etc. as desired in the wiki. Is it just outdated?

It is just outdated... Sorry for that!

Johan Commelin (Jun 28 2023 at 19:13):

If only we could have formally verified todo lists (-;

Anatole Dedecker (Jun 28 2023 at 19:14):

Tbh we are starting to lack interesting low hanging fruits for first contributions. That means we're doing a good job of course, but I also feel bad for newcomers since it's becoming harder and harder to get something interesting into Mathlib without going into more advanced maths...

Yury G. Kudryashov (Jun 28 2023 at 19:24):

Sometimes I notice a hole in the API and open a mathlib4 issue instead of patching it.

Yury G. Kudryashov (Jun 28 2023 at 19:24):

Should we copy labels like t-* and good-first-issue to mathlib4?

Yury G. Kudryashov (Jun 28 2023 at 19:26):

Examples: #5539, #5462 (needs good math background), #5379, #5395

Anatole Dedecker (Jun 28 2023 at 19:31):

Ha, that first one might be a good first project indeed

Ricardo Prado Cunha (Jun 28 2023 at 19:31):

Anatole Dedecker said:

Tbh we are starting to lack interesting low hanging fruits for first contributions. That means we're doing a good job of course, but I also feel bad for newcomers since it's becoming harder and harder to get something interesting into Mathlib without going into more advanced maths...

yeah I'm going to start looking into something else to do. as a rising second-year undergrad even a lot of the trivial problems aren't really accessible to me yet, so I might have to defer contributions for a few semesters.

Jireh Loreaux (Jun 28 2023 at 19:52):

@Ricardo Prado Cunha you should see the issue #5539 Yury linked above. That's a good option for you, and along similar lines.

Scott Morrison (Jun 28 2023 at 20:58):

I'm pretty skeptical that we are running out of things undergraduates can do. We might have a labelling / categorising / brainstorming problem...

Yury G. Kudryashov (Jun 28 2023 at 21:10):

I bet we miss quite a few definitions/theorems about basic combinatorics and geometry.

Yaël Dillies (Jun 28 2023 at 21:54):

Yes, if you are interested in combinatorics I have many low hanging fruits for you.

Yury G. Kudryashov (Jun 28 2023 at 22:43):

Can you create a bunch of github issues?

Chris Hughes (Jun 28 2023 at 22:51):

Scott Morrison said:

I'm pretty skeptical that we are running out of things undergraduates can do. We might have a labelling / categorising / brainstorming problem...

I agree. There's a huge amount of maths around, we should never have a shortage of it for a long time. It just might not be the maths our current contributors are most interested in.

Yury G. Kudryashov (Jun 28 2023 at 23:09):

While we have material doable by an undergraduate student, I'm not so sure that we have lots of material doable by a 1st year undergraduate. E.g., even to talk about Euclidean geometry, one has to learn about docs#InnerProductSpace.


Last updated: Dec 20 2023 at 11:08 UTC