Objects/Documentation
reduire37.py
I check the residues for which only one route survives. With a compiled solver and the size-37 certificate I can also rebuild the reductions.
Download ↓"""Check the individual necessity of retained routes and optionally rebuild the full reduction."""
import argparse
import csv
import json
from math import gcd
from pathlib import Path
import subprocess
import tempfile
import zipfile
HERE = Path(__file__).resolve().parent
PRIMES = (11, 13, 17, 19, 23, 29, 31, 37)
PAIRS = ((18533, 18593), (26149, 26203), (8047, 8087), (34429, 34441),
(9451, 9517), (22889, 22943), (22507, 22567), (17959, 17989),
(17093, 17117), (17177, 17239), (17291, 17317), (39229, 39269))