chore(library/init/data/bool/lemmas): add (coe tt) and (coe ff) simp lemmas
This commit is contained in:
parent
ddfdca2e57
commit
76f989d51c
1 changed files with 6 additions and 0 deletions
|
|
@ -88,3 +88,9 @@ by cases a; cases b; simp
|
|||
|
||||
@[simp] lemma bnot_eq_ff_eq_eq_tt (a : bool) : (bnot a = ff) = (a = tt) :=
|
||||
by cases a; simp
|
||||
|
||||
@[simp] lemma coe_ff : ↑ff = false :=
|
||||
show (ff = tt) = false, by simp
|
||||
|
||||
@[simp] lemma coe_tt : ↑tt = true :=
|
||||
show (tt = tt) = true, by simp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue