Documentation

Lean.Util.Sorry

Returns true if the expression is an application of sorryAx.

Equations
  • e.isSorry = e.isAppOf `sorryAx
Instances For

    Returns true if the expression is of the form sorryAx _ true ...

    Equations
    • e.isSyntheticSorry = (e.isAppOf `sorryAx && decide (e.getAppNumArgs 2) && (e.getArg! 1).isConstOf `Bool.true)
    Instances For

      Returns true if the expression is of the form sorryAx _ false ...

      Equations
      • e.isNonSyntheticSorry = (e.isAppOf `sorryAx && decide (e.getAppNumArgs 2) && (e.getArg! 1).isConstOf `Bool.false)
      Instances For
        Equations
        Instances For
          Equations
          Instances For
            Equations
            Instances For
              Equations
              Instances For
                Equations
                • d.hasNonSyntheticSorry = (d.foldExprM (fun (r : Bool) (e : Lean.Expr) => r || e.hasNonSyntheticSorry) false).run
                Instances For