fix(library/init/logic.lean): rename inhabited_imp_nonempty
This commit is contained in:
parent
8e007b3441
commit
e019ab5500
1 changed files with 1 additions and 1 deletions
|
@ -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 :=
|
||||
|
|
Loading…
Reference in a new issue