1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2 xmlns:m="http://www.w3.org/1998/Math/MathML"
3 xmlns:cn="http://www.......">
5 <xsl:template match="level-expression">
9 <xsl:value-of select="@level"/>
14 <xsl:template match="parameter-substitution-list">
16 <m:ci>parameter-substitution-list</m:ci>
18 <xsl:value-of select="@val"/>
24 <xsl:template match="tag">
26 <m:ci>tag <xsl:value-of select="@step"/>:</m:ci>
27 <xsl:apply-templates/>
31 <xsl:template match="dependent_functionFormation">
33 <m:ci>dependent_functionFormation</m:ci>
34 <xsl:apply-templates/>
38 <xsl:template match="independent_functionFormation">
39 <m:ci>independent_functionFormation</m:ci>
42 <xsl:template match="functionEquality">
44 <m:ci>functionEquality</m:ci>
45 <xsl:apply-templates/>
49 <xsl:template match="independent_functionEquality">
50 <m:ci>independent_functionEquality</m:ci>
53 <xsl:template match="lambdaEquality">
55 <m:ci>lambdaEquality</m:ci>
56 <xsl:apply-templates/>
60 <xsl:template match="lambdaFormation">
62 <m:ci>lambdaFormation</m:ci>
63 <xsl:apply-templates/>
67 <xsl:template match="applyEquality">
69 <m:ci>applyEquality</m:ci>
70 <xsl:apply-templates/>
74 <xsl:template match="independent_functionElimination">
76 <m:ci>independent_functionElimination</m:ci>
78 <xsl:value-of select="@number_hyp"/>
80 <xsl:apply-templates/>
84 <xsl:template match="dependent_functionElimination">
86 <m:ci>dependent_functionElimination</m:ci>
88 <xsl:value-of select="@number_hyp"/>
90 <xsl:apply-templates/>
94 <xsl:template match="applyReduce">
95 <m:ci>functionEquality</m:ci>
98 <xsl:template match="functionExtensionality">
100 <m:ci>functionExtensionality</m:ci>
101 <xsl:apply-templates/>
105 <xsl:template match="dependent_productFormation">
107 <m:ci>dependent_productFormation</m:ci>
108 <xsl:apply-templates/>
112 <xsl:template match="independent_productFormation">
113 <m:ci>independent_productFormation</m:ci>
116 <xsl:template match="productEquality">
118 <m:ci>productEquality</m:ci>
119 <xsl:apply-templates/>
123 <xsl:template match="independent_productEquality">
124 <m:ci>independent_productEquality</m:ci>
127 <xsl:template match="dependent_pairEquality">
129 <m:ci>dependent_pairEquality</m:ci>
130 <xsl:apply-templates/>
134 <xsl:template match="dependent_pairFormation">
136 <m:ci>dependent_pairFormation</m:ci>
137 <xsl:apply-templates/>
141 <xsl:template match="independent_pairEquality">
142 <m:ci>independent_pairEquality</m:ci>
145 <xsl:template match="independent_pairFormation">
146 <m:ci>independent_pairFormation</m:ci>
149 <xsl:template match="spreadEquality">
151 <m:ci>spreadEquality</m:ci>
153 <xsl:value-of select="@number_hyp"/>
155 <xsl:apply-templates/>
159 <xsl:template match="productElimination">
161 <m:ci>productElimination</m:ci>
162 <xsl:apply-templates/>
166 <xsl:template match="spreadReduce">
167 <m:ci>spreadReduce</m:ci>
170 <xsl:template match="unionFormation">
171 <m:ci>unionFormation</m:ci>
174 <xsl:template match="unionEquality">
175 <m:ci>unionEquality</m:ci>
178 <xsl:template match="inlEquality">
180 <m:ci>inlEquality</m:ci>
181 <xsl:apply-templates/>
185 <xsl:template match="inlFormation">
187 <m:ci>inlFormation</m:ci>
188 <xsl:apply-templates/>
192 <xsl:template match="inrEquality">
194 <m:ci>inrEquality</m:ci>
195 <xsl:apply-templates/>
199 <xsl:template match="inrFormation">
201 <m:ci>inrFormation</m:ci>
202 <xsl:apply-templates/>
206 <xsl:template match="decideEquality">
208 <m:ci>decideEquality</m:ci>
209 <xsl:apply-templates/>
213 <xsl:template match="unionElimination">
215 <m:ci>unionElimination</m:ci>
217 <xsl:value-of select="@number_hyp"/>
219 <xsl:apply-templates/>
223 <xsl:template match="decideReduceLeft">
224 <m:ci>decideReduceLeft</m:ci>
227 <xsl:template match="decideReduceRight">
228 <m:ci>decideReduceRight</m:ci>
231 <xsl:template match="universeFormation">
233 <m:ci>universeFormation</m:ci>
234 <xsl:apply-templates/>
238 <xsl:template match="universeEquality">
239 <m:ci>universeEquality</m:ci>
242 <xsl:template match="cumulativity">
244 <m:ci>cumulativity</m:ci>
245 <xsl:apply-templates/>
249 <xsl:template match="equalityFormation">
251 <m:ci>equalityFormation</m:ci>
252 <xsl:apply-templates/>
256 <xsl:template match="equalityEquality">
257 <m:ci>equalityEquality</m:ci>
260 <xsl:template match="axiomEquality">
261 <m:ci>axiomEquality</m:ci>
264 <xsl:template match="equalityElimination">
266 <m:ci>equalityElimination</m:ci>
268 <xsl:value-of select="@number_hyp"/>
273 <xsl:template match="hypothesisEquality">
275 <m:ci>hypothesisEquality</m:ci>
277 <xsl:value-of select="@number_hyp"/>
282 <xsl:template match="substitution">
284 <m:ci>substitution</m:ci>
285 <xsl:apply-templates/>
289 <xsl:template match="equality">
290 <m:ci>equality</m:ci>
293 <xsl:template match="voidFormation">
294 <m:ci>voidFormation</m:ci>
297 <xsl:template match="voidEquality">
298 <m:ci>voidEquality</m:ci>
301 <xsl:template match="anyEquality">
302 <m:ci>anyEquality</m:ci>
305 <xsl:template match="voidElimination">
307 <m:ci>voidElimination</m:ci>
309 <xsl:value-of select="@number_hyp"/>
314 <xsl:template match="atomFormation">
315 <m:ci>atomFormation</m:ci>
318 <xsl:template match="atomEquality">
319 <m:ci>atomEquality</m:ci>
322 <xsl:template match="tokenEquality">
323 <m:ci>tokenEquality</m:ci>
326 <xsl:template match="tokenFormation">
328 <m:ci>tokenFormation</m:ci>
329 <xsl:apply-templates/>
333 <xsl:template match="atom_eqEquality">
335 <m:ci>atom_eqEquality</m:ci>
336 <xsl:apply-templates/>
340 <xsl:template match="atom_eqReduceTrue">
342 <m:ci>atom_eqReduceTrue</m:ci>
343 <xsl:apply-templates/>
347 <xsl:template match="atom_eqReduceFalse">
348 <m:ci>atom_eqReduceFalse</m:ci>
351 <xsl:template match="intFormation">
352 <m:ci>intFormation</m:ci>
355 <xsl:template match="intEquality">
356 <m:ci>intEquality</m:ci>
359 <xsl:template match="natural_numberEquality">
360 <m:ci>natural_numberEquality</m:ci>
363 <xsl:template match="minusEquality">
364 <m:ci>minusEquality</m:ci>
367 <xsl:template match="addEquality">
368 <m:ci>addEquality</m:ci>
371 <xsl:template match="subtractEquality">
372 <m:ci>subtractEquality</m:ci>
375 <xsl:template match="multiplyEquality">
376 <m:ci>multiplyEquality</m:ci>
379 <xsl:template match="divideFormation">
380 <m:ci>divideFormation</m:ci>
383 <xsl:template match="addEquality">
384 <m:ci>addEquality</m:ci>
387 <xsl:template match="subtractEquality">
388 <m:ci>subtractEquality</m:ci>
391 <xsl:template match="multiplyEquality">
392 <m:ci>multiplyEquality</m:ci>
395 <xsl:template match="divideEquality">
396 <m:ci>divideEquality</m:ci>
399 <xsl:template match="remainderBounds1">
400 <m:ci>remainderBounds1</m:ci>
403 <xsl:template match="remainderBounds2">
404 <m:ci>remainderBounds2</m:ci>
407 <xsl:template match="remainderBounds3">
408 <m:ci>remainderBounds3</m:ci>
411 <xsl:template match="remainderBounds4">
412 <m:ci>remainderBounds4</m:ci>
415 <xsl:template match="divideRemainderSum">
416 <m:ci>divideRemainderSum</m:ci>
419 <xsl:template match="arith">
422 <xsl:apply-templates/>
426 <xsl:template match="indEquality">
428 <m:ci>indEquality</m:ci>
429 <xsl:apply-templates/>
433 <xsl:template match="intElimination">
435 <m:ci>intElimination</m:ci>
437 <xsl:value-of select="@number_hyp"/>
439 <xsl:apply-templates/>
443 <xsl:template match="indReduceDown">
444 <m:ci>indReduceDown</m:ci>
447 <xsl:template match="indReduceUp">
448 <m:ci>indReduceUp</m:ci>
451 <xsl:template match="indReduceBase">
452 <m:ci>indReduceBase</m:ci>
455 <xsl:template match="ind_eqEquality">
456 <m:ci>ind_eqEquality</m:ci>
459 <xsl:template match="ind_eqReduceTrue">
460 <m:ci>ind_eqReduceTrue</m:ci>
463 <xsl:template match="ind_eqReduceFalse">
464 <m:ci>ind_eqReduceFalse</m:ci>
467 <xsl:template match="lessEquality">
468 <m:ci>lessEquality</m:ci>
471 <xsl:template match="lessReduceTrue">
472 <m:ci>lessReduceTrue</m:ci>
475 <xsl:template match="lessReduceFalse">
476 <m:ci>lessReduceFalse</m:ci>
479 <xsl:template match="less_thanEquality">
480 <m:ci>less_thanEquality</m:ci>
483 <xsl:template match="less_thanFormation">
484 <m:ci>less_thanFormation</m:ci>
487 <xsl:template match="less_thanMember">
488 <m:ci>less_thanMember</m:ci>
491 <xsl:template match="listFormation">
492 <m:ci>listFormation</m:ci>
495 <xsl:template match="listEquality">
496 <m:ci>listEquality</m:ci>
499 <xsl:template match="nilEquality">
501 <m:ci>nilEquality</m:ci>
502 <xsl:apply-templates/>
506 <xsl:template match="nilFormation">
508 <m:ci>nilFormation</m:ci>
509 <xsl:apply-templates/>
513 <xsl:template match="consFormation">
514 <m:ci>consFormation</m:ci>
517 <xsl:template match="consEquality">
518 <m:ci>consEquality</m:ci>
521 <xsl:template match="list_indEquality">
523 <m:ci>list_indEquality</m:ci>
524 <xsl:apply-templates/>
528 <xsl:template match="listElimination">
530 <m:ci>listElimination</m:ci>
532 <xsl:value-of select="@number_hyp"/>
534 <xsl:apply-templates/>
538 <xsl:template match="list_indReduceUp">
539 <m:ci>list_indReduceUp</m:ci>
542 <xsl:template match="list_indReduceBase">
543 <m:ci>list_indReduceBase</m:ci>
546 <xsl:template match="recEquality">
548 <m:ci>recEquality</m:ci>
549 <xsl:apply-templates/>
553 <xsl:template match="rec_memberEquality">
555 <m:ci>rec_memberEquality</m:ci>
556 <xsl:apply-templates/>
560 <xsl:template match="rec_memberFormation">
562 <m:ci>rec_memberFormation</m:ci>
563 <xsl:apply-templates/>
567 <xsl:template match="rec_indEquality">
569 <m:ci>rec_indEquality</m:ci>
570 <xsl:apply-templates/>
574 <xsl:template match="recElimination">
576 <m:ci>recElimination</m:ci>
578 <xsl:value-of select="@number_hyp"/>
580 <xsl:apply-templates/>
584 <xsl:template match="recUnrollElimination">
586 <m:ci>recUnrollElimination</m:ci>
588 <xsl:value-of select="@number_hyp"/>
590 <xsl:apply-templates/>
594 <xsl:template match="dependent_setFormation">
596 <m:ci>dependent_setFormation</m:ci>
597 <xsl:apply-templates/>
601 <xsl:template match="independent_setFormation">
602 <m:ci>independent_setFormation</m:ci>
605 <xsl:template match="setEquality">
607 <m:ci>setEquality</m:ci>
608 <xsl:apply-templates/>
612 <xsl:template match="dependent_set_memberEquality">
614 <m:ci>dependent_set_memberEquality</m:ci>
615 <xsl:apply-templates/>
619 <xsl:template match="dependent_set_memberFormation">
621 <m:ci>dependent_set_memberFormation</m:ci>
622 <xsl:apply-templates/>
626 <xsl:template match="independent_set_memberEquality">
627 <m:ci>independent_set_memberEquality</m:ci>
630 <xsl:template match="independent_set_memberFormation">
632 <m:ci>independent_set_memberFormation</m:ci>
633 <xsl:apply-templates/>
637 <xsl:template match="setElimination">
639 <m:ci>setElimination</m:ci>
641 <xsl:value-of select="@number_hyp"/>
643 <xsl:apply-templates/>
647 <xsl:template match="isectFormation">
649 <m:ci>isectFormation</m:ci>
650 <xsl:apply-templates/>
654 <xsl:template match="isectEquality">
656 <m:ci>isectEquality</m:ci>
657 <xsl:apply-templates/>
661 <xsl:template match="isect_memberEquality">
663 <m:ci>isect_memberEquality</m:ci>
664 <xsl:apply-templates/>
668 <xsl:template match="isect_memberFormation">
670 <m:ci>isect_memberFormation</m:ci>
671 <xsl:apply-templates/>
675 <xsl:template match="isect_member_caseEquality">
677 <m:ci>isect_member_caseEquality</m:ci>
678 <xsl:apply-templates/>
682 <xsl:template match="isectElimination">
684 <m:ci>isectElimination</m:ci>
686 <xsl:value-of select="@number_hyp"/>
688 <xsl:apply-templates/>
692 <xsl:template match="quotientFormation">
694 <m:ci>quotientFormation</m:ci>
695 <xsl:apply-templates/>
699 <xsl:template match="quotientWeakEquality">
701 <m:ci>quotientWeakEquality</m:ci>
702 <xsl:apply-templates/>
706 <xsl:template match="quotientEquality">
707 <m:ci>quotientEquality</m:ci>
710 <xsl:template match="quotient_memberWeakEquality">
712 <m:ci>quotient_memberWeakEquality</m:ci>
713 <xsl:apply-templates/>
717 <xsl:template match="quotient_memberFormation">
719 <m:ci>quotient_memberFormation</m:ci>
720 <xsl:apply-templates/>
724 <xsl:template match="quotient_memberEquality">
726 <m:ci>quotient_memberEquality</m:ci>
727 <xsl:apply-templates/>
731 <xsl:template match="quotient_equalityElimination">
733 <m:ci>quotient_equalityElimination</m:ci>
735 <xsl:value-of select="@number_hyp"/>
737 <xsl:apply-templates/>
741 <xsl:template match="quotientElimination">
743 <m:ci>quotientElimination</m:ci>
745 <xsl:value-of select="@number_hyp"/>
747 <xsl:apply-templates/>
751 <xsl:template match="quotientElimination_2">
753 <m:ci>quotientElimination_2</m:ci>
755 <xsl:value-of select="@number_hyp"/>
757 <xsl:apply-templates/>
761 <xsl:template match="direct_computation">
763 <m:ci>direct_computation</m:ci>
764 <xsl:apply-templates/>
768 <xsl:template match="reverse_direct_computation">
770 <m:ci>reverse_direct_computation</m:ci>
771 <xsl:apply-templates/>
775 <xsl:template match="direct_computation_hypothesis">
777 <m:ci>direct_computation_hypothesis</m:ci>
779 <xsl:value-of select="@number_hyp"/>
781 <xsl:apply-templates/>
785 <xsl:template match="reverse_direct_computation_hypothesis">
787 <m:ci>reverse_direct_computation_hypothesis</m:ci>
789 <xsl:value-of select="@number_hyp"/>
791 <xsl:apply-templates/>
795 <xsl:template match="ruleinstance/hypothesis">
797 <m:ci>hypothesis</m:ci>
799 <xsl:value-of select="@number_hyp"/>
804 <xsl:template match="thin">
808 <xsl:value-of select="@number_hyp"/>
813 <xsl:template match="cut">
817 <xsl:value-of select="@number_hyp"/>
819 <xsl:apply-templates/>
823 <xsl:template match="hyp_replacement">
825 <m:ci>hyp_replacement</m:ci>
827 <xsl:value-of select="@number_hyp"/>
829 <xsl:apply-templates/>
833 <xsl:template match="lemma">
837 <xsl:value-of select="@name"/>
842 <xsl:template match="extract">
846 <xsl:value-of select="@name"/>
851 <xsl:template match="instantiate">
853 <m:ci>instantiate</m:ci>
854 <xsl:apply-templates/>
858 <xsl:template match="because">
862 <xsl:template match="rename">
865 <xsl:apply-templates/>
869 <xsl:template match="introduction">
871 <m:ci>introducition</m:ci>
872 <xsl:apply-templates/>