lean4-htt/tests/lean/consumePPHint.lean
2021-10-20 15:58:56 -07:00

10 lines
256 B
Text

constant p : Nat → Prop
constant q : Nat → Prop
theorem p_of_q : q x → p x := sorry
theorem pletfun : p (let_fun x := 0; x + 1) := by
-- ⊢ p (let_fun x := 0; x + 1)
apply p_of_q
trace_state -- `let_fun` hint should not be consumed.
sorry