@@ -1340,16 +1340,9 @@ struct
1340
1340
1341
1341
(*
1342
1342
* Parent declaration.
1343
- * XXX HACK: The "if" is here because parent terms used to have 3 subterms in old files
1344
- * (ASCII IO format <= 1.0.8)
1345
1343
*)
1346
1344
let dest_parent convert t =
1347
- let path, resources =
1348
- if is_dep0_dep0_term parent_op t then
1349
- two_subterms t
1350
- else
1351
- let p, _, r = three_subterms t
1352
- in p, r
1345
+ let path, resources = two_subterms t
1353
1346
in
1354
1347
Parent { parent_name = dest_string_param_list path;
1355
1348
parent_resources = List. map (dest_resource_sig convert) (dest_xlist resources)
@@ -2040,7 +2033,7 @@ struct
2040
2033
implem_error loc (sprintf " Cond_rewrite %s: param list mismatch" name)
2041
2034
else if not (List. length args = List. length args' && List. for_all2 alpha_equal args' args) then
2042
2035
implem_error loc (sprintf " Cond_rewrite %s: arg lists mismatch" name)
2043
- else if not (alpha_equal redex' redex & alpha_equal contractum contractum') then
2036
+ else if not (alpha_equal redex' redex && alpha_equal contractum contractum') then
2044
2037
implem_error loc (sprintf " Cond_rewrite %s: specification mismatch" name)
2045
2038
else
2046
2039
()
@@ -2505,7 +2498,7 @@ struct
2505
2498
rw_proof = proof ;
2506
2499
_
2507
2500
} , _ ) ->
2508
- if not (alpha_equal rw.rw_redex redex & alpha_equal rw.rw_contractum contractum) then
2501
+ if not (alpha_equal rw.rw_redex redex && alpha_equal rw.rw_contractum contractum) then
2509
2502
eprintf " Copy_proof: warning: rewrite %s%s%t" rw.rw_name changed_warning eflush;
2510
2503
{ rw with rw_proof = copy_proof rw.rw_proof proof }
2511
2504
| Some (Rule { rule_proof = proof; _ }, _)
@@ -2529,8 +2522,8 @@ struct
2529
2522
_
2530
2523
} , _ ) ->
2531
2524
if not (alpha_equal crw.crw_redex redex)
2532
- or not (alpha_equal crw.crw_contractum contractum)
2533
- or not (Lm_list_util. for_all2 alpha_equal crw.crw_assums assums)
2525
+ || not (alpha_equal crw.crw_contractum contractum)
2526
+ || not (Lm_list_util. for_all2 alpha_equal crw.crw_assums assums)
2534
2527
then
2535
2528
eprintf " Copy_proof: warning: cond_rewrite %s%s%t" crw.crw_name changed_warning eflush;
2536
2529
{ crw with crw_proof = copy_proof crw.crw_proof proof }
0 commit comments