mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 11:15:43 -05:00
basic renaming
This commit is contained in:
parent
3aadb055b6
commit
7bf6b18bc0
1 changed files with 4 additions and 4 deletions
|
|
@ -153,11 +153,11 @@ module Make(A : ARG) : S with module A = A = struct
|
|||
| B_bool true -> Some b
|
||||
| B_bool false -> Some c
|
||||
| _ ->
|
||||
let t_a = fresh_term self ~for_:t ~pre:"ite" (T.ty b) in
|
||||
let t_ite = fresh_term self ~for_:t ~pre:"ite" (T.ty b) in
|
||||
let lit_a = mk_lit a in
|
||||
add_clause [Lit.neg lit_a; mk_lit (eq self.tst t_a b)];
|
||||
add_clause [lit_a; mk_lit (eq self.tst t_a c)];
|
||||
Some t_a
|
||||
add_clause [Lit.neg lit_a; mk_lit (eq self.tst t_ite b)];
|
||||
add_clause [lit_a; mk_lit (eq self.tst t_ite c)];
|
||||
Some t_ite
|
||||
end
|
||||
| _ -> None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue