Re: [sage-support] SR: RuntimeError: error in Singular function call 'groebner': int overflow in hilb 1

2021-07-01 Thread 'Martin R. Albrecht' via sage-support
Hi Vesselin, Sorry! Name-clash: Sage uses SR for the “Symbolic Ring” and we use “mq.SR” for the small scale AES generator. This is what caused Dima’s confusion, that’s all. A workaround is to look at the linear equations directly and to extract a solution from it “by hand”, i.e. there’s a bug.

Re: [sage-support] SR: RuntimeError: error in Singular function call 'groebner': int overflow in hilb 1

2021-07-01 Thread 'Martin R. Albrecht' via sage-support
Hi all, I think there’s a name clash here. mq.SR is a thing I wrote ages ago for producing systems of equations for small-scale variants of AES (not the symbolic ring). The problem comes from the variety() call and I think Sam did find a bug: sage: sr = mq.SR(2,1,1,4, gf2=True, polybori=True,

[sage-support] http://aleph.sagemath.org/

2021-03-24 Thread 'Martin R. Albrecht' via sage-support
Hi there, The trusted Sage Cell server stopped loading external resources, e.g. for load("https://bitbucket.org/malb/lwe-estimator/raw/HEAD/estimator.py";) n, alpha, q = 256, 0.0009765625, 65537 set_verbose(1) _ = estimate_lwe(n, alpha, q) http://aleph.sagemath.org/?z=eJxNjcEKwjAQBe-F_kP

Re: [sage-support] Size reduced of a basis

2021-03-22 Thread 'Martin R. Albrecht' via sage-support
File "src/fpylll/fplll/lll.pyx", line 379, in > fpylll.fplll.lll.LLLReduction.size_reduction > fpylll.util.ReductionError: b'success' > > Kind regards, > Santanu > > > On Wed, 17 Mar 2021 at 15:47, 'Martin R. Albrecht' via sage-support < > sage-sup

Re: [sage-support] Size reduced of a basis

2021-03-17 Thread &#x27;Martin R. Albrecht&#x27; via sage-support
Hi there, You can do it by calling down to FPyLLL which (together with NTL) powers lattice reduction in Sage. Here’s an example: #+begin_src jupyter-python :kernel sagemath A = random_matrix(ZZ, 10, 10, x=-1, y=2) A.echelonize() # make it interesting by turning into HNF print("# Input") print(A)

Re: [sage-support] Re: Lattice reduction over polynomial lattice

2017-02-21 Thread &#x27;Martin R. Albrecht&#x27; via sage-support
Hi, I don’t think this is implemented in Sage. Cheers, Martin Santanu Sarkar writes: Dear all, I am searching lattice reduction for polynomial matrices in Sage. Kindly help me. T. Mulders and A. Storjohann. On lattice reduction for polynomial matrices. Journal of Symbolic Computation,

Re: [sage-support] SAT Random Solutions

2016-07-26 Thread &#x27;Martin R. Albrecht&#x27; via sage-support
Hi there, did you check that your system has more than one solution? In any case, solve_sat() takes a parameter `n` which tells it to recover more/all solutions. """ * "n" - number of solutions to return. If "n" is +infinity then all solutions are returned. If "n Hello > > I am trying to

Re: [sage-support] KASUMI on Sage

2016-02-19 Thread &#x27;Martin R. Albrecht&#x27; via sage-support
Hi Roberto, it’s not implemented in Sage, so you won’t find it. Cheers, Martin Roberto Labrada Claro writes: > Hi, I'm from Cuba and new to this group and I am learning to work with Sage, > I am using the virtual machine sage on Windows 10, I have a degree in > Mathematics, someone pordría hel