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) => Lean.Expr.isConstOf x `sorryAx) e)
Instances For
Equations
- Lean.Expr.hasSyntheticSorry e = Option.isSome (Lean.Expr.find? (fun (x : Lean.Expr) => Lean.Expr.isSyntheticSorry x) e)
Instances For
Equations
- Lean.Expr.hasNonSyntheticSorry e = Option.isSome (Lean.Expr.find? (fun (x : Lean.Expr) => Lean.Expr.isNonSyntheticSorry x) e)
Instances For
Equations
- Lean.Declaration.hasSorry d = Id.run (Lean.Declaration.foldExprM d (fun (r : Bool) (e : Lean.Expr) => r || Lean.Expr.hasSorry e) false)
Instances For
Equations
- Lean.Declaration.hasNonSyntheticSorry d = Id.run (Lean.Declaration.foldExprM d (fun (r : Bool) (e : Lean.Expr) => r || Lean.Expr.hasNonSyntheticSorry e) false)