lean2/tests/lean/run/tactic6.lean
Leonardo de Moura e1d909455c refactor(library/tactic): add namespace 'tactic', improve expr_to_tactic failure error message
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-02 10:45:09 -07:00

9 lines
175 B
Text

import standard
using tactic (renaming id->id_tac)
definition id {A : Type} (a : A) := a
theorem tst {A B : Bool} (H1 : A) (H2 : B) : id A
:= by unfold id; exact
check tst