Re: [sage-support] Sage Crash Report

2015-09-13 Thread Vincent Delecroix
Hello, This might happen if you open several Sage session simlutaneously. IPython writes the history in a sqlite database which does not allow multiple connection. Thanks for the report. Vincent On 13/09/15 20:47, Jose Alejandro Lara Rodriguez wrote:

[sage-support] Sage Crash Report

2015-09-13 Thread Jose Alejandro Lara Rodriguez
*** IPython post-mortem report {'commit_hash': '3472a85', 'commit_source': 'installation', 'default_encoding': 'UTF-8', 'ipython_path': '/usr/local/sage/local/lib/python2.7/site-packages/IPython', 'ipython_version': '0.13

Re: [sage-support] domain of symbolic variables other than RR or CC in the context of HFE?

2015-09-13 Thread Vincent Delecroix
Hello, You would better use polynomial variables sage: R = PolynomialRing(GF(3), 'x', 5) sage: R.gens() (x0, x1, x2, x3, x4) sage: x0,x1,x2,x3,x4 = R.gens() sage: x0 + 2*x1 x0 - x1 But you can only do polynomial computations with them sage: x0 ** x1 Traceback (most recent call last): ... TypeE

[sage-support] domain of symbolic variables other than RR or CC in the context of HFE?

2015-09-13 Thread eggartmumie
Hi, in the context of HFE pf post quantum cryprography I had to realize that symbolic variables are real or complex only. SAGE ignores a 'domain=F' in var('x',domain=F) for some finite field F! Is it possible to define symbolic variables as elements of a finite field? I need such variables in ord