Zulip Chat Archive

Stream: new members

Topic: a ∈ tt_ctx → b ∉ tt_ctx → a ≠ b


Guilherme Espada (Mar 11 2021 at 19:18):

Where tt_ctx is a finmap.

I'm guessing this is done with congruence, however, I don't know the exact procedure to solve this, and library_search doesn't find anything (maybe I'm stating it wrong?)

Ruben Van de Velde (Mar 11 2021 at 19:24):

rintros ha hb rfl, contradicton

Ruben Van de Velde (Mar 11 2021 at 19:25):

Or longer, intros ha hb heq, rw heq at ha, exact hb ha,

Guilherme Espada (Mar 11 2021 at 19:33):

First version works, but what does the rfl at the end do?
(the second version doesn't seem to work on my end)

Eric Wieser (Mar 11 2021 at 19:34):

It rewrites with a=b

Ruben Van de Velde (Mar 11 2021 at 19:36):

Try now - I was rewriting in the wrong direction. rintro rfl does intro heq, subst a

Guilherme Espada (Mar 11 2021 at 19:41):

Thank you! now I understand it!

Marcus Rossel (Mar 12 2021 at 09:25):

ne_of_mem_of_not_mem


Last updated: Dec 20 2023 at 11:08 UTC