The areas / V04. Order and lattices
Mathlib.Order.SymmDiff
169 declarations and 3 deprecated aliases. Mathlib docs · Source
Symmetric difference and bi-implication
This file defines the symmetric difference and bi-implication operators in (co-)Heyting algebras.
Examples
Some examples are
- The symmetric difference of two sets is the set of elements that are in either but not both.
- The symmetric difference on propositions is
Xor. - The symmetric difference on
BoolisBool.xor. - The equivalence of propositions. Two propositions are equivalent if they imply each other.
- The symmetric difference translates to addition when considering a Boolean algebra as a Boolean ring.
Main declarations
symmDiff: The symmetric difference operator, defined as(a \ b) ⊔ (b \ a)bihimp: The bi-implication operator, defined as(b ⇨ a) ⊓ (a ⇨ b)
In generalized Boolean algebras, the symmetric difference operator is:
symmDiff_comm: commutative, andsymmDiff_assoc: associative.
Notation
a ∆ b:symmDiff a ba ⇔ b:bihimp a b
References
The proof of associativity follows the note "Associativity of the Symmetric Difference of Sets: A Proof from the Book" by John McCuan:
Tags
boolean ring, generalized boolean algebra, boolean algebra, symmetric difference, bi-implication, Heyting
CogeneralizedBooleanAlgebra isn't actually a typeclass, but the lemmas in here are dual to
the GeneralizedBooleanAlgebra ones
Prod
Pi
def symmDiff E3 #
{α : Type u_2} → [Max α] → [SDiff α] → α → α → α
The symmetric difference operator on a type with ⊔ and \ is (A \ B) ⊔ (B \ A).
def bihimp E3 #
{α : Type u_2} → [Min α] → [HImp α] → α → α → α
The Heyting bi-implication is (b ⇨ a) ⊓ (a ⇨ b). This generalizes equivalence of
propositions.
def symmDiff.«term_∆_» E1 #
Lean.TrailingParserDescr
Notation for symmDiff
def symmDiff.«term_⇔_» E1 #
Lean.TrailingParserDescr
Notation for bihimp
theorem symmDiff_def E0 #
∀ {α : Type u_2} [inst : Max α] [inst_1 : SDiff α] (a b : α), symmDiff a b = a \ b ⊔ b \ a
theorem bihimp_def E0 #
∀ {α : Type u_2} [inst : Min α] [inst_1 : HImp α] (a b : α), bihimp a b = (b ⇨ a) ⊓ (a ⇨ b)
theorem symmDiff_eq_xor E1 #
∀ (p q : Prop), symmDiff p q = Xor p q
theorem bihimp_iff_iff E0 #
∀ {p q : Prop}, bihimp p q ↔ (p ↔ q)
theorem Bool.symmDiff_eq_xor E0 #
∀ (p q : Bool), symmDiff p q = (p ^^ q)
theorem toDual_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α),
OrderDual.toDual (bihimp a b) = symmDiff (OrderDual.toDual a) (OrderDual.toDual b)
theorem toDual_symmDiff E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α),
OrderDual.toDual (symmDiff a b) = bihimp (OrderDual.toDual a) (OrderDual.toDual b)
theorem ofDual_symmDiff E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : αᵒᵈ),
OrderDual.ofDual (symmDiff a b) = bihimp (OrderDual.ofDual a) (OrderDual.ofDual b)
theorem ofDual_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : αᵒᵈ),
OrderDual.ofDual (bihimp a b) = symmDiff (OrderDual.ofDual a) (OrderDual.ofDual b)
theorem symmDiff_comm E3 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff a b = symmDiff b a
theorem bihimp_comm E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp a b = bihimp b a
instance symmDiff_isCommutative E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α], Std.Commutative fun x1 x2 ↦ symmDiff x1 x2
instance bihimp_isCommutative E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α], Std.Commutative fun x1 x2 ↦ bihimp x1 x2
theorem symmDiff_self E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a : α), symmDiff a a = ⊥
theorem bihimp_self E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a : α), bihimp a a = ⊤
theorem bihimp_top E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a : α), bihimp a ⊤ = a
theorem symmDiff_bot E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a : α), symmDiff a ⊥ = a
theorem top_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a : α), bihimp ⊤ a = a
theorem bot_symmDiff E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a : α), symmDiff ⊥ a = a
theorem symmDiff_eq_bot E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] {a b : α}, symmDiff a b = ⊥ ↔ a = b
theorem bihimp_eq_top E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] {a b : α}, bihimp a b = ⊤ ↔ a = b
theorem bihimp_of_le E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] {a b : α}, b ≤ a → bihimp a b = a ⇨ b
theorem symmDiff_of_le E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] {a b : α}, a ≤ b → symmDiff a b = b \ a
theorem symmDiff_of_ge E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] {a b : α}, b ≤ a → symmDiff a b = a \ b
theorem bihimp_of_ge E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] {a b : α}, a ≤ b → bihimp a b = b ⇨ a
theorem symmDiff_le E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] {a b c : α}, a ≤ b ⊔ c → b ≤ a ⊔ c → symmDiff a b ≤ c
theorem le_bihimp E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] {a b c : α}, b ⊓ c ≤ a → a ⊓ c ≤ b → c ≤ bihimp a b
theorem symmDiff_le_iff E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] {a b c : α}, symmDiff a b ≤ c ↔ a ≤ b ⊔ c ∧ b ≤ a ⊔ c
theorem le_bihimp_iff E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] {a b c : α}, c ≤ bihimp a b ↔ b ⊓ c ≤ a ∧ a ⊓ c ≤ b
theorem inf_le_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] {a b : α}, a ⊓ b ≤ bihimp a b
theorem symmDiff_le_sup E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] {a b : α}, symmDiff a b ≤ a ⊔ b
theorem symmDiff_eq_sup_sdiff_inf E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff a b = (a ⊔ b) \ (a ⊓ b)
theorem bihimp_eq_sup_himp_inf E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp a b = a ⊔ b ⇨ a ⊓ b
theorem Disjoint.symmDiff_eq_sup E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] {a b : α}, Disjoint a b → symmDiff a b = a ⊔ b
theorem Codisjoint.bihimp_eq_inf E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] {a b : α}, Codisjoint a b → bihimp a b = a ⊓ b
theorem symmDiff_sdiff E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b c : α), symmDiff a b \ c = a \ (b ⊔ c) ⊔ b \ (a ⊔ c)
theorem himp_bihimp E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b c : α), c ⇨ bihimp a b = (b ⊓ c ⇨ a) ⊓ (a ⊓ c ⇨ b)
theorem symmDiff_sdiff_inf E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff a b \ (a ⊓ b) = symmDiff a b
theorem sup_himp_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), a ⊔ b ⇨ bihimp a b = bihimp a b
theorem bihimp_himp_eq_inf E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp a (a ⇨ b) = a ⊓ b
theorem symmDiff_sdiff_eq_sup E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff a (b \ a) = a ⊔ b
theorem himp_bihimp_eq_inf E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp (b ⇨ a) b = a ⊓ b
theorem sdiff_symmDiff_eq_sup E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff (a \ b) b = a ⊔ b
theorem symmDiff_sup_inf E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff a b ⊔ a ⊓ b = a ⊔ b
theorem bihimp_inf_sup E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp a b ⊓ (a ⊔ b) = a ⊓ b
theorem symmDiff_sup_left E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff a b ⊔ a = a ⊔ b
theorem bihimp_inf_left E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp a b ⊓ a = a ⊓ b
theorem symmDiff_sup_right E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff a b ⊔ b = a ⊔ b
theorem bihimp_inf_right E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp a b ⊓ b = a ⊓ b
theorem inf_sup_symmDiff E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), a ⊓ b ⊔ symmDiff a b = a ⊔ b
theorem sup_inf_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), (a ⊔ b) ⊓ bihimp a b = a ⊓ b
theorem left_sup_symmDiff E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), a ⊔ symmDiff a b = a ⊔ b
theorem left_inf_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), a ⊓ bihimp a b = a ⊓ b
theorem right_sup_symmDiff E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), b ⊔ symmDiff a b = a ⊔ b
theorem right_inf_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), b ⊓ bihimp a b = a ⊓ b
theorem bihimp_bihimp_sup E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp (bihimp a b) (a ⊔ b) = a ⊓ b
theorem symmDiff_symmDiff_inf E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff (symmDiff a b) (a ⊓ b) = a ⊔ b
theorem sup_bihimp_bihimp E0 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp (a ⊔ b) (bihimp a b) = a ⊓ b
theorem inf_symmDiff_symmDiff E0 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), symmDiff (a ⊓ b) (symmDiff a b) = a ⊔ b
theorem bihimp_triangle E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b c : α), bihimp a b ⊓ bihimp b c ≤ bihimp a c
theorem symmDiff_triangle E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b c : α), symmDiff a c ≤ symmDiff a b ⊔ symmDiff b c
theorem le_symmDiff_sup_right E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), a ≤ symmDiff a b ⊔ b
theorem le_bihimp_inf_right E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp a b ⊓ b ≤ a
theorem le_bihimp_inf_left E1 #
∀ {α : Type u_2} [inst : GeneralizedHeytingAlgebra α] (a b : α), bihimp a b ⊓ a ≤ b
theorem le_symmDiff_sup_left E1 #
∀ {α : Type u_2} [inst : GeneralizedCoheytingAlgebra α] (a b : α), b ≤ symmDiff a b ⊔ a
theorem symmDiff_top E0 #
∀ {α : Type u_2} [inst : CoheytingAlgebra α] (a : α), symmDiff a ⊤ = ¬a
theorem bihimp_bot E0 #
∀ {α : Type u_2} [inst : HeytingAlgebra α] (a : α), bihimp a ⊥ = aᶜ
theorem top_symmDiff E0 #
∀ {α : Type u_2} [inst : CoheytingAlgebra α] (a : α), symmDiff ⊤ a = ¬a
theorem bot_bihimp E0 #
∀ {α : Type u_2} [inst : HeytingAlgebra α] (a : α), bihimp ⊥ a = aᶜ
theorem hnot_symmDiff_self E0 #
∀ {α : Type u_2} [inst : CoheytingAlgebra α] (a : α), symmDiff (¬a) a = ⊤
theorem compl_bihimp_self E0 #
∀ {α : Type u_2} [inst : HeytingAlgebra α] (a : α), bihimp aᶜ a = ⊥
theorem bihimp_compl_self E0 #
∀ {α : Type u_2} [inst : HeytingAlgebra α] (a : α), bihimp a aᶜ = ⊥
theorem symmDiff_hnot_self E0 #
∀ {α : Type u_2} [inst : CoheytingAlgebra α] (a : α), symmDiff a (¬a) = ⊤
theorem IsCompl.bihimp_eq_bot E1 #
∀ {α : Type u_2} [inst : HeytingAlgebra α] {a b : α}, IsCompl a b → bihimp a b = ⊥
theorem IsCompl.symmDiff_eq_top E1 #
∀ {α : Type u_2} [inst : CoheytingAlgebra α] {a b : α}, IsCompl a b → symmDiff a b = ⊤
theorem sup_sdiff_symmDiff E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), (a ⊔ b) \ symmDiff a b = a ⊓ b
theorem disjoint_symmDiff_inf E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), Disjoint (symmDiff a b) (a ⊓ b)
theorem inf_symmDiff_distrib_left E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α), a ⊓ symmDiff b c = symmDiff (a ⊓ b) (a ⊓ c)
theorem inf_symmDiff_distrib_right E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α), symmDiff a b ⊓ c = symmDiff (a ⊓ c) (b ⊓ c)
theorem sdiff_symmDiff E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α), c \ symmDiff a b = c ⊓ a ⊓ b ⊔ c \ a ⊓ c \ b
theorem sdiff_symmDiff' E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α), c \ symmDiff a b = c ⊓ a ⊓ b ⊔ c \ (a ⊔ b)
theorem symmDiff_sdiff_left E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), symmDiff a b \ a = b \ a
theorem symmDiff_sdiff_right E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), symmDiff a b \ b = a \ b
theorem sdiff_symmDiff_left E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), a \ symmDiff a b = a ⊓ b
theorem sdiff_symmDiff_right E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), b \ symmDiff a b = a ⊓ b
theorem symmDiff_eq_sup E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), symmDiff a b = a ⊔ b ↔ Disjoint a b
theorem le_symmDiff_iff_left E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), a ≤ symmDiff a b ↔ Disjoint a b
theorem le_symmDiff_iff_right E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), b ≤ symmDiff a b ↔ Disjoint a b
theorem symmDiff_symmDiff_left E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α),
symmDiff (symmDiff a b) c = a \ (b ⊔ c) ⊔ b \ (a ⊔ c) ⊔ c \ (a ⊔ b) ⊔ a ⊓ b ⊓ c
theorem symmDiff_symmDiff_right E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α),
symmDiff a (symmDiff b c) = a \ (b ⊔ c) ⊔ b \ (a ⊔ c) ⊔ c \ (a ⊔ b) ⊔ a ⊓ b ⊓ c
theorem symmDiff_assoc E3 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α), symmDiff (symmDiff a b) c = symmDiff a (symmDiff b c)
instance symmDiff_isAssociative E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α], Std.Associative fun x1 x2 ↦ symmDiff x1 x2
theorem symmDiff_left_comm E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α), symmDiff a (symmDiff b c) = symmDiff b (symmDiff a c)
theorem symmDiff_right_comm E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c : α), symmDiff (symmDiff a b) c = symmDiff (symmDiff a c) b
theorem symmDiff_symmDiff_symmDiff_comm E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b c d : α),
symmDiff (symmDiff a b) (symmDiff c d) = symmDiff (symmDiff a c) (symmDiff b d)
theorem symmDiff_symmDiff_cancel_left E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), symmDiff a (symmDiff a b) = b
theorem symmDiff_symmDiff_cancel_right E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), symmDiff (symmDiff b a) a = b
theorem symmDiff_symmDiff_self' E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a b : α), symmDiff (symmDiff a b) a = b
theorem symmDiff_left_involutive E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a : α), Function.Involutive fun x ↦ symmDiff x a
theorem symmDiff_right_involutive E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a : α), Function.Involutive fun x ↦ symmDiff a x
theorem symmDiff_left_injective E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a : α), Function.Injective fun x ↦ symmDiff x a
theorem symmDiff_right_injective E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a : α), Function.Injective fun x ↦ symmDiff a x
theorem symmDiff_left_surjective E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a : α), Function.Surjective fun x ↦ symmDiff x a
theorem symmDiff_right_surjective E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] (a : α), Function.Surjective fun x ↦ symmDiff a x
theorem symmDiff_left_inj E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] {a b c : α}, symmDiff a b = symmDiff c b ↔ a = c
theorem symmDiff_right_inj E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] {a b c : α}, symmDiff a b = symmDiff a c ↔ b = c
theorem symmDiff_eq_left E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] {a b : α}, symmDiff a b = a ↔ b = ⊥
theorem symmDiff_eq_right E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] {a b : α}, symmDiff a b = b ↔ a = ⊥
theorem Disjoint.symmDiff_left E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] {a b c : α},
Disjoint a c → Disjoint b c → Disjoint (symmDiff a b) c
theorem Disjoint.symmDiff_right E1 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] {a b c : α},
Disjoint a b → Disjoint a c → Disjoint a (symmDiff b c)
theorem symmDiff_eq_iff_sdiff_eq E0 #
∀ {α : Type u_2} [inst : GeneralizedBooleanAlgebra α] {a b c : α}, a ≤ c → (symmDiff a b = c ↔ c \ a = b)
theorem inf_himp_bihimp E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b ⇨ a ⊓ b = a ⊔ b
theorem codisjoint_bihimp_sup E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), Codisjoint (bihimp a b) (a ⊔ b)
theorem himp_bihimp_left E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), a ⇨ bihimp a b = a ⇨ b
theorem himp_bihimp_right E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), b ⇨ bihimp a b = b ⇨ a
theorem bihimp_himp_left E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b ⇨ a = a ⊔ b
theorem bihimp_himp_right E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b ⇨ b = a ⊔ b
theorem bihimp_eq_inf E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b = a ⊓ b ↔ Codisjoint a b
theorem bihimp_le_iff_left E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b ≤ a ↔ Codisjoint a b
theorem bihimp_le_iff_right E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b ≤ b ↔ Codisjoint a b
theorem bihimp_assoc E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b c : α), bihimp (bihimp a b) c = bihimp a (bihimp b c)
instance bihimp_isAssociative E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α], Std.Associative fun x1 x2 ↦ bihimp x1 x2
theorem bihimp_left_comm E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b c : α), bihimp a (bihimp b c) = bihimp b (bihimp a c)
theorem bihimp_right_comm E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b c : α), bihimp (bihimp a b) c = bihimp (bihimp a c) b
theorem bihimp_bihimp_bihimp_comm E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b c d : α),
bihimp (bihimp a b) (bihimp c d) = bihimp (bihimp a c) (bihimp b d)
theorem bihimp_bihimp_cancel_left E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a (bihimp a b) = b
theorem bihimp_bihimp_cancel_right E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp (bihimp b a) a = b
theorem bihimp_bihimp_self E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp (bihimp a b) a = b
theorem bihimp_left_involutive E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a : α), Function.Involutive fun x ↦ bihimp x a
theorem bihimp_right_involutive E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a : α), Function.Involutive fun x ↦ bihimp a x
theorem bihimp_left_injective E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a : α), Function.Injective fun x ↦ bihimp x a
theorem bihimp_right_injective E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a : α), Function.Injective fun x ↦ bihimp a x
theorem bihimp_left_surjective E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a : α), Function.Surjective fun x ↦ bihimp x a
theorem bihimp_right_surjective E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a : α), Function.Surjective fun x ↦ bihimp a x
theorem bihimp_left_inj E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b c : α}, bihimp a b = bihimp c b ↔ a = c
theorem bihimp_right_inj E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b c : α}, bihimp a b = bihimp a c ↔ b = c
theorem bihimp_eq_left E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b : α}, bihimp a b = a ↔ b = ⊤
theorem bihimp_eq_right E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b : α}, bihimp a b = b ↔ a = ⊤
theorem Codisjoint.bihimp_left E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b c : α}, Codisjoint a c → Codisjoint b c → Codisjoint (bihimp a b) c
theorem Codisjoint.bihimp_right E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b c : α}, Codisjoint a b → Codisjoint a c → Codisjoint a (bihimp b c)
theorem symmDiff_eq E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), symmDiff a b = a ⊓ bᶜ ⊔ b ⊓ aᶜ
theorem bihimp_eq E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b = (a ⊔ bᶜ) ⊓ (b ⊔ aᶜ)
theorem symmDiff_eq' E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), symmDiff a b = (a ⊔ b) ⊓ (aᶜ ⊔ bᶜ)
theorem bihimp_eq' E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b = a ⊓ b ⊔ aᶜ ⊓ bᶜ
theorem compl_symmDiff E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), (symmDiff a b)ᶜ = bihimp a b
theorem compl_bihimp E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), (bihimp a b)ᶜ = symmDiff a b
theorem compl_symmDiff_compl E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), symmDiff aᶜ bᶜ = symmDiff a b
theorem compl_bihimp_compl E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp aᶜ bᶜ = bihimp a b
theorem symmDiff_eq_top E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), symmDiff a b = ⊤ ↔ IsCompl a b
theorem bihimp_eq_bot E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b : α), bihimp a b = ⊥ ↔ IsCompl a b
theorem compl_symmDiff_self E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a : α), symmDiff aᶜ a = ⊤
theorem symmDiff_compl_self E0 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a : α), symmDiff a aᶜ = ⊤
theorem symmDiff_symmDiff_right' E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] (a b c : α),
symmDiff a (symmDiff b c) = a ⊓ b ⊓ c ⊔ a ⊓ bᶜ ⊓ cᶜ ⊔ aᶜ ⊓ b ⊓ cᶜ ⊔ aᶜ ⊓ bᶜ ⊓ c
theorem Disjoint.le_symmDiff_sup_symmDiff_left E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b c : α}, Disjoint a b → c ≤ symmDiff a c ⊔ symmDiff b c
theorem Disjoint.le_symmDiff_sup_symmDiff_right E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b c : α}, Disjoint b c → a ≤ symmDiff a b ⊔ symmDiff a c
theorem Codisjoint.bihimp_inf_bihimp_le_left E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b c : α}, Codisjoint a b → bihimp a c ⊓ bihimp b c ≤ c
theorem Codisjoint.bihimp_inf_bihimp_le_right E1 #
∀ {α : Type u_2} [inst : BooleanAlgebra α] {a b c : α}, Codisjoint b c → bihimp a b ⊓ bihimp a c ≤ a
theorem symmDiff_fst E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : GeneralizedCoheytingAlgebra α] [inst_1 : GeneralizedCoheytingAlgebra β]
(a b : α × β), (symmDiff a b).1 = symmDiff a.1 b.1
theorem bihimp_fst E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : GeneralizedHeytingAlgebra α] [inst_1 : GeneralizedHeytingAlgebra β]
(a b : α × β), (bihimp a b).1 = bihimp a.1 b.1
theorem symmDiff_snd E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : GeneralizedCoheytingAlgebra α] [inst_1 : GeneralizedCoheytingAlgebra β]
(a b : α × β), (symmDiff a b).2 = symmDiff a.2 b.2
theorem bihimp_snd E0 #
∀ {α : Type u_2} {β : Type u_3} [inst : GeneralizedHeytingAlgebra α] [inst_1 : GeneralizedHeytingAlgebra β]
(a b : α × β), (bihimp a b).2 = bihimp a.2 b.2
theorem Pi.symmDiff_def E0 #
∀ {ι : Type u_1} {π : ι → Type u_4} [inst : (i : ι) → GeneralizedCoheytingAlgebra (π i)] (a b : (i : ι) → π i),
symmDiff a b = fun i ↦ symmDiff (a i) (b i)
theorem Pi.bihimp_def E0 #
∀ {ι : Type u_1} {π : ι → Type u_4} [inst : (i : ι) → GeneralizedHeytingAlgebra (π i)] (a b : (i : ι) → π i),
bihimp a b = fun i ↦ bihimp (a i) (b i)
theorem Pi.symmDiff_apply E0 #
∀ {ι : Type u_1} {π : ι → Type u_4} [inst : (i : ι) → GeneralizedCoheytingAlgebra (π i)] (a b : (i : ι) → π i) (i : ι),
symmDiff a b i = symmDiff (a i) (b i)
theorem Pi.bihimp_apply E0 #
∀ {ι : Type u_1} {π : ι → Type u_4} [inst : (i : ι) → GeneralizedHeytingAlgebra (π i)] (a b : (i : ι) → π i) (i : ι),
bihimp a b i = bihimp (a i) (b i)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
bihimp_hnot_self | bihimp_compl_self | 2026-07-15 |
symmDiff_top' | symmDiff_top | 2026-08-04 |
top_symmDiff' | top_symmDiff | 2026-08-04 |