chore: add Rewrite.lean
This commit is contained in:
parent
f4aabaecae
commit
57bed74871
2 changed files with 22 additions and 0 deletions
|
|
@ -11,3 +11,4 @@ import Lean.Elab.Tactic.Generalize
|
|||
import Lean.Elab.Tactic.Injection
|
||||
import Lean.Elab.Tactic.Match
|
||||
import Lean.Elab.Tactic.Binders
|
||||
import Lean.Elab.Tactic.Rewrite
|
||||
|
|
|
|||
21
src/Lean/Elab/Tactic/Rewrite.lean
Normal file
21
src/Lean/Elab/Tactic/Rewrite.lean
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/-
|
||||
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
Authors: Leonardo de Moura
|
||||
-/
|
||||
import Lean.Elab.Tactic.Basic
|
||||
import Lean.Elab.Tactic.ElabTerm
|
||||
|
||||
namespace Lean
|
||||
namespace Elab
|
||||
namespace Tactic
|
||||
|
||||
@[builtinMacro Lean.Parser.Tactic.rewriteSeq] def expandRewriteTactic : Macro :=
|
||||
fun stx => throw $ Macro.Exception.error stx "WIP"
|
||||
|
||||
@[builtinTactic «rewrite»] def evalRewrite : Tactic :=
|
||||
fun stx => throwError "WIP"
|
||||
|
||||
end Tactic
|
||||
end Elab
|
||||
end Lean
|
||||
Loading…
Add table
Reference in a new issue