Documentation

Lean.Compiler.Old

Helper functions for creating auxiliary names used in (old) compiler passes.

Equations
    Instances For

      Return the name of new definitions in the a given declaration. Here we consider only declarations we generate code for. We use this definition to implement add_and_compile.

      Equations
        Instances For
          Equations
            Instances For

              We generate auxiliary unsafe definitions for regular recursive definitions. The auxiliary unsafe definition has a clear runtime cost execution model. This function returns the auxiliary unsafe definition name for the given name.

              Equations
                Instances For

                  Return some _ if the given name was created using mkUnsafeRecName

                  Equations
                    Instances For