Works for me (archlinux system sage (version 10.6))

sage: va=Ideal(J).variety()
sage: va
[{x47: 697230/5107,
  x46: -3963219/20428,
  x45: 877339/5107,
  x44: -255117/20428,
  x43: -1366305/10214,
  x42: -1153515/5107,
  x41: 144,
  x40: 121,
  x39: 1439210/15321,
  x38: -2717419/20428,
  x37: 602811/5107,
  x36: -582751/61284,
  x35: -2869931/30642,
  x34: -2327701/15321,
  x33: 100,
  x32: 81,
  x31: 908570/15321,
  x30: -1706491/20428,
  x29: 379747/5107,
  x28: -421039/61284,
  x27: -1858763/30642,
  x26: -1418953/15321,
  x25: 64,
  x24: 49,
  x23: 166590/5107,
  x22: -930435/20428,
  x21: 208147/5107,
  x20: -93405/20428,
  x19: -355137/10214,
  x18: -244767/5107,
  x17: 36,
  x16: 25,
  x15: 212810/15321,
  x14: -389251/20428,
  x13: 88011/5107,
  x12: -160279/61284,
  x11: -489875/30642,
  x10: -273745/15321,
  x9: 16,
  x8: 9,
  x7: 47690/15321,
  x6: -82939/20428,
  x5: 19339/5107,
  x4: -61231/61284,
  x3: -132155/30642,
  x2: -37285/15321,
  x1: 4,
  x0: 1}]

On Tue, 20 May 2025 at 13:09, Georgi Guninski <ggunin...@gmail.com> wrote:
>
> I got linear zero dimensional ideal in 48 variables over QQ and when I
> run .variety() I get error and traceback. Looks like the python
> exception isn't caught due to a deeper error. Groebner basis of the
> ideal works.
>
> For most ideals, variety works.
>
> Tested on 10.6 on linux
>
> From the attached testcase:
>
> print("dimension=",Ideal(J).dimension()) # returns 0
> try:
>     va=Ideal(J).variety()
>     print(" variety passed")
> except Exception as e:
>     print(" exception in variety ",e) #error skipping text from `)`
> error at token `)` and traceback
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion visit 
> https://groups.google.com/d/msgid/sage-devel/CAGUWgD-Agyj155cNQX4FeivaVi_iHbAq5DV7uNo8QcodnhDtnA%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/CAGEwAAmLMbNFDPMs3wmjjOS%2BLO1JK-g%3DGAMesDMPFG4hXqrEQA%40mail.gmail.com.

Reply via email to