fix(library/init/logic.lean): rename inhabited_imp_nonempty

This commit is contained in:
Jeremy Avigad 2015-03-25 17:40:55 -04:00 committed by Leonardo de Moura
parent 8e007b3441
commit e019ab5500

View file

@ -365,7 +365,7 @@ intro : A → nonempty A
protected definition nonempty.elim {A : Type} {B : Prop} (H1 : nonempty A) (H2 : A → B) : B :=
nonempty.rec H2 H1
theorem inhabited_imp_nonempty [instance] {A : Type} [H : inhabited A] : nonempty A :=
theorem nonempty_of_inhabited [instance] {A : Type} [H : inhabited A] : nonempty A :=
nonempty.intro (default A)
definition ite (c : Prop) [H : decidable c] {A : Type} (t e : A) : A :=