Skip to content

Commit

Permalink
Add missing SMT handling for append (fbits, lbits) -> fbits
Browse files Browse the repository at this point in the history
  • Loading branch information
Timmmm authored and Alasdair committed Jan 7, 2025
1 parent 68d3839 commit fd10566
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/smt_gen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,10 @@ module Make (Config : CONFIG) (Primop_gen : PRIMOP_GEN) = struct
let* smt1 = smt_cval v1 in
let* smt2 = smt_cval v2 in
return (Extract (m - 1, 0, n + lbits_size, Fn ("concat", [Fn ("contents", [smt1]); smt2])))
| CT_fbits n, CT_lbits, CT_fbits m ->
let* smt1 = smt_cval v1 in
let* smt2 = smt_cval v2 in
return (Extract (m - 1, 0, n + lbits_size, Fn ("concat", [smt1; Fn ("contents", [smt2])])))
| CT_lbits, CT_fbits n, CT_lbits ->
let* smt1 = smt_cval v1 in
let* smt2 = smt_cval v2 in
Expand Down

0 comments on commit fd10566

Please sign in to comment.