lean4-htt/tests/lean/pp_no_proofs.lean
2017-03-09 18:41:19 -08:00

16 lines
392 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 nat
constants (P : ∀ {t:true}, → Prop) (P0 : @P trivial 0)
(Ps : ∀ {n}, @P trivial n → @P trivial (succ n))
(f : Π {n}, @P trivial n → )
noncomputable definition messy := f (Ps (Ps (Ps (Ps (Ps (Ps P0))))))
#reduce messy
set_option pp.proofs false
#reduce messy
set_option pp.implicit true
#reduce messy
set_option pp.proofs true
#reduce messy