• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SRI-CSL / yices2 / 44419218902
71%

Build:
DEFAULT BRANCH: master
Ran 18 Nov 2026 11:26PM UTC
Jobs 1
Files 499
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Nov 2026 11:15PM UTC coverage: 71.411% (+0.09%) from 71.322%
44419218902

push

github

web-flow
Use the solvers of the smallest sublogic in the SMT2 front end (#696)

* Use the solvers of the smallest sublogic in the SMT2 front end

A benchmark often declares a larger logic than it needs: QF_NIA files that
are linear, QF_UFBV files without uninterpreted functions, and so on. The
declared logic selects the architecture (MCSAT for QF_NIA, egraph + bit-vector
solver for QF_UFBV), so linear problems were solved by MCSAT and pure
bit-vector problems paid for the egraph.

In benchmark mode, scan the assertions at check-sat and, when they fit a
sublogic that needs a different architecture, use it. The declared logic is
kept when the user's options depend on it (--mcsat, unsat cores,
interpolation, SAT delegates, DIMACS export), when the problem has
non-linear arithmetic or constructs we don't analyze, and as a fallback
if asserting the formulas fails with the smaller logic.

Uninterpreted functions and arrays are one group: Yices terms do not
distinguish them and the declared logic decides how models print them, so
the group is kept as declared when the problem uses either and dropped
only when it uses neither. Theories that only occur in the domain or range
of a function or array sort (e.g. BitVec 1 -> BitVec 1) still count;
without the bit-vector solver such sorts became unbounded and distinct
arrays were wrongly satisfiable.

On tests/regress, 44 files switch with identical answers; one QF_NIRA file
goes from 7.9s to 0.02s.

* Test that arrays over Bool keep their cardinality in the array logics

* Move the QF_NIA sublogic tests to the MCSAT test directory

* Fix the copyright year in the new sublogic files

* Simplify the sublogic scan and skip it when it cannot help

The scan walked the whole term DAG even for non-linear problems, which keep
the declared logic anyway, and for single-theory logics (QF_UF, QF_BV,
linear arithmetic) that have no sublogic with a different architecture.
Stop at the first non-linear term and skip those logics.

Also sha... (continued)

215 of 239 new or added lines in 3 files covered. (89.96%)

19 existing lines in 3 files now uncovered.

96528 of 135172 relevant lines covered (71.41%)

1655541.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
91.39
src/frontend/smt2/smt2_sublogic.c
5
54.41
0.12% src/frontend/smt2/smt2_commands.c
1
67.5
6.39% src/api/smt_logic_codes.c

Coverage Regressions

Lines Coverage ∆ File
12
72.84
-1.79% src/mcsat/na/na_plugin_explain.c
5
80.11
-0.31% src/mcsat/preprocessor.c
2
80.53
-0.13% src/terms/term_utils.c
Jobs
ID Job ID Ran Files Coverage
1 44419218902.1 18 Nov 2026 11:26PM UTC 499
71.41
GitHub Action Run
Source Files on build 44419218902
  • Tree
  • List 499
  • Changed 11
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44419218902
  • 821be75e on github
  • Prev Build on master (#44197750411)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc