instance
instDecidablePredComp_batteries
{α : Sort u_1}
{β : Sort u_2}
{p : β → Prop}
{f : α → β}
[DecidablePred p]
:
DecidablePred (p ∘ f)
Equations
- instDecidablePredComp_batteries = inferInstanceAs (DecidablePred fun (x : α) => p (f x))
id #
decidable #
classical logic #
equality #
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
miscellaneous #
If all points are equal to a given point x, then α is a subsingleton.