Interface: LinearAtom
@kortexya/reasoninglayer / LinearAtom
Interface: LinearAtom
Section titled “Interface: LinearAtom”Defined in: src/types/smt.ts:144
A linear arithmetic atom over the rationals.
Remarks
Section titled “Remarks”Shares the id space with the equality atoms: clauses and assertions refer
to it the same way. Its variables share names with constants.
Properties
Section titled “Properties”constraint
Section titled “constraint”constraint:
string
Defined in: src/types/smt.ts:152
lhs REL rhs with REL one of <=, >=, =, over rational
coefficients, e.g. x + 2*y <= 10 or 3/2*z - w >= 0. A negated atom is
its strict complement.
id:
number
Defined in: src/types/smt.ts:146
Client-chosen integer id, unique across equalities and linear atoms.