The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V01. The language of Mathlib

Mathlib.Logic.Equiv.Bool

10 declarations. Mathlib docs · Source

def Equiv.boolNot E1 #

Equiv.Perm Bool

The boolean negation function not : Bool → Bool is an involution and thus an equivalence.

theorem Equiv.boolNot_apply E0 #

∀ (x : Bool), Equiv.boolNot x = !x

theorem Equiv.boolNot_symm_apply E0 #

∀ (x : Bool), (Equiv.symm Equiv.boolNot) x = !x

theorem Bool.not_bijective E1 #

Function.Bijective not

theorem Bool.not_injective E1 #

Function.Injective not

theorem Bool.not_surjective E1 #

Function.Surjective not

theorem Bool.not_leftInverse E1 #

Function.LeftInverse not not

theorem Bool.not_rightInverse E1 #

Function.RightInverse not not

theorem Bool.not_hasLeftInverse E1 #

Function.HasLeftInverse not

theorem Bool.not_hasRightInverse E1 #

Function.HasRightInverse not