meta
本頁內容尚未翻譯。
data ExprFirst-order reflection of terms seen by tactic programs: de Bruijn variables (0 is the nearest binding), constants
and constructors by name (a constructor’s parameters are left out), and opaque for what the reflection cannot read.
Expr.applyBool
Section titled “Expr.applyBool”def applyBool (name : String) (operands : List Bool) : Option BoolA Boolean operator applied to the values of its operands: Bool.not to one, Bool.and and Bool.or to two.
Expr.boolValue
Section titled “Expr.boolValue”def boolValue (e : Expr) : Option BoolThe value of an expression built from true, false, not, and and or; nothing for anything else.
Expr.decideBool
Section titled “Expr.decideBool”def decideBool (goal : Expr) : Option ExprFor a goal lhs = rhs between Boolean expressions with the same value: the constant path to the right side.