Loogle!
Result
Found 47 declarations mentioning LawfulXor.
- LawfulXor 📋 Mathlib.Data.LawfulXor.Basic
(α : Type u_1) [XorOp α] [Zero α] : Prop - instLawfulXorISize 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor ISize - instLawfulXorInt16 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor Int16 - instLawfulXorInt32 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor Int32 - instLawfulXorInt64 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor Int64 - instLawfulXorInt8 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor Int8 - instLawfulXorNat 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor ℕ - instLawfulXorUInt16 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor UInt16 - instLawfulXorUInt32 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor UInt32 - instLawfulXorUInt64 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor UInt64 - instLawfulXorUInt8 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor UInt8 - instLawfulXorUSize 📋 Mathlib.Data.LawfulXor.Basic
: LawfulXor USize - instLawfulXorBitVec 📋 Mathlib.Data.LawfulXor.Basic
{w : ℕ} : LawfulXor (BitVec w) - instAssociativeXor_mathlib 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] : Std.Associative XorOp.xor - instCommutativeXor_mathlib 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] : Std.Commutative XorOp.xor - xor_left_involutive 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a : α) : Function.Involutive fun x => x ^^^ a - xor_right_involutive 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a : α) : Function.Involutive fun x => a ^^^ x - instLawfulCommIdentityXorOfNat_mathlib 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] : Std.LawfulCommIdentity XorOp.xor 0 - zero_xor 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a : α) : 0 ^^^ a = a - LawfulXor.xor_self 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} {inst✝ : XorOp α} {inst✝¹ : Zero α} [self : LawfulXor α] (a : α) : a ^^^ a = 0 - LawfulXor.xor_zero 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} {inst✝ : XorOp α} {inst✝¹ : Zero α} [self : LawfulXor α] (a : α) : a ^^^ 0 = a - xor_cancel_left 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a b : α) : a ^^^ (a ^^^ b) = b - xor_cancel_right 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a b : α) : a ^^^ b ^^^ b = a - xor_xor_cancel_comm 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a b : α) : a ^^^ b ^^^ a = b - xor_xor_cancel_comm_assoc 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a b : α) : a ^^^ (b ^^^ a) = b - LawfulXor.xor_comm 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} {inst✝ : XorOp α} {inst✝¹ : Zero α} [self : LawfulXor α] (a b : α) : a ^^^ b = b ^^^ a - xor_eq_zero_iff 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a b : α} : a ^^^ b = 0 ↔ a = b - xor_left_eq_self_iff 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a b : α} : a ^^^ b = a ↔ b = 0 - xor_right_eq 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a : α} : (fun x => x ^^^ a) = fun x => a ^^^ x - xor_right_eq_self_iff 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a b : α} : b ^^^ a = a ↔ b = 0 - isFixedPt_xor_left_iff 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a b : α} : Function.IsFixedPt (fun x => a ^^^ x) b ↔ a = 0 - isFixedPt_xor_right_iff 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a b : α} : Function.IsFixedPt (fun x => x ^^^ a) b ↔ a = 0 - xor_left_eq_id_iff 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a : α} : (fun x => a ^^^ x) = id ↔ a = 0 - xor_right_eq_id_iff 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a : α} : (fun x => x ^^^ a) = id ↔ a = 0 - xor_eq_iff_left_eq 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a b c : α) : a ^^^ b = c ↔ a = c ^^^ b - xor_eq_iff_right_eq 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a b c : α) : a ^^^ b = c ↔ b = a ^^^ c - LawfulXor.xor_assoc 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} {inst✝ : XorOp α} {inst✝¹ : Zero α} [self : LawfulXor α] (a b c : α) : a ^^^ b ^^^ c = a ^^^ (b ^^^ c) - instLawfulXorFinHPowNatOfNat 📋 Mathlib.Data.LawfulXor.Basic
{w : ℕ} : LawfulXor (Fin (2 ^ w)) - LawfulXor.mk 📋 Mathlib.Data.LawfulXor.Basic
{α : Type u_1} [XorOp α] [Zero α] (xor_assoc : ∀ (a b c : α), a ^^^ b ^^^ c = a ^^^ (b ^^^ c)) (xor_self : ∀ (a : α), a ^^^ a = 0) (xor_zero : ∀ (a : α), a ^^^ 0 = a) (xor_comm : ∀ (a b : α), a ^^^ b = b ^^^ a) : LawfulXor α - Equiv.xor 📋 Mathlib.Data.LawfulXor.Equiv
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a : α) : Equiv.Perm α - Equiv.xor_symm 📋 Mathlib.Data.LawfulXor.Equiv
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a : α} : Equiv.symm (Equiv.xor a) = Equiv.xor a - Equiv.xor_involutive 📋 Mathlib.Data.LawfulXor.Equiv
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a : α) : Function.Involutive ⇑(Equiv.xor a) - Equiv.xor_zero 📋 Mathlib.Data.LawfulXor.Equiv
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] : Equiv.xor 0 = 1 - Equiv.xor_eq_one_iff 📋 Mathlib.Data.LawfulXor.Equiv
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a : α} : Equiv.xor a = 1 ↔ a = 0 - Equiv.isFixedPt_xor 📋 Mathlib.Data.LawfulXor.Equiv
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a b : α} : Function.IsFixedPt (⇑(Equiv.xor a)) b ↔ a = 0 - Equiv.xor_apply 📋 Mathlib.Data.LawfulXor.Equiv
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] (a x✝ : α) : (Equiv.xor a) x✝ = a ^^^ x✝ - Equiv.xor_trans_xor 📋 Mathlib.Data.LawfulXor.Equiv
{α : Type u_1} [XorOp α] [Zero α] [LawfulXor α] {a b : α} : Equiv.trans (Equiv.xor b) (Equiv.xor a) = Equiv.xor (a ^^^ b)
About
Loogle searches Lean and Mathlib definitions and theorems.
You can use Loogle from within the Lean4 VSCode language extension
using the Loogle command from the command palette. You can also try the
#loogle command from LeanSearchClient,
the CLI version, the Loogle
VS Code extension, the lean.nvim
integration or the Zulip bot.
Usage
Loogle finds definitions and lemmas in various ways:
By constant:
🔍Real.sin
finds all lemmas whose statement somehow mentions the sine function.By lemma name substring:
🔍"differ"
finds all lemmas that have"differ"somewhere in their lemma name.By subexpression:
🔍_ * (_ ^ _)
finds all lemmas whose statements somewhere include a product where the second argument is raised to some power.The pattern can also be non-linear, as in
🔍Real.sqrt ?a * Real.sqrt ?aIf the pattern has parameters, they are matched in any order. Both of these will find
List.map:
🔍(?a -> ?b) -> List ?a -> List ?b
🔍List ?a -> (?a -> ?b) -> List ?bBy main conclusion:
🔍|- tsum _ = _ * tsum _
finds all lemmas where the conclusion (the subexpression to the right of all→and∀) has the given shape.As before, if the pattern has parameters, they are matched against the hypotheses of the lemma in any order; for example,
🔍|- _ < _ → tsum _ < tsum _
will findtsum_lt_tsumeven though the hypothesisf i < g iis not the last.You can filter for definitions vs theorems: Using
⊢ (_ : Type _)finds all definitions which provide data while⊢ (_ : Prop)finds all theorems (and definitions of proofs).
If you pass more than one such search filter, separated by commas
Loogle will return lemmas which match all of them. The
search
🔍 Real.sin, "two", tsum, _ * _, _ ^ _, |- _ < _ → _
would find all lemmas which mention the constants Real.sin
and tsum, have "two" as a substring of the
lemma name, include a product and a power somewhere in the type,
and have a hypothesis of the form _ < _ (if
there were any such lemmas). Metavariables (?a) are
assigned independently in each filter.
The #lucky button will directly send you to the
documentation of the first hit.
Source code
You can find the source code for this service at https://github.com/nomeata/loogle. The https://loogle.lean-lang.org/ service is provided by the Lean FRO. Please review the Lean FRO Terms of Use and Privacy Policy.
This is Loogle revision 9f11169 serving mathlib revision ce5dd8c