Equations
- Lean.Meta.Grind.Arith.Cutsat.mkLeCnstr p h = do let __do_lift ← Lean.Meta.Grind.Arith.Cutsat.mkCnstrId pure { p := p, h := h, id := __do_lift }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Meta.Grind.Arith.Cutsat.LeCnstr.applyEq
(a : Int)
(x : Var)
(c₁ : EqCnstr)
(b : Int)
(c₂ : LeCnstr)
:
Given an equation c₁
containing the monomial a*x
, and an inequality constraint c₂
containing the monomial b*x
, eliminate x
by applying substitution.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- (Int.Linear.Poly.num k₁).isNegEq (Int.Linear.Poly.num k₂) = (k₁ == -k₂)
- (Int.Linear.Poly.add a₁ x p₁_2).isNegEq (Int.Linear.Poly.add a₂ y p₂_2) = (a₁ == -a₂ && x == y && p₁_2.isNegEq p₂_2)
- p₁.isNegEq p₂ = false
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.