@ceccec/millennium-solutions 9.0.9 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,13 +52,14 @@ theorem doubling_the_domain_leaves_the_same_hole :
52
52
 
53
53
  -- ── 4 · THE DEPOSIT'S OWN LARGEST DOMAIN IS STILL A BOUND ───────────────────────────────────────────────
54
54
  -- 152,568,360,000 is the largest case-count any theorem in this tree walks. It is enormous and it is finite,
55
- -- and the naturals do not stop there. Stated with the number so the point cannot be read as rhetorical.
55
+ -- and the naturals do not stop there. Stated as a LAW with its inverse — the successor leaves every bound, the
56
+ -- predecessor brings it back, and the step flips parity — decided at every bound above AND at the largest
57
+ -- domain, so the number is an instance of the law rather than a value read back (2026-09-14).
56
58
  def largestDomainHere : Nat := 152568360000
57
59
 
58
- theorem even_the_largest_domain_here_has_an_outside :
59
- largestDomainHere + 1 > largestDomainHere
60
- ∧ largestDomainHere % 2 = 0
61
- ∧ (largestDomainHere + 1) % 2 = 1 := by decide
60
+ theorem the_successor_leaves_every_domain_and_the_predecessor_returns :
61
+ (bounds ++ [largestDomainHere]).all (fun n =>
62
+ n + 1 > n && (n + 1) - 1 == n && (n + 1) % 2 != n % 2) := by decide
62
63
 
63
64
  -- ── 5 · A THEOREM NAMED FOR THE CLAY PROBLEMS THAT DECIDED NOTHING ABOUT THEM — DELETED ─────────────────
64
65
  -- `this_file_settles_none_of_the_seven` stood here and decided:
@@ -68,9 +68,14 @@ theorem no_constant_factor_accounts_for_the_gap :
68
68
  ¬ (10000 * 20 ≥ 1048576) ∧ 100 * 10 ≥ 1024 - 24 := by decide
69
69
 
70
70
  -- ── 4 · THE MEASURED RATIO, from the declared inputs, in the same unit on both sides — the mistake that
71
- -- made an earlier theorem in this deposit compare seal-bits against a leaf count. ──
72
- theorem the_measured_ratio_at_a_million_leaves :
73
- recomputeUs / verifyUs = 567971 ∧ recomputeUs > verifyUs * 500000 := by decide
71
+ -- made an earlier theorem in this deposit compare seal-bits against a leaf count. Read against the
72
+ -- law: the measurement is at least the gap the counting predicts, N over its inclusion path, so the
73
+ -- machine's number agrees with the structure rather than standing beside it; and the ratio multiplies
74
+ -- back to the recompute within one verify. ──
75
+ theorem the_measured_ratio_exceeds_the_counted_gap :
76
+ (List.range' 1 20).all (fun k => 2 ^ k / rounds 40 (2 ^ k) ≤ recomputeUs / verifyUs) ∧
77
+ (recomputeUs / verifyUs) * verifyUs ≤ recomputeUs ∧ recomputeUs < (recomputeUs / verifyUs + 1) * verifyUs ∧
78
+ recomputeUs / verifyUs = 567971 := by decide
74
79
 
75
80
  -- ── 5 · VERIFY IS NOT FREE, and calling it O(1) would be the easy overclaim. It grows — slowly, and without
76
81
  -- bound — so a large enough set costs a longer path. Logarithmic is not constant. ──
@@ -81,8 +86,11 @@ theorem verification_grows_it_is_not_constant :
81
86
  -- ── 6 · NOTHING HERE IS SUB-NANOSECOND. The measured verify is 38000 nanoseconds. The claim that it is under
82
87
  -- one is off by four and a half orders of magnitude, and this theorem exists so that number sits in
83
88
  -- the ledger next to the impressive one rather than only the impressive one being quotable. ──
84
- theorem the_verify_is_thirty_eight_thousand_nanoseconds_not_one :
85
- nsPerVerify = 38000 ∧ nsPerVerify > 1 ∧ nsPerVerify > 10000 := by decide
89
+ -- The nanosecond figure is not a second typed input: it is the microsecond input converted, and the
90
+ -- conversion reads back at every microsecond count below a thousand. ──
91
+ theorem the_verify_in_nanoseconds_reads_back_its_microseconds :
92
+ (List.range 1000).all (fun u => u * 1000 / 1000 == u) ∧
93
+ nsPerVerify = verifyUs * 1000 ∧ nsPerVerify / 1000 = verifyUs ∧ nsPerVerify > 10000 := by decide
86
94
 
87
95
  -- ── 7 · THE WORK PER NODE IS THE SAME on both paths. Recompute and verify run the identical hash; only the
88
96
  -- COUNT differs. That is what makes this arithmetic rather than a claim about hardware. ──
@@ -107,12 +115,22 @@ def hexbitChars : Nat := 22 -- the same address over the 64-hexagram lattice
107
115
  def hexMs : Nat := 16 -- median ms for 200,000 encodings, 8-bit table
108
116
  def hexbitMs : Nat := 30 -- the same work, 6-bit lattice
109
117
 
110
- -- Shorter: 22 against 32 is a 31% reduction, and that IS what hexbits unlock.
111
- theorem hexbits_are_shorter_than_hex :
112
- hexbitChars < hexChars ∧ hexChars - hexbitChars = 10 ∧ hexbitChars * 100 / hexChars = 68 := by decide
118
+ -- Characters needed for a 128-bit address at b bits per character: the ceiling of 128 / b.
119
+ def charsFor (b : Nat) : Nat := (128 + b - 1) / b
120
+
121
+ -- Shorter: the width is the ceiling of 128 bits over the symbol, and multiplying back covers the 128 bits
122
+ -- with less than one symbol to spare, at every symbol width from one to eight bits. 32 and 22 are the
123
+ -- instances at four and six bits — derived, not typed — and 22 against 32 is what hexbits unlock.
124
+ theorem the_width_is_the_ceiling_of_128_bits_over_the_symbol :
125
+ (List.range' 1 8).all (fun b => charsFor b * b ≥ 128 && (charsFor b - 1) * b < 128) ∧
126
+ charsFor 4 = hexChars ∧ charsFor 6 = hexbitChars ∧
127
+ hexbitChars < hexChars ∧ hexbitChars * 100 / hexChars = 68 := by decide
113
128
 
114
129
  -- And slower: the same encodings cost 30 ms against 16, so the density is bought with time, not given.
115
- theorem hexbits_are_slower_than_hex :
130
+ -- The ratio is a floor division in tenths, and it multiplies back to the timing within one step — at every
131
+ -- divisor and dividend checked, of which the two medians are one instance.
132
+ theorem hexbits_are_slower_and_the_ratio_multiplies_back :
133
+ (List.range' 1 20).all (fun b => (List.range 400).all (fun a => (a / b) * b ≤ a && a < (a / b + 1) * b)) ∧
116
134
  hexbitMs > hexMs ∧ hexbitMs * 10 / hexMs = 18 := by decide
117
135
 
118
136
  -- A theorem named `an_encoding_changes_width_not_the_count_of_operations` stood here and is DELETED. It
@@ -15286,5 +15286,119 @@
15286
15286
  "verdict": "UNVERIFIED",
15287
15287
  "ground": "no candidate in the current space — nothing to recompute",
15288
15288
  "receipt": "35d5dc48-cbc0-8b91-aaaf-2976834a5f5f"
15289
+ },
15290
+ {
15291
+ "key": "lean_energy_any_yield_below_its_cost_reads_under_the_whole",
15292
+ "verdict": "UNVERIFIED",
15293
+ "ground": "no candidate in the current space — nothing to recompute",
15294
+ "receipt": "64823215-1e97-88ef-ab5f-46f0ed44534a"
15295
+ },
15296
+ {
15297
+ "key": "lean_energy_the_cost_per_litre_multiplies_back_to_the_cost",
15298
+ "verdict": "UNVERIFIED",
15299
+ "ground": "no candidate in the current space — nothing to recompute",
15300
+ "receipt": "2fafc1e2-f58f-8431-8e73-cfaa3c48dc21"
15301
+ },
15302
+ {
15303
+ "key": "lean_energy_the_mass_balance_is_the_atom_balance",
15304
+ "verdict": "UNVERIFIED",
15305
+ "ground": "no candidate in the current space — nothing to recompute",
15306
+ "receipt": "2854e1d5-ab5d-8f6f-aae3-a6d17a1f5202"
15307
+ },
15308
+ {
15309
+ "key": "lean_energy_the_atom_table_decides_the_balance",
15310
+ "verdict": "UNVERIFIED",
15311
+ "ground": "no candidate in the current space — nothing to recompute",
15312
+ "receipt": "98e0c98d-7b0c-8a11-a21f-84b31b36f426"
15313
+ },
15314
+ {
15315
+ "key": "lean_energy_a_part_and_its_rest_read_back_the_whole",
15316
+ "verdict": "UNVERIFIED",
15317
+ "ground": "no candidate in the current space — nothing to recompute",
15318
+ "receipt": "d4addfa7-6e96-8896-8574-0608cec8caf0"
15319
+ },
15320
+ {
15321
+ "key": "lean_energy_splitting_then_burning_is_the_identity_at_the_ideal",
15322
+ "verdict": "UNVERIFIED",
15323
+ "ground": "no candidate in the current space — nothing to recompute",
15324
+ "receipt": "f354845f-b6af-8133-a8b0-ac3c1c3c6c18"
15325
+ },
15326
+ {
15327
+ "key": "lean_energy_the_gas_volume_reads_back_its_moles",
15328
+ "verdict": "UNVERIFIED",
15329
+ "ground": "no candidate in the current space — nothing to recompute",
15330
+ "receipt": "464b601e-4839-8b4d-bdad-e1f82ff6be74"
15331
+ },
15332
+ {
15333
+ "key": "lean_energy_two_parts_in_three_is_two_thirds_at_every_scale",
15334
+ "verdict": "UNVERIFIED",
15335
+ "ground": "no candidate in the current space — nothing to recompute",
15336
+ "receipt": "6913b23d-5d6d-832c-9992-426fc4755697"
15337
+ },
15338
+ {
15339
+ "key": "lean_energy_the_energy_per_litre_multiplies_back_to_the_energy",
15340
+ "verdict": "UNVERIFIED",
15341
+ "ground": "no candidate in the current space — nothing to recompute",
15342
+ "receipt": "6ca259eb-a048-889f-953f-ffb3af4e191d"
15343
+ },
15344
+ {
15345
+ "key": "lean_energy_compression_scales_the_energy_per_litre_linearly",
15346
+ "verdict": "UNVERIFIED",
15347
+ "ground": "no candidate in the current space — nothing to recompute",
15348
+ "receipt": "62f26437-7387-84fc-bed6-8afc5ccf0921"
15349
+ },
15350
+ {
15351
+ "key": "lean_energy_a_ratio_and_its_reciprocal_multiply_back_to_the_whole",
15352
+ "verdict": "UNVERIFIED",
15353
+ "ground": "no candidate in the current space — nothing to recompute",
15354
+ "receipt": "07ef3913-ea46-810b-85b9-be9b21a8f476"
15355
+ },
15356
+ {
15357
+ "key": "lean_energy_the_loss_and_the_yield_read_back_the_input",
15358
+ "verdict": "UNVERIFIED",
15359
+ "ground": "no candidate in the current space — nothing to recompute",
15360
+ "receipt": "945f6f02-5f28-8c32-a3a8-226b5a6e37e4"
15361
+ },
15362
+ {
15363
+ "key": "lean_energy_the_residue_ratio_is_the_same_at_every_volume",
15364
+ "verdict": "UNVERIFIED",
15365
+ "ground": "no candidate in the current space — nothing to recompute",
15366
+ "receipt": "b0b19d5b-1924-8383-b871-740fdb759594"
15367
+ },
15368
+ {
15369
+ "key": "lean_light_the_si_fixes_seven_distinct_nonzero_constants",
15370
+ "verdict": "UNVERIFIED",
15371
+ "ground": "no candidate in the current space — nothing to recompute",
15372
+ "receipt": "b8191727-00d7-8658-a6ea-e9b71aed9e9d"
15373
+ },
15374
+ {
15375
+ "key": "lean_reach_the_successor_leaves_every_domain_and_the_predecessor_returns",
15376
+ "verdict": "UNVERIFIED",
15377
+ "ground": "no candidate in the current space — nothing to recompute",
15378
+ "receipt": "e11c16ca-5d37-8dc4-9af3-7a3488c33cd8"
15379
+ },
15380
+ {
15381
+ "key": "lean_speed_the_measured_ratio_exceeds_the_counted_gap",
15382
+ "verdict": "UNVERIFIED",
15383
+ "ground": "no candidate in the current space — nothing to recompute",
15384
+ "receipt": "f8640798-50bd-8c98-b980-085593d93807"
15385
+ },
15386
+ {
15387
+ "key": "lean_speed_the_verify_in_nanoseconds_reads_back_its_microseconds",
15388
+ "verdict": "UNVERIFIED",
15389
+ "ground": "no candidate in the current space — nothing to recompute",
15390
+ "receipt": "e8a082ef-9515-8029-bfae-0a73deba82b4"
15391
+ },
15392
+ {
15393
+ "key": "lean_speed_the_width_is_the_ceiling_of_128_bits_over_the_symbol",
15394
+ "verdict": "UNVERIFIED",
15395
+ "ground": "no candidate in the current space — nothing to recompute",
15396
+ "receipt": "5811891a-d052-8382-8f7c-9a3d6def88cc"
15397
+ },
15398
+ {
15399
+ "key": "lean_speed_hexbits_are_slower_and_the_ratio_multiplies_back",
15400
+ "verdict": "UNVERIFIED",
15401
+ "ground": "no candidate in the current space — nothing to recompute",
15402
+ "receipt": "91a92ea5-bedd-8b9a-80b7-29130fbe5a93"
15289
15403
  }
15290
15404
  ]