Zulip Chat Archive

Stream: new members

Topic: by_contradiction


Rajiv (Jun 25 2020 at 03:19):

I am working through the book Logic and Proof to learn Lean. In section for Proof By Contradiction, it seems like by_contradiction is defined as ∀ {p : Prop}, (¬p → false) → p. Does lean have contradiction definition with the signature ∀ {p : Prop}, (p → false) → ¬p?

Aniruddh Agarwal (Jun 25 2020 at 03:19):

nevermind, I can't read

Alex J. Best (Jun 25 2020 at 03:20):

¬p is by definition p → false.

Rajiv (Jun 25 2020 at 03:38):

Thanks @Alex J. Best .


Last updated: Dec 20 2023 at 11:08 UTC