From edeecdcf2cb51318a7d4c608652f4f988e80f66f Mon Sep 17 00:00:00 2001 From: Andrea Asperti Date: Mon, 2 Dec 2002 09:29:12 +0000 Subject: [PATCH] *** empty log message *** --- helm/style/content.xsl | 27 +- helm/style/content_to_html.xsl | 133 +++++- helm/style/diseq.xsl | 336 ++++++++++++++ helm/style/drop_coercions.xsl | 22 +- helm/style/headercontent.xsl | 1 + helm/style/inductive.xsl | 361 +++++++-------- helm/style/logic.xsl | 138 ++++++ helm/style/objcontent.xsl | 6 +- helm/style/params.xsl | 23 +- helm/style/proofs.xsl | 788 +++++++-------------------------- helm/style/rewrite.xsl | 135 ++++++ helm/style/rootcontent.xsl | 10 +- helm/style/xslt_index.txt | 3 + 13 files changed, 1157 insertions(+), 826 deletions(-) create mode 100644 helm/style/diseq.xsl create mode 100644 helm/style/logic.xsl create mode 100644 helm/style/rewrite.xsl diff --git a/helm/style/content.xsl b/helm/style/content.xsl index 9aea96b3c..e47126138 100644 --- a/helm/style/content.xsl +++ b/helm/style/content.xsl @@ -88,11 +88,13 @@ Amaya o da chi di dovere in /really_very_local/helm/PARSER/example/.../] - + + - + let_in @@ -101,12 +103,12 @@ Amaya o da chi di dovere in /really_very_local/helm/PARSER/example/.../] - + - + @@ -326,7 +328,22 @@ Amaya o da chi di dovere in /really_very_local/helm/PARSER/example/.../] inst - + + + + + + + + + + + + + + + + diff --git a/helm/style/content_to_html.xsl b/helm/style/content_to_html.xsl index 2fb4aa533..21b663942 100644 --- a/helm/style/content_to_html.xsl +++ b/helm/style/content_to_html.xsl @@ -69,6 +69,12 @@ + + + + + + @@ -114,6 +120,12 @@ + + + + + + @@ -311,6 +323,30 @@ ) + + + ( + + + + + + + + ) + + + + ( + + + + + + + + ) + ( @@ -365,12 +401,21 @@ - + { - trjsh - + + + / + + + + + + + } + FIX @@ -776,6 +821,10 @@ + + + + @@ -862,6 +911,62 @@ + + + + + ( + + + +
+ + + + + + + + + + + + + ) +
+ + + +
+
+ + + + + ( + + + +
+ + + + + + + + + + + + + ) +
+ + + +
+
@@ -1097,6 +1202,24 @@
  + +
+ + + + we proved  + + + +
+ + + + and by delta equivalence + + + +
\ - we proved\ + we obtain\ \ '); document.to_be_deleted.push(''); @@ -1138,7 +1261,7 @@ - + diff --git a/helm/style/diseq.xsl b/helm/style/diseq.xsl new file mode 100644 index 000000000..dd3650db7 --- /dev/null +++ b/helm/style/diseq.xsl @@ -0,0 +1,336 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + diseq_chain + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/helm/style/drop_coercions.xsl b/helm/style/drop_coercions.xsl index b31160eab..7b1316013 100644 --- a/helm/style/drop_coercions.xsl +++ b/helm/style/drop_coercions.xsl @@ -40,18 +40,18 @@ + (@uri='cic:/Algebra/algebra/CSemiGroups/csg_crr.con' or + @uri='cic:/Algebra/algebra/CMonoids/cm_crr.con' or + @uri='cic:/Algebra/algebra/CGroups/cg_crr.con' or + @uri='cic:/Algebra/algebra/CRings/cr_crr.con' or + @uri='cic:/Algebra/algebra/CFields/cf_crr.con' or + @uri='cic:/Algebra/algebra/COrdFields/cof_crr.con' or + @uri='cic:/Algebra/reals/CReals/crl_crr.con')]]"> + @uri='cic:/Algebra/algebra/CSetoids/CSetoid_functions/csf_fun.con']]"> @@ -84,7 +84,7 @@ + @uri='cic:/Algebra/algebra/CSetoids/CSetoid_functions/csbf_fun.con']]"> @@ -119,7 +119,7 @@ + @uri='cic:/Algebra/algebra/CSetoids/CSetoid_relations_and_predicates/csr_rel.con']]"> @@ -154,7 +154,7 @@ + @uri='cic:/Algebra/algebra/CRings/nat_injection/nring.con']]"> diff --git a/helm/style/headercontent.xsl b/helm/style/headercontent.xsl index f60883079..c5151a0d2 100644 --- a/helm/style/headercontent.xsl +++ b/helm/style/headercontent.xsl @@ -35,6 +35,7 @@ + diff --git a/helm/style/inductive.xsl b/helm/style/inductive.xsl index 83569d751..4066d4be3 100644 --- a/helm/style/inductive.xsl +++ b/helm/style/inductive.xsl @@ -26,6 +26,7 @@ + @@ -34,20 +35,75 @@ xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:helm="http://www.cs.unibo.it/helm"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + select="document($InductiveTypeUrl)/ConstantType/PROD/decl/*[1]"/> - + @@ -65,7 +121,7 @@ - + + used for rendering (it could be omitted ??) --> + + + + + + + + + + + @@ -179,6 +239,8 @@ If this is not the case, not good rendering looks possible. Check_args returns a boolean. --> + + @@ -188,17 +250,10 @@ - - - - - - - - - - - + + @@ -208,25 +263,8 @@ - + - - - - - - - - - - - - - - - - - + - - - - - - - + + + + - + - + - + - - + select="$constructor_args[position()>1]"/> + + - - - + + + - - - - - - - - - - - + - - - - - - - + + + + - + - + + select="$actual_args[2]/*"/> - - - + + + - - - + + + - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +
diff --git a/helm/style/logic.xsl b/helm/style/logic.xsl new file mode 100644 index 000000000..0685f47b0 --- /dev/null +++ b/helm/style/logic.xsl @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false_ind + cic:/Coq/Init/Logic/False_ind.con + + + + + + + + + and_ind + + + + + + + + + + + + + + full_or_ind + + + + + + left_case + + + + + + + + + + + + right_case + + + + + + + + + + + + + + + + + + + ex_ind + + + + + + + + + + + diff --git a/helm/style/objcontent.xsl b/helm/style/objcontent.xsl index 405529785..372ae22c1 100644 --- a/helm/style/objcontent.xsl +++ b/helm/style/objcontent.xsl @@ -119,6 +119,8 @@
+ @@ -139,7 +141,9 @@ --> - + + click here + diff --git a/helm/style/params.xsl b/helm/style/params.xsl index 3d16f62e2..355baef56 100644 --- a/helm/style/params.xsl +++ b/helm/style/params.xsl @@ -39,16 +39,18 @@ + - + + @@ -98,6 +100,25 @@ + + + + + + + + + + + + + + + + + diff --git a/helm/style/proofs.xsl b/helm/style/proofs.xsl index 86ad8292e..78efb9cb1 100644 --- a/helm/style/proofs.xsl +++ b/helm/style/proofs.xsl @@ -34,6 +34,11 @@ xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:helm="http://www.cs.unibo.it/helm"> + + + + + @@ -76,9 +81,20 @@ - - + + + + + + + + + + + + + @@ -86,257 +102,132 @@ - - - + + proof - + + + + + + + + + + + - + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + yes + + + - + proof - + + let_in + + + + + + + + - - - - - - - - - + + let_in + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + + - - - - - - - - - - - - - - - - - - + + + proof + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - @@ -346,363 +237,16 @@ - - - - - - eq_chain - - - - - - - - - - - - - diseq_chain - - - - - - - - - - - - - - diseq_chain - - - - - - - - - - - - - - - - - diseq_chain - - - - - - - - - - - - - - diseq_chain - - - - - - - - - - - - - - diseq_chain - - - - - - - - - - - - - - diseq_chain - - - - - - - - - - - - - - - diseq_chain - - - - - - - - - - - - - - - diseq_chain - - - - - - - - - - - - - - - - - - rw_step - - - - - - - - - - - - - - - - rewrite_and_apply - - rw_step - - - - - - - - - - - - - - - - letin - - let - - - - - - - - - - - - - rewrite_and_apply - - rw_step - - - - - - - - - - - - - - - - - - - - - - - letin - - - - - - rewrite_and_apply - - rw_step - - - - - - - - - - - - - - - - - - - - - - - - false_ind - cic:/Coq/Init/Logic/False_ind.con - - - - - - - and_ind - - - - - - - - - - - - - - full_or_ind - - - - - - left_case - - - - - - - - - - - - right_case - - - - - - - - - - - - - - - or_ind - - - - - - - - - - - - - - ex_ind - - - - - - - - - + + - letin - - let + let_in + @@ -710,8 +254,8 @@ - - + + @@ -720,32 +264,6 @@ - - - - - rw_step - - - - - - - - - - - - - - @@ -875,6 +393,50 @@ + + + + + + + + + + + + + + + + yes + + + + + + + let + + + + + + + + + + + + + + + + + + + + - + @@ -925,7 +488,8 @@ - + @@ -959,7 +523,7 @@ - + @@ -992,27 +556,5 @@ - - diff --git a/helm/style/rewrite.xsl b/helm/style/rewrite.xsl new file mode 100644 index 000000000..e361944d3 --- /dev/null +++ b/helm/style/rewrite.xsl @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + rw_step + + + + + + + + + + + + + + + rewrite_and_apply + + rw_step + + + + + + + + + + + + + + + letin + + let + + + + + + + + + + + + + rewrite_and_apply + + rw_step + + + + + + + + + + + + + + + + + + + + + + letin + + + + + + rewrite_and_apply + + rw_step + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/helm/style/rootcontent.xsl b/helm/style/rootcontent.xsl index 1acaf5a78..5d2eb2e4c 100644 --- a/helm/style/rootcontent.xsl +++ b/helm/style/rootcontent.xsl @@ -74,6 +74,7 @@ + @@ -81,6 +82,13 @@ - + + + + + + + + diff --git a/helm/style/xslt_index.txt b/helm/style/xslt_index.txt index 2f31b969a..9b3260cbf 100644 --- a/helm/style/xslt_index.txt +++ b/helm/style/xslt_index.txt @@ -3,6 +3,7 @@ annotatedpres.xsl content.xsl content_to_html.xsl contentlib.xsl +diseq.xsl drop_coercions.xsl expandobj.xsl genmmlid.xsl @@ -15,6 +16,7 @@ inductive.xsl lambda.xsl link.xsl links_library.xsl +logic.xsl mk_dep_graph.xsl mk_meta_and_dep_graph.xsl mk_meta_graph.xsl @@ -27,6 +29,7 @@ objcontent.xsl objtheorycontent.xsl params.xsl proofs.xsl +rewrite.xsl ricerca.xsl ring.xsl rootcontent.xsl -- 2.39.2