@Armael: this commit implements the `introv` tactic. The implementation uses an auxiliary `intros_dep` that introduces new hypotheses with forward dependencies. The `tactic.introv` tactic implemented at library/init/meta/tactic.lean is the main implementation, but it is not nice for interactive use since users would have to write ``` tactic.introv [`h1, `h2] ``` To make it more conveninent to use, we define another ``` meta def introv (ns : parse ident_*) : tactic unit := tactic.introv ns >> return () ``` This one is in the namespace `tactic.interactive`, and uses parser extensions. The argument `parse ident_*` instructs the parser to parse 0 or more identifiers and create a term of type `list name` containing these identifiers. |
||
|---|---|---|
| .. | ||
| lean | ||
| .gitignore | ||