Documentation

Lean.ReducibilityAttrs

Reducibility status for a definition.

Instances For
    Equations
    Instances For
      @[export lean_get_reducibility_status]
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Return the reducibility attribute for the given declaration.

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

          Set the reducibility attribute for the given declaration.

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

            Set the given declaration as [reducible]

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

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

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

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

                Equations
                Instances For
                  def Lean.setIrreducibleAttribute {m : TypeType} [MonadEnv m] (declName : Name) :

                  Set the given declaration as [irreducible]

                  Equations
                  Instances For