Documentation

Mathlib.Lean.Name

Additional functions on Lean.Name. #

We provide allNames and allNamesByModule.

Retrieve all names in the environment satisfying a predicate.

Equations
    Instances For

      Retrieve all names in the environment satisfying a predicate, gathered together into a HashMap according to the module they are defined in.

      Equations
        Instances For

          Decapitalize the last component of a name.

          Equations
            Instances For

              Whether the lemma has a name of the form produced by Lean.Meta.mkAuxLemma.

              Equations
                Instances For

                  Unfold all lemmas created by Lean.Meta.mkAuxLemma. The names of these lemmas end in _auxLemma.nn where nn is a number.

                  Equations
                    Instances For