diff options
author | ckeller <ckeller@users.noreply.github.com> | 2022-02-15 18:27:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-15 18:27:33 +0100 |
commit | c163813243e1b38b7d8c10b49d78a728d747e0e5 (patch) | |
tree | 7d2d936fc170ad9215aaac2822aa896957456f71 /src/trace/smtForm.ml | |
parent | 1860a878ad5af74f5e2d2142c35b1e2d7c43aad3 (diff) | |
download | smtcoq-c163813243e1b38b7d8c10b49d78a728d747e0e5.tar.gz smtcoq-c163813243e1b38b7d8c10b49d78a728d747e0e5.zip |
Use the Register mechanism (#104)
Diffstat (limited to 'src/trace/smtForm.ml')
-rw-r--r-- | src/trace/smtForm.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trace/smtForm.ml b/src/trace/smtForm.ml index 0a7d859..0a5f693 100644 --- a/src/trace/smtForm.ml +++ b/src/trace/smtForm.ml @@ -546,7 +546,7 @@ module Make (Atom:ATOM) = let args_to_coq args = let cargs = Array.make (Array.length args + 1) (mkInt 0) in Array.iteri (fun i hf -> cargs.(i) <- to_coq hf) args; - CoqInterface.mkArray (Lazy.force cint, cargs) + CoqTerms.mkArray (Lazy.force cint, cargs) let pf_to_coq = function | Fatom a -> mklApp cFatom [|mkInt (Atom.index a)|] @@ -586,7 +586,7 @@ module Make (Atom:ATOM) = let interp_tbl reify = let (i,t) = to_array reify (Lazy.force cFtrue) pf_to_coq in - (mkInt i, CoqInterface.mkArray (Lazy.force cform, t)) + (mkInt i, CoqTerms.mkArray (Lazy.force cform, t)) let nvars reify = reify.count (* Producing a Coq term corresponding to the interpretation of a formula *) |