diff options
Diffstat (limited to 'proofs/refiner.ml')
-rw-r--r-- | proofs/refiner.ml | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/proofs/refiner.ml b/proofs/refiner.ml index b094eea6b..eeccbd0e5 100644 --- a/proofs/refiner.ml +++ b/proofs/refiner.ml @@ -24,29 +24,11 @@ open Logic let sig_it x = x.it let project x = x.sigma - -let and_status = List.fold_left (+) 0 - (* Getting env *) let pf_env gls = Global.env_of_context (Goal.V82.hyps (project gls) (sig_it gls)) let pf_hyps gls = named_context_of_val (Goal.V82.hyps (project gls) (sig_it gls)) -(* [mapshape [ l1 ; ... ; lk ] [ v1 ; ... ; vk ] [ p_1 ; .... ; p_(l1+...+lk) ]] - gives - [ (v1 [p_1 ... p_l1]) ; (v2 [ p_(l1+1) ... p_(l1+l2) ]) ; ... ; - (vk [ p_(l1+...+l(k-1)+1) ... p_(l1+...lk) ]) ] - *) - -let rec mapshape nl (fl : (proof_tree list -> proof_tree) list) - (l : proof_tree list) = - match nl with - | [] -> [] - | h::t -> - let m,l = list_chop h l in - (List.hd fl m) :: (mapshape t (List.tl fl) l) - - let abstract_operation syntax semantics = semantics |