Zulip Chat Archive

Stream: new members

Topic: fin 0 → false


Heather Macbeth (Jan 10 2021 at 19:49):

What's the right way to prove this? (I give a method which seems like the wrong way.)

import data.equiv.fin

example : fin 0  false := equiv.false_equiv_empty.symm  fin_zero_equiv

Kenny Lau (Jan 10 2021 at 19:50):

fin.elim0

Yakov Pechersky (Jan 10 2021 at 19:54):

What's the guidance in using fin.elim0 over fin_zero_elim?

Eric Wieser (Jan 10 2021 at 19:59):

One eliminates to things other than false, right?

Eric Wieser (Jan 10 2021 at 20:00):

docs#fin.elim0, docs#fin_zero_elim

Eric Wieser (Jan 10 2021 at 20:02):

Ah, one is mathlib the other is core, they're otherwise identical

Yakov Pechersky (Jan 10 2021 at 20:03):

Then I don't understand the docstring

Eric Wieser (Jan 10 2021 at 20:08):

#2055 gives some history

Yakov Pechersky (Jan 10 2021 at 20:09):

Ah, backward compat


Last updated: Dec 20 2023 at 11:08 UTC