diff options
author | 2003-10-30 14:29:39 +0000 | |
---|---|---|
committer | 2003-10-30 14:29:39 +0000 | |
commit | e52a9fa8835eddf70d0c8e454470fb12eebef7cd (patch) | |
tree | c78de69bd77ada9fe1eb6cbf58544c7c6b3e86e8 /contrib/ring/Setoid_ring_theory.v | |
parent | a3b23be4009e8b15dc0fd90d849445f35f759e3d (diff) |
Parsing du moins unaire au niveau de l'application qui n'a pas besoin d'etre associative a gauche; gestion du signe dans le parseur pas dans l'interpreteur
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4745 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/ring/Setoid_ring_theory.v')
-rw-r--r-- | contrib/ring/Setoid_ring_theory.v | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/ring/Setoid_ring_theory.v b/contrib/ring/Setoid_ring_theory.v index c97536846..eedc92197 100644 --- a/contrib/ring/Setoid_ring_theory.v +++ b/contrib/ring/Setoid_ring_theory.v @@ -35,12 +35,10 @@ Infix 4 "+" Aplus V8only 50 (left associativity). Infix 4 "*" Amult V8only 40 (left associativity). Notation "0" := Azero. Notation "1" := Aone. -Notation "- 0" := (Aopp Azero) (at level 0) - V8only (at level 50, left associativity). -Notation "- 1" := (Aopp Aone) (at level 0) - V8only (at level 50, left associativity). +Notation "- 0" := (Aopp Azero) (at level 0) V8only (at level 10). +Notation "- 1" := (Aopp Aone) (at level 0) V8only (at level 10). Notation "- x" := (Aopp x) (at level 0) - V8only (at level 50, left associativity). + V8only (at level 10, right associativity). Variable plus_morph : (a,a0,a1,a2:A) a == a0 -> a1 == a2 -> a+a1 == a0+a2. Variable mult_morph : (a,a0,a1,a2:A) a == a0 -> a1 == a2 -> a*a1 == a0*a2. |