Atelier des rouesLab FR
Objects/Documentation

noyau31.py

Shared conditionals and checks · noyau31.py

Download ↓
"""Shrink a rational obstruction to five shared planes. Each deletion has a witness."""
from fractions import Fraction as F
from itertools import product
from math import isqrt
from pathlib import Path
from verifier26 import permitted,verify
from contacts27 import TRIPLE
from union30 import transversal
import json

def study():
    d=json.loads(Path(__file__).with_name('union30.json').read_bytes());e=F(3,16)
    pools=[{p for p in permitted(TRIPLE,e,j) if any(p[:3]) or p[3]<0} for j in range(4)]
    planes=sorted(set.union(*pools));local=[[(i,p) for i,p in enumerate(planes) if p in pool] for pool in pools]
    points={}
    def add(j,u,v):

Read in context

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.