Equations
- Lean.instInhabitedLBool = { default := Lean.LBool.false }
Equations
- Lean.LBool.neg _fun_discr = match _fun_discr with | Lean.LBool.true => Lean.LBool.false | Lean.LBool.false => Lean.LBool.true | Lean.LBool.undef => Lean.LBool.undef
Equations
- Lean.LBool.and _fun_discr _fun_discr = match _fun_discr, _fun_discr with | Lean.LBool.true, b => b | a, x => a
Equations
- Lean.LBool.toString _fun_discr = match _fun_discr with | Lean.LBool.true => "true" | Lean.LBool.false => "false" | Lean.LBool.undef => "undef"
Equations
- Lean.LBool.instToStringLBool = { toString := Lean.LBool.toString }
Equations
- Bool.toLBool _fun_discr = match _fun_discr with | true => Lean.LBool.true | false => Lean.LBool.false
@[inline]
Equations
- toLBoolM x = do let b ← x pure (Bool.toLBool b)