Documentation

Lean.Compiler.LCNF.Visibility

Marks the given declaration as to be exported and recursively infers the correct visibility of its body and referenced declarations based on that.

Checks whether references in the given declaration adhere to phase distinction.

Equations
    Instances For

      Checks that imports necessary for inlining/specialization are public as otherwise we may run into unknown declarations at the point of inlining/specializing. This is a limitation that we want to lift in the future by moving main compilation into a different process that can use a different import/incremental system.

      Equations
        Instances For
          Equations
            Instances For