Zulip Chat Archive

Stream: mathlib4

Topic: How to spell `coe` in Lean4


Chris Hughes (Dec 27 2022 at 16:44):

How should we now state lemma about things like (coe : s -> A) '' t. Should this be written Subtype.val '' t now, or is there a way without having to remember the name of the coercion?

Gabriel Ebner (Dec 27 2022 at 16:46):

((↑) : s → A)

Chris Hughes (Dec 27 2022 at 16:50):

Is there an import this depends on? It seems to work in one file I'm working on but not the other

Chris Hughes (Dec 27 2022 at 16:56):

Yes, Mathlib.Tactic.Coe


Last updated: Dec 20 2023 at 11:08 UTC