Zulip Chat Archive
Stream: mathlib4
Topic: InitialSeg notation3
Eric Paul (Apr 23 2025 at 16:53):
The ≤i
notation for InitialSeg
is defined as follows
notation:25 α:24 " ≤i " β:25 => @InitialSeg α β (· < ·) (· < ·)
This means that in the infoview the notation is not shown. I was hoping this could be changed to show the notation in the infoview. For example, switching to notation3
fixes this. Is this a reasonable change?
Eric Paul (Apr 23 2025 at 17:13):
I realize now that doing open InitialSeg
makes this correctly be an abbreviation for the ≼i
notation. I however would still prefer if it was not an abbreviation for the other notation but notation in its own right since I'm always thinking about one linear order being an initial segment of another.
Kyle Miller (Apr 23 2025 at 22:04):
I think it's ok changing notation to notation3 if it helps with pretty printing. I hope eventually notation can do it itself.
Eric Paul (Apr 23 2025 at 23:08):
My main hesitation in making such a change is that the documentation at the top of page states
"α ≤i β
is an abbreviation for (· < ·) ≼i (· < ·)
" which makes me wonder if it was chosen to be an abbreviation for a certain reason.
Last updated: May 02 2025 at 03:31 UTC