Zulip Chat Archive

Stream: mathlib4

Topic: !4#3392


Eric Rodriguez (Apr 11 2023 at 17:11):

there's a weird issue that I can't seem to fix, I can't do @this in lean4 it seems or use named arguments, but the TC problem gets stuck - what's the right way to resolve this? otherwise this file is super chill

Eric Rodriguez (Apr 11 2023 at 22:52):

I just fixed this with the horrific hack:

    rename  _ : Type _, _ => h2 -- horrific hack
    have := @h2 E _ _ F
    exact this u b a hb ha h (le_of_not_le hab)

please tell me there's a better way to do this - why can't I do @this specifically?

Eric Rodriguez (Apr 11 2023 at 22:52):

(this was given by wlog I think, not sure if there's a way to edit that)

Thomas Murrills (Apr 11 2023 at 22:59):

wlog h : P with H will use H instead of this—does @H work?

Eric Rodriguez (Apr 12 2023 at 10:03):

that worked, Thomas, many thanks!

Eric Rodriguez (Apr 12 2023 at 10:03):

is there still a lean4 issues memorandum or not? I still think it's worth reporting

Eric Rodriguez (Apr 12 2023 at 10:04):

(sorry, I've taken a backseat lately with Lean stuff)


Last updated: Dec 20 2023 at 11:08 UTC