sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.44k stars 481 forks source link

Chow #27228

Open sorger-c opened 5 years ago

sorger-c commented 5 years ago

CC: @fchapoton

Component: algebraic geometry

Author: Christoph Sorger

Branch/Commit: public/ticket-chow @ f263ba5

Issue created by migration from https://trac.sagemath.org/ticket/27228

sorger-c commented 5 years ago

Author: Christoph Sorger

sorger-c commented 5 years ago

Branch: u/gh-sorger-c/chow

sorger-c commented 5 years ago

New commits:

8102668Added the package Chow, a library for computations in intersection theory.
sorger-c commented 5 years ago

Commit: 8102668

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 5 years ago

Changed commit from 8102668 to 06f8480

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 5 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

06f8480The package has been updated to work with version 8.7 of Sage.
embray commented 5 years ago
comment:7

Ticket retargeted after milestone closed (if you don't believe this ticket is appropriate for the Sage 8.8 release please retarget manually)

embray commented 5 years ago
comment:8

As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9).

7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Branch pushed to git repo; I updated commit sha1. New commits:

48d6a43Added the package Chow, a library for computations in intersection theory.
a58edecThe package has been updated to work with version 8.7 of Sage.
b5769acUpdated to Python3. Works with Sage 9.0
23c70fcMerge branch 'u/gh-sorger-c/chow' of git://trac.sagemath.org/sage into t/27228/chow
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 4 years ago

Changed commit from 06f8480 to 23c70fc

fchapoton commented 4 years ago
comment:10

Salut Christoph,

sage: x = PowerSeriesRing(QQ,'x', default_prec=24).gen().O(24)
sage: x/(1-exp(x))
-1 + 1/2*x - 1/12*x^2 + 1/720*x^4 - 1/30240*x^6 + 1/1209600*x^8 - 1/47900160*x^10 + 691/1307674368000*x^12 - 1/74724249600*x^14 + 3617/10670622842880000*x^16 - 43867/5109094217170944000*x^18 + 174611/802857662698291200000*x^20 - 77683/14101100039391805440000*x^22 + O(x^23)

https://wiki.sagemath.org/CodeSharingWorkflow

https://gist.github.com/cswiercz/c632d920565a2da519b73bd2b79d7920

https://github.com/sagemath/sage_sample

sorger-c commented 4 years ago
comment:11

Salut Frédéric,

Merci pour les deux suggestions. Je vais regarder comment éviter l'utilisation de SR, peut-être avec l'anneau des séries formelles ou, effectivement, le faire directement via les nombres de Bernoulli.

En ce qui concerne le packaging, oui, c'est une piste à suivre, merci pour les liens! On me demande parfois comment installer chow et la forme actuelle d'une branche est un peu compliquée pour les collègues qui n'ont pas l'habitude de git. Aussi il faut compiler sage ce qui est délicat parfois (je n'ai pas réussi à compiler la branche develop aujourd'hui sur mon Mac, puisque pynac et matplotlib bloquaient) et surtout très long... Je vais regarder sage_sample plus en détail (et les remarques de Nicolas sur le workflow).

Là aujourd'hui, j'ai juste voulu rendre la branche compatible avec Sage 9.0 et Python3. Ce n'était pas très difficile, essentiellement quelques imports, l'utilisation de basestring et une division a/b à modifier. Au moins, tous les tests passent à nouveau.

jhpalmieri commented 2 years ago
comment:12

See https://math.stackexchange.com/questions/4574286/sage-chow-package-install-merge-error: the branch no longer merges cleanly.

fchapoton commented 2 years ago

Changed branch from u/gh-sorger-c/chow to public/ticket-chow

fchapoton commented 2 years ago

Changed commit from 23c70fc to 66676ed

fchapoton commented 2 years ago

New commits:

66676edMerge branch 'u/gh-sorger-c/chow' in 9.8.b3
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 1 year ago

Branch pushed to git repo; I updated commit sha1. New commits:

5d6eb80Merge branch 'develop' into t/27228/public/ticket-chow
f263ba5Works with 9.8.beta6
7ed8c4ca-6d56-4ae9-953a-41e42b4ed313 commented 1 year ago

Changed commit from 66676ed to f263ba5