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

SRI-CSL / yices2
69%

Build:
DEFAULT BRANCH: master
Repo Added 23 May 2017 01:52AM UTC
Files 486
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 2.6.5
  • 2.7.0
  • 2019-08-19
  • 2019-08-19-mcsat-bv
  • 2020-02-18
  • 2020-08-19
  • 2021-02-19
  • 393-api-could-yices_assert_blocking_clause-return-the-clause
  • 486-assertion-failure-in-srcmcsatvaluec-could-be-a-duplicate-of-451
  • L2O_submission_merge
  • Mrmaxmeier-smtlib-model-syntax
  • Yices-2.5.3
  • Yices-2.5.4
  • Yices-2.6.0
  • Yices-2.6.1
  • Yices-2.6.2
  • ahmed-irfan-debian
  • ahmed-irfan-patch-1
  • api-model-function-values
  • api-test-eager-fail
  • array-tests
  • bool-bump-factor
  • bool-scaling-20
  • bugfix/608
  • bugfix/issue-366
  • bugfix/issue-406
  • bvlra
  • case-eval2
  • cdclt-plugin
  • change_no_error
  • ci-make-test
  • codex/fw-egraph-satellite
  • context_delegates
  • cp-commit-02b6501
  • cross-compile
  • darpa-2019-02-19
  • definition_clauses
  • feature/wide-model-projection
  • ff-api-extension
  • fix-api-test
  • fix-array-model-print-smt2
  • fix-check-api-warning
  • fix-compilation-warnings
  • fix-interpolant-with-empty-model
  • fix-iss-392
  • fix-iss-414
  • fix-iss-433
  • fix-iss-626-mcsat-ceil
  • fix-issue-432
  • fix-issue-534
  • fix-issue-615-interpolation-crash
  • fix-issue-616-cnf-gc-mark-static
  • fix-logic-order
  • fix-mcsat-nira-eq-preprocessing
  • fix-mcsat-param-api
  • fix-portfolio-solver
  • fix-some-printing
  • fix-strerror-mingw
  • fix-timeout-mingw
  • fix-unit-tests
  • fix/iss552-root-pair-metadata
  • fix/issue-536-bool-plugin-eval
  • fix/smt2-array-model-format
  • fix/threadsafe-disable-mcsat-cdclt-checks
  • fix_array_solver_hash
  • fix_binary_search
  • fix_crashes
  • fix_return
  • hint-real-decisions
  • improve-ci-cache
  • incr-cadical
  • iss396-test
  • iss440-fix
  • iss547
  • issue-613-mcsat-curried-function-model
  • issue517
  • kissat_delegate
  • master
  • mcsat-api-var-order
  • mcsat-array-comb
  • mcsat-array-distinct
  • mcsat-array-finite
  • mcsat-array-improved-call
  • mcsat-array-learn
  • mcsat-array-patch-1
  • mcsat-array-simplify-var-bump
  • mcsat-array-sort-heuristic
  • mcsat-arrays-2
  • mcsat-arrays-fix
  • mcsat-arrays-fixes
  • mcsat-assumptions
  • mcsat-bv
  • mcsat-bv-array-purify
  • mcsat-bv-refactorbdds
  • mcsat-bv-smtcomp-2019
  • mcsat-check-model-with-hint
  • mcsat-eval-2
  • mcsat-filter-binary-clauses
  • mcsat-glue-reduce
  • mcsat-imp-clause-db
  • mcsat-imp-reducedb
  • mcsat-incremental
  • mcsat-int-hint-2
  • mcsat-interpolation
  • mcsat-keep-binary-clauses
  • mcsat-learn
  • mcsat-lemma-limit-update
  • mcsat-model-hint
  • mcsat-model-hint-registration-queue-fix
  • mcsat-new-reduce
  • mcsat-nra
  • mcsat-nra-intervals
  • mcsat-part-restart
  • mcsat-recache
  • mcsat-set-initial-var-order-api
  • mcsat-supplement-cdclt
  • mcsat-target
  • mcsat-target-best
  • mcsat-test-option-update
  • mcsat-trail-update-extra-cache-elements
  • mcsat-tuples-support
  • mcsat-ufnra-model-fix
  • mcsat-unsat-core
  • mcsat-update-heuristic
  • mcsat-update-reduce
  • mcsat_uf_model_fix
  • mingw-special
  • mt-master
  • new-bv
  • nra-cached-must-decide
  • nra-hints-patch
  • nra-learn-hint-next-decision
  • nra-to-na
  • nsat-target
  • patch-iss-418-prerelease
  • qf-eq-bv-arith
  • rand-cmd
  • reduce-cdclt
  • refs/heads/mcsat_uf_model_fix
  • refs/tags/Yices-2.6.5
  • reintroduce-interval-approx-nra
  • rename-smt-status-enum
  • rename-yices-status-enum
  • rm-scratch-compilation
  • simpler-unsat-cores
  • simplify-mcsat-randomness-setting
  • size_t
  • smt2-algebraic-model-format
  • smt2-output
  • smt2-set-option-timeout
  • smtcomp-2017
  • smtcomp2020
  • smtcomp2021
  • smtcomp2024
  • smtcomp2025
  • smtlib-model-syntax
  • test-451
  • test-initial-order
  • test-var-order
  • tmp_good
  • type-macros-api
  • types-macros-doc
  • unique-fun-decision
  • untagged-ccae5cc58023f61e3a62
  • update-actions-checkout-4
  • update-ci
  • update-ci-check-api
  • update-cov
  • update-html-doc
  • update-set-var-oder-api
  • update-weq-term-rep
  • update-win-ci-thread-safety
  • v
  • valgrind-regress
  • weq-fix-todo
  • win-ci
  • win-ci-2
  • y2sat-multicheck-fix
  • yices.py
  • yices2-mcsat-portfolio-py

28 May 2026 12:10AM UTC coverage: 68.793% (+0.007%) from 68.786%
26546352364

push

github

web-flow
smt2 array model display format (#633)

* smt2: emit Array-declared constants as SMT-LIB store/const in models

Symbols declared via the SMT-LIB Array sort are currently rendered in
(get-model) as

  (define-fun a ((x!0 K)) V (ite ...))

which has the wrong arity and signature: the user wrote
(declare-fun a () (Array K V)), so the model must read

  (define-fun a () (Array K V) (store ... ((as const (Array K V)) d) ...))

This is required by the SMT-COMP 2026 Model Validation Track.

Root cause: once interned, Yices' type system represents both
(declare-fun a () (Array K V)) and (declare-fun f (K) V) as an
UNINTERPRETED_TERM of internal function type (-> K V), so the SMT-LIB
sort information is gone by the time print_smt2_model runs. The fix
records the missing bit ("this name was declared as an Array
constant") in the SMT2 frontend at parse time and consults it in the
model printer.

Implementation, scoped to src/frontend/smt2/:

* smt2_globals_t gains an int_hmap_t array_const_terms mapping term ids
  declared via 0-arity Array sort to a non-zero marker. It is populated
  in smt2_declare_fun whenever the declaration is 0-arity and the
  resulting type is a unary function type (which under SMT-LIB syntax
  can only originate from the Array sort, directly or via define-sort).
  declare-const is automatically covered: the parser reduces it to
  SMT2_DECLARE_FUN.

* The map is kept consistent across (push)/(pop) via a hook in
  smt2_pop_term_names that erases markers for popped term ids before
  the names are removed. (reset-assertions) clears the map alongside
  yices_reset_tables() when global_decls is off (term ids get
  recycled); with global_decls the map is preserved. (reset) is
  covered automatically because smt2_reset_all already destroys and
  re-inits all globals.

* smt2_pp_def gains a bool array_const parameter. When set, the printer
  emits the 0-arity (define-fun name () tau ...) form regardless of
  the value's internal representation, d... (continued)

21 of 21 new or added lines in 2 files covered. (100.0%)

87488 of 127176 relevant lines covered (68.79%)

1621496.52 hits per line

Relevant lines Covered
Build:
Build:
127176 RELEVANT LINES 87488 COVERED LINES
1621496.52 HITS PER LINE
Source Files on master
  • Tree
  • List 486
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26546352364 master smt2 array model display format (#633) * smt2: emit Array-declared constants as SMT-LIB store/const in models Symbols declared via the SMT-LIB Array sort are currently rendered in (get-model) as (define-fun a ((x!0 K)) V (ite ...)) which has... push 28 May 2026 12:20AM UTC web-flow github
68.79
26491292477 fix/smt2-array-model-format tests: update array model gold files Commit supported by Codex/GPT5.5. Pull #633 27 May 2026 04:54AM UTC disteph github
68.79
26473630241 feature/wide-model-projection Wide projection: address second review pass Two cleanup items raised by review: 1. tests/api/test_generalize_model.c: remove the unused helper run_both_modes_quiet. It was a leftover from an earlier iteration that printed less per-test det... Pull #630 26 May 2026 09:08PM UTC disteph github
68.99
26473629702 feature/wide-model-projection Merge 8b09c89fe into 2137d2aaf Pull #630 26 May 2026 09:04PM UTC web-flow github
68.99
26471293823 feature/wide-model-projection Wide projection: skip-and-continue on projection error; document model pruning Two changes prompted by review: 1. Per-cube projection errors no longer break the SAT-guided loop. project_one_cube_into can fail on cubes whose literals contain ... push 26 May 2026 08:11PM UTC disteph github
69.0
26471292351 feature/wide-model-projection Merge 4292db101 into 2137d2aaf Pull #630 26 May 2026 08:09PM UTC web-flow github
69.0
26470694967 feature/wide-model-projection Merge 3fb2be356 into 2137d2aaf Pull #630 26 May 2026 07:57PM UTC web-flow github
69.0
26470694687 feature/wide-model-projection Wide model projection: assert on bug paths, expose cube_budget, drop overclaim Four small changes prompted by review of the SAT-guided enumerator: 1. Assert on SAT-engine bugs. nsat_solve is documented to return only STAT_SAT or STAT_UNSAT (s... Pull #630 26 May 2026 07:46PM UTC disteph github
69.0
26469917215 feature/wide-model-projection Remove the eager Cartesian wide projection path gen_model_by_proj_sat_guided semantically subsumes gen_model_by_proj_wide: every joint cube the syntactic walker would emit is also an implicant of the polarity-aware Boolean abstraction the SAT-gui... Pull #630 26 May 2026 07:30PM UTC disteph github
69.0
26468262109 feature/wide-model-projection Add SAT-guided wide model projection; commit supported by Codex/GPT5.5 Pull #630 26 May 2026 06:58PM UTC disteph github
68.89
See All Builds (2002)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc