Equations
- Lean.Expr.isSorry _fun_discr = match _fun_discr with | Lean.Expr.app (Lean.Expr.app (Lean.Expr.const `sorryAx us) arg) arg_1 => true | x => false
Equations
- Lean.Expr.isSyntheticSorry _fun_discr = match _fun_discr with | Lean.Expr.app (Lean.Expr.app (Lean.Expr.const `sorryAx us) arg) (Lean.Expr.const `Bool.true us_1) => true | x => false
Equations
- Lean.Expr.isNonSyntheticSorry _fun_discr = match _fun_discr with | Lean.Expr.app (Lean.Expr.app (Lean.Expr.const `sorryAx us) arg) (Lean.Expr.const `Bool.false us_1) => true | x => false
Equations
- Lean.Expr.hasSorry e = Option.isSome (Lean.Expr.find? (fun a => Lean.Expr.isConstOf a (Lean.Name.mkStr1 "sorryAx")) e)
Equations
- Lean.Expr.hasSyntheticSorry e = Option.isSome (Lean.Expr.find? (fun a => Lean.Expr.isSyntheticSorry a) e)
Equations
- Lean.Expr.hasNonSyntheticSorry e = Option.isSome (Lean.Expr.find? (fun a => Lean.Expr.isNonSyntheticSorry a) e)
Equations
- Lean.Exception.hasSyntheticSorry _fun_discr = match _fun_discr with | Lean.Exception.error ref msg => Lean.MessageData.hasSyntheticSorry msg | x => false
Equations
- Lean.Declaration.hasSorry d = Id.run (Lean.Declaration.foldExprM d (fun r e => r || Lean.Expr.hasSorry e) false)
Equations
- Lean.Declaration.hasNonSyntheticSorry d = Id.run (Lean.Declaration.foldExprM d (fun r e => r || Lean.Expr.hasNonSyntheticSorry e) false)