Documentation

Lean.Compiler.LCNF.Irrelevant

We say a structure has a trivial structure if it has not builtin support in the runtime, it has only one constructor, and this constructor has only one relevant field.

Instances For

    Return some fieldIdx if declName is the name of an inductive datatype s.t.

    • It does not have builtin support in the runtime.
    • It has only one constructor.
    • This constructor has only one computationally relevant field.
    Equations
      Instances For