Symbolic Computation

2025-03-28 | | Total: 2

#1 Cylindrical Algebraic Decomposition in \textit{Macaulay2} [PDF] [Copy] [Kimi] [REL]

Authors: Corin Lee, Tereso del Río, Hamid Rahkooy

\texttt{CylindricalAlgebraicDecomposition.m2} is the first implementation of Cylindrical Algebraic Decomposition (CAD) in \textit{Macaulay2}. CAD decomposes space into `cells' where input polynomials are sign-invariant. This package computes an Open CAD (full-dimensional cells only) for sets of real polynomials with rational coefficients, enabling users to solve existential problems involving strict inequalities. With the construction of a full CAD (cells of all dimensions), this tool could be extended to solve any real quantifier elimination problem. The current implementation employs the Lazard projection and introduces a new heuristic for choosing the variable ordering.

Subjects: Symbolic Computation , Algebraic Geometry

Publish: 2025-03-27 17:46:24 UTC


#2 An Algebraic Approach to Weighted Answer-set Programming [PDF] [Copy] [Kimi] [REL]

Authors: Francisco Coelho, Bruno Dinis, Dietmar Seipel, Salvador Abreu

Logic programs, more specifically, Answer-set programs, can be annotated with probabilities on facts to express uncertainty. We address the problem of propagating weight annotations on facts (eg probabilities) of an ASP to its standard models, and from there to events (defined as sets of atoms) in a dataset over the program's domain. We propose a novel approach which is algebraic in the sense that it relies on an equivalence relation over the set of events. Uncertainty is then described as polynomial expressions over variables. We propagate the weight function in the space of models and events, rather than doing so within the syntax of the program. As evidence that our approach is sound, we show that certain facts behave as expected. Our approach allows us to investigate weight annotated programs and to determine how suitable a given one is for modeling a given dataset containing events.

Subjects: Logic in Computer Science , Programming Languages , Symbolic Computation

Publish: 2025-03-26 16:21:34 UTC