Documentation

Mathlib.Init.Data.Bool.Basic

Boolean operations #

In Lean 3 this file also contained the definitions of cond, bor, band and bnot, the boolean functions. These are in Lean 4 core (as cond, or, and and not), but apparently xor didn't make the cut.

@[inline]
def xor :
BoolBoolBool

Boolean XOR

Equations
Instances For