lean4-htt/tests/lean/run/apply_tac.lean.expected.out
E.W.Ayers d954706fcf feat: ApplyNewGoals config for apply
Lean.Meta.Tactic.apply now accepts an ApplyConfig argument.
`apply` now changes which metavariables are stored with choice
of the newGoals config.
This allows one to implement `fapply` and `eapply`.
An example of this is given in tests/lean/run/apply_tac.lean.

Closes #1045
2022-03-19 15:51:40 -07:00

24 lines
199 B
Text

a b c : Nat
h₁ : a = b
h₂ : b = c
⊢ a = b
case h
a : Nat
⊢ ?w = a
case w
a : Nat
⊢ Nat
case h
a : Nat
⊢ ?w = a
case w
a : Nat
⊢ Nat
case h
a : Nat
⊢ ?w = a
case h
a : Nat
⊢ a = a