@@ -55,58 +55,58 @@ rule "exLeft";
5555macro "split-prop";
5656// the following equations are useful in many case.
5757rule seqNPermRange;
58- instantiate var=iv with=` v_x_0` occ=1;
58+ instantiate var=iv with=( v_x_0) occ=1;
5959rule impLeft;
6060tryclose branch;
6161rule andLeft;
6262rule andLeft;
6363// 1. triple of equations
64- instantiate var=iv with=` v_y_0` occ=1;
64+ instantiate var=iv with=( v_y_0) occ=1;
6565rule impLeft;
6666tryclose branch;
6767rule andLeft;
6868rule andLeft;
6969// 2. triple of equations
7070rule seqNPermDefLeft;
71- instantiate var=iv with=` v_x_0` occ=2;
71+ instantiate var=iv with=( v_x_0) occ=2;
7272rule impLeft;
7373tryclose branch;
7474rule exLeft;
7575rule andLeft;
7676rule andLeft;
7777// 3. triple of equations
78- instantiate hide var=iv with=` v_y_0` occ=2;
78+ instantiate hide var=iv with=( v_y_0) occ=2;
7979rule impLeft;
8080tryclose branch;
8181rule exLeft;
8282rule andLeft;
8383rule andLeft;
8484// 4. triple of equations
85- instantiate var=iv with=` jv_0` occ=1;
85+ instantiate var=iv with=( jv_0) occ=1;
8686rule impLeft;
8787tryclose branch;
8888rule andLeft;
8989rule andLeft;
90- rule castAdd formula=` s_0[jv_0] = v_x_0` occ=0;
90+ rule castAdd formula=( s_0[jv_0] = v_x_0) occ=0;
9191// 5. set of equations
92- instantiate hide var=iv with=` jv_1` occ=1;
92+ instantiate hide var=iv with=( jv_1) occ=1;
9393rule impLeft;
9494tryclose branch;
9595rule andLeft;
9696rule andLeft;
97- rule castAdd formula=` s_0[jv_1] = v_y_0` occ=0;
97+ rule castAdd formula=( s_0[jv_1] = v_y_0) occ=0;
9898// 6. set of equations
99- instantiate var=iv with=` v_x_0` ;
99+ instantiate var=iv with=( v_x_0) ;
100100rule impLeft;
101101tryclose branch;
102102// 7. equation
103- instantiate var=iv with=` v_y_0` ;
103+ instantiate var=iv with=( v_y_0) ;
104104rule impLeft;
105105tryclose branch;
106106// 8. equation
107- cut ` v_x_0 = v_y_0` ;
107+ cut ( v_x_0 = v_y_0) ;
108108// This corresponds to case A in the Notes.
109- instantiate hide var="v_r" with=` seqSwap(s_0,v_x_0,jv_0)` ;
109+ instantiate hide var="v_r" with=( seqSwap(s_0,v_x_0,jv_0)) ;
110110// in the following r refers to this instantiation
111111rule andRight;
112112rule andRight;
@@ -116,16 +116,16 @@ rule lenOfSwap;
116116tryclose branch;
117117// established: r is of correct length
118118rule seqNPermSwapNPerm;
119- instantiate hide var="iv" with=` v_x_0` occ=1;
120- instantiate hide var="jv" with=` jv_0` ;
119+ instantiate hide var="iv" with=( v_x_0) occ=1;
120+ instantiate hide var="jv" with=( jv_0) ;
121121rule impLeft;
122122tryclose branch;
123123tryclose branch;
124124// established: r is permutation
125125rule allRight;
126126rule impRight;
127127rule andLeft;
128- instantiate var="iv" with=` v_iv_0` ;
128+ instantiate var="iv" with=( v_iv_0) ;
129129rule impLeft;
130130tryclose branch;
131131rule getOfSwap;
@@ -164,17 +164,17 @@ tryclose branch;
164164tryclose branch;
165165// established: r fixes v_y_0
166166// from now on v_x_0 != v_y_0
167- cut `( int)s_0[v_x_0]=(int)s_0[v_y_0]` ;
167+ cut (( int)s_0[v_x_0]=(int)s_0[v_y_0]) ;
168168rule seqNPermInjective;
169- instantiate hide var=iv with=` v_x_0` ;
170- instantiate hide var=jv with=` v_y_0` ;
169+ instantiate hide var=iv with=( v_x_0) ;
170+ instantiate hide var=jv with=( v_y_0) ;
171171rule impLeft;
172172tryclose branch;
173173tryclose branch;
174174// from now on s_0[v_x_0] != v_x_0
175- cut `( int)s_0[v_x_0] = v_x_0` ;
175+ cut (( int)s_0[v_x_0] = v_x_0) ;
176176// This corresponds to case B1 & B2 in the Notes.
177- instantiate hide var=v_r with=` seqSwap(s_0,v_y_0,jv_1)` ;
177+ instantiate hide var=v_r with=( seqSwap(s_0,v_y_0,jv_1)) ;
178178// in the following r1 refers to this instantion
179179rule andRight;
180180rule andRight;
@@ -183,14 +183,14 @@ rule andRight;
183183tryclose branch;
184184// established: r1 is of the correct length
185185rule seqNPermSwapNPerm;
186- instantiate hide var=iv with=` v_y_0` ;
187- instantiate hide var=jv with=` jv_1` ;
186+ instantiate hide var=iv with=( v_y_0) ;
187+ instantiate hide var=jv with=( jv_1) ;
188188tryclose branch;
189189// established: r1 is permutation
190190rule allRight;
191191rule impRight;
192192rule andLeft;
193- instantiate var=iv with=` v_iv_0` ;
193+ instantiate var=iv with=( v_iv_0) ;
194194rule impLeft;
195195tryclose branch;
196196rule getOfSwap;
@@ -203,7 +203,7 @@ rule ifthenelse_split occ=0;
203203tryclose branch;
204204rule ifthenelse_split occ=0;
205205tryclose branch;
206- instantiate var=iv with=` v_y_0` ;
206+ instantiate var=iv with=( v_y_0) ;
207207rule impLeft;
208208tryclose branch;
209209tryclose branch;
@@ -219,9 +219,9 @@ tryclose branch;
219219tryclose branch;
220220// established: r1 fixes v_y_0
221221// from now on v_x_0 != v_y_0 and s_0[v_x_0]!= v_x_0
222- cut `( int)s_0[v_y_0] = v_y_0` ;
222+ cut (( int)s_0[v_y_0] = v_y_0) ;
223223// This corresponds to case B3 in the Notes.
224- instantiate hide var=v_r with=` seqSwap(s_0,v_x_0,jv_0)` ;
224+ instantiate hide var=v_r with=( seqSwap(s_0,v_x_0,jv_0)) ;
225225// in the following r2 refers to this instantion
226226rule andRight;
227227rule andRight;
@@ -230,16 +230,16 @@ rule andRight;
230230tryclose branch;
231231// established: r2 is of the correct length
232232rule seqNPermSwapNPerm;
233- instantiate hide var=iv with=` v_x_0` ;
234- instantiate hide var=jv with=` jv_0` ;
233+ instantiate hide var=iv with=( v_x_0) ;
234+ instantiate hide var=jv with=( jv_0) ;
235235rule impLeft;
236236tryclose branch;
237237tryclose branch;
238238// established: r2 is permutation
239239rule allRight;
240240rule impRight;
241241rule andLeft;
242- instantiate var=iv with=` v_iv_0` ;
242+ instantiate var=iv with=( v_iv_0) ;
243243rule impLeft;
244244tryclose branch;
245245rule getOfSwap;
@@ -268,9 +268,9 @@ tryclose branch;
268268tryclose branch;
269269// established: r2 fixes v_y_0
270270// from now on v_x_0 != v_y_0 and s_0[v_x_0]!= v_x_0 and s_0[v_y_0]!= v_y_0
271- cut `( int)s_0[v_x_0]=v_y_0` ;
271+ cut (( int)s_0[v_x_0]=v_y_0) ;
272272// This corresponds to case B4i & B4iii in the Notes.
273- instantiate hide var=v_r with=` seqSwap(seqSwap(s_0,jv_0,v_x_0),jv_0,v_y_0)` ;
273+ instantiate hide var=v_r with=( seqSwap(seqSwap(s_0,jv_0,v_x_0),jv_0,v_y_0)) ;
274274// in the following r3 refers to this instantion
275275rule andRight;
276276rule andRight;
@@ -279,13 +279,13 @@ rule andRight;
279279tryclose branch;
280280// established: r3 is of the correct length
281281rule seqNPermSwapNPerm;
282- instantiate hide var=iv with=` jv_0` ;
283- instantiate hide var=jv with=` v_x_0` ;
282+ instantiate hide var=iv with=( jv_0) ;
283+ instantiate hide var=jv with=( v_x_0) ;
284284rule impLeft;
285285tryclose branch;
286- rule seqNPermSwapNPerm formula=` seqNPerm(seqSwap(s_0, jv_0, v_x_0))` ;
287- instantiate hide var=iv with=` jv_0` ;
288- instantiate hide var=jv with=` v_y_0` ;
286+ rule seqNPermSwapNPerm formula=( seqNPerm(seqSwap(s_0, jv_0, v_x_0))) ;
287+ instantiate hide var=iv with=( jv_0) ;
288+ instantiate hide var=jv with=( v_y_0) ;
289289rule impLeft;
290290tryclose branch;
291291tryclose branch;
@@ -295,7 +295,7 @@ rule impRight;
295295rule andLeft;
296296// start: providing equation for latter use
297297// in many case distinctions
298- instantiate var=iv with=` v_iv_0` ;
298+ instantiate var=iv with=( v_iv_0) ;
299299rule impLeft;
300300tryclose branch;
301301// end: providing equation for latter use
@@ -370,19 +370,19 @@ tryclose branch;
370370// established: r3 fixes v_y_0
371371// from now on v_x_0 != v_y_0 and s_0[v_x_0]!= v_x_0 and
372372// s_0[v_y_0]!= v_y_0 and s_0[v_x_0]!= v_y_0
373- cut ` int::seqGet(s_0, v_y_0)=v_x_0` ;
373+ cut ( int::seqGet(s_0, v_y_0)=v_x_0) ;
374374// This corresponds to case B4ii in the Notes.
375375// in the following r4 refers to this instantion
376376tryclose branch;
377377// established: r4 is of the correct length
378378rule seqNPermSwapNPerm;
379- instantiate hide var=iv with=` jv_1` ;
380- instantiate hide var=jv with=` v_y_0` ;
379+ instantiate hide var=iv with=( jv_1) ;
380+ instantiate hide var=jv with=( v_y_0) ;
381381rule impLeft;
382382tryclose branch;
383- rule seqNPermSwapNPerm formula=` seqNPerm(seqSwap(s_0,jv_1,v_y_0))` ;
384- instantiate hide var=iv with=` jv_1` ;
385- instantiate hide var=jv with=` v_x_0` ;
383+ rule seqNPermSwapNPerm formula=( seqNPerm(seqSwap(s_0,jv_1,v_y_0))) ;
384+ instantiate hide var=iv with=( jv_1) ;
385+ instantiate hide var=jv with=( v_x_0) ;
386386rule impLeft;
387387tryclose branch;
388388tryclose branch;
@@ -394,24 +394,24 @@ tryclose branch;
394394// in the following r5 refers to this instantion
395395tryclose branch;
396396// established: r5 is of the correct length
397- rule seqNPermSwapNPerm formula=` seqNPerm(s_0)` ;
398- instantiate hide var=iv with=` v_x_0` ;
399- instantiate hide var=jv with=` jv_0` ;
397+ rule seqNPermSwapNPerm formula=( seqNPerm(s_0)) ;
398+ instantiate hide var=iv with=( v_x_0) ;
399+ instantiate hide var=jv with=( jv_0) ;
400400rule impLeft;
401401tryclose branch;
402- rule seqNPermSwapNPerm formula=` seqNPerm(seqSwap(s_0,v_x_0,jv_0))` ;
403- instantiate hide var=iv with=` v_y_0` ;
404- instantiate hide var=jv with=` jv_1` ;
405- instantiate hide var=v_r with=` seqSwap(seqSwap(s_0, v_x_0, jv_0), v_y_0, jv_1)` ;
402+ rule seqNPermSwapNPerm formula=( seqNPerm(seqSwap(s_0,v_x_0,jv_0))) ;
403+ instantiate hide var=iv with=( v_y_0) ;
404+ instantiate hide var=jv with=( jv_1) ;
405+ instantiate hide var=v_r with=( seqSwap(seqSwap(s_0, v_x_0, jv_0), v_y_0, jv_1)) ;
406406tryclose branch;
407- rule seqNPermSwapNPerm formula=` seqNPerm(s_0)` ;
408- instantiate hide var=iv with=` v_x_0` ;
409- instantiate hide var=jv with=` jv_0` ;
407+ rule seqNPermSwapNPerm formula=( seqNPerm(s_0)) ;
408+ instantiate hide var=iv with=( v_x_0) ;
409+ instantiate hide var=jv with=( jv_0) ;
410410rule impLeft;
411411tryclose branch;
412- rule seqNPermSwapNPerm formula=` seqNPerm(seqSwap(s_0,v_x_0,jv_0))` ;
413- instantiate hide var=iv with=` v_y_0` ;
414- instantiate hide var=jv with=` jv_1` ;
415- instantiate hide var=v_r with=` seqSwap(seqSwap(s_0, v_x_0, jv_0), v_y_0, jv_1)` ;
412+ rule seqNPermSwapNPerm formula=( seqNPerm(seqSwap(s_0,v_x_0,jv_0))) ;
413+ instantiate hide var=iv with=( v_y_0) ;
414+ instantiate hide var=jv with=( jv_1) ;
415+ instantiate hide var=v_r with=( seqSwap(seqSwap(s_0, v_x_0, jv_0), v_y_0, jv_1)) ;
416416tryclose branch;
417417}
0 commit comments