Documentation

Lean.Meta.Tactic.LinearArith.Solver

Equations
@[reducible, inline]
Equations
  • a.size = a.val.size
@[reducible, inline]
Equations
  • a.get? x = if h : x.id < a.size then some a.val[x.id] else none
@[reducible, inline]
Equations
  • a.push v = { val := a.val.push v }
@[reducible, inline]
Equations
  • a.take newSize = { val := a.val.take newSize }
@[reducible, inline]
Equations
  • e.size = e.val.size
@[reducible, inline]
Equations
  • e.getMaxVarCoeff = e.val.back!.fst
@[reducible, inline]
Equations
  • e.getMaxVar = e.val.back!.snd
@[reducible, inline]
abbrev Lean.Meta.Linear.Poly.get (e : Poly) (i : Fin e.size) :
Equations
  • e.get i = e.val[i]
Equations
Equations
@[irreducible]
def Lean.Meta.Linear.Poly.add.go (e₁ e₂ : Poly) (i₁ i₂ : Nat) (r : Array (Int × Var)) :
Equations
  • One or more equations did not get rendered due to their size.
def Lean.Meta.Linear.Poly.combine (d₁ : Int) (e₁ : Poly) (d₂ : Int) (e₂ : Poly) :
Equations
@[irreducible]
def Lean.Meta.Linear.Poly.combine.go (d₁ : Int) (e₁ : Poly) (d₂ : Int) (e₂ : Poly) (i₁ i₂ : Nat) (r : Array (Int × Var)) :
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
@[reducible, inline]
Equations
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
@[reducible, inline]
Equations
  • s.getNumVars = s.lowers.size
@[reducible, inline]
Equations
  • s.currVar = s.assignment.size
@[reducible, inline]
Equations
@[reducible, inline]
Equations
@[reducible, inline]
Equations
  • s.assignCurr v = { lowers := s.lowers, uppers := s.uppers, int := s.int, assignment := s.assignment.push v }
def Lean.Meta.Linear.pickAssignment? (lower : Std.Internal.Rat) (lowerIsStrict : Bool) (upper : Std.Internal.Rat) (upperIsStrict : Bool) :
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations