lean4-htt/tests/lean/2125.lean
2023-02-28 12:22:54 -08:00

9 lines
222 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

open Classical
noncomputable def f (α : Type) : Bool :=
Nonempty α
-- The following inductive is unsound:
inductive C : Bool → Type
-- Must be rejected because `C` occurs inside an index.
| c : C (f (C false))