@[extern lean_cutsat_propagate_nonlinear]
@[extern lean_grind_cutsat_reactivate_var]
Reactivates the inactive variable x (see State.active).
@[export lean_grind_cutsat_mk_var]
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Meta.Grind.Arith.Cutsat.isInt e = do let __do_lift ← liftM (Lean.Meta.inferType e) liftM (Lean.Meta.isDefEq __do_lift (Lean.mkConst `Int))
Instances For
Equations
- Lean.Meta.Grind.Arith.Cutsat.isAdd e = do let __do_lift ← Lean.Meta.Grind.Arith.Cutsat.isAdd? e false pure __do_lift.isSome
Instances For
Equations
- Lean.Meta.Grind.Arith.Cutsat.isMul e = do let __do_lift ← Lean.Meta.Grind.Arith.Cutsat.isMul? e false pure __do_lift.isSome
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Returns the polynomial p of e if e is in the normal form produced by the grind preprocessor,
and none otherwise. The normal form is a left-nested sum of monomials k * a (k ∉ {0, 1}) or
a, followed by an optional nonzero numeral, where no atom a is decomposed by toLinearExpr.
For terms in this form, p.denote' is definitionally equal to e by unfolding.
Terms in dependent positions may not be in normal form because the preprocessor cannot rewrite
them. The caller must normalize them using toLinearExpr and Int.Internal.Linear.Expr.norm.
Equations
- One or more equations did not get rendered due to their size.