Note about Mathlib/Init/
#
The files in Mathlib/Init
are leftovers from the port from Mathlib3.
(They contain content moved from lean3 itself that Mathlib needed but was not moved to lean4.)
We intend to move all the content of these files out into the main Mathlib
directory structure.
Contributions assisting with this are appreciated.
Alias of of_eq_false
.
Alias of the forward direction of not_not_not
.
Alias of not_or_intro
.
Equations
- Decidable.recOn_true p h₃ h₄ = cast ⋯ h₄
Instances For
Equations
- Decidable.recOn_false p h₃ h₄ = cast ⋯ h₄
Instances For
Alias of Decidable.byCases
.
Synonym for dite
(dependent if-then-else). We can construct an element q
(of any sort, not just a proposition) by cases on whether p
is true or false,
provided p
is decidable.
Equations
Instances For
Alias of Decidable.byContradiction
.
Alias of Decidable.not_not
.
Instances For
A relation is transitive if x ≺ y
and y ≺ z
together imply x ≺ z
.
Equations
- Transitive r = ∀ ⦃x y z : β⦄, r x y → r y z → r x z
Instances For
A relation is antisymmetric if x ≺ y
and y ≺ x
together imply that x = y
.
Equations
- AntiSymmetric r = ∀ ⦃x y : β⦄, r x y → r y x → x = y
Instances For
Equations
- LeftDistributive f g = ∀ (a b c : α), f a (g b c) = g (f a b) (f a c)
Instances For
Equations
- RightDistributive f g = ∀ (a b c : α), f (g a b) c = g (f a c) (f b c)
Instances For
Equations
- Commutative f = ∀ (a b : α), f a b = f b a
Instances For
Equations
- Associative f = ∀ (a b c : α), f (f a b) c = f a (f b c)
Instances For
Equations
- RightCommutative h = ∀ (b : β) (a₁ a₂ : α), h (h b a₁) a₂ = h (h b a₂) a₁
Instances For
Equations
- LeftCommutative h = ∀ (a₁ a₂ : α) (b : β), h a₁ (h a₂ b) = h a₂ (h a₁ b)