Zulip Chat Archive

Stream: Is there code for X?

Topic: not_def


Kevin Buzzard (Oct 03 2021 at 17:51):

Do we not have

example : ¬ P  (P  false) := imp_false.symm

?
I was preparing teaching materials for...erm...tomorrow, and was expecting to be able to show students how to "simplify" ¬ P to P → false by rewriting, but imp_false goes the other way :-/

Eric Wieser (Oct 03 2021 at 19:27):

As I mentioned in another thread, not is missing its equation lemmas, so the standard rw not approach doesn't work here either...

Yury G. Kudryashov (Oct 03 2021 at 20:35):

Should we move the definition of eq up?

Eric Wieser (Oct 03 2021 at 20:55):

Can we just insert the equation lemma manually? There's a test showing how to do that.


Last updated: Dec 20 2023 at 11:08 UTC