Equations
Instances For
def
Lean.Meta.Grind.Arith.Cutsat.DiseqCnstr.applyEq
(a : Int)
(x : Var)
(c₁ : EqCnstr)
(b : Int)
(c₂ : DiseqCnstr)
:
Given an equation c₁ containing the monomial a*x, and a disequality constraint c₂
containing the monomial b*x, eliminate x by applying substitution.
Equations
Instances For
Equations
Instances For
@[export lean_grind_cutsat_assert_eq]
Equations
Instances For
@[export lean_process_cutsat_eq]
Equations
Instances For
@[export lean_process_cutsat_diseq]
Equations
Instances For
Internalizes an integer (and Nat) expression. Here are the different cases that are handled.
a + bwhenparent?is not+,≤, or∣k * awhenkis a numeral andparent?is not+,*,≤,∣- numerals when
parent?is not+,*,≤,∣. Recall that we must internalize numerals to make sure we can propagate equalities back to the congruence closure module. Example: we havef 5,f x,x - y = 3,y = 2.