Zulip Chat Archive

Stream: lean4

Topic: implicit lambdas


view this post on Zulip Daniel Selsam (Apr 13 2021 at 16:26):

@Mario Carneiro FYI

example (P : Prop) :  {p : P}, P := by
  have _ from 1
  apply id -- works now

works now thanks to https://github.com/leanprover/lean4/commit/bf4b9b0ccd7688d3d4024bc06a0c7a3b207124bd, though

example (P : Prop) :  {p : P}, P := by
  exact id -- still fails

still fails, since exact does not indirect through refineLift

view this post on Zulip Daniel Selsam (Apr 13 2021 at 16:27):

I think the new behavior makes sense.


Last updated: May 18 2021 at 22:15 UTC