sage: Add script for generating scalar_split_lambda constants

This commit is contained in:
Tim Ruffing
2020-11-25 14:12:27 +01:00
parent f554dfc708
commit 329a2e0a3f
2 changed files with 118 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ assert is_prime(N)
assert BETA != F(1)
assert BETA^3 == F(1)
assert BETA^2 + BETA + 1 == 0
assert LAMBDA != Z(1)
assert LAMBDA^3 == Z(1)
assert LAMBDA^2 + LAMBDA + 1 == 0
assert Integer(LAMBDA)*G == C(BETA*G[0], G[1])