Zulip Chat Archive
Stream: general
Topic: structure projection + implicit arguments
Kenny Lau (Oct 28 2020 at 08:44):
axiom foo : ∀ (m : ℕ) {n : ℕ}, m = n
#check foo 0 -- foo 0 : 0 = ?M_1
structure bar : Prop :=
(baz : ∀ {m : ℕ}, m = 0)
variables (h : bar)
#check h.baz -- h.baz : ∀ {m : ℕ}, m = 0
#check bar.baz h -- h.baz : ?M_1 = 0
Kenny Lau (Oct 28 2020 at 08:44):
should h.baz
be ?M_1 = 0
also?
Kenny Lau (Oct 28 2020 at 09:43):
@Mario Carneiro
Mario Carneiro (Oct 28 2020 at 09:45):
Yeah, this is the same bug I mentioned to Yasmine yesterday
Mario Carneiro (Oct 28 2020 at 09:46):
Mario Carneiro (Oct 28 2020 at 09:48):
Is there a lean issue for this?
Mario Carneiro (Oct 28 2020 at 10:01):
Kenny Lau (Oct 28 2020 at 10:02):
thanks
Last updated: Dec 20 2023 at 11:08 UTC