aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Init/LogicSyntax.v
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2002-10-13 13:14:05 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2002-10-13 13:14:05 +0000
commitbbc37bb5a166a7eb43eddea6d0f2a8c7f4e977ba (patch)
tree01eddd0607b6a6c0b3bb2854f123da840dd4769a /theories/Init/LogicSyntax.v
parent2be04c83d3ea64b62160bf5d1c1e570da4836422 (diff)
Nettoyage
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3124 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Init/LogicSyntax.v')
-rw-r--r--theories/Init/LogicSyntax.v30
1 files changed, 0 insertions, 30 deletions
diff --git a/theories/Init/LogicSyntax.v b/theories/Init/LogicSyntax.v
index 827720799..b9b3418ea 100644
--- a/theories/Init/LogicSyntax.v
+++ b/theories/Init/LogicSyntax.v
@@ -26,19 +26,6 @@ Grammar constr constr1 :=
| eq_impl [ constr0($c) "=" constr0($c2) ] -> [ (eq ? $c $c2) ]
| IF [ "IF" constr($c1) "then" constr($c2) "else" constr($c3)] ->
[ (IF $c1 $c2 $c3) ]
-(*
-with constr2 :=
- not [ "~" constr2($c) ] -> [ (not $c) ]
-
-with constr6 :=
- and [ constr5($c1) "/\\" constr6($c2) ] -> [ (and $c1 $c2) ]
-
-with constr7 :=
- or [ constr6($c1) "\\/" constr7($c2) ] -> [ (or $c1 $c2) ]
-
-with constr8 :=
- iff [ constr7($c1) "<->" constr8($c2) ] -> [ (iff $c1 $c2) ]
-*)
with constr10 :=
allexplicit [ "ALL" ident($x) ":" constr($t) "|" constr($p) ]
-> [ (all $t [$x : $t]$p) ]
@@ -77,23 +64,6 @@ Syntax constr
"then " $c2:E [1 0]
"else " $c3:E ] ]
;
-(*
- level 2:
- not [ ~ $t1 ] -> [ [<hov 0> "~" $t1:E ] ]
- ;
-
- level 6:
- and [ $t1 /\ $t2 ] -> [ [<hov 0> $t1:L [0 0] "/\\" $t2:E ] ]
- ;
-
- level 7:
- or [ $t1 \/ $t2 ] -> [ [<hov 0> $t1:L [0 0] "\\/" $t2:E ] ]
- ;
-
- level 8:
- iff [ $t1 <-> $t2 ] -> [ [<hov 0> $t1:L [0 0] "<->" $t2:E ] ]
- ;
-*)
level 10:
all_pred [ (all $_ $p) ] -> [ [<hov 4> "All " $p:L ] ]
| all_imp [ (all $_ [$x : $T]$t) ]