Zulip Chat Archive

Stream: Is there code for X?

Topic: canonical type with 2 terms in universe `u`


Kevin Buzzard (Nov 08 2021 at 01:26):

We have pempty and punit -- anyone for pbool? Otherwise I'm going to have to use ulift (fin 2) or something :-/

Reid Barton (Nov 08 2021 at 01:27):

there's punit ⊕ punit

Kevin Buzzard (Nov 08 2021 at 01:29):

You can see what I'm trying to do here and it occurs to me that being able to case on terms might be really useful, so I'm leaning towards defining pbool right now.

Scott Morrison (Nov 08 2021 at 01:34):

pnat! :-)

Kevin Buzzard (Nov 08 2021 at 01:44):

funnily enough my post-doc Maria and I were talking about that and pint the other day. She is defining valuations on Dedekind domains and their fraction fields coming from maximal ideals of the domain, and these valuations take values in with_zero (multiplicative nat) and with_zero (multiplicative int). However docs#valued has the value group in the same universe as the ring, so etc etc etc. In the end she restricted to Dedekind domains in Type. Are we evil?

Kevin Buzzard (Nov 08 2021 at 01:45):

Oh -- you cannot see in the API docs that Γ₀ : Type u.

Yury G. Kudryashov (Nov 08 2021 at 01:56):

Or you can generalize valued to valued.{v u} with Γ₀ : Type v


Last updated: Dec 20 2023 at 11:08 UTC