Documentation

Lean.Compiler.LCNF.Internalize

@[reducible, inline]
Equations
    Instances For

      The InternalizeM monad is a translator. It "translates" the free variables in the input expressions and Code, into new fresh free variables in the local context.

      Equations

        Refresh free variables ids in code, and store their declarations in the local context.

        Equations
          Instances For
            Equations
              Instances For

                Create a fresh local context and internalize the given decls.

                Equations
                  Instances For
                    Equations
                      Instances For