Zulip Chat Archive

Stream: mathlib4

Topic: Cardinal.mk'_def


Violeta Hernández (Oct 24 2024 at 21:03):

Why does docs#Cardinal.mk'_def have a prime in its name? Is this some sort of porting oversight?

Ruben Van de Velde (Oct 24 2024 at 21:04):

Is ⟦α⟧ not Quotient.mk'?

Violeta Hernández (Oct 24 2024 at 21:05):

Yes, but is Cardinal.mk

Ruben Van de Velde (Oct 24 2024 at 21:05):

Oh no, it's Quotient.mk too

Ruben Van de Velde (Oct 24 2024 at 21:05):

And it was cardinal.mk_def in ml3

Ruben Van de Velde (Oct 24 2024 at 21:08):

Per #2084, mathport came up with it

Violeta Hernández (Oct 24 2024 at 21:10):

I'll deprecate this name and switch it back to Cardinal.mk_def, then

Ruben Van de Velde (Oct 24 2024 at 21:18):

Oh right, I think I remember what went wrong. quotient.mk used an instance argument, so it matched Quotient.mk', but we also changed the meaning of the syntax to the variant that didn't use an instance argument during the port

Ruben Van de Velde (Oct 24 2024 at 21:19):

Heh: -- Porting note: cardinal.mk_def is now Cardinal.mk'_def, not sure why

Ruben Van de Velde (Oct 24 2024 at 21:29):

@Violeta Hernández actually I'll propose deprecating it outright, PR incoming

Violeta Hernández (Oct 24 2024 at 21:30):

Yeah, I think it can be deprecated. Its only usages are in proofs using Quotient.inductionOn, which can be replaced by Cardinal.inductionOn.

Ruben Van de Velde (Oct 24 2024 at 21:32):

#18205, let's see if simp was using it anywhere

Ruben Van de Velde (Oct 24 2024 at 21:32):

That'll be for tomorrow, though

Ruben Van de Velde (Oct 24 2024 at 21:32):

(Feel free to push to that PR if needed)


Last updated: May 02 2025 at 03:31 UTC