-
Notifications
You must be signed in to change notification settings - Fork 1
new Oscar features #8
Comments
This issue has several aspects.
All this makes sense, however, the aim of the example notebook is to show the interaction between the subsystems, not to hide them. |
On Wed, Jun 03, 2020 at 01:40:53AM -0700, ThomasBreuer wrote:
This issue has several aspects.
1. Do not specify the subsystem from which some functions or objects are taken (here: `QQ` instead of `Singular.QQ` or `Ǹemo.QQ` or ...) whenever Oscar handles the situation automatically.
2. Put information into the objects whenever possible (here: the graded polynomial ring).
3. Where possible, introduce objects representing mathematical structures (here: fans, cones, ...) instead of just encoding them by some low level data.
All this makes sense, however, the aim of the example notebook is to show the interaction between the subsystems, not to hide them.
Perhaps it is an option to have an alternative variant that focuses on the "Oscar perspective"?
Yep, that would be great for at least two reasons
- it would showcase what we are trying to achieve
- it would use, extend and debug what we have
…
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#8 (comment)
|
Currently I get stuck in the "oscarification" of the code.
But when I start with
then there seem to be no replacements for (And when I try the proposed approach using a graded polynomial ring |
You're thinking Singular, not math... the missing nvars is a error |
@fieker Thanks. |
A possibility would be to change the notebook/ implementation to use the recent Oscar features. On Oscar#master this should work
Qt, T = PolynomialRing(QQ, :T=>1:10)
D = free_abelian_group(5)
Q = [...]
w = [D(Q[i, :]) for i=1:10]
R = grade(Qt, w)
a = ideal(R, [T[5]*T[10] - T[6]*T[9] + T[7]*T[8],
T[1]*T[9] - T[2]*T[7] + T[4]*T[5],
T[1]*T[8] - T[2]*T[6] + T[3]*T[5],
T[1]*T[10] - T[3]*T[7] + T[4]*T[6],
T[2]*T[10] - T[3]*T[9] + T[4]*T[8]])
or
a = ideal([R[5] * R[10] ....])
q, mq = quo(R, a)
...
Of course, internally all serious computations in R, a, Qt, are done in Singular, but it looks neater
Also, in the notebook, now automatically, you should see T_1 with proper subscripts
It would be cool if fans, cones, ... would be proper julia structures, then some of the interfacing would be easier to read....
The text was updated successfully, but these errors were encountered: