lean4-htt/tests/lean/run/1658.lean
Leonardo de Moura 9d5b69ad5c fix(library/compiler/preprocess): compile_lemma => compile_irrelevant
We can also ignore functions that return types at compile_lemma (now
called compile_irrelevant).

fixes #1658
2017-06-12 20:33:31 -07:00

14 lines
224 B
Text

constant p : bool → bool
constant P : bool → Prop
noncomputable def lp : bool → bool
| ff := p ff
| tt := p tt
def foo (b : bool) : Prop :=
P (lp b)
constant T : bool → Type
def boo (b : bool) : Type :=
T (lp b)