Define a tactic macro that introduces all possible binders.
8 lines · Lean 4
Objectifs
- Define a tactic macro that introduces all possible binders.
Indices
Voir la solution
import Lean macro "intro_all" : tactic => `(tactic| repeat intro) example (P Q : Prop) : P → Q → P := by intro_all assumption