diff options
author | barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2007-07-12 17:13:27 +0000 |
---|---|---|
committer | barras <barras@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2007-07-12 17:13:27 +0000 |
commit | bb3218e21e82cadacc2e22d9b55e3033df1744bb (patch) | |
tree | 1304ebb9571bc03bb64e6deb97626d09937b444b /doc | |
parent | a6c0e7c3ad355c1242d6a0fbd9ef94c72f1c4ad5 (diff) |
port de r9968: bug avec les ring calculatoires
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9982 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/refman/Polynom.tex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/refman/Polynom.tex b/doc/refman/Polynom.tex index e34babaca..83d0167ef 100644 --- a/doc/refman/Polynom.tex +++ b/doc/refman/Polynom.tex @@ -298,7 +298,8 @@ describes their syntax and effects: \item[abstract] declares the ring as abstract. This is the default. \item[decidable \term] declares the ring as computational. The expression \term{} is - the correctness proof of an equality test {\tt ?=!}. Its type should be of + the correctness proof of an equality test {\tt ?=!} (which should be + evaluable). Its type should be of the form {\tt forall x y, x?=!y = true $\rightarrow$ x == y}. \item[morphism \term] declares the ring as a customized one. The expression \term{} is @@ -314,7 +315,9 @@ describes their syntax and effects: \item[constants [\ltac]] specifies a tactic expression that, given a term, returns either an object of the coefficient set that is mapped to the expression via the morphism, or returns {\tt - InitialRing.NotConstant}. Abstract (semi-)rings need not define this. + InitialRing.NotConstant}. The default behaviour is to map only 0 and + 1 to their counterpart in the coefficient set. This is generally not + desirable for non trivial computational rings. \item[preprocess [\ltac]] specifies a tactic that is applied as a preliminary step for {\tt ring} and {\tt ring\_simplify}. It can be used to transform a goal |