From 26f5337108946df050f07c68ebe9bc07b1fde173 Mon Sep 17 00:00:00 2001 From: Andrea Asperti Date: Wed, 7 Feb 2001 16:15:46 +0000 Subject: [PATCH] New version of proof.xsl Main modif: - removed "thread" mode - proof management (let-in) moved from content.xsl to proofs.xsl --- helm/style/content.xsl | 53 +---- helm/style/mmlextension.xsl | 125 +++++++++--- helm/style/proofs.xsl | 393 +++++++++++++++++++++--------------- 3 files changed, 327 insertions(+), 244 deletions(-) diff --git a/helm/style/content.xsl b/helm/style/content.xsl index 6f2226bbf..5aafef63f 100644 --- a/helm/style/content.xsl +++ b/helm/style/content.xsl @@ -139,63 +139,12 @@ Amaya o da chi di dovere in /really_very_local/helm/PARSER/example/.../] - - - - - - - letin - - - - - let - - - - - - - - - - - - - - - app - - + - - - - - - - - - - - - - - - - - - - - - - - diff --git a/helm/style/mmlextension.xsl b/helm/style/mmlextension.xsl index 90f8cca10..86675e553 100644 --- a/helm/style/mmlextension.xsl +++ b/helm/style/mmlextension.xsl @@ -963,6 +963,24 @@ + + + + + + + + + + + + + + + + + + @@ -990,55 +1008,111 @@ ) - + - - + + - Consider - + Consider + _ + - - - - - Rewrite _ - + _ with _ - + _ by _ - - _ - in - _ - - _ - and apply to + + + + + + + + + + + + + + + + + Consider + _ + + + + + + + + + + + + + + + + + + + + + + Then apply it to _ - + - + + + + + + + By induction + + + + + + base case: + + + + + + + + inductive case: + + + + + + + @@ -1049,7 +1123,8 @@ - Consider + Consider + _ @@ -1147,7 +1222,8 @@ - Consider + Consider + _ @@ -1187,6 +1263,7 @@ + diff --git a/helm/style/proofs.xsl b/helm/style/proofs.xsl index 760511fd2..6f23e3254 100644 --- a/helm/style/proofs.xsl +++ b/helm/style/proofs.xsl @@ -26,7 +26,7 @@ - + @@ -34,7 +34,6 @@ xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:helm="http://www.cs.unibo.it/helm"> - @@ -46,13 +45,18 @@ + + - - + + proof + + + @@ -60,37 +64,148 @@ - + + - - - + + proof + + + - + + + + + + + + - + + + + + nat_ind + + + + + + + + nat_ind + + + + + - - thread - rw_step + - - + + + + + + + + rewrite_and_apply + + rw_step + + + + + + + + + + + + + letin + + let + + + + + + + + + + + + + rewrite_and_apply + + rw_step + + + + + + + + + + + + + + + + + + + + letin + + + + + + rewrite_and_apply + + rw_step + + + + + + + + + + + + + + + + @@ -99,15 +214,15 @@ and count(child::*) = 6 and name(*[5])='LAMBDA' and name(*[5]/target/*[1])='LAMBDA'"> - - and_ind - - - - - - - + + and_ind + + + + + + + + + ex_ind + + + + + + + + + + + + + + + + + + + + + + + + + + + - ex_ind - - - - - - + letin1 + + + + app + + + - - - + - thread - - + letin + + + + app - + + - - - proof - - - - + - + + + + + + let + + + + + + + - - + previous - + - - - - - - - rw_step - - - - - - - - - - - - - - - thread - - - app - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - rewrite_and_apply - - rw_step - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - app - - - - - - - @@ -313,7 +370,7 @@ - + --> -- 2.39.2