lean4-htt/old_tests/tests/lean/run/basic_monitor.lean
2018-04-10 12:56:55 -07:00

13 lines
268 B
Text

@[vm_monitor]
meta def basic_monitor : vm_monitor nat :=
{ init := 0, step := λ s, return (trace ("step " ++ to_string s) (s+1)) }
set_option debugger true
example (a b : Prop) : a → b → a ∧ b :=
begin
intros,
constructor,
assumption,
assumption
end