aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/triset.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-12-20 05:59:26 +0000
committerdos-reis <gdr@axiomatics.org>2008-12-20 05:59:26 +0000
commitb91f52ba52fc76bc9700f69a21f65042c805409b (patch)
tree902f81d6d2d2e16420187105f11748f564c7891b /src/algebra/triset.spad.pamphlet
parentba161fefd4ab91c4908e7c7da8f6d84373f8e7ce (diff)
downloadopen-axiom-b91f52ba52fc76bc9700f69a21f65042c805409b.tar.gz
* algebra/newdata.spad.pamphlet (SplittingNode): Define Rep as
constant. Remove definitions for `per' and `rep'. * algebra/regset.spad.pamphlet (RegularTriangularSet): Likewise. * algebra/sregset.spad.pamphlet (SquareFreeRegularTriangularSet): Likewise. * algebra/triset.spad.pamphlet (GeneralTriangularSet): Likewise. (WuWenTsunTriangularSet): Likewise.
Diffstat (limited to 'src/algebra/triset.spad.pamphlet')
-rw-r--r--src/algebra/triset.spad.pamphlet10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/algebra/triset.spad.pamphlet b/src/algebra/triset.spad.pamphlet
index 1057bf7b..71281026 100644
--- a/src/algebra/triset.spad.pamphlet
+++ b/src/algebra/triset.spad.pamphlet
@@ -531,10 +531,7 @@ GeneralTriangularSet(R,E,V,P) : Exports == Implementation where
Implementation == add
- Rep ==> LP
-
- rep(s:$):Rep == s pretend Rep
- per(l:Rep):$ == l pretend $
+ Rep == LP
copy ts ==
per(copy(rep(ts))$LP)
@@ -1515,10 +1512,7 @@ WuWenTsunTriangularSet(R,E,V,P) : Exports == Implementation where
removeSquares: $ -> Union($,"failed")
- Rep ==> LP
-
- rep(s:$):Rep == s pretend Rep
- per(l:Rep):$ == l pretend $
+ Rep == LP
removeAssociates (lp:LP):LP ==
removeDuplicates [primPartElseUnitCanonical(p) for p in lp]