An implementation of finite choice, see https://leanprover.zulipchat.com/#narrow/channel/217875-Is-there-code-for-X.3F/topic/Theorem.20for.20.22finite.20choice.22.3F/with/529925010
def
finite_choice_trunc
{X : Type u_1}
{f : X → ℕ}
{N : ℕ}
(h : (n : ℕ) → n < N → Trunc { x : X // f x = n })
:
Variants of the above that use Trunc in place of ∃. Roughly speaking, this means that if the hypotheses are constructive, we can guarantee that the conclusion is constructive
Equations
- One or more equations did not get rendered due to their size.