Documentation

Batteries.Util.Eval

unsafe def Lean.Meta.evalExprWithSorryCheck (α : Type) (type value : Expr) (safety : DefinitionSafety := DefinitionSafety.safe) (checkMeta : Bool := true) (allowSorry : Bool := false) (alternative? : Option String := none) :

An alternative of evalExpr that also errors in the presence of sorry unless allowSorry is true. If there is an alternative command that does allow sorrys, you can specify it in alternative?.

Equations
  • One or more equations did not get rendered due to their size.
Instances For