mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
details
This commit is contained in:
parent
46b13d08d0
commit
f9f471ce12
1 changed files with 2 additions and 3 deletions
|
|
@ -321,12 +321,12 @@ module Make(A : ARG) : S with module A = A = struct
|
||||||
let (module Act) = acts in
|
let (module Act) = acts in
|
||||||
|
|
||||||
let u =
|
let u =
|
||||||
let args =
|
let sel_args =
|
||||||
A.Cstor.ty_args cstor
|
A.Cstor.ty_args cstor
|
||||||
|> Iter.mapi (fun i ty -> A.mk_sel self.tst cstor i t)
|
|> Iter.mapi (fun i ty -> A.mk_sel self.tst cstor i t)
|
||||||
|> Iter.to_array |> IArray.of_array_unsafe
|
|> Iter.to_array |> IArray.of_array_unsafe
|
||||||
in
|
in
|
||||||
A.mk_cstor self.tst cstor args
|
A.mk_cstor self.tst cstor sel_args
|
||||||
in
|
in
|
||||||
|
|
||||||
(* proof: resolve [is-c(t) |- t = c(sel-c-0(t), …, sel-c-n(t))]
|
(* proof: resolve [is-c(t) |- t = c(sel-c-0(t), …, sel-c-n(t))]
|
||||||
|
|
@ -346,7 +346,6 @@ module Make(A : ARG) : S with module A = A = struct
|
||||||
T.Tbl.add self.case_split_done t (); (* no need to decide *)
|
T.Tbl.add self.case_split_done t (); (* no need to decide *)
|
||||||
|
|
||||||
Act.add_clause [Act.mk_lit_nopreproc (A.mk_eq self.tst t u)] proof;
|
Act.add_clause [Act.mk_lit_nopreproc (A.mk_eq self.tst t u)] proof;
|
||||||
|
|
||||||
None
|
None
|
||||||
|
|
||||||
| _ -> None
|
| _ -> None
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue