From f757483a6beb4ed12c9959c07567e8891a2b3048 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Thu, 19 Jul 2001 16:52:13 +0000 Subject: [PATCH] First partial syncronization between the HTML and the MathML presentation: many csymbols added to MathML presentation. *** NOTE! *** The code seems to work perfectly, but I am unsure it is well implemented. It is better to have a thorough look at it as soon as possible. ************* The syncronization is still incomplete. The following csymbols are missing (all of them from the Huet contrib): subst lift lift_with_base beta_red1 beta_red par_beta_red1 par_beta_red forgetful isomorphic interp --- helm/style/content_to_html.xsl | 52 +------ helm/style/mmlextension.xsl | 247 ++++++++++++++++++++++++++++++--- helm/style/proofs.xsl | 26 ---- 3 files changed, 226 insertions(+), 99 deletions(-) diff --git a/helm/style/content_to_html.xsl b/helm/style/content_to_html.xsl index 85498997f..6e89d8cd9 100644 --- a/helm/style/content_to_html.xsl +++ b/helm/style/content_to_html.xsl @@ -1128,54 +1128,6 @@ - - - By induction on  - : -
- - - - - - - - - - - - -
- - - - S( - - - - - - - - Assume by induction -
- - - - ( - - ) - - - -
- - - - - - -
@@ -1313,7 +1265,7 @@ - * + Left:  @@ -1321,7 +1273,7 @@ - * + Right:  diff --git a/helm/style/mmlextension.xsl b/helm/style/mmlextension.xsl index a4dfc5f01..8566c9726 100644 --- a/helm/style/mmlextension.xsl +++ b/helm/style/mmlextension.xsl @@ -407,6 +407,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -439,6 +440,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -484,6 +486,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -516,6 +519,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -592,6 +596,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -634,6 +639,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -672,15 +678,19 @@ which generates the toplevel element (see for instance xlink) --> + Prop + Set + Type + @@ -784,6 +794,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -873,6 +884,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -965,6 +977,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -985,6 +998,7 @@ which generates the toplevel element (see for instance xlink) --> + @@ -1003,6 +1017,139 @@ which generates the toplevel element (see for instance xlink) --> + + + + + + + + + We prove + _ + + + + + + + + by induction on + _ + + + + + + + + _ + + + + + + + + + + + + + + + + + + + + + Case + _ + + + + + + + + _ + + + + + By induction hypothesis, we have: + + + + + + _ + + ( + + ) + _ + + + + + + + + + + + + + + + + + + + + + + + + + + ( + + + _ + + : + + + ) + + + + + + + + + + + + + + + + + Contradiction. + + + + + + + + @@ -1024,12 +1171,14 @@ which generates the toplevel element (see for instance xlink) --> + ( ) + @@ -1090,6 +1239,7 @@ which generates the toplevel element (see for instance xlink) --> --> + @@ -1110,34 +1260,67 @@ which generates the toplevel element (see for instance xlink) --> - - + + - By induction + + + + + + + Consider + _ + + + + - base case: - + In particular, we have - inductive case: + ( + ) + _ + + + + + + + + ( + + ) + _ + + + + + + + + - - + + + + @@ -1158,41 +1341,57 @@ which generates the toplevel element (see for instance xlink) --> - In particular, we have + We proceed by cases to prove + _ + - ( - - ) + Left: suppose _ - - + ( + + ) + _ + + + _ - ( - - ) + + + + + + + + Right: suppose _ - - + ( + + ) + _ + + - + + + @@ -1225,7 +1424,7 @@ which generates the toplevel element (see for instance xlink) --> - * + Left @@ -1233,13 +1432,14 @@ which generates the toplevel element (see for instance xlink) --> - * + Right + @@ -1286,8 +1486,9 @@ which generates the toplevel element (see for instance xlink) --> + - ERROR + ERROR diff --git a/helm/style/proofs.xsl b/helm/style/proofs.xsl index a0302bde6..6ed01233d 100644 --- a/helm/style/proofs.xsl +++ b/helm/style/proofs.xsl @@ -157,32 +157,6 @@ - - - - nat_ind - - - - - -