Zulip Chat Archive

Stream: mathlib4

Topic: normal form for abs value associated to an infinite place


Kevin Buzzard (Oct 19 2024 at 16:06):

We have

def NumberField.InfinitePlace := { w : AbsoluteValue K  //  φ : K →+* , place φ = w }

and if v : InfinitePlace K then one can use v.1 or v.val to refer to the absolute value. These are both displayed as ↑v, but actually using ↑v in code doesn't seem to work, presumably because defs are irreducible nowadays. Should I add a coercion, make the def reducible or do nothing? I'm a bit unclear about the consequences of these choices.

Daniel Weber (Oct 19 2024 at 17:28):

Another option is using a new structure instead of subtype, I think that's usually preferred (although I don't remember the reasons for that)


Last updated: May 02 2025 at 03:31 UTC