Documentation
Lean
.
Data
.
LBool
Search
return to top
source
Imports
Init.Data.ToString.Basic
Imported by
Lean
.
LBool
Lean
.
instInhabitedLBool
Lean
.
instBEqLBool
Lean
.
instBEqLBool
.
beq
Lean
.
LBool
.
neg
Lean
.
LBool
.
and
Lean
.
LBool
.
toString
Lean
.
LBool
.
instToString
Lean
.
Bool
.
toLBool
Lean
.
toLBoolM
source
inductive
Lean
.
LBool
:
Type
false :
LBool
true :
LBool
undef :
LBool
Instances For
source
@[instance_reducible]
instance
Lean
.
instInhabitedLBool
:
Inhabited
LBool
source
@[instance_reducible]
instance
Lean
.
instBEqLBool
:
BEq
LBool
source
def
Lean
.
instBEqLBool
.
beq
:
LBool
→
LBool
→
Bool
Instances For
source
def
Lean
.
LBool
.
neg
:
LBool
→
LBool
Instances For
source
def
Lean
.
LBool
.
and
:
LBool
→
LBool
→
LBool
Instances For
source
def
Lean
.
LBool
.
toString
:
LBool
→
String
Instances For
source
@[instance_reducible]
instance
Lean
.
LBool
.
instToString
:
ToString
LBool
source
def
Lean
.
Bool
.
toLBool
:
Bool
→
LBool
Instances For
source
@[inline]
def
Lean
.
toLBoolM
{
m
:
Type
→
Type
}
[
Monad
m
]
(
x
:
m
Bool
)
:
m
LBool
Instances For