diff options
author | Chantal Keller <Chantal.Keller@lri.fr> | 2016-03-18 18:01:20 +0100 |
---|---|---|
committer | Chantal Keller <Chantal.Keller@lri.fr> | 2016-03-18 18:01:20 +0100 |
commit | bfce2747a747f48465fe32c3d29304ca6e774f25 (patch) | |
tree | 6baf459718c380e90b76b5938e625ca0272a58e4 /src/zchaff/zchaff.ml | |
parent | 23539f231727113d53e4fdeae531d048b21730ae (diff) | |
download | smtcoq-bfce2747a747f48465fe32c3d29304ca6e774f25.tar.gz smtcoq-bfce2747a747f48465fe32c3d29304ca6e774f25.zip |
Light port to Coq 8.5 under progress
Diffstat (limited to 'src/zchaff/zchaff.ml')
-rw-r--r-- | src/zchaff/zchaff.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zchaff/zchaff.ml b/src/zchaff/zchaff.ml index e843d1f..d0737eb 100644 --- a/src/zchaff/zchaff.ml +++ b/src/zchaff/zchaff.ml @@ -257,8 +257,8 @@ let checker fdimacs ftrace = mklApp cCertif [|mkInt (max_id + 1);tres;mkInt (get_pos confl)|] in let tm = mklApp cchecker [|d; certif|] in - let expr = Constrextern.extern_constr true Environ.empty_env tm in - Vernacentries.interp (Vernacexpr.VernacCheckMayEval (Some Structures.glob_term_CbvVm, None, expr)) + let expr = Structures.extern_constr tm in + Structures.vernacentries_interp expr @@ -473,7 +473,7 @@ let make_proof pform_tbl atom_tbl env reify_form l = | Fatom a -> let t = atom_tbl.(a) in let value = if ispos then " = true" else " = false" in - acc^" "^(Pp.string_of_ppcmds (Printer.pr_constr_env env t))^value + acc^" "^(Pp.string_of_ppcmds (Structures.pr_constr_env env t))^value | Fapp _ -> acc ) with | Invalid_argument _ -> acc (* Because cnf computation does not put the new formulas in the table... Perhaps it should? *) ) "zchaff found a counterexample:\n" model) |