chore: add Rewrite.lean

This commit is contained in:
Leonardo de Moura 2020-09-17 08:15:28 -07:00
parent f4aabaecae
commit 57bed74871
2 changed files with 22 additions and 0 deletions

View file

@ -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

View 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