Implication →
is transitive. If P → Q
and Q → R
then P → R
.
Alias of congrArg
.
Congruence in the function argument: if a₁ = a₂
then f a₁ = f a₂
for
any (nondependent) function f
. This is more powerful than it might look at first, because
you can also use a lambda expression for f
to prove that
<something containing a₁> = <something containing a₂>
. This function is used
internally by tactics like congr
and simp
to apply equalities inside
subterms.
For more information: Equality
Alias of the forward direction of not_not_not
.
Equations
- ExistsUnique p = ∃ x, p x ∧ ∀ (y : α), p y → y = x
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pretty-printing for ExistsUnique
, following the same pattern as pretty printing
for Exists
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Decidable.recOn_true p h₃ h₄ = cast (_ : h₁ h₃ = Decidable.recOn h h₂ h₁) h₄
Instances For
Equations
- Decidable.recOn_false p h₃ h₄ = cast (_ : h₂ h₃ = Decidable.recOn h h₂ h₁) 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
.
Equations
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
- 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
- LeftIdentity f one = ∀ (a : α), f one a = a
Instances For
Equations
- RightIdentity f one = ∀ (a : α), f a one = a
Instances For
Equations
- RightInverse f inv one = ∀ (a : α), f a (inv a) = one
Instances For
Equations
- LeftCancelative f = ∀ (a b c : α), f a b = f a c → b = c
Instances For
Equations
- RightCancelative f = ∀ (a b c : α), f a b = f c b → a = c
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
- 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)