@@ -13,7 +13,7 @@ rule Expand_typ/plain:
1313
1414rule Expand_typ/def:
1515 S |- t ~~ dt
16- -- Reduce_typ: S |- t ~>* MATCH x WITH (INST `{} `= dt) inst*
16+ -- Reduce_typ: S |- t ~>* MATCH x WITH (INST `{} `=> dt) inst*
1717
1818
1919rule Eq_typ:
@@ -51,17 +51,17 @@ rule Step_typ/MATCH-ctx2:
5151 -- Step_inst: S |- inst*[n] ~> inst'_n
5252
5353rule Step_typ/MATCH-alias:
54- S |- MATCH x eps WITH (INST `{} eps `= ALIAS t) inst* ~> t
54+ S |- MATCH x eps WITH (INST `{} eps `=> ALIAS t) inst* ~> t
5555
5656rule Step_typ/MATCH-match:
57- S |- MATCH x a* WITH (INST `{q*} a'* `= dt) inst* ~>
57+ S |- MATCH x a* WITH (INST `{q*} a'* `=> dt) inst* ~>
5858 MATCH x a''* WITH
59- (INST `{q'*} a'''* `= $subst_deftyp(s, dt))
60- (INST `{} a''* `= ALIAS (MATCH x a* WITH inst*))
59+ (INST `{q'*} a'''* `=> $subst_deftyp(s, dt))
60+ (INST `{} a''* `=> ALIAS (MATCH x a* WITH inst*))
6161 -- Step_argmatch: S |- `{q*} (a / a')* ~>_s `{q'*} (a'' / a''')*
6262
6363rule Step_typ/MATCH-match-fail:
64- S |- MATCH x a* WITH (INST `{q*} a'* `= dt) inst* ~>
64+ S |- MATCH x a* WITH (INST `{q*} a'* `=> dt) inst* ~>
6565 MATCH x a* WITH inst*
6666 -- Step_argmatch: S |- `{q*} (a / a')* ~>_s `{} FAIL
6767
@@ -420,15 +420,15 @@ rule Step_exp/SUB-LIST:
420420
421421rule Step_exp/SUB-STR:
422422 S |- SUB (STR (at `= e)*) t_1 t_2 ~> STR (at' `= SUB e t'_1 t'_2)*
423- -- if t_1 = MATCH x_1 WITH (INST `{} `= STRUCT tf_1*)
424- -- if t_2 = MATCH x_2 WITH (INST `{} `= STRUCT tf_2*)
423+ -- if t_1 = MATCH x_1 WITH (INST `{} `=> STRUCT tf_1*)
424+ -- if t_2 = MATCH x_2 WITH (INST `{} `=> STRUCT tf_2*)
425425 -- (if (at' `: t'_1 `- `{q_1*} pr_1*) <- tf_1*)*
426426 -- (if (at' `: t'_2 `- `{q_2*} pr_2*) = tf_2)*
427427
428428rule Step_exp/SUB-CASE:
429429 S |- SUB (INJ op e) t_1 t_2 ~> INJ op (SUB e t'_1 t'_2)
430- -- if t_1 = MATCH x_1 WITH (INST `{} `= VARIANT tc_1*)
431- -- if t_2 = MATCH x_2 WITH (INST `{} `= VARIANT tc_2*)
430+ -- if t_1 = MATCH x_1 WITH (INST `{} `=> VARIANT tc_1*)
431+ -- if t_2 = MATCH x_2 WITH (INST `{} `=> VARIANT tc_2*)
432432 -- if (op `: t'_1 `- `{q_1*} pr_1*) <- tc_1*
433433 -- if (op `: t'_2 `- `{q_2*} pr_2*) <- tc_2*
434434
@@ -442,28 +442,28 @@ rule Step_exp/MATCH-ctx2:
442442 -- Step_clause: S |- clause*[n] ~> clause'_n
443443
444444rule Step_exp/MATCH-match:
445- S |- MATCH a* WITH (CLAUSE `{q*} a'* `= e `- pr*) clause* ~>
445+ S |- MATCH a* WITH (CLAUSE `{q*} a'* `=> e `- pr*) clause* ~>
446446 MATCH a''* WITH
447- (CLAUSE `{q'*} a'''* `= $subst_exp(s, e) `- $subst_prem(s, pr)*)
448- (CLAUSE `{} a''* `= (MATCH a* WITH clause*) `- eps)
447+ (CLAUSE `{q'*} a'''* `=> $subst_exp(s, e) `- $subst_prem(s, pr)*)
448+ (CLAUSE `{} a''* `=> (MATCH a* WITH clause*) `- eps)
449449 -- Step_argmatch: S |- `{q*} (a / a')* ~>_s `{q'*} (a'' / a''')*
450450
451451rule Step_exp/MATCH-match-fail:
452- S |- MATCH a* WITH (CLAUSE `{q*} a'* `= e `- pr*) clause* ~>
452+ S |- MATCH a* WITH (CLAUSE `{q*} a'* `=> e `- pr*) clause* ~>
453453 MATCH a''* WITH clause*
454454 -- Step_argmatch: S |- `{q*} (a / a')* ~>_s `{} FAIL
455455
456456rule Step_exp/MATCH-guess:
457- S |- MATCH a* WITH (CLAUSE `{q*} a'* `= e `- pr*) clause* ~>
458- MATCH a* WITH (CLAUSE `{} $subst_arg(s, a')* `= e `- pr*) clause*
457+ S |- MATCH a* WITH (CLAUSE `{q*} a'* `=> e `- pr*) clause* ~>
458+ MATCH a* WITH (CLAUSE `{} $subst_arg(s, a')* `=> e `- pr*) clause*
459459 -- Ok_subst: $storeenv(S) |- s : q*
460460 ;; Note: non-computational rule
461461
462462rule Step_exp/MATCH-true:
463- S |- MATCH eps WITH (CLAUSE `{} eps `= e `- eps) clause* ~> e
463+ S |- MATCH eps WITH (CLAUSE `{} eps `=> e `- eps) clause* ~> e
464464
465465rule Step_exp/MATCH-false:
466- S |- MATCH eps WITH (CLAUSE `{} eps `= e `- (IF (BOOL false)) pr*) clause* ~>
466+ S |- MATCH eps WITH (CLAUSE `{} eps `=> e `- (IF (BOOL false)) pr*) clause* ~>
467467 MATCH eps WITH clause*
468468
469469
@@ -730,20 +730,20 @@ relation Step_inst: S |- inst ~> inst
730730relation Step_clause: S |- clause ~> clause
731731
732732rule Step_inst/INST-ctx:
733- S |- INST `{q*} a* `= t ~> INST `{q*} a*[[n] = a'_n] `= t
733+ S |- INST `{q*} a* `=> t ~> INST `{q*} a*[[n] = a'_n] `=> t
734734 -- Step_arg: S |- a*[n] ~> a'_n
735735
736736
737737rule Step_clause/CLAUSE-ctx1:
738- S |- CLAUSE `{q*} a* `= e `- pr* ~> CLAUSE `{q*} a*[[n] = a'_n] `= e `- pr*
738+ S |- CLAUSE `{q*} a* `=> e `- pr* ~> CLAUSE `{q*} a*[[n] = a'_n] `=> e `- pr*
739739 -- Step_arg: S |- a*[n] ~> a'_n
740740
741741rule Step_clause/CLAUSE-ctx2:
742- S |- CLAUSE `{q*} a* `= e `- pr* ~> CLAUSE `{q*} a* `= e' `- pr*
742+ S |- CLAUSE `{q*} a* `=> e `- pr* ~> CLAUSE `{q*} a* `=> e' `- pr*
743743 -- Step_exp: S |- e ~> e'
744744
745745rule Step_clause/CLAUSE-ctx3:
746- S |- CLAUSE `{q*} a* `= e `- pr* ~> CLAUSE `{q*} a* `= e `- pr'*
746+ S |- CLAUSE `{q*} a* `=> e `- pr* ~> CLAUSE `{q*} a* `=> e `- pr'*
747747 -- Step_prems: S |- pr* ~> pr'*
748748
749749
0 commit comments