Documentation

Lean.Meta.GetUnfoldableConst

Implements the TransparencyMode hierarchy for unfolding decisions. See TransparencyMode and ReducibilityStatus for the design rationale.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Alternative can-unfold predicate used inside whnfMatcher. See module comment above unfoldNestedDIte in Lean.Meta.WHNF.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Look up a constant name, returning the ConstantInfo if it is a def/theorem that should be unfolded at the current reducibility settings, or none otherwise.

        This is part of the implementation of whnf. External users wanting to look up names should be using Lean.getConstInfo.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          As with getUnfoldableConst? but return none instead of failing if the constant is not found.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For