Equations
- Lean.Expr.isSorry x = match x with | Lean.Expr.app (Lean.Expr.app (Lean.Expr.const `sorryAx us) arg) arg_1 => true | x => false
Instances For
Equations
- Lean.Expr.isSyntheticSorry x = match x with | Lean.Expr.app (Lean.Expr.app (Lean.Expr.const `sorryAx us) arg) (Lean.Expr.const `Bool.true us_1) => true | x => false
Instances For
Equations
- Lean.Expr.isNonSyntheticSorry x = match x with | Lean.Expr.app (Lean.Expr.app (Lean.Expr.const `sorryAx us) arg) (Lean.Expr.const `Bool.false us_1) => true | x => false
Instances For
Equations
- Lean.Expr.hasSorry e = Option.isSome (Lean.Expr.find? (fun x => Lean.Expr.isConstOf x `sorryAx) e)
Instances For
Equations
- Lean.Expr.hasSyntheticSorry e = Option.isSome (Lean.Expr.find? (fun x => Lean.Expr.isSyntheticSorry x) e)
Instances For
Equations
- Lean.Expr.hasNonSyntheticSorry e = Option.isSome (Lean.Expr.find? (fun x => Lean.Expr.isNonSyntheticSorry x) e)
Instances For
Equations
- Lean.Declaration.hasSorry d = Id.run (Lean.Declaration.foldExprM d (fun r e => r || Lean.Expr.hasSorry e) false)
Instances For
Equations
- Lean.Declaration.hasNonSyntheticSorry d = Id.run (Lean.Declaration.foldExprM d (fun r e => r || Lean.Expr.hasNonSyntheticSorry e) false)