Documentation

Lean.ReducibilityAttrs

Reducibility status for a definition.

Instances For

    Environment extension for storing the reducibility attribute for definitions.

    def Lean.getReducibilityStatus {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] (declName : Lean.Name) :

    Return the reducibility attribute for the given declaration.

    Equations
    def Lean.setReducibilityStatus {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] (declName : Lean.Name) (s : Lean.ReducibilityStatus) :

    Set the reducibility attribute for the given declaration.

    Equations
    def Lean.setReducibleAttribute {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] (declName : Lean.Name) :

    Set the given declaration as [reducible]

    Equations
    def Lean.isReducible {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] (declName : Lean.Name) :

    Return true if the given declaration has been marked as [reducible].

    Equations
    def Lean.isIrreducible {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] (declName : Lean.Name) :

    Return true if the given declaration has been marked as [irreducible]

    Equations