XEtaReductionCategory(C, F, AB)¶
qetapowersamba.spad line 545 [edit on github]
F: XEtaGradedAlgebra C
AB: Type
undocumented
- greaterGrade?: PositiveInteger -> (F, F) -> Boolean
greaterGrade?(k)(x,y) returns qetaGrade(x,k)>qetaGrade(y,k).
- noTrace: F -> Void
A function that does nothing.
- noTraceEnter: (F, AB) -> Void
A functions that does nothing.
- reduce: (F, AB) -> F
reduce(u, ab)returns an elementvsuch thatvis not reducible modulo ab and “u reduces modulo ab tov".
- reducer: (F, XHashTable(Integer, List F), Integer, PositiveInteger) -> Union(F, failed)
reducer(u, basis, grdt, k)returns an elementbfrom thebasisorb=1such that qetaGrade(u,k) - qetaGrade(b,k) is divisible bygrdtor returns “failed” if no suchbexists.
- topReducible?: (F, F, PositiveInteger) -> Boolean
topReducible?(u, b, k)returnstrueiff there existsfinFsuch that forv=u-f*b,lc= qetaLeadingCoefficient, and grade = qetaGrade: (grade(u,k) > grade(v,k) or (grade(u,k) = grade(v,k) and euclideanSizelc(u,k) > euclideanSizelc(v,k)
- tracedReduce: ((F, AB) -> Void, F -> Void, F -> Void) -> (F, AB) -> F
tracedReduce(traceEnter, traceLoop, traceReturn)(u, ab) behaves identical to reduce(u, ab) except that at enter and exit time the functionstraceEnter(u, ab) and traceExit(w) are called wherewis the value that will be returned. Inside the internal while loop the functiontraceLoop(v) is called withvbeing the intermediately reducedu. These hooks are provided to print a trace of the reduction.
- traceEnter: NonNegativeInteger -> (F, AB) -> Void
traceEnter(n)(x, a) returns void() and depending on the value ofnreturns more and more information. Where a higer version ofnmeans more information. trace(0) is equivalent with noTraceEnter.
- traceLoop: NonNegativeInteger -> F -> Void
traceLoop(n)(x) just returns void() without any side effect and depending on the value ofnreturns more and more information. Where a higer version ofnmeans more information. trace(0) is equivalent with noTraceElement.
- traceReturn: NonNegativeInteger -> F -> Void
traceReturn(n)(x) just returns void() without any side effect and depending on the value ofnreturns more and more information. Where a higer version ofnmeans more information. trace(0) is equivalent with noTraceElement.