The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V34. The tactics of Mathlib

Mathlib.Tactic.Translate.Core

63 declarations and 6 deprecated aliases. Mathlib docs · Source

The translation attribute.

Implementation of the translation attribute. This is used for @[to_additive] and @[to_dual]. See the docstring of to_additive for more information.

def Mathlib.Tactic.Translate.Config.ctorIdx E1 #

Mathlib.Tactic.Translate.Config → ℕ

theorem Mathlib.Tactic.Translate.Config.mk.inj E1 #

∀ {trace : Bool} {target : Lean.Name} {doc : Option (Lean.TSyntax `Lean.Parser.Command.docComment)}
  {reorder? : Option Mathlib.Tactic.Translate.ArgReorder} {relevantArg? : Option Mathlib.Tactic.Translate.RelevantArg}
  {attrs : Array Lean.Elab.Attribute} {dontTranslate : List ℕ} {ref : Lean.Syntax} {existing self none : Bool}
  {rename : Lean.NameMap Lean.Name} {trace_1 : Bool} {target_1 : Lean.Name}
  {doc_1 : Option (Lean.TSyntax `Lean.Parser.Command.docComment)}
  {reorder?_1 : Option Mathlib.Tactic.Translate.ArgReorder}
  {relevantArg?_1 : Option Mathlib.Tactic.Translate.RelevantArg} {attrs_1 : Array Lean.Elab.Attribute}
  {dontTranslate_1 : List ℕ} {ref_1 : Lean.Syntax} {existing_1 self_1 none_1 : Bool}
  {rename_1 : Lean.NameMap Lean.Name},
  { trace := trace, target := target, doc := doc, reorder? := reorder?, relevantArg? := relevantArg?, attrs := attrs,
        dontTranslate := dontTranslate, ref := ref, existing := existing, self := self, none := none,
        rename := rename } =
      { trace := trace_1, target := target_1, doc := doc_1, reorder? := reorder?_1, relevantArg? := relevantArg?_1,
        attrs := attrs_1, dontTranslate := dontTranslate_1, ref := ref_1, existing := existing_1, self := self_1,
        none := none_1, rename := rename_1 } →
    trace = trace_1 ∧
      target = target_1 ∧
        doc = doc_1 ∧
          reorder? = reorder?_1 ∧
            relevantArg? = relevantArg?_1 ∧
              attrs = attrs_1 ∧
                dontTranslate = dontTranslate_1 ∧
                  ref = ref_1 ∧ existing = existing_1 ∧ self = self_1 ∧ none = none_1 ∧ rename = rename_1

theorem Mathlib.Tactic.Translate.Config.mk.injEq E0 #

∀ (trace : Bool) (target : Lean.Name) (doc : Option (Lean.TSyntax `Lean.Parser.Command.docComment))
  (reorder? : Option Mathlib.Tactic.Translate.ArgReorder) (relevantArg? : Option Mathlib.Tactic.Translate.RelevantArg)
  (attrs : Array Lean.Elab.Attribute) (dontTranslate : List ℕ) (ref : Lean.Syntax) (existing self none : Bool)
  (rename : Lean.NameMap Lean.Name) (trace_1 : Bool) (target_1 : Lean.Name)
  (doc_1 : Option (Lean.TSyntax `Lean.Parser.Command.docComment))
  (reorder?_1 : Option Mathlib.Tactic.Translate.ArgReorder)
  (relevantArg?_1 : Option Mathlib.Tactic.Translate.RelevantArg) (attrs_1 : Array Lean.Elab.Attribute)
  (dontTranslate_1 : List ℕ) (ref_1 : Lean.Syntax) (existing_1 self_1 none_1 : Bool)
  (rename_1 : Lean.NameMap Lean.Name),
  ({ trace := trace, target := target, doc := doc, reorder? := reorder?, relevantArg? := relevantArg?, attrs := attrs,
        dontTranslate := dontTranslate, ref := ref, existing := existing, self := self, none := none,
        rename := rename } =
      { trace := trace_1, target := target_1, doc := doc_1, reorder? := reorder?_1, relevantArg? := relevantArg?_1,
        attrs := attrs_1, dontTranslate := dontTranslate_1, ref := ref_1, existing := existing_1, self := self_1,
        none := none_1, rename := rename_1 }) =
    (trace = trace_1 ∧
      target = target_1 ∧
        doc = doc_1 ∧
          reorder? = reorder?_1 ∧
            relevantArg? = relevantArg?_1 ∧
              attrs = attrs_1 ∧
                dontTranslate = dontTranslate_1 ∧
                  ref = ref_1 ∧ existing = existing_1 ∧ self = self_1 ∧ none = none_1 ∧ rename = rename_1)

def Mathlib.Tactic.Translate.attrOption E1 #

Lean.ParserDescr

(attr := ...) applies the given attributes to the original and the translated declaration. In the case of to_additive, we may want to apply it multiple times, (such as in a ^ n -> n • a -> n +ᵥ a). In this case, you should use the syntax to_additive (attr := some_other_attr, to_additive), which will apply some_other_attr to all three generated declarations.

def Mathlib.Tactic.Translate.reorderOption E1 #

Lean.ParserDescr

(reorder := ...) reorders the arguments/hypotheses in the generated declaration. This is used in to_dual to swap the arguments in ≤, < and ⟶, and it is used in to_additive to translate from a ^ n to n • a. It uses disjoint cycle notation for the permutation. For reordering arguments of an argument a, it uses the notation a (...) where ... can be any reorder.

For example:

  • (reorder := α β, 5 6) swaps the arguments α and β with each other and the fifth and the sixth argument.
  • (reorder := 3 4 5) will move the fifth argument before the third argument.
  • (reorder := H (x y)) will swap the arguments x and y that appear in the hypothesis H.

If the translated declaration already exists (i.e. when using existing or self), the reorder argument is automatically inferred using the function guessReorder.

def Mathlib.Tactic.Translate.relevantArgOption E1 #

Lean.ParserDescr

the (relevant_arg := ...) option tells which argument to look at to determine whether to translate this constant. This is inferred automatically, but it can also be overwritten using this syntax.

If there are multiple possible arguments, we typically tag the first one. If this argument contains a fixed type, this declaration will not be translated. See the Heuristics section of the to_additive doc-string for more details.

When it cannot be inferred automatically, it is presumed that the first argument is relevant.

Use (relevant_arg := _) to indicate that there is no relevant argument.

Implementation note: we only allow exactly 1 relevant argument, even though some declarations (like Prod.instGroup) have multiple relevant arguments. The reason is that whether we translate a declaration is an all-or-nothing decision, and we will not be able to translate declarations that (e.g.) talk about multiplication on ℕ × α anyway.

def Mathlib.Tactic.Translate.dontTranslateOption E1 #

Lean.ParserDescr

(dont_translate := ...) takes a list of type variables (separated by spaces) that should not be considered for translation. For example in

lemma foo {α β : Type} [Group α] [Group β] (a : α) (b : β) : a * a⁻¹ = 1 ↔ b * b⁻¹ = 1

we can choose to only translate α by writing to_additive (dont_translate := β).

def Mathlib.Tactic.Translate.renameRule E1 #

Lean.ParserDescr

def Mathlib.Tactic.Translate.renameOption E1 #

Lean.ParserDescr

The (rename := ...) option takes a comma-separated list of rename rules of the form oldName → newName specifying the argument names of the translated constant. The syntax firstName ↔ secondName can also be used for swapping two argument names.

def Mathlib.Tactic.Translate.bracketedOption E1 #

Lean.ParserDescr

def Mathlib.Tactic.Translate.translationHint E1 #

Lean.ParserDescr

A hint about the translated declaration

  • existing indicates that the translated form of the declaration is a pre-existing declaration. This is useful when the value cannot be translated, either because of a limitation in the translation heuristics, or because the value/proof is genuinely different.

  • self indicates that the declaration translates to itself, up to some reordering of arguments. If no arguments are reordered then the attribute is redundant, which the translate.redundant linter will warn about.

  • none indicates that the translated declaration should not get a user-facing name, instead being named like an auxiliary declaration. This is particularly useful for to_dual when using the reassoc attribute, because the dual of a right associated term is left associated, but we only want user-facing lemmas with right associated terms.

def Mathlib.Tactic.Translate.attrArgs E1 #

Lean.ParserDescr

opaque Mathlib.Tactic.Translate.linter.existingAttributeWarning E1 #

Lean.Option Bool

Linter, mostly used by translate attributes, that checks that the source declaration doesn't have certain attributes

opaque Mathlib.Tactic.Translate.linter.translate.generateName E1 #

Lean.Option Bool

Linter used by translate attributes that checks if the given declaration name is equal to the automatically generated name

opaque Mathlib.Tactic.Translate.linter.translate.existing E1 #

Lean.Option Bool

Linter to check whether the user correctly specified that the translated declaration already exists

opaque Mathlib.Tactic.Translate.linter.translate.reorder E1 #

Lean.Option Bool

Linter used by translate attributes that checks if the given reorder is equal to the automatically generated name

opaque Mathlib.Tactic.Translate.linter.translate.relevantArg E1 #

Lean.Option Bool

Linter used by translate attributes that checks if the relevant_arg is automatically generated.

opaque Mathlib.Tactic.Translate.linter.translate.overwrite E1 #

Lean.Option Bool

Linter used by translate attributes that checks if the attribute was already applied

opaque Mathlib.Tactic.Translate.linter.translate.redundant E1 #

Lean.Option Bool

Linter used by translate attributes that checks if the attribute is redundant

opaque Mathlib.Tactic.Translate.linter.translate.warnInvalid E1 #

Lean.Option Bool

Linter used by translate attributes that warns when a translation was not added because of being invalid.

def Mathlib.Tactic.Translate.insertTranslation E1 #

Mathlib.Tactic.Translate.TranslateData →
  Lean.Name →
    Lean.Name →
      Mathlib.Tactic.Translate.Reorder →
        Mathlib.Tactic.Translate.RelevantArg → optParam Bool false → optParam Bool false → Lean.CoreM Unit

Add a translation to the translations map. If the translation attribute is dual, also add the reverse translation, but don't do this when unfold := true, because then tgt is an implementation detail.

structure Mathlib.Tactic.Translate.Config E1 #

Type

Config is the type of the arguments that can be provided to to_additive.

ctor Mathlib.Tactic.Translate.Config.mk E0 #

Bool →
  Lean.Name →
    Option (Lean.TSyntax `Lean.Parser.Command.docComment) →
      Option Mathlib.Tactic.Translate.ArgReorder →
        Option Mathlib.Tactic.Translate.RelevantArg →
          Array Lean.Elab.Attribute →
            List ℕ → Lean.Syntax → Bool → Bool → Bool → Lean.NameMap Lean.Name → Mathlib.Tactic.Translate.Config

abbrev Mathlib.Tactic.Translate.Config.trace E1 #

Mathlib.Tactic.Translate.Config → Bool

View the trace of the translation procedure. Equivalent to set_option trace.translate true.

abbrev Mathlib.Tactic.Translate.Config.target E1 #

Mathlib.Tactic.Translate.Config → Lean.Name

The given name of the target: an anonymous name means no explicit name was provided, and the translate tactic auto-generates a name instead

abbrev Mathlib.Tactic.Translate.Config.doc E1 #

Mathlib.Tactic.Translate.Config → Option (Lean.TSyntax `Lean.Parser.Command.docComment)

An optional doc string.

abbrev Mathlib.Tactic.Translate.Config.reorder? E1 #

Mathlib.Tactic.Translate.Config → Option Mathlib.Tactic.Translate.ArgReorder

The arguments that should be reordered when translating, using cycle notation.

abbrev Mathlib.Tactic.Translate.Config.relevantArg? E1 #

Mathlib.Tactic.Translate.Config → Option Mathlib.Tactic.Translate.RelevantArg

The argument used to determine whether this constant should be translated.

abbrev Mathlib.Tactic.Translate.Config.attrs E1 #

Mathlib.Tactic.Translate.Config → Array Lean.Elab.Attribute

The attributes which we want to give to the original and translated declaration. For simps this will also add generated lemmas to the translation dictionary.

abbrev Mathlib.Tactic.Translate.Config.dontTranslate E1 #

Mathlib.Tactic.Translate.Config → List ℕ

A list of positions of type variables that should not be translated.

abbrev Mathlib.Tactic.Translate.Config.ref E1 #

Mathlib.Tactic.Translate.Config → Lean.Syntax

The Syntax element corresponding to the translation attribute, which we need for adding definition ranges, and for logging messages.

abbrev Mathlib.Tactic.Translate.Config.existing E1 #

Mathlib.Tactic.Translate.Config → Bool

An optional flag stating that the translated declaration already exists. If this flag is wrong about whether the translated declaration exists, we raise a linter error. Note: the linter will never raise an error for inductive types and structures.

abbrev Mathlib.Tactic.Translate.Config.self E1 #

Mathlib.Tactic.Translate.Config → Bool

An optional flag stating that the target of the translation is the target itself. This can be used to reorder arguments, such as in attribute [to_dual self (reorder := 3 4)] LE.le. If self := true, we should also have existing := true.

abbrev Mathlib.Tactic.Translate.Config.none E1 #

Mathlib.Tactic.Translate.Config → Bool

An optional flag for not giving the new declaration a user-facing name. This is achieved by appending e.g. _to_dual_1 to the name of the original declaration.

abbrev Mathlib.Tactic.Translate.Config.rename E1 #

Mathlib.Tactic.Translate.Config → Lean.NameMap Lean.Name

A map specifying the binder names of the translated declaration.

def Mathlib.Tactic.Translate.updateDecl E1 #

Mathlib.Tactic.Translate.TranslateData →
  Lean.Name →
    Lean.ConstantInfo →
      Mathlib.Tactic.Translate.ArgReorder →
        List ℕ →
          Option Mathlib.Tactic.UnfoldBoundary.UnfoldBoundaries →
            Lean.NameMap Lean.Name → Lean.MetaM (Lean.ConstantInfo × Mathlib.Tactic.Translate.RelevantArg)

Run applyReplacementFun on the given srcDecl to make a new declaration with name tgt.

def Mathlib.Tactic.Translate.updateAndAddDecl E1 #

Mathlib.Tactic.Translate.TranslateData →
  Lean.Name →
    Lean.ConstantInfo →
      Mathlib.Tactic.Translate.ArgReorder →
        List ℕ → Lean.NameMap Lean.Name → Lean.MetaM (Lean.ConstantInfo × Mathlib.Tactic.Translate.RelevantArg)

Translate the source declaration and then run addDecl. If the kernel throws an error, try to emit a better error message.

For efficiency in to_dual, we first run updateDecl without any UnfoldBoundaries, and only if that fails do we try to include them. The reason is that in the most common case, to_dual succeeds without needing to insert unfold boundaries, and figuring out whether to insert them can be quite expensive.

def Mathlib.Tactic.Translate.declUnfoldSimpAuxLemmas E1 #

Lean.ConstantInfo → Lean.MetaM Lean.ConstantInfo

Unfold simp, gcongr and hcongr/congr_simp auxlemmas in the type and value. The reason why we can't just translate them is that they are generated by the @[simp] attribute, so it would require a change in the implementation of @[simp] to add these translations. Additionally, these lemmas have very short proofs, so unfolding them is not costly.

def Mathlib.Tactic.Translate.findTargetName E1 #

Lean.Environment → Mathlib.Tactic.Translate.TranslateData → Lean.Name → Lean.Name → Lean.Name → Lean.CoreM Lean.Name

Find the target name of src, which is assumed to have been selected by findAuxDecls.

def Mathlib.Tactic.Translate.findAuxDecls E1 #

Lean.ConstantInfo → Lean.Name → Lean.CoreM (Array Lean.Name)

Returns a NameSet of auxiliary constants in decl that might have been generated when adding pre to the environment, and which hence might need to be translated. Examples include pre.match_5, pre._proof_2, someOtherDeclaration._proof_2 and wrapped✝. The reason why we have to include _proof_i lemmas from other declarations is that there is a cache of such proofs, and previous such auxiliary proofs are reused when possible. These auxiliary declarations may be private or not, independent of whether pre is private. wrapped✝ is generated by irreducible_def, and it has macro scopes.

def Mathlib.Tactic.Translate.getRelevantArg E1 #

Mathlib.Tactic.Translate.TranslateData →
  Mathlib.Tactic.Translate.RelevantArg →
    Option Mathlib.Tactic.Translate.RelevantArg →
      Lean.Name → optParam Bool true → Lean.CoreM Mathlib.Tactic.Translate.RelevantArg

Return the relevant_arg option based on the computed relevantArg and optionally the given relevant_arg (given?).

For terms, relevantArg can always be inferred from the type, so we trust relevantArg. For types, .noArg is replaced with .arg 0. This heuristic is useful for types like Mul, LinearOrder and WithTop.

def Mathlib.Tactic.Translate.ensureClassTranslated E1 #

Mathlib.Tactic.Translate.TranslateData → Mathlib.Tactic.Translate.Config → Lean.Name → Lean.CoreM Unit

If src is a class projection or class constructor, ensure that the class itself has a translation. This ensures that relevant_arg will be inferred correctly.

For example, for LE.le and GE.ge we infer (relevant_arg := α) because α appears in LE α, where it is a relevant argument.

opaque Mathlib.Tactic.Translate.transformDeclRec E1 #

Mathlib.Tactic.Translate.TranslateData →
  Mathlib.Tactic.Translate.Config →
    Lean.Name →
      Lean.Name →
        Lean.Name →
          optParam Mathlib.Tactic.Translate.ArgReorder { } → optParam (Lean.NameMap Lean.Name) ∅ → Lean.CoreM Unit

Translate the declaration src and recursively all declarations rootSrc._proof_i occurring in src using the translations dictionary.

  • rootSrc is the declaration that got the translation attribute and rootTgt is its target.
  • src is assumed to have a value available in the environment.
  • reorder and rename are only used for the translation of src.

def Mathlib.Tactic.Translate.copyInstanceAttribute E1 #

Lean.Name → Lean.Name → Lean.CoreM Unit

Copy the instance attribute in a to_additive

[todo] it seems not to work when the to_additive is added as an attribute later.

def Mathlib.Tactic.Translate.copyAliasAttribute E1 #

Mathlib.Tactic.Translate.TranslateData → Lean.Name → Lean.Name → Lean.CoreM Unit

If src was declared with alias, then record tgt as an alias, and give it an alias-style docstring if it doesn't have a doc-string already

def Mathlib.Tactic.Translate.warnAttrCore E1 #

(Lean.Environment → Lean.Name → Bool) → Lean.Name → Lean.Name → Lean.Name → Lean.Name → Lean.CoreM Unit

Warn the user when the declaration has an attribute.

def Mathlib.Tactic.Translate.warnAttr E1 #

{α β : Type} →
  [Inhabited β] →
    Lean.SimpleScopedEnvExtension α β →
      (β → Lean.Name → Bool) → Lean.Name → Lean.Name → Lean.Name → Lean.Name → Lean.CoreM Unit

Warn the user when the declaration has a simple scoped attribute.

def Mathlib.Tactic.Translate.warnParametricAttr E1 #

{β : Type} →
  [Inhabited β] → Lean.ParametricAttribute β → Lean.Name → Lean.Name → Lean.Name → Lean.Name → Lean.CoreM Unit

Warn the user when the declaration has a parametric attribute.

def Mathlib.Tactic.Translate.targetName E1 #

Mathlib.Tactic.Translate.TranslateData → Mathlib.Tactic.Translate.Config → Lean.Name → Lean.CoreM Lean.Name

Return the provided target name or autogenerate one if one was not provided.

def Mathlib.Tactic.Translate.checkExistingType E1 #

Mathlib.Tactic.Translate.TranslateData →
  Lean.Name →
    Lean.Name →
      Mathlib.Tactic.Translate.Config →
        optParam Bool true → Lean.MetaM (Mathlib.Tactic.Translate.Reorder × Mathlib.Tactic.Translate.RelevantArg)

Verify that the type of srcDecl translates to that of tgtDecl. Also try to autogenerate the reorder and relevant_arg options for this translation.

def Mathlib.Tactic.Translate.insertTranslationChecked E1 #

Mathlib.Tactic.Translate.TranslateData →
  Lean.Name →
    Lean.Name → Mathlib.Tactic.Translate.Config → Bool → optParam Bool false → optParam Bool false → Lean.CoreM Unit

A version of insertTranslation that checks whether the translation is valid, and throws an error if it is invalid.

def Mathlib.Tactic.Translate.insertTranslationsChecked E1 #

Mathlib.Tactic.Translate.TranslateData →
  Array Lean.Name → Array Lean.Name → Mathlib.Tactic.Translate.Config → optParam Bool false → Lean.CoreM Unit

Add translations from srcs to tgts, trying all pairings until one succeeds.

def Mathlib.Tactic.Translate.translateLemmas E1 #

Mathlib.Tactic.Translate.TranslateData →
  Array Lean.Name →
    String → Mathlib.Tactic.Translate.Config → (Lean.Name → Lean.CoreM (Array Lean.Name)) → Lean.CoreM Unit

translateLemmas runs runAttr on all elements of names and adds translations between the generated lemmas (the output of t). names must be non-empty.

def Mathlib.Tactic.Translate.proceedFieldsAux E0 #

Mathlib.Tactic.Translate.TranslateData →
  Lean.Name → Lean.Name → Mathlib.Tactic.Translate.Config → (Lean.Name → Array Lean.Name) → Lean.CoreM Unit

if f src = #[a_1, ..., a_n] and f tgt = #[b_1, ... b_n] then proceedFieldsAux src tgt f will insert translations from a_i to b_i.

def Mathlib.Tactic.Translate.proceedFields E1 #

Mathlib.Tactic.Translate.TranslateData → Lean.Name → Lean.Name → Mathlib.Tactic.Translate.Config → Lean.CoreM Unit

Add the structure fields of src to the translations dictionary so that they will be translated correctly.

def Mathlib.Tactic.Translate.elabRename E1 #

Array (Lean.TSyntax `Mathlib.Tactic.Translate.renameRule) →
  Lean.Name → Array Lean.Name → Lean.MetaM (Lean.NameMap Lean.Name)

Elaboration of the (rename := ...) option.

def Mathlib.Tactic.Translate.setDeprecatedTarget E1 #

Lean.Name → Lean.Elab.Attribute → Lean.CoreM Lean.Elab.Attribute

In a deprecated attribute without a target, if declName is an alias, set the deprecation target to the declaration it is an alias of.

def Mathlib.Tactic.Translate.translateAttribute E1 #

Mathlib.Tactic.Translate.TranslateData → Lean.Elab.Attribute → Lean.CoreM Lean.Elab.Attribute

In a deprecated or inherit_doc attribute, translate the target declaration.

def Mathlib.Tactic.Translate.elabTranslationAttr E1 #

Lean.Name → Lean.Syntax → Lean.CoreM Mathlib.Tactic.Translate.Config

Elaboration of the configuration options for a translation attribute. It is assumed that

  • stx[0] is the attribute (e.g. to_additive)
  • stx[1] is the optional tracing ?
  • stx[2] is the remaining attrArgs

TODO: Currently, we don't deduce any dont_translate arguments based on the type of declName. In the future we would like that the presence of MonoidAlgebra k G will automatically flag k as a type to not be translated.

opaque Mathlib.Tactic.Translate.applyAttributes E1 #

Mathlib.Tactic.Translate.TranslateData →
  Mathlib.Tactic.Translate.Config → Lean.Name → Lean.Name → Lean.Elab.TermElabM (Array Lean.Name)

Apply attributes to the original and translated declarations.

opaque Mathlib.Tactic.Translate.copyMetaData E1 #

Mathlib.Tactic.Translate.TranslateData →
  Mathlib.Tactic.Translate.Config → Lean.Name → Lean.Name → Lean.CoreM (Array Lean.Name)

Copies equation lemmas and attributes from src to tgt.

opaque Mathlib.Tactic.Translate.addTranslationAttr E1 #

Mathlib.Tactic.Translate.TranslateData →
  Lean.Name →
    Mathlib.Tactic.Translate.Config →
      optParam Lean.AttributeKind Lean.AttributeKind.global → Lean.AttrM (Array Lean.Name)

addTranslationAttr src cfg adds a translation attribute to src with configuration cfg. See the attribute implementation for more details. It returns an array with names of translated declarations (usually 1, but more if there are nested to_additive calls).

def Mathlib.Tactic.Translate.addTranslationFor E1 #

Mathlib.Tactic.Translate.TranslateData →
  Lean.Name → Lean.Term → List ℕ → Option Mathlib.Tactic.Translate.RelevantArg → Lean.Elab.TermElabM Unit

Given a constant src, add a translation for it, given by expression tgt.

Deprecated aliases

NameNew nameSince
Mathlib.Tactic.Translate.linter.translateExistingMathlib.Tactic.Translate.linter.translate.existing2026-10-12
Mathlib.Tactic.Translate.linter.translateGenerateNameMathlib.Tactic.Translate.linter.translate.generateName2026-10-12
Mathlib.Tactic.Translate.linter.translateOverwriteMathlib.Tactic.Translate.linter.translate.overwrite2026-10-12
Mathlib.Tactic.Translate.linter.translateRedundantMathlib.Tactic.Translate.linter.translate.redundant2026-10-12
Mathlib.Tactic.Translate.linter.translateRelevantArgMathlib.Tactic.Translate.linter.translate.relevantArg2026-10-12
Mathlib.Tactic.Translate.linter.translateReorderMathlib.Tactic.Translate.linter.translate.reorder2026-10-12