File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Linarith/Oracle/SimplexAlgorithm Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 88public import Mathlib.Data.List.Defs
99
1010/-!
11- # Lemmas about List.*Idx functions.
11+ # Lemmas about ` List.*Idx` functions.
1212
1313Some specification lemmas for `List.mapIdx`, `List.mapIdxM`, `List.foldlIdx` and `List.foldrIdx`.
1414
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def chooseExitingVar (enterIdx : Nat) : SimplexAlgorithmM matType Nat := do
107107
108108/--
109109Chooses entering and exiting variables using
110- ( Bland's rule) [ (https://en.wikipedia.org/wiki/Bland%27s_rule) ] that guarantees that the Simplex
110+ [ Bland's rule ] (https://en.wikipedia.org/wiki/Bland%27s_rule) that guarantees that the Simplex
111111Algorithm terminates.
112112-/
113113def choosePivots : SimplexAlgorithmM matType (Nat × Nat) := do
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public meta import Lean.Meta.Tactic.Rfl
1212# `Lean.MVarId.liftReflToEq`
1313
1414Convert a goal of the form `x ~ y` into the form `x = y`, where `~` is a reflexive
15- relation, that is, a relation which has a reflexive lemma tagged with the attribute `[refl]`.
15+ relation, that is, a relation which has a reflexive lemma tagged with the attribute `@ [refl]`.
1616If this can't be done, returns the original `MVarId`.
1717-/
1818
@@ -24,7 +24,7 @@ open Lean Meta Elab Tactic Rfl
2424
2525/--
2626This tactic applies to a goal whose target has the form `x ~ x`, where `~` is a reflexive
27- relation, that is, a relation which has a reflexive lemma tagged with the attribute [ refl ] .
27+ relation, that is, a relation which has a reflexive lemma tagged with the attribute `@ [refl]` .
2828-/
2929def rflTac : TacticM Unit :=
3030 withMainContext do liftMetaFinishingTactic (·.applyRfl)
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ register_option linter.translateReorder : Bool := {
146146 descr := "Linter used by translate attributes that checks if the given reorder is \
147147 equal to the automatically generated one" }
148148
149- /-- Linter used by translate attributes that checks if the relevant_arg is
149+ /-- Linter used by translate attributes that checks if the ` relevant_arg` is
150150automatically generated. -/
151151register_option linter.translateRelevantArg : Bool := {
152152 defValue := true
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ public def Path.ofSubExprPos (expr : Expr) (pos : SubExpr.Pos) : MetaM Path :=
166166
167167open Lean.Parser.Tactic.Conv in
168168/--
169- Given a `path : Path` and `xs : TSepArray ``enterArg ","`, generate the `conv` syntax
169+ Given a `path : Path` and ``` xs : TSepArray ``enterArg ","`` `, generate the `conv` syntax
170170corresponding to `enter [xs,*]` followed by traversing `path`. If `loc` is `some fvar`,
171171start with `conv at fvar =>`, otherwise if `loc` is `none` start with `conv =>`.
172172-/
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public meta import Lean.MetavarContext
1111/-!
1212# Miscellaneous helper functions for tactics.
1313
14- [ TODO ] Ideally we would find good homes for everything in this file, eventually removing it.
14+ TODO: Ideally we would find good homes for everything in this file, eventually removing it.
1515-/
1616
1717public meta section
You can’t perform that action at this time.
0 commit comments