File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ def elabHead (stx : Term) : TermElabM Head := withRef stx do
197197 | _ =>
198198 match ← resolvePushId? stx with
199199 | some (.const c _) => return .const c
200- | _ => throwError "Could not resolve `push` argument {stx}. \
200+ | _ => throwError "Could not resolve `push` argument ` {stx}` . \
201201 Expected either a constant, e.g. `push Not`, \
202202 or notation with underscores, e.g. `push ¬ _`"
203203
@@ -211,7 +211,7 @@ def elabDischarger (stx : TSyntax ``discharger) : TacticM Simp.Discharge :=
211211def push (cfg : Config) (disch? : Option Simp.Discharge) (head : Head) (loc : Location)
212212 (ifUnchanged : BehaviorIfUnchanged := .error) : TacticM Unit := do
213213 let cfg := { distrib := cfg.distrib || (← getBoolOption `push_neg.use_distrib) }
214- transformAtLocation (pushCore head cfg disch? ·) "` push` " loc ifUnchanged
214+ transformAtLocation (pushCore head cfg disch? ·) "push" loc ifUnchanged
215215
216216/--
217217`push c` rewrites the goal by pushing the constant `c` deeper into an expression.
You can’t perform that action at this time.
0 commit comments