Equations
- Nat.ofProp p = if p then 1 else 0
Instances For
theorem
Nat.find_le_find_of_imp
{P Q : ℕ → Prop}
[hp : DecidablePred P]
[hq : DecidablePred Q]
{h₁ : ∃ (n : ℕ), P n}
{h₂ : ∃ (n : ℕ), Q n}
(h₃ : ∀ (n : ℕ), Q n → P n)
:
@[instance_reducible]
Equations
@[instance_reducible]