Home / Five dimensions of a geometric quotient / How changing the hyperplane affects the dimension
Python program
How changing the hyperplane affects the dimension
"""Derive the three hyperplane-dependent dimension differences for all k >= 9."""
from math import comb
from pathlib import Path
import runpy
def section_dimension(numerator, twist):
def module_dimension(degree):
return sum(coeff * comb(degree - shift + 6, 6)
for shift, coeff in numerator.items() if shift <= degree)
return 21 * module_dimension(twist - 5) - 7 * module_dimension(twist - 6) + module_dimension(twist - 7)
def verify_marking_difference(left, right, power, reduced, twice_polynomial):
# Compare every coefficient before cancelling the power of 1-z.
product = {}
for exponent, coefficient in enumerate(reduced):
for j in range(power + 1):
degree = exponent + j
product[degree] = product.get(degree, 0) + coefficient * (-1)**j * comb(power, j)
for degree in set(left) | set(right) | set(product):
assert left.get(degree, 0) - right.get(degree, 0) == product.get(degree, 0)
# The denominator is (1-z)^(7-power). The numerator after multiplying by
# 21z^5-7z^6+z^7 has degree at most nine. Its coefficients for k>=9
# therefore form a polynomial of degree at most 6-power.
assert len(reduced) - 1 + 7 <= 9
degree = 6 - power
assert len(twice_polynomial) - 1 <= degree
for twist in range(9, 9 + degree + 1):
gap = section_dimension(left, twist) - section_dimension(right, twist)
assert 2 * gap == sum(c * twist**j for j, c in enumerate(twice_polynomial))
def main():
compute = next(Path(__file__).resolve().parent.rglob('compute_exterior_cokernel.py'))
algebra = runpy.run_path(str(compute))
# In a substitution, its right-hand index refers to the seven remaining
# variables. After u_2 is removed, index 4 denotes u_5, hence p_0=q_1.
cases = [('6R', 6, (7, [])), ('6A', 6, (2, [])), ('6B', 6, (2, [(4, 1)])),
('5R', 5, (7, [])), ('5A', 5, (3, []))]
numerators = {}
for name, kind, restriction in cases:
_, initial, _ = algebra['groebner'](algebra['generators'](kind, restriction))
numerator = algebra['hilbert_numerator'](initial)
numerators[name] = numerator
print(name, 'twists 45, 46, 47:', *(section_dimension(numerator, k) for k in (45, 46, 47)))
verify_marking_difference(numerators['6A'], numerators['6R'], 5, [0, 6, 6], [-1860, 360])
verify_marking_difference(numerators['6B'], numerators['6R'], 5, [0, 1, 7], [-1330, 240])
verify_marking_difference(numerators['5A'], numerators['5R'], 4, [0, 9, -2], [1484, -815, 105])
print('All k >= 9: 6A-6R = 180k-930; 6B-6R = 120k-665; 5A-5R = (105k^2-815k+1484)/2.')
if __name__ == '__main__':
main()
The original records reflect the work at the time of writing. The article gives the final interpretation and scope.
Original file checksum · SHA-256
743a4b796eaab0b3d48c535a72076017700b14a1b9e73e207df0195be9cc0d7a