Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Lean/Elab/Tactic/Ext.lean
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ def realizeExtTheorem (structName : Name) (flat : Bool) : Elab.Command.CommandEl
return extName

/--
Given an 'ext' theorem, ensures that there is an iff version of the theorem (if possible),
Given an `ext` theorem, ensures that there is an iff version of the theorem (if possible),
without validating any pre-existing theorems.
Returns the name of the 'ext_iff' theorem.
Returns the name of the `ext_iff` theorem.
-/
def realizeExtIffTheorem (extName : Name) : Elab.Command.CommandElabM Name := do
let extIffName : Name :=
Expand Down
2 changes: 1 addition & 1 deletion src/Lean/Elab/Tactic/Simpa.lean
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def getLinterUnnecessarySimpa (o : LinterOptions) : Bool :=
let mkInfo ← mkInitialTacticInfo (mkNullNode #[tk, usingTk?.getD .missing])
let (some (_, g), stats) ← simpGoal (← getMainGoal) ctx (simprocs := simprocs) (simplifyTarget := true) (discharge? := discharge?)
| if getLinterUnnecessarySimpa (← getLinterOptions) then
logLint linter.unnecessarySimpa (← getRef) "try 'simp' instead of 'simpa'"
logLint linter.unnecessarySimpa (← getRef) "try `simp` instead of `simpa`"
return {}
-- Replace the goal; captured by `mkInfo` in `using` case below.
replaceMainGoal [g]
Expand Down
Loading