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 / V33. Data structures and computation

Mathlib.Data.LawfulXor.Equiv

8 declarations. Mathlib docs · Source

def Equiv.xor E1 #

{α : Type u_1} → [inst : XorOp α] → [inst_1 : Zero α] → [LawfulXor α] → α → Equiv.Perm α

XorOp.xor as a permutation.

theorem Equiv.xor_apply E0 #

∀ {α : Type u_1} [inst : XorOp α] [inst_1 : Zero α] [inst_2 : LawfulXor α] (a x : α), (Equiv.xor a) x = a ^^^ x

theorem Equiv.xor_symm E0 #

∀ {α : Type u_1} [inst : XorOp α] [inst_1 : Zero α] [inst_2 : LawfulXor α] {a : α},
  Equiv.symm (Equiv.xor a) = Equiv.xor a

theorem Equiv.xor_involutive E1 #

∀ {α : Type u_1} [inst : XorOp α] [inst_1 : Zero α] [inst_2 : LawfulXor α] (a : α), Function.Involutive ⇑(Equiv.xor a)

theorem Equiv.xor_zero E0 #

∀ {α : Type u_1} [inst : XorOp α] [inst_1 : Zero α] [inst_2 : LawfulXor α], Equiv.xor 0 = 1

theorem Equiv.xor_eq_one_iff E0 #

∀ {α : Type u_1} [inst : XorOp α] [inst_1 : Zero α] [inst_2 : LawfulXor α] {a : α}, Equiv.xor a = 1 ↔ a = 0

theorem Equiv.isFixedPt_xor E1 #

∀ {α : Type u_1} [inst : XorOp α] [inst_1 : Zero α] [inst_2 : LawfulXor α] {a b : α},
  Function.IsFixedPt (⇑(Equiv.xor a)) b ↔ a = 0

theorem Equiv.xor_trans_xor E0 #

∀ {α : Type u_1} [inst : XorOp α] [inst_1 : Zero α] [inst_2 : LawfulXor α] {a b : α},
  Equiv.trans (Equiv.xor b) (Equiv.xor a) = Equiv.xor (a ^^^ b)