diff options
| author | Enrico Tassi | 2014-02-24 20:46:32 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2014-02-26 14:53:08 +0100 |
| commit | 15b6c9b6fa268a9af6dd4f05961e469545e92a6f (patch) | |
| tree | 2e5aacf72993b448d1e80b0cbfbf0a09091ecb32 /toplevel/stm.ml | |
| parent | e6556db92d4c4fe9ba38f26b89f805095d2b2638 (diff) | |
Lazyconstr -> Opaqueproof
Make this module deal only with opaque proofs.
Make discharging/substitution invariant more explicit via a third constructor.
Diffstat (limited to 'toplevel/stm.ml')
| -rw-r--r-- | toplevel/stm.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/toplevel/stm.ml b/toplevel/stm.ml index 9b07b4fcd2..9a86d7ea0e 100644 --- a/toplevel/stm.ml +++ b/toplevel/stm.ml @@ -830,7 +830,7 @@ end = struct (* {{{ *) List.iter (fun (_,se) -> Declareops.iter_side_effects (function | Declarations.SEsubproof(_, { Declarations.const_body = Declarations.OpaqueDef f } ) -> - Lazyconstr.join_lazy_constr f + Opaqueproof.join_opaque f | _ -> ()) se) l; l) in @@ -888,7 +888,8 @@ end = struct (* {{{ *) let c = Global.lookup_constant con in match c.Declarations.const_body with | Declarations.OpaqueDef lc -> - let pr, uc = Lazyconstr.get_opaque_futures lc in + let uc = Option.get (Opaqueproof.get_constraints lc) in + let pr = Opaqueproof.get_proof lc in let pr = Future.chain ~greedy:true ~pure:true pr discharge in let pr = Future.chain ~greedy:true ~pure:true pr Constr.hcons in ignore(Future.join pr); |
