Zulip Chat Archive

Stream: new members

Topic: 0 != 1


King Crawford (Sep 01 2022 at 02:02):

Hello everyone. I am looking for a tactic I can use to prove that nat 0 != 1 but surprisingly could not find one by googling. Appreciate the help.

Adam Topaz (Sep 01 2022 at 02:37):

Here are a few methods:

import tactic

example : 0  1 := zero_ne_one

example : 0  1 := by norm_num

example : 0  1 := dec_trivial

example : 0  1 .

Adam Topaz (Sep 01 2022 at 02:41):

In general we have a list of tactics on the community webpage: tactic#norm_num as an example

Michael Stoll (Sep 01 2022 at 08:36):

I first read the title as 0! = 1 (which is also true...). :smile:


Last updated: Dec 20 2023 at 11:08 UTC