lean4-htt/tests/lean/pp_no_proofs.lean
Daniel Selsam 4d77f5ab2d feat(src/frontends/lean/pp): option to print theorem statements instead of proof terms
Conflicts:
	src/frontends/lean/pp.cpp
	src/library/pp_options.cpp
2016-06-14 11:50:53 -07:00

16 lines
379 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.

import data.nat
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 → )
definition messy := f (Ps (Ps (Ps (Ps (Ps (Ps P0))))))
eval messy
set_option pp.proofs false
eval messy
set_option pp.implicit true
eval messy
set_option pp.proofs true
eval messy