diff --git a/research/ee251f60-composition/.gitattributes b/research/ee251f60-composition/.gitattributes new file mode 100644 index 0000000000..4f7fc3ef14 --- /dev/null +++ b/research/ee251f60-composition/.gitattributes @@ -0,0 +1 @@ +* -text whitespace=cr-at-eol diff --git a/research/ee251f60-composition/EDIT.json b/research/ee251f60-composition/EDIT.json new file mode 100644 index 0000000000..23368c8750 --- /dev/null +++ b/research/ee251f60-composition/EDIT.json @@ -0,0 +1,979 @@ +{ + "schema": "source-bound-exact-event-edit/v1", + "source": "3dd1199d95291ee96e6c0aeb6f55f86244a569b1d4975840bf0207e2dcf9c025", + "candidate": "ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d", + "unchanged_headers": true, + "edits": [ + { + "start": 0, + "stop": 0, + "before": [], + "after": [ + [ + "ADD", + 112, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 113, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 114, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 116, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 117, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 118, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 119, + 607, + "1/2", + 3 + ], + [ + "ADD", + 120, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 122, + 607, + "1/2", + 3 + ], + [ + "ADD", + 123, + 607, + "1/2", + 3 + ], + [ + "ADD", + 137, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 138, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 139, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 140, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 141, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 142, + 607, + "-1", + 3 + ], + [ + "ADD", + 169, + 607, + "1/2", + 3 + ], + [ + "ADD", + 170, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 171, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 172, + 607, + "-1", + 3 + ], + [ + "ADD", + 173, + 607, + "1/4", + 3 + ], + [ + "ADD", + 174, + 607, + "1/2", + 3 + ], + [ + "ADD", + 175, + 607, + "1/2", + 3 + ], + [ + "ADD", + 176, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 177, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 178, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 179, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 180, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 181, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 182, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 183, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 184, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 185, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 186, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 187, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 191, + 607, + "1/2", + 3 + ], + [ + "ADD", + 192, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 193, + 607, + "1/2", + 3 + ], + [ + "ADD", + 194, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 195, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 196, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 198, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 199, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 200, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 201, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 202, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 203, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 204, + 607, + "1/2", + 3 + ], + [ + "ADD", + 206, + 607, + "1/2", + 3 + ], + [ + "ADD", + 207, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 208, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 209, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 228, + 607, + "1/4", + 3 + ], + [ + "ADD", + 236, + 607, + "1/4", + 3 + ], + [ + "ADD", + 255, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 272, + 607, + "1/4", + 3 + ], + [ + "ADD", + 279, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 306, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 311, + 607, + "-1", + 3 + ], + [ + "ADD", + 313, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 316, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 336, + 607, + "1/4", + 3 + ], + [ + "ADD", + 347, + 607, + "1/4", + 3 + ], + [ + "ADD", + 351, + 607, + "1/4", + 3 + ], + [ + "ADD", + 436, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 437, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 438, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 439, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 522, + 607, + "1", + 3 + ], + [ + "ADD", + 530, + 607, + "1", + 3 + ], + [ + "ADD", + 536, + 607, + "1/4", + 3 + ], + [ + "ADD", + 599, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 600, + 607, + "1/4", + 3 + ], + [ + "ADD", + 609, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 611, + 607, + "1/4", + 3 + ], + [ + "ADD", + 617, + 607, + "1/4", + 3 + ], + [ + "ADD", + 625, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 627, + 607, + "1/4", + 3 + ], + [ + "ADD", + 635, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 640, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 655, + 607, + "1/4", + 3 + ], + [ + "ADD", + 697, + 607, + "-1/4", + 3 + ], + [ + "ADD", + 752, + 607, + "17/8", + 3 + ], + [ + "ADD", + 812, + 607, + "1/2", + 3 + ], + [ + "ADD", + 1079, + 607, + "1/2", + 3 + ], + [ + "ADD", + 1122, + 607, + "-1", + 3 + ], + [ + "ADD", + 1176, + 607, + "-1/4", + 3 + ], + [ + "ADD", + 1228, + 607, + "1/8", + 3 + ], + [ + "ADD", + 1233, + 607, + "1/8", + 3 + ], + [ + "ADD", + 1234, + 607, + "1/4", + 3 + ], + [ + "ADD", + 1255, + 607, + "1/4", + 3 + ], + [ + "ADD", + 1265, + 607, + "-1/2", + 3 + ], + [ + "ADD", + 1279, + 607, + "1/8", + 3 + ], + [ + "ADD", + 1331, + 607, + "-1/2", + 3 + ] + ] + }, + { + "start": 87321, + "stop": 87321, + "before": [], + "after": [ + [ + "INIT", + 1551, + 115 + ], + [ + "ADD", + 1551, + 770, + "1", + 115 + ] + ] + }, + { + "start": 96905, + "stop": 96905, + "before": [], + "after": [ + [ + "ADD", + 1279, + 1551, + "-1", + 115 + ] + ] + }, + { + "start": 96959, + "stop": 96961, + "before": [ + [ + "MOVE", + 1517, + 549, + 115, + true + ], + [ + "ADD", + 1517, + 1518, + "1/4", + 115 + ] + ], + "after": [ + [ + "MOVE", + 1517, + 549, + 593, + true + ] + ] + }, + { + "start": 96963, + "stop": 96964, + "before": [ + [ + "MOVE", + 1517, + 115, + 593, + true + ] + ], + "after": [] + }, + { + "start": 97747, + "stop": 97749, + "before": [ + [ + "MOVE", + 236, + 265, + 751, + false + ], + [ + "ADD", + 544, + 236, + "-2", + 751 + ] + ], + "after": [ + [ + "ADD", + 236, + 1000, + "1/4", + 265 + ], + [ + "ADD", + 1000, + 236, + "-2", + 265 + ], + [ + "MOVE", + 236, + 265, + 927, + false + ] + ] + }, + { + "start": 97750, + "stop": 97750, + "before": [], + "after": [ + [ + "ADD", + 544, + 1000, + "1/2", + 751 + ] + ] + }, + { + "start": 97751, + "stop": 97752, + "before": [ + [ + "ADD", + 236, + 1000, + "1/4", + 751 + ] + ], + "after": [] + }, + { + "start": 97753, + "stop": 97753, + "before": [], + "after": [ + [ + "ADD", + 544, + 236, + "-1", + 927 + ], + [ + "ADD", + 236, + 544, + "1/2", + 927 + ] + ] + }, + { + "start": 99687, + "stop": 99687, + "before": [], + "after": [ + [ + "ADD", + 614, + 1551, + "1", + 115 + ] + ] + }, + { + "start": 100116, + "stop": 100117, + "before": [ + [ + "MOVE", + 236, + 751, + 127, + false + ] + ], + "after": [ + [ + "MOVE", + 236, + 927, + 127, + false + ] + ] + }, + { + "start": 150409, + "stop": 150409, + "before": [], + "after": [ + [ + "ADD", + 278, + 770, + "1/2", + 127 + ], + [ + "ADD", + 566, + 770, + "1", + 127 + ], + [ + "ADD", + 567, + 770, + "1/2", + 127 + ], + [ + "ADD", + 612, + 770, + "1", + 127 + ], + [ + "ADD", + 613, + 770, + "1", + 127 + ], + [ + "ADD", + 614, + 770, + "1", + 127 + ], + [ + "ADD", + 1078, + 770, + "1/2", + 127 + ], + [ + "ADD", + 1204, + 770, + "-1/4", + 127 + ], + [ + "ADD", + 1259, + 770, + "-1/4", + 127 + ], + [ + "ADD", + 1280, + 770, + "1", + 127 + ], + [ + "ADD", + 1368, + 770, + "1", + 127 + ], + [ + "ADD", + 1374, + 770, + "2", + 127 + ], + [ + "SCALE", + 770, + "-1", + 127 + ], + [ + "CLEAR", + 1551, + 115 + ] + ] + } + ] +} diff --git a/research/ee251f60-composition/LICENSE b/research/ee251f60-composition/LICENSE new file mode 100644 index 0000000000..261eeb9e9f --- /dev/null +++ b/research/ee251f60-composition/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/research/ee251f60-composition/MANIFEST.json b/research/ee251f60-composition/MANIFEST.json new file mode 100644 index 0000000000..3c78e9f7f4 --- /dev/null +++ b/research/ee251f60-composition/MANIFEST.json @@ -0,0 +1,150 @@ +{ + "scope": "Specific artifact byte custody; not a universal admission gate", + "files": [ + { + "path": ".gitattributes", + "bytes": 29, + "sha256": "730a35ae3d558080083c3103d9ac8100c3f6561678092abe341701dfa331eb1d" + }, + { + "path": "data/CALLER.json.gz", + "bytes": 11854, + "sha256": "d889996a337f648087208ab51c98eaf052705d4fca88b5d01b6e9257a829897a" + }, + { + "path": "data/CERTS.json", + "bytes": 15986, + "sha256": "5bca98812eb29a0c5f9239598c84e4be734f3d61a0aedb29d3e5b496bdc83cf2" + }, + { + "path": "data/HEADER.json", + "bytes": 29479, + "sha256": "f98d2c33c8f923fbe00bb98985f4216860914bb171083a43b72660f6d3641d77" + }, + { + "path": "data/INVOICE-ZERO.json", + "bytes": 348, + "sha256": "33a946dfebc22fd844b8237397a9fda1753658e1f7e4d94a58cc07e7d0ead11e" + }, + { + "path": "data/INVOICE.json", + "bytes": 574, + "sha256": "c79d8c51ad34c7c14134c41d3ae132ab91101e8e24674b52a2abfa191de3fd00" + }, + { + "path": "data/K372-2-WORD.json.gz", + "bytes": 585407, + "sha256": "631babeca90e78c5caac713484fe618328b9beee8294baef6ac45ffc9a75dd3b" + }, + { + "path": "EDIT.json", + "bytes": 13849, + "sha256": "05b84f9578fddc7adc7805f20afdfe5ea679d298b2232d7f718193185f471656" + }, + { + "path": "evidence/BUILD.json", + "bytes": 3767, + "sha256": "a0bafbb3f44920ed6ac1ed3d83385f025f5bbbcf5e9c8013ab1ca55ccf23c32d" + }, + { + "path": "evidence/FINITE-AUDIT.json", + "bytes": 27585, + "sha256": "345fd7c846173a76934d33d74dd490ee73bf7e8562d53d0a0c973b4a8845237a" + }, + { + "path": "evidence/GRID.json", + "bytes": 347, + "sha256": "b9ef6f5d1839624656922f994f9c9467aaa1460599d91ee2ff6e84be419c4bf6" + }, + { + "path": "evidence/INVENTORY.json", + "bytes": 619, + "sha256": "087a15b08b1aa502ec817269c9fa5cc19dd1e25e1e19af0d223a6546a85da3df" + }, + { + "path": "evidence/NATIVE-EVIDENCE-REUSE.json", + "bytes": 10207, + "sha256": "84bab14d5c584aa8853b8e1025b562541ac6657e458d120ec803f2bc149c3eb8" + }, + { + "path": "evidence/NATIVE-UNVERIFIED-PAIRS.json", + "bytes": 4, + "sha256": "a5338d955b09046ec0b16f3a9625b7955c763aae07dc722e474e6078745f932f" + }, + { + "path": "evidence/ORDINARY.json", + "bytes": 12018, + "sha256": "ec37a95ded3d09dc95c11050956d76d318a2124e054643fd8c50feedce2553b9" + }, + { + "path": "evidence/PHYSICAL.json", + "bytes": 8672, + "sha256": "d4e64b29b83f5b855c9f2a44c64836d2e3baecde8fad009a2d2f0e2161216135" + }, + { + "path": "evidence/PRECISION.json", + "bytes": 25285, + "sha256": "8b1bdf899f80c158e438ed3ce29d359698a56ffc17f4a74a4258e2d7c5bb0a3d" + }, + { + "path": "evidence/PRICE-SUMMARY.json", + "bytes": 3670, + "sha256": "d13741fe3217a01edd0b79b40dad037e644e441fbbc300838df99c0b050a5f42" + }, + { + "path": "evidence/PUBLICATION-REPLAY.json", + "bytes": 1784, + "sha256": "bbd337e7fe02bdd1fbe3785c043ab6eb4782a2760bafd76d4c0cff54f909ae43" + }, + { + "path": "evidence/ROLE770-BUILD.json", + "bytes": 10339, + "sha256": "1c400f16efbc427c40c811a57dc656fe97c2c84f94c71529e2c5c0598b146369" + }, + { + "path": "evidence/ROLE770-PROBE.json", + "bytes": 4188, + "sha256": "a658a9e1e511a0e77f2c240be83846b0f00458b8a54df9c23a29d15416f86ec5" + }, + { + "path": "LICENSE", + "bytes": 11357, + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4" + }, + { + "path": "PROVENANCE.md", + "bytes": 7588, + "sha256": "706c6c852e87e371ddf1828244b2f0c2b00279728818023aa911c8947d69ab83" + }, + { + "path": "README.md", + "bytes": 6253, + "sha256": "3f43eecc53510940d00d970aff3450f14582b3f0c2d7e5c6a93d7d8ccadcd70b" + }, + { + "path": "replay.py", + "bytes": 6089, + "sha256": "23ab234e7262d5994f563f1118fdc4ace2a8a533cd83fa2342d833c13fe3308f" + }, + { + "path": "src/compare_recursive_invoices.py", + "bytes": 9553, + "sha256": "3930c22c11da7bc6042cfeb6e459ecb06e4478430037bee3469d034353855fc6" + }, + { + "path": "src/evaluate_recursive_power.py", + "bytes": 4593, + "sha256": "52b20f41fd0bb55fa88dccd6015af2ce358917817b9506720f3e60ce681cc3ad" + }, + { + "path": "src/integer_grid_audit.py", + "bytes": 21879, + "sha256": "029fcc729e2f5dda51ac1ebc7caf6a51d7a6d9b3e2772380731c6f910502099d" + }, + { + "path": "src/ordinary_tape_audit.py", + "bytes": 21405, + "sha256": "50742bd13793b7bf8c8ef04099a7e529e1d1bb7653c10a0f930e6bca8be7524c" + } + ] +} diff --git a/research/ee251f60-composition/PROVENANCE.md b/research/ee251f60-composition/PROVENANCE.md new file mode 100644 index 0000000000..bbee2437f0 --- /dev/null +++ b/research/ee251f60-composition/PROVENANCE.md @@ -0,0 +1,43 @@ +# Provenance, credit and scope + +This is a cumulative contribution. Thank you to everyone who has made their constructions, exact inputs, failure cases and careful reviews available. Those contributions made this composition possible; the small increment here should not obscure the much larger body of work it rests on. We aim to leave equally inspectable material for the next researcher. + +## Direct lineage and reused methods + +- **SYLforge, #7637:** the H5B frame-restored233-CLEAR construction is the published ancestor of this research. The present K372-2 source retains its descendants rather than starting a new independent construction. [PR7637](https://github.com/CrocSwap/integer-mult-bounds/pull/7637). +- **DreamingOfClouds, #7641 and #7658:** #7641 combines20 edits over #7637. #7658 supplies the large-neighbourhood construction and its exact joint hub reconstruction: helper360/537 SWAP-NULL relabel, main176 bypass, helper236 contact re-chart, helper370 last-stay removal and helper461 first-stay removal. The source explicitly credits its #7630/#7636 relabel lineage and #7634 swap law. Our source descends from this word; those gains are not claimed as new work here. [PR7641](https://github.com/CrocSwap/integer-mult-bounds/pull/7641), [PR7658](https://github.com/CrocSwap/integer-mult-bounds/pull/7658). +- **Clear1nsight:** the contact re-chart type from #7612 and the24-bit coefficient-splitting report are part of the construction's lineage. #7626 contributed source isolation/portable materialization, and #7631/#7633 are credited by the parent lineage. #7660 separately published the role379 shortcut already present in our source; we do not count its rediscovery as another improvement. [PR7612](https://github.com/CrocSwap/integer-mult-bounds/pull/7612), [coefficient report](https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406), [PR7660](https://github.com/CrocSwap/integer-mult-bounds/pull/7660). +- **ToikY, #7643:** the contact re-chart work is explicitly credited by #7658 alongside Clear1nsight's #7612. Its74-erasure contract and κ are not added to this candidate. No shared CI repair is copied by this PR. [PR7643](https://github.com/CrocSwap/integer-mult-bounds/pull/7643). +- **Rohan Arun, #7113:** the signed caller/accounting lineage underlies the actual16-call composition. Its original source commit is07a76c5e2738882c0cb322278e56f6cae3c9885d. We recount the literal16-call input here; we do not substitute historical17-call constants. [PR7113](https://github.com/CrocSwap/integer-mult-bounds/pull/7113). +- **Ali Romman and upstream contributors:** #7605 supplies an earlier exact protected/application checkpoint cited by the #7637 lineage. The two unmodified directed invoice comparison files are copied from canonical upstream base e54523517d0f03e58352e647c403a5af3e525a57, retaining their attribution and Apache-2.0 headers. Their arithmetic is not a full scientific acceptance gate. [PR7605](https://github.com/CrocSwap/integer-mult-bounds/pull/7605). +- **CubeJerry, Douglas Colkitt and the earlier source contributors:** the retained framework, primitive/service work and repository infrastructure form part of the inherited basis. This package does not claim that their open supplier obligations are resolved by a successful finite replay. + +## What this contribution adds + +The predecessor K372-2 supplies five EARLY edits (1188,1013,940,1141,1195, with940/1141 sharing one ADD). This construction recomputes the1517/770 bypass on that actual source and combined it with a three-field triangle repair. The new contribution is their compatible composition, exact12-block edit, final235 CLEAR witnesses and a small reproducible publication package. Substantial OpenAI Codex assistance was used for research and packaging. New work is Apache-2.0. + +Exact source canonical:3dd1199d95291ee96e6c0aeb6f55f86244a569b1d4975840bf0207e2dcf9c025. Exact candidate canonical:ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d. Byte hashes are in MANIFEST.json. The12 edit blocks specify every changed event and leave all other fields unchanged. The parent research generators are not silently imported; this publication uses the transparent exact edit as its deterministic reconstruction recipe. + +## Related work, not automatically incorporated + +Ali Romman's #7662 studies one half-ADD rounding-error propagation with CubeJerry's service contract. Nick Petalas's #7654 provides a scoped minimal-rank interpolation result used as background when assessing structural repairs. Neither is a substitute for this candidate's entire rounded caller or physical supply proof. Their actual domains and assumptions must be checked before application. [PR7662](https://github.com/CrocSwap/integer-mult-bounds/pull/7662), [PR7654](https://github.com/CrocSwap/integer-mult-bounds/pull/7654). + +At the publication checkpoint, upstream main remained e54523517d0f03e58352e647c403a5af3e525a57. Ali Romman's #7663 uses a separate17-call full-private-bank model and changed helper endpoints; Clear1nsight's #7664 concerns180erasures/17calls; #7666 charges bank selection and return without claiming a new κ. K372-4 is later, separate research with changed helper-boundary conditions. None is silently folded into ee251f60 or used to assert identical physical assumptions. This is not a claim to the greatest bound across all models. + +## Fresh versus reused evidence + +Publication replay freshly reconstructs the whole word, runs exact rows/CLEAR, recounts native/caller histograms and checks the four directed price points. Normal, optimized Python and a Git-free committed-byte export were tested. The recorded ordinary/precision/native-phase/owner evidence retains its narrower scope and original source identifiers; it is not advertised as freshly rerun. No selected record, frozen predecessor package or common verifier is changed. + +## Editorial normalization of publication labels + +The follow-up editorial commit replaces workstation labels with construction terminology. It changes no candidate, edit, certificate, invoice, numeric result, executable code or contributor attribution. The original recorded bytes remain retrievable at commit `95d476623f1468822057554475dc8badb19bfa44`. Evidence JSON field labels and descriptive scopes are normalized, not recomputed scientific results. In NATIVE-EVIDENCE-REUSE.json, `predecessor-receipt:K372-2/NATIVE-NEW.json` is a historical receipt identifier, not a packaged file path. In PRICE-SUMMARY.json, recorded command invoice arguments now use the equivalent packaged `data/INVOICE.json` path; this is a portability transcription, not the verbatim original command. The fresh replay constructs and runs its own package-relative command. MANIFEST.json authenticates the edited publication bytes. + +Evidence byte-custody mapping (original -> editorially normalized SHA-256): + +- `evidence/BUILD.json`: `4744201691120223ded62a3e0d55ea1029203f3ea996305163e7db8d9e3679a4` -> `a0bafbb3f44920ed6ac1ed3d83385f025f5bbbcf5e9c8013ab1ca55ccf23c32d`. + +- `evidence/NATIVE-EVIDENCE-REUSE.json`: `6615b8a051ac9e4d8c73b5decf8a70d2a33d14da0c4c369574dec946984aa351` -> `84bab14d5c584aa8853b8e1025b562541ac6657e458d120ec803f2bc149c3eb8`. + +- `evidence/ROLE770-BUILD.json`: `c4ee72317678791d4b801479df0af052f3a50662c11ce3f3393b2151368fc92d` -> `1c400f16efbc427c40c811a57dc656fe97c2c84f94c71529e2c5c0598b146369`. + +- `evidence/PRICE-SUMMARY.json`: `c2777382c677634f7017b68c55dbd831a40945b77057f26b738f857c17ee8759` -> `d13741fe3217a01edd0b79b40dad037e644e441fbbc300838df99c0b050a5f42`. diff --git a/research/ee251f60-composition/README.md b/research/ee251f60-composition/README.md new file mode 100644 index 0000000000..a95d1078a6 --- /dev/null +++ b/research/ee251f60-composition/README.md @@ -0,0 +1,44 @@ +# Compatible EARLY and bypass composition: conditional κ ≥ 0.0037218793483 + +This is the exact **ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d** candidate, not the later K372-4 research. The declared 16-call invoice has a directed 256-bit crossing in **(0.0037218793483, 0.0037218793484)**. It is cheaper at κ=.00372, not at .00374. This is a conditional computational research contribution, not a complete multiplication theorem or a change to the selected frontier. + +## Change + +The supplied predecessor is K372-2, canonical `3dd1199d95291ee96e6c0aeb6f55f86244a569b1d4975840bf0207e2dcf9c025`, retaining five EARLY edits. This composition adds: + +1. Owned role 1517 goes directly 549→593 instead of 549→115→593. The actual predecessor source row is (input770−input607)/4. A new lifetime of role1551 at chart115 preserves input770; G/F boundary corrections and corrections at roles1279/614 restore the required operator. See `evidence/ROLE770-BUILD.json` and `ROLE770-PROBE.json` for measured rows, coefficients, chronology and the source-bound recipe. +2. The EARLY 940/1141 edits share `236 += 1000/4`, which conflicts with simply inserting the earlier bypass edit. With x=236,y=544,z=1000, the new sequence uses `x+=z/4; z-=2x` at265, `y+=z/2; z+=2y` at751, and `y-=x; x+=y/2` at927. The three values are restored at the local boundary. This costs three additional ADDs and changes two MOVE routes. `evidence/BUILD.json` gives both local tapes and their exact matrix. + +`EDIT.json` is the complete, readable source-bound edit: 12 blocks, seven removed events and120 inserted events, net113. All non-program fields are unchanged. It is a reconstruction recipe for this published candidate, not a new optimization search or a requirement for other researchers. `replay.py` applies the exact preimages and independently checks the resulting complete operator. The earlier exploratory search code is deliberately not bundled; the exact edit, input, certificates and scoped replay are self-contained. + +## Reproduce from a fresh directory + +Python3.12+ standard library; no installation or network needed. From this directory: + +```sh +python -I -B replay.py --out /path/to/a/new/output-directory +``` + +The output path must not already exist. Expected: `PASS_SCOPED_EE251F60_REPLAY`. The run reconstructs the candidate, freshly checks all public rows and every CLEAR, recounts the actual native/caller paid and target histograms, and executes the unchanged project price CLI at four points. It also rejects a changed predecessor, a wrong patch preimage, and an actual arithmetic sign mutation. All source/input bytes are checked before and after. Regenerated gzip container bytes are not the mathematical identity: the complete canonical JSON is compared. + +`src/integer_grid_audit.py` is our separately written exact integer interpreter. It does not import, change, or claim a pass from the original frozen checker. `src/ordinary_tape_audit.py` is reused only for its metadata inventory and literal invoice-count functions; its full ordinary/admission entry point is not run. The two project price files are unmodified copies of base e54523517d0f03e58352e647c403a5af3e525a57. Price success validates declared invoice arithmetic, not a circuit or physical supplier. + +## Evidence and scope + +The candidate has150,522 events:139,735 ADD,4,160 SCALE,6,157 MOVE and235 INIT/CLEAR each. It uses53 of68 reserved labels, peak51 concurrent owned lifetimes. The exact finite check covers1,501 public output rows and235 CLEARs (1,135 witness terms;42 are zero rows). It checks live sources, headers, frame containment, COPY-zero and exact divisions on supplied grid225·2^40; observed minimum denominators were225·2^14 and maximum reduced row numerator20bits. + +Recorded results in `evidence/` are explicitly distinguished from fresh replay. The prior ordinary substitution is raw730,213,664/signed733,928,608, and precision majorant context1324/height339/mass662. The prior16-call phase/owner/occurrence binding and three identical ordered-basis512-forward/512-adjoint/Pauli/phase measurements are reused under their recorded source bindings. No new512-column native run, complete signed application or physical tape execution is performed by this package. The empty unverified-pairs list is not a universal phase proof. + +## Conditions and open next questions + +The five inherited framework assumptions remain. Complete fixed-tape service domain, common-U whole-extent supply and reset tariff, helper325/1087 supply, uniform native/owned/compiler closure, actual rounded16-call error and analytic recovery remain open. The nominal scalar service32 and life count235 do not establish a physical implementation at that tariff. No selected result, shared verifier or acceptance gate is modified. + +1. Review the G/F reconstruction and three-field identity against the retained exact edit and finite witnesses. First step: fresh replay and inspect the12 edit blocks; physical supply is outside this check. +2. Bind the unchanged and changed native services to the complete admitted domain and tariff. First step: audit the recorded ordered-basis evidence and residual obligations; matching finite columns alone is insufficient. +3. Establish the full rounded caller error and analytic recovery. First step: trace changed scalar operations with their actual input domains and charged conversions. + +K372-4 and Ali Romman's later #7663 helper-boundary/private-bank work use changed conditions and are not silently folded into this candidate. A stronger headline from another model is not evidence that its assumptions transfer. Current related work is recorded in `PROVENANCE.md`. + +## Credit and license + +Preserve SYLforge #7637, DreamingOfClouds #7641/#7658, Clear1nsight's24-bit coefficient-splitting contribution, role379/325/1087 work and EARLY composition. Rohan Arun #7113 supplies the caller and upstream signed-accounting lineage, with CubeJerry, Douglas Colkitt and other source contributors credited in the source records. This composition and package were prepared for SYLforge with substantial OpenAI Codex assistance. Apache-2.0; see LICENSE and PROVENANCE.md. Review or merge does not by itself scientifically validate the conditional claim. diff --git a/research/ee251f60-composition/data/CALLER.json.gz b/research/ee251f60-composition/data/CALLER.json.gz new file mode 100644 index 0000000000..26a75a1ae3 Binary files /dev/null and b/research/ee251f60-composition/data/CALLER.json.gz differ diff --git a/research/ee251f60-composition/data/CERTS.json b/research/ee251f60-composition/data/CERTS.json new file mode 100644 index 0000000000..d6a595fda9 --- /dev/null +++ b/research/ee251f60-composition/data/CERTS.json @@ -0,0 +1 @@ +{"actual_live_row_certificates_verified":true,"candidate_canonical_sha256":"ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d","certificate_rule":"Exact equality to other live public/owned rows; cross-chart sources allowed","clear_event_index":{"100003":{"501":"1"},"100006":{"295":"1"},"100045":{"547":"-1/2"},"100095":{"474":"1"},"100132":{"577":"-1/2"},"100144":{"1463":"1/2"},"100305":{"511":"1"},"100317":{"1405":"1","354":"-1/2"},"100655":{"498":"-3/2","540":"2"},"100693":{"344":"2","512":"-3/2"},"100710":{"28":"2","513":"-3/2"},"100720":{"1435":"1","366":"1"},"100795":{"274":"1","457":"1"},"100830":{"510":"-3/2","528":"2"},"100846":{"151":"-2","501":"-1","528":"-4","60":"-2","623":"-1","625":"-1/2","626":"1","628":"2","629":"2","630":"2","768":"1/2"},"100868":{"917":"-1"},"100876":{"1016":"-1","1018":"-1","1031":"-1","1033":"-1","1043":"-1/2","1047":"-1/2","1049":"-1/2","1205":"-2","1206":"2","1232":"-1","1238":"1/2","129":"-1/2","1291":"-1","1302":"-1","1303":"-1/2","1322":"-1","1323":"-1","1324":"1/2","1325":"1/2","1394":"1/2","1427":"-1","150":"-1/2","28":"-1","296":"-1","344":"-1","402":"-2","407":"-2","418":"-2","423":"-2","484":"-2","485":"2","540":"-1","568":"2","569":"2","570":"-1/2","575":"2","576":"3/2","651":"-1","661":"-1","662":"-1","707":"-1/2","732":"-1/2","810":"-1/2","882":"-1","883":"-1","888":"-1","889":"1","894":"-1","895":"-1","897":"-1","898":"-1","907":"1","908":"1","910":"-1","918":"-1","919":"-1","920":"-1","921":"-1","928":"-1","930":"-1","932":"-1","933":"-1","934":"-1","935":"1","950":"-1","952":"-1","953":"1","954":"-1","957":"1","958":"-1","959":"-1","963":"1","968":"-1","975":"-1","976":"-1","977":"-1","979":"1","980":"-1","981":"-1","982":"-1","995":"-2"},"100985":{"580":"1"},"100989":{"428":"-3","474":"-1/2"},"101012":{"294":"-3/2","408":"2"},"101054":{"553":"1"},"101125":{"295":"-1/2","424":"-3"},"101213":{"546":"1","577":"-1"},"101221":{"547":"1","578":"-1"},"101311":{"558":"1","575":"-1"},"101318":{"558":"-1","575":"1"},"101333":{"559":"1","576":"-1"},"101340":{"559":"-1","576":"1"},"101390":{"546":"-1","577":"1"},"101463":{"516":"2"},"101479":{"523":"1","580":"2"},"101486":{"523":"1/2","580":"-2"},"101505":{"268":"-1","568":"1"},"101657":{"1410":"-1","526":"-3/2"},"101672":{"1399":"-1","527":"-3/2"},"101687":{"490":"1/2","550":"-2"},"101757":{"1434":"1/2","553":"-2"},"101779":{"430":"-2","457":"-1/4"},"101907":{"547":"-1","578":"1"},"101941":{},"101953":{"356":"2","500":"-3/2"},"101986":{"295":"-3/2","424":"2"},"102010":{"428":"2","474":"-3/2"},"102030":{"278":"-3/2","562":"2"},"102067":{"438":"-1","585":"-2"},"102088":{"106":"-5/4","1162":"4","1163":"-4","1365":"1","1373":"2","1380":"1","1385":"7/4","1392":"-1/2","1397":"-8","1448":"-1","240":"3/4","405":"-2","41":"-1","42":"1/2","728":"1","813":"2"},"102097":{"1342":"-2","1437":"2","256":"1","336":"1"},"102111":{"1342":"-2","1437":"2","256":"1","336":"1"},"102313":{"862":"-1"},"102319":{"1000":"-1/2","1206":"-3","1207":"1","1208":"-1/2","1343":"-1/4","1344":"-1/4","1346":"-1/4","1347":"-1/4","1354":"1","1393":"-1/4","1445":"1","1458":"-1/2","1460":"-2","1466":"1","1477":"1","1490":"2","226":"1","230":"1","449":"-4","473":"1","485":"1","496":"1","508":"1","521":"1","544":"1","7":"-1/2","779":"-1/2","857":"-1/2","87":"-1/2","882":"-1/2","883":"-1/2","884":"-1/2","888":"-1/2","889":"1/2","890":"-1/2","894":"-1/2","898":"-1/2","902":"-1/2","903":"-1/2","904":"-1/2","905":"-1/2","906":"-1/2","907":"-1/2","910":"-1/2","914":"-1/2","918":"-1/2","919":"-1/2","920":"-1/2","921":"-1/2","922":"-1/2","931":"-1/2","932":"-1/2","933":"-1/2","934":"-1/2","940":"-1/2","941":"-1/2","942":"-1/2","946":"-1/2","947":"-1/2","948":"-1/2","949":"-1/2","950":"-1/2","951":"-1/2","958":"-1/2","959":"-1/2","960":"-1/2","965":"-1/2","966":"-1/2","967":"-1/2","971":"-1/2","972":"-1/2","973":"-1/2","976":"-1/2","977":"-1/2","978":"-1/2","980":"-1/2","981":"-1/2","982":"-1/2","983":"-1/2","984":"-1/2","985":"-1/2","990":"1","994":"1/2"},"102346":{"742":"1/4","998":"1/2"},"102435":{"126":"1/4","15":"1/4","164":"1/4","679":"-1/4","682":"-1/4"},"102445":{"126":"-1/4","164":"1/4","413":"1/2","679":"-1/4","682":"-1/4"},"102583":{"126":"1/4","15":"1/4","164":"1/4","679":"-1/4","682":"-1/4"},"102587":{"126":"-1/4","164":"1/4","413":"1/2","679":"-1/4","682":"-1/4"},"102636":{},"102723":{"108":"-1","1492":"-2","22":"-1/2","23":"-1/2","320":"-1/2","333":"-1","49":"1"},"102817":{},"102819":{},"102820":{},"102822":{},"102823":{},"102841":{},"102858":{},"102898":{},"102902":{},"102945":{"1082":"-1","794":"-4"},"102993":{},"103157":{"1074":"1/2","1221":"1","1222":"1","1255":"1","1311":"1","1312":"1","1313":"1","1314":"1/2","1356":"1","757":"1/2","796":"1/2","890":"-1","906":"-1","942":"-1","943":"1","956":"1","964":"1","971":"-1"},"103176":{},"103239":{},"103322":{},"103323":{},"103331":{},"103338":{},"103339":{},"103349":{},"103352":{},"103363":{},"103369":{},"103372":{},"103373":{},"103377":{},"103390":{},"103391":{},"103398":{},"103412":{},"103413":{},"103429":{"1025":"-2","1029":"-5/2","831":"-1","864":"2"},"103460":{"1499":"1","998":"-1"},"103465":{},"103466":{},"103484":{"863":"1"},"103487":{},"150521":{"770":"1"},"88002":{},"88740":{"233":"1"},"88937":{"1072":"1","500":"-1"},"89286":{"1089":"1","510":"-1"},"89288":{"22":"1/4","23":"-3/4","320":"1/4","321":"-1/2","323":"-1","325":"1/2","330":"-1"},"89671":{},"90032":{"110":"-3/8","20":"1/8","37":"1/8","432":"1/2","433":"1/8","435":"1/2","437":"-1/4","442":"3/2","735":"3/8"},"90127":{"29":"-1/4","30":"-3/4","352":"-1/8","353":"1/4","355":"-1/2","357":"1/4","362":"-1/2","59":"1/4"},"90200":{},"90269":{},"90353":{"500":"1"},"90544":{"628":"-2","630":"-2"},"90546":{"30":"1/4","352":"-1/8","353":"-1/4","355":"1/2","357":"-1/4","362":"-1/2","59":"-1/2"},"90551":{"106":"-2","1165":"-1","1365":"1","1380":"-1","1385":"1","240":"1","403":"2","405":"1/4","728":"-4","729":"4","730":"4","813":"2"},"90554":{"30":"-3/4","352":"-1/8","353":"1/4","355":"1/2","357":"1/4","362":"-1/2"},"90557":{"30":"-1/4","352":"-1/8","353":"-1/4","355":"-1/2","357":"-1/4","362":"-1/2"},"90578":{"30":"-3/2","352":"-1/4","353":"1/2","355":"-1","357":"-1/2","362":"1","59":"1"},"90848":{"17":"-5/8","273":"-1/2","275":"-1","277":"1/2","282":"-1","77":"-1/2"},"90875":{},"90911":{"22":"1/8","23":"1/8","320":"1/8","321":"1/4","323":"1/2","325":"1/4","330":"-1/2"},"90968":{"1385":"-1/4","240":"-1/4"},"90979":{"385":"-1/4","387":"-1/2","389":"-1/4","394":"-1/2","64":"1/8"},"90986":{"1173":"1","573":"-1"},"90988":{"106":"-3/2","1162":"-2","1165":"-2","1365":"1/4","1380":"-1/4","1385":"-1/2","240":"-1/2","401":"1/16","403":"2","405":"7/16","41":"1/2","730":"2","813":"-1/2","814":"-2","876":"-1/2"},"91018":{"18":"1/4","288":"-1/4","289":"-1/2","291":"-1/2","298":"1","39":"1/4","40":"1/4"},"91099":{"103":"1/2","17":"-5/8","272":"-1/2","273":"-1/2","275":"-1","277":"1/2","282":"1"},"91105":{"23":"-1/4","320":"-1/4","321":"-1/2","323":"-1","325":"1/2","330":"1"},"91213":{"30":"1/4","353":"1/2","355":"-1","357":"-1/2","362":"-1"},"91223":{"385":"1/2","387":"-1","389":"-1/2","394":"-1","64":"1/4","96":"1"},"91240":{},"91260":{"385":"-1/2","387":"-1","389":"1/2","394":"-1","64":"-1/4","65":"-1/2","96":"1/2"},"91264":{"29":"-1/2","30":"-1/4","353":"-1/2","355":"-1","357":"1/2","362":"-1","59":"1/2"},"91516":{"18":"1/4","288":"1/4","289":"1/2","291":"5/2","293":"-1","298":"-1","39":"1/4","40":"1/4"},"91697":{"104":"1/2","1179":"-1","416":"-1/2","417":"1","421":"1/2","426":"2"},"91722":{"17":"-1/4","273":"1/2","275":"-1","277":"-1/2","282":"-1"},"91836":{"224":"1/8","225":"1/2","227":"-1","229":"-1/4","234":"-1/2","57":"-1/8","81":"1/8"},"91879":{"23":"1/4","320":"1/4","321":"1/2","323":"1","325":"1/2","330":"-1"},"91884":{"108":"1/2","23":"1/4","320":"-1/4","321":"1/2","323":"-1","325":"-1/2","330":"-1"},"91916":{"18":"1/4","288":"1/4","289":"-1/2","298":"-1","39":"-1/4","40":"1/4"},"91948":{"384":"-1/2","385":"-1/2","387":"-1","389":"1/2","394":"1","64":"-3/4"},"91983":{"1120":"1","358":"-1"},"91985":{"30":"-1/4","352":"-1/2","353":"-1/2","355":"-1","357":"1/2","362":"1","59":"1/2"},"91989":{"26":"1/4","368":"-3/4","369":"-1/2","371":"-1","373":"1/2","378":"1","8":"1/4"},"92043":{"18":"1/4","288":"1/4","289":"1/2","293":"-1","298":"1","39":"1/4","40":"1/4"},"92053":{"107":"-1/4","304":"-1/4","305":"1/2","307":"-1","309":"-1/2","314":"1","35":"1/4","45":"1/4"},"92091":{"17":"-1/4","273":"1/2","275":"-1","277":"-1/2","282":"1"},"92098":{"1086":"1","513":"-1"},"92100":{"108":"1/2","23":"1/4","320":"-1/4","321":"1/2","323":"-1","325":"-1/2","330":"1"},"92255":{"106":"-5/64","1154":"1/2","1162":"-1/2","1163":"-1/4","1168":"-1","1173":"1/2","1349":"1/4","1365":"1/16","1373":"1/8","1380":"1/16","1385":"-9/64","1392":"-1/32","1448":"-1/16","240":"-13/64","402":"1/4","405":"-1/8","41":"-1/16","42":"1/32","570":"-1","573":"1/2","728":"5/16","813":"1/8","875":"1/2"},"92258":{"106":"-5/4","1162":"-8","1163":"-4","1365":"1","1373":"2","1380":"1","1385":"7/4","1392":"-1/2","1448":"-1","240":"3/4","405":"-2","41":"-1","42":"1/2","728":"1","813":"2"},"92309":{"1343":"-1","1344":"-1","1346":"-1","1347":"-1"},"92399":{"26":"-1/8","368":"1/8","369":"1/4","371":"-1/2","372":"-1/2","373":"-1/4","377":"-1","378":"1/2","8":"1/8"},"93305":{"26":"-3/8","368":"1/8","369":"1/4","371":"-1/2","373":"1/4","378":"-1/2","8":"-3/8"},"93660":{},"93873":{"104":"-3/8","1179":"1/2","1185":"4","1388":"-4","1391":"-3","416":"3/8","417":"-1/4","419":"-1/2","421":"-1/8","426":"1/2","43":"-1/2","788":"4","815":"-4"},"93910":{"86":"1"},"94044":{"385":"1/4","387":"-1/2","389":"1/4","394":"-1/2","64":"-1/8","65":"-1/4","96":"3/8"},"94851":{"1402":"1","290":"1"},"94925":{"1112":"1/2","350":"1/2"},"94986":{"1470":"-1","169":"1"},"95126":{"1471":"-1","203":"1"},"95339":{"103":"1","108":"1","18":"1","45":"1","61":"1","63":"1"},"95373":{"1206":"1/3","1455":"-2/3","1460":"2/3","449":"4/3"},"95406":{"368":"1/4","721":"-1","723":"-1","724":"-1","725":"-1","9":"1/4"},"95424":{"368":"1/4","9":"1/4"},"95463":{"368":"1","9":"1"},"95501":{"1144":"4","1390":"-2","26":"5/2","368":"3/8","369":"-1/4","371":"1/2","373":"-1/4","378":"-1/2","381":"2","723":"2","725":"-2","8":"1/8","865":"8","95":"1/4"},"95504":{"1138":"4","1390":"-2","26":"5/2","368":"3/8","369":"-1/4","371":"-1/2","373":"-1/4","378":"-1/2","381":"2","723":"2","724":"-2","8":"1/8","865":"8","95":"1/4"},"95703":{},"95936":{"256":"1/4","336":"1/4"},"95971":{"1020":"2/3","1023":"-4/3","1025":"-2/3","1029":"-1/3","831":"1/3"},"96173":{"1098":"1","337":"-1/4","341":"1/4","346":"-1/2","58":"-1/8","712":"-7/4","714":"1/4","93":"-1/4"},"96198":{"1207":"-2","1479":"3","451":"2","581":"-1","582":"-1"},"96213":{"1105":"1","1134":"1","1137":"1","1138":"-1/2","1144":"-1/2","1390":"-1/4","26":"1/16","3":"1/16","546":"1","550":"-1/2","553":"-1/2","67":"1/32","721":"-1/4","724":"-1/4","725":"-1/4","775":"1/2","837":"1","942":"1/2","956":"-1/2"},"96222":{"1102":"1","1106":"1/2","1110":"1/2","1113":"-1/2","1224":"-1/2","1249":"1","1280":"1","1341":"-1/4","1342":"-1/4","1355":"1","338":"-1/4","348":"1/2","526":"1/2","712":"-1/4","714":"-1/4","863":"-2"},"96248":{"640":"-1/2","641":"-1/2"},"96270":{"913":"-1","927":"1"},"96304":{"228":"1"},"96330":{"92":"1/4"},"96347":{"1078":"1","1080":"1","1258":"1","1259":"1","1340":"1","146":"-2","1479":"1","451":"1","496":"2","497":"-2","581":"-1","582":"-1","889":"-1","895":"1","897":"1","898":"-1","907":"1","919":"-1"},"96356":{"146":"-1/2"},"96402":{"1469":"-1","223":"1"},"96453":{"1484":"1/2","34":"-1/2","49":"-1/2"},"96838":{"125":"1","1457":"-1"},"96862":{"139":"1","1474":"-1"},"96899":{"1472":"-1","163":"1"},"96906":{"1465":"-1","201":"1"},"97046":{"752":"-1","891":"1","937":"-1"},"97051":{"611":"1","613":"1","752":"1","891":"-1","937":"1"},"97057":{"1277":"-1","1279":"2","1368":"-3","1374":"2","1551":"2","476":"-1","489":"-1","524":"1","607":"-1","608":"-1/4","610":"3/4","611":"-1","612":"-1","613":"-1/2","770":"1"},"97285":{"128":"1","1476":"-1"},"97293":{"119":"1","1475":"-1"},"97296":{"1458":"-1","154":"1"},"97337":{"225":"-1/2","229":"1/4"},"97427":{"707":"4"},"97446":{"1233":"1","1381":"1"},"97532":{"108":"1","22":"1/2","23":"1/2","320":"-1/2","333":"2","49":"-1"},"97536":{"1466":"-1"},"97947":{"1208":"1","1461":"-3","454":"12"},"98043":{"1154":"1/2","1168":"-1","1173":"1/2","13":"1/4","1349":"1/4","1353":"-1","1385":"-3/16","1448":"1/4","1474":"1/2","240":"-3/16","402":"1/4","52":"-1/2","570":"-1","573":"1/2","737":"-1/2","875":"1/2","882":"1/2","895":"1/2","897":"1/2","907":"-1/2","928":"1/2","954":"1/2","957":"-1/2","968":"1/2","975":"1/2"},"98197":{"1031":"-1","1033":"-1","1221":"-1","1222":"-1","1224":"-1","1302":"-1","1311":"-1","1312":"-1","1319":"-1","1338":"-1/2","1360":"-1","1361":"-1","1366":"-1","1426":"2","251":"2","265":"-2","471":"4","549":"2","650":"-1","674":"-1","704":"-1/2","882":"-1","884":"-1","889":"1","905":"-1","907":"-1","934":"1","938":"1","939":"1","946":"-1","947":"-1","948":"-1","952":"-1","955":"1","957":"1","963":"-1","965":"-1","968":"1","970":"1"},"98258":{"68":"1","777":"1"},"98261":{"68":"1","777":"1"},"98278":{"68":"1"},"98298":{"1322":"-1","1325":"1/2","1394":"1/2","1427":"-1","30":"-1/8","353":"-1/4","355":"-1/2","357":"-1/4","362":"-1/2","538":"-1","59":"1/8"},"98441":{"1495":"-2"},"98541":{"1208":"1"},"98555":{"1277":"-1/4","1279":"1/2","1280":"3/8","1368":"-3/4","1374":"1/2","1551":"1/4","173":"1/2","476":"-1/4","489":"-1/4","524":"1/4","608":"-1/16","610":"3/16","611":"-1/4","612":"-1/4","613":"-1/8","770":"1/4","891":"3/8","905":"3/8"},"98570":{"151":"1/2"},"98755":{"382":"1/2","816":"-1/2"},"98824":{"559":"-1/2"},"98836":{"546":"-1/2"},"98844":{"568":"-1/2"},"98851":{"575":"-1/2"},"98859":{"292":"1"},"98862":{"558":"-1/2"},"98869":{"1399":"1","563":"1"},"98876":{"1436":"1","364":"1"},"98895":{"428":"1"},"98919":{"512":"1"},"98945":{"527":"1"},"98966":{"523":"-1/2"},"99022":{"550":"1"},"99052":{"578":"-1/2"},"99105":{"1334":"1","1336":"-2","1337":"-1","1362":"1","1377":"-2","1386":"-1/2","483":"-1","519":"-1","543":"-1","696":"-1","697":"1/4","698":"1/2","700":"1/2","702":"1","767":"1/2","901":"-1"},"99119":{"1255":"1/3","133":"1","1334":"-2/3","1336":"4/3","1337":"2/3","1362":"-1/3","1377":"4/3","1386":"1","483":"1","494":"2/3","506":"1/2","519":"7/6","543":"7/6","695":"5/3","697":"-2/3","698":"2/3","700":"-1/3","701":"-1/3","702":"-1/2","733":"1/3","767":"-5/6","883":"2/3","892":"2/3","901":"2/3","929":"2/3","962":"2/3","981":"2/3"},"99126":{"1255":"1/2","133":"3/2","1334":"-1","1336":"1/2","1337":"1","1362":"-1/2","1377":"2","1386":"3/2","1498":"2","483":"3/2","494":"1","506":"3/4","519":"7/4","543":"7/4","695":"5/2","697":"-1","698":"1","700":"-1/2","701":"-1/2","702":"-3/4","733":"1/2","767":"-5/4","883":"1","892":"1","901":"1","929":"1","962":"1","981":"1"},"99180":{"1255":"1/2","1262":"-2","133":"-1/2","1334":"1","1337":"-1/2","1362":"2","1377":"-2","1386":"-1/2","1498":"-1","483":"-1","499":"-2","519":"-1","543":"-1","695":"-1","696":"-1","697":"1/4","698":"1/2","700":"1/2","702":"1","733":"1/2","767":"1/2","883":"1","892":"1","900":"1","901":"-1","929":"1","962":"1","981":"1"},"99183":{"1158":"-1/2","1160":"-1","1207":"2","1243":"-2","1400":"2","146":"4","1463":"-4/3","1479":"-3","1495":"-2","228":"2","428":"-1","430":"-1","451":"-1","508":"2","581":"1","582":"1","637":"-1","922":"-1","925":"1","974":"1","983":"-1"},"99243":{"1449":"1","1450":"1","268":"-1","38":"1","546":"1/2","578":"-1/2","648":"-1","652":"-1","654":"-1"},"99348":{"1473":"-1","165":"1"},"99631":{"133":"-3","1334":"2","1336":"-1","1337":"-1","1362":"2","1377":"-4","1386":"-3","1498":"-2","483":"-3","494":"-2","506":"-3/2","519":"-7/2","543":"-7/2","695":"-7/2","697":"2","698":"-2","700":"1","701":"1","702":"-3/2","767":"5/2","901":"-2","986":"2"},"99754":{"242":"1","499":"1"},"99810":{"430":"1"},"99829":{"1404":"1","359":"-1/2"},"99834":{"328":"1","573":"1"},"99876":{"498":"1"},"99879":{"1395":"1","551":"1"},"99882":{"1410":"1","392":"1"},"99995":{"294":"1"}}} \ No newline at end of file diff --git a/research/ee251f60-composition/data/HEADER.json b/research/ee251f60-composition/data/HEADER.json new file mode 100644 index 0000000000..b1380830e0 --- /dev/null +++ b/research/ee251f60-composition/data/HEADER.json @@ -0,0 +1 @@ +{"final":[127,127,127,127,127,127,127,127,127,127,127,127,127,127,462,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,252,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,240,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,128,129,130,189,131,132,133,134,135,136,137,138,139,140,127,141,142,143,144,145,146,127,147,148,149,150,151,152,153,154,155,156,157,158,529,159,160,161,162,127,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,127,184,185,186,187,188,189,190,191,192,193,194,195,196,197,127,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,127,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,245,1091,127,245,127,127,127,259,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,306,127,306,127,127,127,127,127,127,127,127,127,127,127,232,127,232,127,232,127,127,127,127,232,127,127,127,127,127,127,233,127,234,127,234,127,127,127,127,234,127,127,127,127,127,127,235,127,235,555,235,823,127,127,127,235,127,127,127,364,127,127,237,817,237,554,237,822,816,127,127,237,127,127,237,127,127,127,240,127,241,127,240,127,127,127,391,240,127,127,127,127,127,127,242,127,242,127,242,127,127,127,245,242,127,127,127,127,127,243,243,127,243,127,243,556,818,127,127,243,127,127,243,127,127,127,244,821,244,127,244,557,820,127,127,244,127,127,127,127,127,1090,1090,127,1090,127,1090,836,127,127,127,1090,127,848,127,127,127,127,127,127,127,127,127,837,127,127,127,127,127,127,127,127,127,516,127,127,246,127,127,127,127,127,127,127,127,127,127,127,127,127,127,595,595,245,245,924,1091,127,127,127,283,127,127,286,287,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,325,326,127,127,127,127,127,127,127,127,127,127,127,344,127,127,127,127,127,127,127,127,127,362,127,127,127,127,127,734,127,127,127,127,379,380,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,245,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,246,105,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,871,127,127,127,127,246,245,127,127,245,127,127,127,127,1053,127,127,127,127,127,127,127,114,127,114,127,127,127,115,127,127,127,127,127,127,127,116,116,127,127,127,127,127,127,117,127,127,127,127,127,127,127,118,127,118,127,127,127,127,127,1027,127,127,127,127,127,127,127,597,120,120,127,127,127,127,127,127,1052,1052,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,1048,127,1048,127,127,127,127,127,127,127,127,127,127,127,1050,127,127,127,127,127,127,127,127,1031,127,127,1031,127,127,127,1094,127,127,1031,127,602,127,127,127,240,394,240,240,127,1091,260,1091,1091,424,431,243,243,243,127,470,1090,1090,1090,245,127,127,127,127,115,127,127,127,127,127,127,127,127,127,595,1031,127,260,127,115,127,127,127,245,127,127,127,660,127,127,127,127,127,151,1049,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,462,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,306,127,127,127,127,127,127,127,127,127,127,127,127,127,127,252,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,240,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,128,129,130,189,131,132,133,134,135,136,137,138,139,140,127,141,142,144,146,127,147,148,149,150,151,152,153,154,156,157,158,127,159,160,161,127,164,165,166,167,168,169,127,171,172,173,174,127,176,177,178,179,180,181,182,549,184,185,186,187,188,189,190,191,192,193,194,195,196,197,127,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,127,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,127,1091,127,127,127,127,127,127,127,127,1091,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,306,127,127,127,127,712,127,127,127,127,127,127,127,232,127,232,127,232,127,127,127,127,232,127,127,127,127,127,127,233,127,234,127,234,127,127,127,127,234,127,127,127,127,127,235,127,235,127,235,127,127,127,127,235,127,127,127,127,127,237,237,127,237,127,237,127,127,127,127,237,127,127,127,127,127,127,240,127,241,127,240,127,127,127,391,240,127,127,127,127,127,127,242,127,242,127,242,127,127,127,245,242,127,127,127,127,127,243,243,127,243,127,243,127,127,127,127,243,127,127,127,127,127,127,244,127,244,127,244,127,127,127,127,244,127,127,127,127,127,127,1090,127,1090,127,1090,127,127,127,127,127,127,127,127,127,127,127,498,127,127,127,127,127,498,127,127,127,516,127,127,246,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,280,127,282,127,284,127,127,127,298,299,300,301,127,127,714,127,323,324,127,127,127,127,594,127,127,127,127,127,361,127,363,127,127,127,127,127,127,382,127,127,127,127,245,437,127,593,127,127,127,127,127,127,246,127,127,127,127,1053,127,127,127,127,127,127,127,127,114,115,127,115,127,127,127,116,127,127,117,127,127,127,127,127,127,127,127,127,127,118,1027,127,1027,127,597,127,127,127,127,127,127,1052,127,127,127,127,127,127,127,127,127,127,127,1048,127,127,127,127,127,127,127,127,127,1050,127,1031,1031,127,127,1031,127,1094,602,127,127,240,127,1091,260,1091,1091,431,127,127,127,1049,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,1011,127,127,127,127,127,127,120,127,127,127,529,189,127,245,904,245,127,127,127,127,127,245,127,127,127,127,127,745,127,127,127,127,127,127,127,127,127,127,127,127,245,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127],"frames":[[11],[19],[35],[],[131],[259],[13],[21],[37],[69],[133],[261],[41],[73],[265],[49],[81],[145],[273],[161],[193],[321],[385],[14],[22],[38],[70],[134],[262],[26],[74],[138],[50],[146],[274],[98],[290],[194],[322],[386],[28],[44],[140],[268],[84],[148],[276],[100],[164],[292],[196],[324],[388],[56],[88],[152],[280],[168],[296],[200],[328],[392],[112],[176],[304],[208],[336],[400],[224],[352],[416],[508],[506],[502],[494],[478],[446],[382],[254],[505],[501],[493],[477],[445],[381],[253],[499],[475],[443],[379],[251],[487],[471],[439],[375],[247],[463],[431],[367],[239],[415],[351],[223],[319],[191],[51],[30],[120],[75],[85],[102],[459],[45],[30,45,192,320],[2,5,40,80,409],[7,42,75,144,272],[25,42,75,132,260],[8,17,34,68,391],[30,42,76,129,257],[10,20,65,423],[7,25,75,160,288],[6,24,96,427],[51,85,136,264],[3,48,72,413],[9,36,66,407],[45,85,130,258],[12,18,33,455],[1,2,4,8,16,32,64,128,256],[3,4,9,16,32,64,128,256],[3,4,8,17,32,64,128,256],[3,4,8,16,33,64,128,256],[3,4,8,16,32,64,129,256],[3,4,8,16,32,64,128,257],[2,5,9,16,32,64,128,256],[2,5,8,17,32,64,128,256],[2,5,8,16,33,64,128,256],[2,5,8,16,32,65,128,256],[2,5,8,16,32,64,129,256],[2,5,8,16,32,64,128,257],[2,4,9,16,33,64,128,256],[2,4,9,16,32,65,128,256],[2,4,9,16,32,64,128,257],[2,4,8,17,33,64,128,256],[2,4,8,17,32,65,128,256],[2,4,8,17,32,64,129,256],[2,4,8,17,32,64,128,257],[2,4,8,16,33,64,129,256],[2,4,8,16,32,65,129,256],[2,4,8,16,32,65,128,257],[2,4,8,16,32,64,129,257],[1,6,10,16,32,64,128,256],[1,6,8,18,32,64,128,256],[1,6,8,16,34,64,128,256],[1,6,8,16,32,66,128,256],[1,6,8,16,32,64,130,256],[1,6,8,16,32,64,128,258],[1,4,10,18,32,64,128,256],[1,4,10,16,32,66,128,256],[1,4,10,16,32,64,130,256],[1,4,8,18,34,64,128,256],[1,4,8,18,32,64,130,256],[1,4,8,18,32,64,128,258],[1,4,8,16,34,66,128,256],[1,4,8,16,34,64,128,258],[1,4,8,16,32,66,130,256],[1,4,8,16,32,66,128,258],[1,4,8,16,32,64,130,258],[1,2,12,20,32,64,128,256],[1,2,12,16,36,64,128,256],[1,2,12,16,32,64,132,256],[1,2,12,16,32,64,128,260],[1,2,8,20,32,68,128,256],[1,2,8,20,32,64,132,256],[1,2,8,20,32,64,128,260],[1,2,8,16,36,68,128,256],[1,2,8,16,36,64,132,256],[1,2,8,16,36,64,128,260],[1,2,8,16,32,68,132,256],[1,2,8,16,32,68,128,260],[1,2,8,16,32,64,132,260],[1,2,4,24,40,64,128,256],[1,2,4,24,32,72,128,256],[1,2,4,24,32,64,136,256],[1,2,4,24,32,64,128,264],[1,2,4,16,40,64,136,256],[1,2,4,16,40,64,128,264],[1,2,4,16,32,72,136,256],[1,2,4,16,32,72,128,264],[1,2,4,16,32,64,136,264],[1,2,4,8,48,80,128,256],[1,2,4,8,48,64,144,256],[1,2,4,8,48,64,128,272],[1,2,4,8,32,80,144,256],[1,2,4,8,32,80,128,272],[1,2,4,8,32,64,144,272],[1,2,4,8,16,96,160,256],[1,2,4,8,16,96,128,288],[1,2,4,8,16,64,160,288],[1,2,12,20,36,68,132,260],[1,4,10,18,34,66,130,258],[1,6,8,18,34,66,130,258],[1,6,10,16,34,66,130,258],[1,6,10,18,32,66,130,258],[1,6,10,18,34,64,130,258],[1,6,10,18,34,66,128,258],[1,6,10,18,34,66,130,256],[2,4,9,17,33,65,129,257],[2,5,8,17,33,65,129,257],[2,5,9,16,33,65,129,257],[2,5,9,17,32,65,129,257],[2,5,9,17,33,64,129,257],[2,5,9,17,33,65,128,257],[2,5,9,17,33,65,129,256],[3,4,8,17,33,65,129,257],[3,4,9,17,32,65,129,257],[3,4,9,17,33,64,129,257],[3,4,9,17,33,65,128,257],[3,4,9,17,33,65,129,256],[3,5,8,16,33,65,129,257],[3,5,8,17,32,65,129,257],[3,5,8,17,33,64,129,257],[3,5,8,17,33,65,128,257],[3,5,8,17,33,65,129,256],[3,5,9,16,32,65,129,257],[3,5,9,16,33,64,129,257],[3,5,9,16,33,65,128,257],[3,5,9,16,33,65,129,256],[3,5,9,17,32,64,129,257],[3,5,9,17,32,65,128,257],[3,5,9,17,32,65,129,256],[3,5,9,17,33,64,128,257],[3,5,9,17,33,64,129,256],[26,41,75,388],[25,42,76,136,264],[51,85,145,273],[30,44,74,385],[6,24,42,74,385],[30,75,138,266],[30,42,75,138,266],[2,5,8,17,32,65,128,256],[13,19,70,416],[7,10,19,65,416],[30,102,134,262],[22,37,67,392],[51,75,131,259],[1,6,10,18,32,64,128,256],[3,4,8,17,33,64,128,256],[1,6,8,16,34,66,128,256],[3,4,9,16,32,65,128,256],[11,38],[11,51],[11,21],[45,448],[30,493],[51,478],[30,38],[21,38],[45,478],[21,45],[21,38,459],[11,51,448],[30,38,448],[11,21,486],[30,38,459],[11,21,448],[21,38,448],[11,51,469],[1,4,10,16,34,64,128,256],[45,208],[120,168],[85,133],[45,336],[120,296],[85,261],[85,296],[120,261],[85,168],[120,133],[45,261],[45,133],[120,133,261],[120,168,296],[85,168,261],[85,133,296],[85,168,296],[85,133,261],[120,133,296],[120,168,261],[45,85,133,261],[45,400],[75,400],[102,400],[14,35],[35,69],[14,69],[102,445],[75,445],[45,475],[14,69,435],[35,75,400],[35,69,414],[14,102,400],[14,102,435],[35,69,400],[35,75,414],[14,69,400],[14,35,69,400],[26,41],[41,81],[41,75],[51,388],[120,439],[75,439],[75,388],[120,388],[26,75],[26,98],[51,463],[51,81],[26,98,388],[41,81,414],[26,75,429],[41,75,388],[26,75,388],[41,75,414],[26,98,429],[41,81,388],[51,324],[85,290],[102,273],[51,196],[85,145],[102,145],[102,290],[85,273],[51,145],[51,273],[85,162,273],[85,145,290],[102,162,290],[102,145,273],[102,145,290],[102,162,273],[85,145,273],[85,162,290],[30,487],[120,415],[102,385],[30,74],[44,84],[50,84],[44,74],[50,74],[102,415],[120,385],[30,44],[30,385],[50,74,385],[44,84,415],[50,84,415],[44,74,385],[44,74,415],[50,84,385],[44,84,385],[50,74,415],[30,138],[85,148],[75,148],[30,266],[75,276],[85,276],[75,138],[85,138],[30,321],[30,193],[85,138,276],[85,148,266],[75,138,266],[75,148,276],[75,138,276],[75,148,266],[85,138,266],[85,148,276],[13,19],[13,85],[13,70],[30,416],[75,446],[85,416],[19,75],[19,70],[30,491],[30,70],[19,70,416],[13,85,435],[19,75,429],[13,70,416],[19,75,416],[13,70,435],[19,70,429],[13,85,416],[30,352],[120,262],[102,280],[30,224],[120,152],[102,134],[102,152],[120,134],[102,262],[120,280],[30,134],[30,262],[120,134,280],[120,152,262],[102,134,262],[102,152,280],[102,152,262],[102,134,280],[120,152,280],[120,134,262],[51,477],[85,443],[102,392],[51,67],[37,85],[22,102],[102,443],[85,392],[22,37],[51,392],[22,67,392],[37,85,414],[22,102,429],[37,67,392],[37,67,414],[22,102,392],[37,85,392],[22,67,429],[51,131],[120,176],[75,176],[51,259],[120,259],[75,259],[75,304],[120,304],[75,131],[120,131],[51,328],[51,200],[120,131,304],[120,176,259],[75,131,259],[75,176,304],[75,131,304],[75,176,259],[120,131,259],[120,176,304],[45,265],[75,265],[102,265],[45,137],[102,164],[75,164],[102,292],[75,292],[45,194],[45,322],[75,164,292],[75,137,265],[102,137,292],[102,164,265],[102,164,292],[102,137,265],[75,137,292],[75,164,265],[3,5,9,17,33,65,128,256],[45,73],[49,73],[28,73],[45,471],[120,386],[85,431],[85,386],[120,431],[49,85],[28,100],[45,386],[28,45],[28,100,431],[49,73,386],[49,85,414],[28,73,386],[49,85,386],[28,73,431],[28,100,386],[49,73,414],[28,45,73,386],[45,146],[51,146],[30,140],[30,268],[51,268],[30,161],[51,140],[45,274],[45,140],[51,140,268],[51,146,274],[30,161,289],[30,140,268],[30,161,268],[30,140,289],[51,140,274],[51,146,268],[30,45,140,268],[2,4,8,16,33,65,128,256],[1,2,12,16,32,68,128,256],[30,74,429],[1,10,20,32,64,390],[30,224,262],[30,74,138,295],[30,33,193,262],[1,30,32,64,128,268],[10,20,32,65,133,258],[4,10,16,32,65,387],[10,20,32,65,132,259],[5,10,17,32,65,386],[1,10,20,32,64,128,262],[5,10,17,32,65,128,258],[1,4,10,16,32,64,128,258],[4,10,16,32,65,128,259],[51,81,414],[4,8,17,34,64,387],[51,131,328],[8,17,34,68,131,260],[8,17,34,68,130,261],[1,8,16,34,68,390],[8,17,34,68,134,257],[5,8,17,34,65,386],[4,8,17,34,64,131,256],[5,8,17,34,65,130,256],[1,4,8,16,34,64,130,256],[1,8,16,34,68,134,256],[45,146,272],[45,73,274],[45,73,144,274],[5,18,40,73,130,256],[2,5,16,40,73,128,256],[21,45,459],[45,222,261],[2,5,40,217,256],[2,5,40,89,128,256],[3,4,41,72,144,272],[1,6,42,74,144,272],[7,17,42,75,129,257],[7,19,42,75,131,259],[3,4,16,41,72,128,256],[1,2,4,16,40,72,128,256],[1,6,16,42,74,128,256],[45,208,261],[45,80,146],[45,80,146,261],[2,12,33,80,144,261],[2,12,16,33,64,128,261],[14,35,469],[45,140,347],[14,35,66,130,279],[14,18,35,66,130,261],[26,41,463],[51,196,273],[30,74,385],[30,138,321],[30,70,416],[30,134,352],[22,37,459],[51,200,259],[4,18,33,459],[18,33,200,259],[30,33,70,385],[30,33,134,321],[12,18,70,385],[12,18,134,321],[12,22,37,451],[12,51,196,273],[4,8,18,33,451],[12,18,33,70,385],[12,18,33,134,321],[12,18,33,196,259],[4,8,18,33,192,259],[2,4,8,16,33,64,128,257],[12,18,33,70,134,263],[7],[25],[52],[45,82,144],[82],[491],[448],[67],[137],[25,45],[52,82],[7,97],[7,75],[7,75,384],[25,102],[25,42],[25,459],[75,416],[7,42,258],[7,25,35,75,131,259],[30,76],[30,76,423],[13,19,65],[25,42,196],[30,44,76],[30,42,321],[7,42,448],[7,9,35],[7,42,336],[7,11,33,448],[7,42,192,336],[7,9,35,208],[7,42,80,144,256],[2,5,9,33,448],[7,9,35,208,336],[2,5,9,33,208,336],[2,5,9,33,80,400],[7,16,42,64,128,256],[7,9,16,35,64,128,256],[2,5,9,33,80,128,272],[2,5,9,33,80,144,256],[7,11,16,33,64,128,256],[2,5,9,33,64,144,272],[25,45,455],[25,45,462],[25,45,137],[11,18,38,455],[25,45,73,137],[25,45,199,265],[25,45,73,137,263],[2,9,16,36,453],[25,45,78,137,265],[11,18,38,69,130,258],[2,9,16,36,64,389],[14,23,35,71,135,263],[7,11,18,33,66,130,258],[2,9,16,36,64,128,261],[5,11,18,35,66,130,258],[2,9,16,36,69,128,256],[82,268],[5,40,82,265],[9,36,82,130,261],[5,40,82,144,265],[5,18,40,64,130,265],[9,16,36,66,130,261],[2,5,16,40,64,128,265],[5,9,16,33,66,130,256],[5,9,18,33,64,130,256],[45,69,400],[9,36,69,146,272],[45,69,130,274],[9,16,36,69,130,258],[5,9,33,64,146,272],[5,9,16,33,64,130,258],[5,9,18,33,64,128,258],[28,45,268],[14,35,66,149,258],[28,45,199,268],[12,16,33,64,135,256],[14,23,35,66,130,258],[7,9,18,35,66,130,258],[2,12,21,33,64,128,256],[2,12,16,33,64,133,256],[7,66],[7,42,66,130],[7,18,42,66,393],[7,42,66,130,258],[7,18,42,66,130,258],[2,5,16,40,64,393],[2,5,25,40,64,128,256],[2,5,16,40,64,137,256],[25,45,448],[25,45,386],[25,45,194],[12,21,33,448],[5,25,40,194],[25,45,192,322],[5,25,40,194,258],[12,21,33,66,386],[2,25,45,192,320],[2,12,21,33,192,320],[5,9,16,33,66,386],[5,25,40,64,130,258],[5,9,16,33,66,128,258],[45,82,258],[45,82,274],[45,82,137],[45,82,133,258],[5,40,82,137],[2,45,80,272],[5,40,82,137,258],[16,45,66,133,258],[2,45,80,137,272],[2,12,33,80,133,272],[9,16,36,66,133,258],[5,18,40,64,137,258],[11,18,33,448],[30,42],[12,18,38,448],[7,9,97,435],[7,35,66,400],[7,35,75,409],[7,9,66,400],[26,41,388],[51,81,388],[3,25,41,388],[3,8,17,33,68,388],[51,145,273],[25,42,196,324],[51,145,324],[12,21,38,71,132,260],[11,18,33,64,132,260],[25,102,136,290],[25,102,162,264],[30,44,385],[30,44,76,391],[6,24,42,385],[6,10,18,32,65,385],[24,42,74,385],[6,42,82,409],[30,42,193,321],[30,138,266],[30,193,266],[12,18,38,64,129,257],[11,21,33,455],[11,21,33,71,129,257],[30,70,429],[13,19,416],[13,19,65,423],[1,6,24,32,64,394],[1,6,10,18,96,416],[30,134,262],[30,224,352],[7,25,33,75,129,257],[7,11,18,64,160,288],[22,37,392],[51,67,414],[51,67,392],[3,4,17,33,72,392],[3,4,8,48,64,401],[7,97,426],[7,34,67,392],[51,200,328],[51,131,259],[7,18,33,64,136,264],[7,11,51,82,131,259],[7,75,176,304],[25,75,164,292],[25,75,137,265],[52,82,144,272],[52,82,137,265],[5,25,97,426],[25,40,73,386],[28,40,76,386],[5,49,73,411],[8,17,34,67,132,260],[3,4,48,81,136,264],[15,22,37,68,132,260],[7,26,41,72,136,264],[30,76,161,289],[30,76,140,268],[13,19,39,65,129,257],[7,25,43,75,139,267],[8,17,34,68,132,259],[3,4,48,72,136,273],[3,4,48,72,145,264],[51,79,145,273],[3,25,41,196,324],[18,33,67,392],[51,81,145,271],[3,25,41,192,324],[18,33,131,328],[6,24,42,193,321],[30,103,138,266],[6,10,18,64,161,289],[13,19,33,65,390],[6,24,42,192,321],[6,10,18,97,161,256],[6,10,18,97,128,289],[30,107,134,262],[13,19,224,352],[1,30,32,76,128,256],[12,18,32,64,391],[30,70,134,299],[13,19,192,352],[12,18,193,262],[1,30,32,64,140,256],[22,37,200,328],[51,93,131,259],[12,51,81,388],[22,37,192,328],[51,67,131,285],[12,51,145,324],[30,45,79,143,271],[3,4,25,41,192,320],[1,6,24,42,192,320],[30,45,74,138,266],[30,45,70,134,262],[13,19,32,192,320],[8,22,37,192,320],[30,45,67,131,259],[2,5,24,40,72,385],[1,2,4,40,80,408],[2,5,40,80,136,273],[2,5,40,80,145,264],[2,5,17,40,65,392],[2,5,8,32,80,401],[2,5,40,80,129,280],[2,5,40,80,152,257],[7,26,42,75,138,266],[7,24,42,75,136,264],[7,8,34,67,144,272],[7,10,32,65,144,272],[1,24,42,74,132,260],[6,25,42,75,130,258],[14,23,36,69,132,260],[9,16,35,66,132,260],[10,19,32,65,132,260],[13,20,39,70,132,260],[5,25,42,75,129,257],[2,25,40,73,132,260],[8,17,34,68,133,258],[6,8,17,34,66,385],[8,17,34,68,129,262],[2,8,17,32,68,389],[4,26,42,72,129,257],[3,29,41,76,129,257],[9,23,35,69,129,257],[14,16,36,66,129,257],[15,17,37,67,129,257],[8,22,34,68,129,257],[2,28,40,76,129,257],[5,27,42,73,129,257],[10,20,32,65,130,261],[3,9,20,32,65,388],[10,20,32,65,131,260],[2,8,20,32,65,389],[7,8,17,67,160,288],[7,25,34,75,130,258],[7,9,16,66,160,288],[3,4,25,72,160,288],[7,25,41,75,137,265],[7,25,40,75,136,264],[2,5,25,73,160,288],[1,6,24,96,130,296],[1,6,24,96,168,258],[1,6,8,16,96,418],[1,6,24,34,66,392],[1,6,24,96,136,290],[1,6,24,96,162,264],[1,2,4,24,96,424],[1,6,24,40,72,386],[19,32,70,136,264],[7,10,51,82,130,258],[7,9,51,82,129,257],[7,16,35,66,136,264],[7,24,43,74,136,264],[1,6,50,82,136,264],[2,5,49,80,136,264],[7,27,40,73,136,264],[3,4,48,72,129,280],[3,4,48,72,152,257],[3,4,16,32,72,393],[3,4,9,48,65,400],[3,4,48,72,137,272],[3,4,48,72,144,265],[3,4,24,40,72,385],[1,2,4,48,72,408],[3,9,16,36,65,388],[4,9,32,66,403],[9,16,36,66,129,262],[9,16,36,66,134,257],[1,8,16,36,66,390],[9,22,36,66,385],[9,36,66,131,276],[9,16,36,66,132,259],[3,25,45,76,129,257],[4,25,41,72,130,258],[10,19,39,70,130,258],[13,20,32,65,130,258],[8,17,37,68,130,258],[15,22,34,67,130,258],[1,24,44,76,130,258],[6,25,43,74,130,258],[12,18,33,67,388],[1,12,18,32,64,390],[12,18,33,193,262],[12,18,33,131,324],[3,12,21,37,68,132,260],[4,8,17,34,67,128,256],[4,11,18,33,64,128,256],[3,8,17,33,64,132,260],[4,8,17,34,64,128,259],[3,8,17,33,68,128,260],[3,8,17,33,68,132,256],[1,12,18,38,64,128,256],[6,10,18,32,64,129,257],[6,11,19,33,65,129,257],[1,10,20,32,70,128,256],[6,10,18,32,65,128,257],[6,10,18,32,65,129,256],[1,10,20,32,64,134,256],[7,10,19,33,65,129,257],[1,6,24,32,74,128,256],[7,11,18,32,64,128,256],[1,6,10,18,64,160,288],[1,6,24,32,64,138,256],[1,6,24,32,64,128,266],[1,6,10,18,96,128,288],[1,6,10,18,96,160,256],[7,8,18,33,64,128,256],[3,4,17,33,64,136,264],[7,11,17,34,67,131,259],[3,4,8,48,81,128,256],[3,4,17,33,72,128,264],[3,4,17,33,72,136,256],[3,4,8,48,64,145,256],[3,4,8,48,64,128,273],[8,22,37,71,135,263],[3,4,25,41,64,128,256],[1,6,24,42,64,128,256],[13,19,32,71,135,263],[12,18,33,67,131,259],[12,18,33,70,134,262],[2,5,24,40,72,129,256],[1,2,4,40,80,152,256],[2,5,17,40,65,136,256],[2,5,8,32,80,145,256],[2,5,24,40,72,128,257],[1,2,4,40,80,128,280],[2,5,8,32,80,128,273],[2,5,17,40,65,128,264],[7,9,19,35,66,131,259],[3,4,9,32,65,144,272],[7,9,17,35,66,129,257],[1,6,8,34,66,144,272],[7,10,16,32,65,128,256],[7,8,16,34,67,128,256],[1,4,24,42,74,128,256],[2,4,25,40,73,128,256],[4,10,19,32,65,128,256],[4,9,16,35,66,128,256],[1,2,24,40,72,132,260],[3,5,25,41,72,129,257],[3,13,20,36,69,132,260],[3,9,16,32,65,132,260],[2,8,17,32,68,128,261],[5,8,17,34,65,128,258],[1,8,16,34,68,128,262],[6,8,17,34,66,128,257],[2,8,17,32,68,133,256],[6,8,17,34,66,129,256],[2,4,24,40,72,129,257],[3,5,24,41,73,129,257],[6,9,17,35,67,129,257],[6,8,16,34,66,129,257],[1,4,26,42,72,128,256],[1,2,28,40,76,128,256],[1,8,22,34,68,128,256],[1,14,16,36,66,128,256],[5,10,17,32,65,130,256],[2,8,20,32,65,133,256],[4,10,16,32,65,131,256],[3,9,20,32,65,132,256],[2,8,20,32,65,128,261],[3,9,20,32,65,128,260],[7,8,17,32,67,128,256],[2,5,25,32,73,128,256],[3,4,25,32,72,128,256],[7,9,16,32,66,128,256],[2,5,8,17,65,160,288],[7,10,19,35,65,131,259],[1,2,4,24,96,128,296],[1,6,24,40,72,128,258],[1,6,8,16,96,128,290],[1,6,24,34,66,128,264],[1,6,24,40,72,130,256],[1,2,4,24,96,168,256],[1,6,8,16,96,162,256],[1,6,24,34,66,136,256],[2,5,17,32,65,136,264],[7,10,17,34,67,130,258],[7,9,17,34,67,129,257],[1,6,16,34,66,136,264],[2,5,8,49,80,128,256],[1,6,8,50,82,128,256],[3,4,24,40,72,129,256],[1,2,4,48,72,152,256],[3,4,16,32,72,137,256],[3,4,9,48,65,144,256],[1,2,4,48,72,128,280],[3,4,24,40,72,128,257],[3,4,16,32,72,128,265],[3,4,9,48,65,128,272],[3,9,16,36,65,128,260],[4,9,16,32,66,128,259],[1,8,16,36,66,128,262],[6,9,16,34,66,128,257],[3,9,16,36,65,132,256],[1,8,16,36,66,134,256],[1,2,24,44,76,128,256],[2,4,25,41,72,128,256],[2,8,17,37,68,128,256],[2,13,20,32,65,128,256],[3,5,25,40,73,129,257],[1,4,24,40,72,130,258],[5,10,19,34,67,130,258],[5,8,17,32,65,130,258],[12,18,33,67,135,259],[4,8,18,33,131,320],[12,18,33,70,135,262],[1,12,18,32,64,134,256],[12,18,33,67,131,263],[1,12,18,32,64,128,262],[10,20,32,65,391],[30,42,74,138,269],[30,33,64,129,262],[5,40,219,256],[12,18,33,64,391],[14,35,130,341],[4,18,33,64,395],[18,33,76,132,259],[10,20,33,70,385],[30,33,64,134,257],[6,10,18,64,385],[12,18,97,134,288],[12,22,37,68,391],[12,51,64,132,273],[4,8,18,33,64,387],[6,10,18,33,64,385],[12,18,33,64,134,257],[12,18,33,64,132,259],[4,8,18,33,64,128,259],[6,10,18,33,64,128,257],[7,42,130,258],[3,4,48,72,409],[9,16,36,66,391],[25,45,76,130,258],[7,51,82,136,264],[1,6,24,96,426],[7,25,42,192,320],[9,36,69,130,274],[25,42,79,136,264],[3,17,33,64,392],[25,42,72,136,271],[18,33,76,131,260],[30,42,77,138,266],[7,10,19,224,352],[7,25,65,129,299],[7,10,19,192,352],[12,18,97,160,262],[7,17,34,200,328],[7,17,34,192,328],[7,51,67,131,282],[12,51,64,145,260],[7,25,42,72,136,264],[7,25,42,74,138,266],[7,25,42,65,129,257],[7,10,19,32,192,320],[7,8,17,34,192,320],[7,25,42,67,131,259],[7,19,32,65,136,264],[4,9,16,32,66,387],[6,9,16,34,66,385],[9,16,36,66,131,260],[3,12,17,33,64,388],[12,18,33,64,129,262],[12,18,33,64,131,260],[7,8,17,34,64,128,256],[7,10,19,32,64,128,256],[7,11,18,33,67,131,259],[7,11,18,33,65,129,257],[3,12,17,33,64,132,256],[4,8,18,33,64,131,256],[6,10,18,33,64,129,256],[3,12,17,33,64,128,260],[30,44,459],[265,194,164,75],[11,21,51,469],[11,21,38,448],[30,42,384],[7,9,35,66,400],[28,45,76,139,268],[30,193,321]],"hosted":{"Dports":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,36,37,38,39,40,41,43,44,45,46,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],"X2":[772,773,774,776,777,778,779,780,781,782,783,784,785,787,788,790,792,794,795,796,797,798,799,800,801,803,804,805,807,808,809,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,832,833,834,835,836,837,838,839,840,841,842,843,844,845,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,880,881],"Y2":[882,883,884,886,887,888,889,890,891,892,893,894,895,897,898,899,900,902,903,904,905,906,907,908,909,910,911,912,914,915,916,918,919,920,921,922,923,925,926,927,928,930,931,932,933,934,935,936,938,939,940,941,942,943,944,945,946,947,948,949,950,951,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987],"alpha":"-1","alpha2":"-1","beta":"1/2","beta2":"0","mode":"mix-t0"},"initial":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,3,14,15,16,17,18,19,3,20,21,22,23,24,25,26,27,28,29,30,31,3,32,33,34,35,3,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,3,57,58,59,60,61,62,63,64,65,66,67,68,69,70,3,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,3,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,281,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,105,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1053,1053,1053,1053,1053,3,3,3,114,3,114,114,114,3,3,3,115,3,115,115,115,3,3,3,116,3,116,116,116,3,3,3,117,3,117,117,117,3,3,3,118,3,118,118,118,3,3,3,1027,3,1027,1027,1027,3,3,3,120,120,120,120,120,3,3,3,1052,3,1052,1052,1052,105,3,3,1051,1051,1051,1051,1051,3,3,3,1048,3,1048,1048,1048,3,3,3,1049,1049,1049,1049,1049,3,3,3,1050,3,1050,1050,1050,3,3,3,1031,3,1031,1031,1031,3,3,105,3,3,3,3,117,3,3,76,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,306,516,3,462,252,391,603,1090,1091,243,529,541,3,3,517,3,477,3,3,117,1091,3,3,3,3,3,3,3,105,105,105,3,3,3,117,245,115,243,0,1,2,3,4,5,6,7,8,9,10,11,12,13,3,14,15,3,17,3,19,3,20,21,22,23,24,25,26,27,3,29,30,31,3,32,33,34,3,3,3,37,38,39,40,41,42,44,45,46,47,49,50,51,52,53,54,55,3,3,57,58,59,60,61,62,63,64,65,66,67,68,69,70,3,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,3,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1053,1053,1053,1053,1053,3,3,3,3,3,3,3,3,115,3,3,3,3,3,3,3,117,3,117,117,117,3,3,3,3,3,3,3,3,3,3,120,120,120,3,3,3,3,3,3,1051,1051,1051,1051,1051,3,3,3,3,3,3,1049,1049,1049,1049,1049,3,3,3,3,3,3,3,1031,3,1031,3,3,3,3,3,3,3,3,3,3,3,3,306,516,3,462,252,391,603,1090,529,541,712,714,1031,1048,114,1090,1052,114,115,240,116,1048,116,1090,115,116,114,1031,1052,1050,1090,1050,1052,1027,118,1090,1031,1048,498,243,243,498,1090,260,361,362,363,1090,364,380,280,282,283,284,286,287,298,299,300,301,379,382,437,554,555,556,557,816,817,818,820,821,822,823,848,871,593,594,118,1027,836,837,323,324,344,326,325,240,1053,1053,1049,1049,1011,246,529,3,306,3,1090,3,120,595,105,3,3,3,3,602,602,189,904,3,3,3,3,3,3,1089,3,3,3,3,3,3,602,602,602,3,660,3,245,745,117,118,734,246,246,246,120,259,924,1027,237,120,529,595,237,306,1031,1091,245],"live":[0,1,2,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19,20,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,62,63,64,65,66,67,68,69,70,71,72,73,74,75,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"owned_fields":68,"ports":[11,19,35,131,259,13,21,37,69,133,261,41,73,265,49,81,145,273,161,193,321,385,14,22,38,70,134,262,26,74,138,50,146,274,98,290,194,322,386,28,44,140,268,84,148,276,100,164,292,196,324,388,56,88,152,280,168,296,200,328,392,112,176,304,208,336,400,224,352,416,508,506,502,494,478,446,382,254,505,501,493,477,445,381,253,499,475,443,379,251,487,471,439,375,247,463,431,367,239,415,351,223,319,191],"public":1501,"schema":"p104-accumulated-block-composition/2"} \ No newline at end of file diff --git a/research/ee251f60-composition/data/INVOICE-ZERO.json b/research/ee251f60-composition/data/INVOICE-ZERO.json new file mode 100644 index 0000000000..43dccaf2d2 --- /dev/null +++ b/research/ee251f60-composition/data/INVOICE-ZERO.json @@ -0,0 +1,11 @@ +{ + "schema": "integer-mult-recursive-invoice/v1", + "contract": { + "model": "mixed-target-unnormalized-power-v1", + "ambient_rank": 137, + "boundary": "actual signed caller research candidate with 16 native calls", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "paid": {}, + "targets": {} +} \ No newline at end of file diff --git a/research/ee251f60-composition/data/INVOICE.json b/research/ee251f60-composition/data/INVOICE.json new file mode 100644 index 0000000000..4cfe4f0fe9 --- /dev/null +++ b/research/ee251f60-composition/data/INVOICE.json @@ -0,0 +1 @@ +{"contract":{"ambient_rank":137,"boundary":"actual signed caller research candidate with 16 native calls","model":"mixed-target-unnormalized-power-v1","rank_semantics":"H_r costs r^(1-C); debit surrendered productive fields"},"paid":{"1":63776,"16":416,"2":14064,"24":416,"3":9632,"32":416,"4":3888,"40":416,"48":416,"5":5792,"56":416,"6":1392,"7":176,"8":752,"9":96},"schema":"integer-mult-recursive-invoice/v1","targets":{"1":288,"129":208,"17":416,"2":336,"25":416,"3":752,"33":416,"4":3632,"41":416,"49":416,"5":1248,"57":416,"6":704,"65":416,"7":304,"8":512,"9":10256}} \ No newline at end of file diff --git a/research/ee251f60-composition/data/K372-2-WORD.json.gz b/research/ee251f60-composition/data/K372-2-WORD.json.gz new file mode 100644 index 0000000000..1273c83178 Binary files /dev/null and b/research/ee251f60-composition/data/K372-2-WORD.json.gz differ diff --git a/research/ee251f60-composition/evidence/BUILD.json b/research/ee251f60-composition/evidence/BUILD.json new file mode 100644 index 0000000000..fd48ea48b9 --- /dev/null +++ b/research/ee251f60-composition/evidence/BUILD.json @@ -0,0 +1 @@ +{"CLEAR_coefficients_unchanged":true,"SCALE_delta":0,"candidate":"ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d","clear_count":235,"events":150522,"exact_local_identity_verified":true,"exact_local_matrix":[["0","1/2","1/4"],["-2","1","0"],["-4","2","1"]],"inputs_sha256":{"certificates":"49cc8b2737a4338db881416521f7e41e41be144aa8e993bdbb66ace9b5b4cb70","composer":"4df7e7bda29caae84dba183520c46657c25cd28680d6d2fb4a68e0bac5a6bf9b","hits":"a5d4c49a1fc14ca4af1383de33fb9347422607891207c0787dcc6de7736f4b60","word":"d96ddc490dd1c95736189e5fa973b62f6988f9a451f178a194d29ca4f129ab68"},"local_start":97842,"early_edit_provenance":{"composer_rule":"Once per identical touched tuple, insert chosen ADD before original absolute slot[4]","preserved_hit_indices":[9,11,21,137,99],"selected_hits":{"11":{"chosen":[{"alpha_mod_p":2,"literal_ok":true,"q_est":"2","slot":[11149,249,938,683,98069]}],"item":{"c1":551,"c2":683,"c3":127,"gain":0.014209345760366213,"i1":94395,"i2":101951,"k":3,"kind":"STAY","touched":[94397],"x":1013},"mode":"EARLY"},"137":{"chosen":[{"alpha_mod_p":250000002,"literal_ok":true,"q_est":"1/4","slot":[10431,236,1000,751,97352]}],"item":{"c1":748,"c2":1065,"c3":1072,"gain":0.007123114717961903,"i1":97329,"i2":97333,"k":3,"kind":"STAY","touched":[97331],"x":1141},"mode":"EARLY"},"21":{"chosen":[{"alpha_mod_p":250000002,"literal_ok":true,"q_est":"1/4","slot":[10431,236,1000,751,97352]}],"item":{"c1":449,"c2":1065,"c3":928,"gain":0.01252692319001784,"i1":97330,"i2":97337,"k":1,"kind":"STAY","touched":[97331],"x":940},"mode":"EARLY"},"9":{"chosen":[{"alpha_mod_p":1000000006,"literal_ok":true,"q_est":"-1","slot":[9495,431,895,651,96415]},{"alpha_mod_p":1,"literal_ok":true,"q_est":"1","slot":[9495,431,928,651,96415]}],"item":{"c1":545,"c2":651,"c3":127,"gain":0.014209345760366213,"i1":96390,"i2":101958,"k":3,"kind":"STAY","touched":[96393],"x":1188},"mode":"EARLY"},"99":{"chosen":[{"alpha_mod_p":1000000005,"literal_ok":true,"q_est":"-2","slot":[12543,438,911,911,99464]},{"alpha_mod_p":2,"literal_ok":true,"q_est":"2","slot":[12543,438,925,911,99464]}],"item":{"c1":772,"c2":911,"c3":245,"gain":0.008384152313843303,"i1":99208,"i2":99211,"k":4,"kind":"STAY","touched":[99210],"x":1195},"mode":"EARLY"}},"shared_hit_indices":[21,137],"shared_q":"1/4","shared_slot":[10431,236,1000,751,97352],"shared_touched":[97331]},"new_edge_pairs":[[265,927],[927,127]],"old_local_events":[["MOVE",236,265,751,false],["ADD",544,236,"-2",751],["MOVE",1000,265,751,false],["ADD",1000,544,"2",751],["ADD",236,1000,"1/4",751],["MOVE",544,751,927,false]],"old_x_exit":100212,"original_ADD_indices":[97843,97845,97846],"owned_events_and_lifetimes_unchanged":true,"paid_delta_1e12_at_kappa00374":-1261037596,"paid_profile_delta":{"2":1,"3":-2,"4":1},"ports_byte_sha256":"8e55055da81bddced50a91a35d69504de1e942eac53a7d80080318fd686f13dd","public_headers_unchanged":true,"replacement_local_events":[["ADD",236,1000,"1/4",265],["ADD",1000,236,"-2",265],["MOVE",236,265,927,false],["MOVE",1000,265,751,false],["ADD",544,1000,"1/2",751],["ADD",1000,544,"2",751],["MOVE",544,751,927,false],["ADD",544,236,"-1",927],["ADD",236,544,"1/2",927]],"scalar_ADD_delta":3,"scope":"All three values restored at the local block boundary before the next scalar/CLEAR observation. Original five-EARLY-edit hit data and hub tapes preserved. Source certificates remapped with unchanged coefficients. Actual full finite/CLEAR, ordinary/precision, native phase, caller/invoice and supplier checks remain separate.","source":"be33ebb71f8c900315795b130efb457c1bb61cb3d575652b8ddd6dd354902772","source_events":150519,"status":"CONSTRUCTED_LOCAL_TRIANGLE_IDENTITY_FULL_REPLAY_PENDING","tool_byte_sha256":"e9927b125081682973d7ac1e368014a50765c2c7b2d475bfb03930958948b2ed"} \ No newline at end of file diff --git a/research/ee251f60-composition/evidence/FINITE-AUDIT.json b/research/ee251f60-composition/evidence/FINITE-AUDIT.json new file mode 100644 index 0000000000..8a9246c3ea --- /dev/null +++ b/research/ee251f60-composition/evidence/FINITE-AUDIT.json @@ -0,0 +1,1424 @@ +{ + "all_program_scalar_divisions_exact": true, + "certificate_coefficient_denominator_lcm": 192, + "certificate_denominator_divisions_checked": 2505, + "certificate_rule": "Exact equality with other live public/owned rows; source charts need not coincide", + "certificate_terms": 1135, + "clear_certificates": 235, + "events": 150522, + "grid_denominator_supplied": 247390116249600, + "header_matches_reference": true, + "header_reference_program_replayed": false, + "integer_endpoint_rows_sha256": "f0a2a06ed82c2c3c5df1c08599bf5740a167c66d13b30ba0232decc290e3d1a2", + "intended_A_matches": true, + "largest_certificate": 83, + "literal_denominators_5_smooth": true, + "live_owned_certificate_terms": 2, + "max_reduced_numerator_bits": 20, + "max_scaled_integer_bits": 61, + "nontrivial_program_term_divisions_checked": 1795380, + "observed_max_den_exp": 14, + "observed_odd_denominator_lcm": 225, + "observed_row_denominator_lcm": 3686400, + "opcodes": { + "ADD": 139735, + "CLEAR": 235, + "INIT": 235, + "MOVE": 6157, + "SCALE": 4160 + }, + "owned_fields": 68, + "owned_labels_used": 53, + "owned_lifetime_profile": [ + { + "clear_chart": 240, + "count": 1, + "field": 1501, + "initial_chart": 240 + }, + { + "clear_chart": 306, + "count": 1, + "field": 1501, + "initial_chart": 306 + }, + { + "clear_chart": 375, + "count": 1, + "field": 1501, + "initial_chart": 375 + }, + { + "clear_chart": 86, + "count": 1, + "field": 1502, + "initial_chart": 86 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1502, + "initial_chart": 127 + }, + { + "clear_chart": 1091, + "count": 1, + "field": 1502, + "initial_chart": 260 + }, + { + "clear_chart": 353, + "count": 1, + "field": 1502, + "initial_chart": 353 + }, + { + "clear_chart": 372, + "count": 1, + "field": 1502, + "initial_chart": 372 + }, + { + "clear_chart": 1091, + "count": 1, + "field": 1502, + "initial_chart": 1091 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1503, + "initial_chart": 127 + }, + { + "clear_chart": 306, + "count": 1, + "field": 1503, + "initial_chart": 306 + }, + { + "clear_chart": 338, + "count": 1, + "field": 1503, + "initial_chart": 338 + }, + { + "clear_chart": 598, + "count": 1, + "field": 1503, + "initial_chart": 394 + }, + { + "clear_chart": 435, + "count": 1, + "field": 1503, + "initial_chart": 435 + }, + { + "clear_chart": 120, + "count": 1, + "field": 1504, + "initial_chart": 120 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1504, + "initial_chart": 127 + }, + { + "clear_chart": 413, + "count": 1, + "field": 1504, + "initial_chart": 413 + }, + { + "clear_chart": 438, + "count": 1, + "field": 1504, + "initial_chart": 438 + }, + { + "clear_chart": 657, + "count": 1, + "field": 1504, + "initial_chart": 657 + }, + { + "clear_chart": 707, + "count": 1, + "field": 1504, + "initial_chart": 707 + }, + { + "clear_chart": 734, + "count": 2, + "field": 1504, + "initial_chart": 734 + }, + { + "clear_chart": 8, + "count": 1, + "field": 1505, + "initial_chart": 8 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1505, + "initial_chart": 127 + }, + { + "clear_chart": 397, + "count": 1, + "field": 1505, + "initial_chart": 397 + }, + { + "clear_chart": 451, + "count": 1, + "field": 1505, + "initial_chart": 451 + }, + { + "clear_chart": 531, + "count": 1, + "field": 1505, + "initial_chart": 529 + }, + { + "clear_chart": 595, + "count": 1, + "field": 1505, + "initial_chart": 529 + }, + { + "clear_chart": 529, + "count": 1, + "field": 1505, + "initial_chart": 531 + }, + { + "clear_chart": 548, + "count": 1, + "field": 1505, + "initial_chart": 548 + }, + { + "clear_chart": 645, + "count": 1, + "field": 1505, + "initial_chart": 645 + }, + { + "clear_chart": 646, + "count": 1, + "field": 1505, + "initial_chart": 646 + }, + { + "clear_chart": 3, + "count": 1, + "field": 1506, + "initial_chart": 3 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1506, + "initial_chart": 127 + }, + { + "clear_chart": 1091, + "count": 1, + "field": 1506, + "initial_chart": 267 + }, + { + "clear_chart": 243, + "count": 1, + "field": 1506, + "initial_chart": 517 + }, + { + "clear_chart": 904, + "count": 1, + "field": 1506, + "initial_chart": 904 + }, + { + "clear_chart": 127, + "count": 2, + "field": 1507, + "initial_chart": 127 + }, + { + "clear_chart": 175, + "count": 1, + "field": 1507, + "initial_chart": 175 + }, + { + "clear_chart": 1091, + "count": 1, + "field": 1507, + "initial_chart": 1091 + }, + { + "clear_chart": 127, + "count": 2, + "field": 1508, + "initial_chart": 127 + }, + { + "clear_chart": 237, + "count": 1, + "field": 1508, + "initial_chart": 237 + }, + { + "clear_chart": 456, + "count": 1, + "field": 1508, + "initial_chart": 456 + }, + { + "clear_chart": 891, + "count": 1, + "field": 1508, + "initial_chart": 891 + }, + { + "clear_chart": 3, + "count": 2, + "field": 1509, + "initial_chart": 3 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1509, + "initial_chart": 127 + }, + { + "clear_chart": 175, + "count": 1, + "field": 1509, + "initial_chart": 175 + }, + { + "clear_chart": 394, + "count": 1, + "field": 1509, + "initial_chart": 240 + }, + { + "clear_chart": 600, + "count": 1, + "field": 1509, + "initial_chart": 243 + }, + { + "clear_chart": 418, + "count": 1, + "field": 1509, + "initial_chart": 418 + }, + { + "clear_chart": 493, + "count": 1, + "field": 1509, + "initial_chart": 493 + }, + { + "clear_chart": 553, + "count": 1, + "field": 1509, + "initial_chart": 553 + }, + { + "clear_chart": 564, + "count": 1, + "field": 1509, + "initial_chart": 564 + }, + { + "clear_chart": 267, + "count": 1, + "field": 1509, + "initial_chart": 1091 + }, + { + "clear_chart": 127, + "count": 2, + "field": 1510, + "initial_chart": 127 + }, + { + "clear_chart": 1090, + "count": 1, + "field": 1510, + "initial_chart": 477 + }, + { + "clear_chart": 240, + "count": 1, + "field": 1510, + "initial_chart": 518 + }, + { + "clear_chart": 260, + "count": 1, + "field": 1510, + "initial_chart": 599 + }, + { + "clear_chart": 431, + "count": 1, + "field": 1510, + "initial_chart": 600 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1511, + "initial_chart": 127 + }, + { + "clear_chart": 470, + "count": 1, + "field": 1511, + "initial_chart": 1090 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1512, + "initial_chart": 127 + }, + { + "clear_chart": 245, + "count": 1, + "field": 1512, + "initial_chart": 245 + }, + { + "clear_chart": 849, + "count": 1, + "field": 1512, + "initial_chart": 849 + }, + { + "clear_chart": 853, + "count": 1, + "field": 1512, + "initial_chart": 853 + }, + { + "clear_chart": 1077, + "count": 1, + "field": 1512, + "initial_chart": 1077 + }, + { + "clear_chart": 477, + "count": 1, + "field": 1512, + "initial_chart": 1090 + }, + { + "clear_chart": 127, + "count": 2, + "field": 1513, + "initial_chart": 127 + }, + { + "clear_chart": 417, + "count": 1, + "field": 1513, + "initial_chart": 417 + }, + { + "clear_chart": 594, + "count": 1, + "field": 1513, + "initial_chart": 541 + }, + { + "clear_chart": 844, + "count": 1, + "field": 1513, + "initial_chart": 844 + }, + { + "clear_chart": 894, + "count": 1, + "field": 1513, + "initial_chart": 894 + }, + { + "clear_chart": 973, + "count": 1, + "field": 1513, + "initial_chart": 973 + }, + { + "clear_chart": 975, + "count": 1, + "field": 1513, + "initial_chart": 975 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1514, + "initial_chart": 127 + }, + { + "clear_chart": 237, + "count": 1, + "field": 1514, + "initial_chart": 237 + }, + { + "clear_chart": 398, + "count": 1, + "field": 1514, + "initial_chart": 398 + }, + { + "clear_chart": 525, + "count": 1, + "field": 1514, + "initial_chart": 525 + }, + { + "clear_chart": 1090, + "count": 1, + "field": 1514, + "initial_chart": 601 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1515, + "initial_chart": 127 + }, + { + "clear_chart": 541, + "count": 1, + "field": 1515, + "initial_chart": 594 + }, + { + "clear_chart": 965, + "count": 1, + "field": 1515, + "initial_chart": 965 + }, + { + "clear_chart": 3, + "count": 1, + "field": 1516, + "initial_chart": 3 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1516, + "initial_chart": 127 + }, + { + "clear_chart": 495, + "count": 1, + "field": 1516, + "initial_chart": 495 + }, + { + "clear_chart": 512, + "count": 1, + "field": 1516, + "initial_chart": 512 + }, + { + "clear_chart": 543, + "count": 1, + "field": 1516, + "initial_chart": 541 + }, + { + "clear_chart": 965, + "count": 1, + "field": 1516, + "initial_chart": 965 + }, + { + "clear_chart": 967, + "count": 1, + "field": 1516, + "initial_chart": 967 + }, + { + "clear_chart": 973, + "count": 1, + "field": 1516, + "initial_chart": 973 + }, + { + "clear_chart": 3, + "count": 1, + "field": 1517, + "initial_chart": 3 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1517, + "initial_chart": 127 + }, + { + "clear_chart": 593, + "count": 1, + "field": 1517, + "initial_chart": 549 + }, + { + "clear_chart": 549, + "count": 1, + "field": 1517, + "initial_chart": 559 + }, + { + "clear_chart": 529, + "count": 1, + "field": 1517, + "initial_chart": 595 + }, + { + "clear_chart": 647, + "count": 1, + "field": 1517, + "initial_chart": 647 + }, + { + "clear_chart": 664, + "count": 1, + "field": 1517, + "initial_chart": 664 + }, + { + "clear_chart": 665, + "count": 1, + "field": 1517, + "initial_chart": 665 + }, + { + "clear_chart": 839, + "count": 1, + "field": 1517, + "initial_chart": 839 + }, + { + "clear_chart": 959, + "count": 1, + "field": 1517, + "initial_chart": 959 + }, + { + "clear_chart": 961, + "count": 1, + "field": 1517, + "initial_chart": 961 + }, + { + "clear_chart": 115, + "count": 1, + "field": 1518, + "initial_chart": 115 + }, + { + "clear_chart": 127, + "count": 2, + "field": 1518, + "initial_chart": 127 + }, + { + "clear_chart": 339, + "count": 1, + "field": 1518, + "initial_chart": 339 + }, + { + "clear_chart": 693, + "count": 1, + "field": 1518, + "initial_chart": 693 + }, + { + "clear_chart": 694, + "count": 1, + "field": 1518, + "initial_chart": 694 + }, + { + "clear_chart": 736, + "count": 1, + "field": 1518, + "initial_chart": 736 + }, + { + "clear_chart": 757, + "count": 1, + "field": 1518, + "initial_chart": 757 + }, + { + "clear_chart": 127, + "count": 2, + "field": 1519, + "initial_chart": 127 + }, + { + "clear_chart": 237, + "count": 1, + "field": 1519, + "initial_chart": 237 + }, + { + "clear_chart": 872, + "count": 1, + "field": 1519, + "initial_chart": 872 + }, + { + "clear_chart": 924, + "count": 1, + "field": 1519, + "initial_chart": 924 + }, + { + "clear_chart": 980, + "count": 1, + "field": 1519, + "initial_chart": 980 + }, + { + "clear_chart": 117, + "count": 1, + "field": 1520, + "initial_chart": 117 + }, + { + "clear_chart": 127, + "count": 2, + "field": 1520, + "initial_chart": 127 + }, + { + "clear_chart": 966, + "count": 1, + "field": 1520, + "initial_chart": 966 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1521, + "initial_chart": 127 + }, + { + "clear_chart": 264, + "count": 1, + "field": 1521, + "initial_chart": 264 + }, + { + "clear_chart": 723, + "count": 1, + "field": 1521, + "initial_chart": 723 + }, + { + "clear_chart": 857, + "count": 1, + "field": 1521, + "initial_chart": 857 + }, + { + "clear_chart": 888, + "count": 1, + "field": 1521, + "initial_chart": 888 + }, + { + "clear_chart": 889, + "count": 1, + "field": 1521, + "initial_chart": 889 + }, + { + "clear_chart": 890, + "count": 1, + "field": 1521, + "initial_chart": 890 + }, + { + "clear_chart": 911, + "count": 1, + "field": 1521, + "initial_chart": 911 + }, + { + "clear_chart": 980, + "count": 1, + "field": 1521, + "initial_chart": 980 + }, + { + "clear_chart": 981, + "count": 1, + "field": 1521, + "initial_chart": 981 + }, + { + "clear_chart": 1007, + "count": 1, + "field": 1521, + "initial_chart": 1007 + }, + { + "clear_chart": 1008, + "count": 1, + "field": 1521, + "initial_chart": 1008 + }, + { + "clear_chart": 1009, + "count": 1, + "field": 1521, + "initial_chart": 1009 + }, + { + "clear_chart": 1016, + "count": 1, + "field": 1521, + "initial_chart": 1016 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1522, + "initial_chart": 127 + }, + { + "clear_chart": 407, + "count": 1, + "field": 1522, + "initial_chart": 407 + }, + { + "clear_chart": 538, + "count": 1, + "field": 1522, + "initial_chart": 538 + }, + { + "clear_chart": 828, + "count": 1, + "field": 1522, + "initial_chart": 828 + }, + { + "clear_chart": 874, + "count": 1, + "field": 1522, + "initial_chart": 874 + }, + { + "clear_chart": 951, + "count": 1, + "field": 1522, + "initial_chart": 951 + }, + { + "clear_chart": 953, + "count": 1, + "field": 1522, + "initial_chart": 953 + }, + { + "clear_chart": 954, + "count": 1, + "field": 1522, + "initial_chart": 954 + }, + { + "clear_chart": 979, + "count": 1, + "field": 1522, + "initial_chart": 979 + }, + { + "clear_chart": 993, + "count": 1, + "field": 1522, + "initial_chart": 993 + }, + { + "clear_chart": 994, + "count": 1, + "field": 1522, + "initial_chart": 994 + }, + { + "clear_chart": 436, + "count": 1, + "field": 1523, + "initial_chart": 436 + }, + { + "clear_chart": 452, + "count": 1, + "field": 1523, + "initial_chart": 452 + }, + { + "clear_chart": 595, + "count": 1, + "field": 1523, + "initial_chart": 595 + }, + { + "clear_chart": 603, + "count": 1, + "field": 1523, + "initial_chart": 603 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1524, + "initial_chart": 127 + }, + { + "clear_chart": 378, + "count": 1, + "field": 1524, + "initial_chart": 378 + }, + { + "clear_chart": 559, + "count": 1, + "field": 1524, + "initial_chart": 549 + }, + { + "clear_chart": 695, + "count": 1, + "field": 1524, + "initial_chart": 695 + }, + { + "clear_chart": 756, + "count": 1, + "field": 1524, + "initial_chart": 756 + }, + { + "clear_chart": 834, + "count": 1, + "field": 1524, + "initial_chart": 834 + }, + { + "clear_chart": 979, + "count": 1, + "field": 1524, + "initial_chart": 979 + }, + { + "clear_chart": 985, + "count": 1, + "field": 1524, + "initial_chart": 985 + }, + { + "clear_chart": 986, + "count": 1, + "field": 1524, + "initial_chart": 986 + }, + { + "clear_chart": 994, + "count": 1, + "field": 1524, + "initial_chart": 994 + }, + { + "clear_chart": 599, + "count": 1, + "field": 1524, + "initial_chart": 1091 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1525, + "initial_chart": 127 + }, + { + "clear_chart": 360, + "count": 1, + "field": 1525, + "initial_chart": 360 + }, + { + "clear_chart": 369, + "count": 1, + "field": 1525, + "initial_chart": 369 + }, + { + "clear_chart": 737, + "count": 1, + "field": 1525, + "initial_chart": 737 + }, + { + "clear_chart": 910, + "count": 1, + "field": 1525, + "initial_chart": 910 + }, + { + "clear_chart": 985, + "count": 1, + "field": 1525, + "initial_chart": 985 + }, + { + "clear_chart": 986, + "count": 1, + "field": 1525, + "initial_chart": 986 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1526, + "initial_chart": 127 + }, + { + "clear_chart": 322, + "count": 1, + "field": 1526, + "initial_chart": 322 + }, + { + "clear_chart": 442, + "count": 1, + "field": 1526, + "initial_chart": 442 + }, + { + "clear_chart": 855, + "count": 1, + "field": 1526, + "initial_chart": 855 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1527, + "initial_chart": 127 + }, + { + "clear_chart": 340, + "count": 1, + "field": 1527, + "initial_chart": 340 + }, + { + "clear_chart": 518, + "count": 1, + "field": 1527, + "initial_chart": 598 + }, + { + "clear_chart": 756, + "count": 1, + "field": 1527, + "initial_chart": 756 + }, + { + "clear_chart": 838, + "count": 1, + "field": 1527, + "initial_chart": 838 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1528, + "initial_chart": 127 + }, + { + "clear_chart": 319, + "count": 1, + "field": 1528, + "initial_chart": 319 + }, + { + "clear_chart": 549, + "count": 1, + "field": 1528, + "initial_chart": 593 + }, + { + "clear_chart": 851, + "count": 1, + "field": 1528, + "initial_chart": 851 + }, + { + "clear_chart": 414, + "count": 1, + "field": 1529, + "initial_chart": 414 + }, + { + "clear_chart": 517, + "count": 1, + "field": 1529, + "initial_chart": 431 + }, + { + "clear_chart": 846, + "count": 1, + "field": 1529, + "initial_chart": 846 + }, + { + "clear_chart": 595, + "count": 1, + "field": 1530, + "initial_chart": 595 + }, + { + "clear_chart": 835, + "count": 1, + "field": 1530, + "initial_chart": 835 + }, + { + "clear_chart": 377, + "count": 1, + "field": 1531, + "initial_chart": 377 + }, + { + "clear_chart": 433, + "count": 1, + "field": 1531, + "initial_chart": 433 + }, + { + "clear_chart": 840, + "count": 1, + "field": 1531, + "initial_chart": 840 + }, + { + "clear_chart": 415, + "count": 1, + "field": 1532, + "initial_chart": 415 + }, + { + "clear_chart": 850, + "count": 1, + "field": 1532, + "initial_chart": 850 + }, + { + "clear_chart": 858, + "count": 1, + "field": 1532, + "initial_chart": 858 + }, + { + "clear_chart": 1076, + "count": 1, + "field": 1532, + "initial_chart": 1076 + }, + { + "clear_chart": 409, + "count": 1, + "field": 1533, + "initial_chart": 409 + }, + { + "clear_chart": 416, + "count": 1, + "field": 1533, + "initial_chart": 416 + }, + { + "clear_chart": 826, + "count": 1, + "field": 1533, + "initial_chart": 826 + }, + { + "clear_chart": 1031, + "count": 2, + "field": 1533, + "initial_chart": 1031 + }, + { + "clear_chart": 453, + "count": 1, + "field": 1534, + "initial_chart": 453 + }, + { + "clear_chart": 877, + "count": 1, + "field": 1534, + "initial_chart": 877 + }, + { + "clear_chart": 337, + "count": 1, + "field": 1535, + "initial_chart": 337 + }, + { + "clear_chart": 873, + "count": 1, + "field": 1535, + "initial_chart": 873 + }, + { + "clear_chart": 376, + "count": 1, + "field": 1536, + "initial_chart": 376 + }, + { + "clear_chart": 845, + "count": 1, + "field": 1536, + "initial_chart": 845 + }, + { + "clear_chart": 101, + "count": 1, + "field": 1537, + "initial_chart": 101 + }, + { + "clear_chart": 597, + "count": 1, + "field": 1537, + "initial_chart": 591 + }, + { + "clear_chart": 827, + "count": 1, + "field": 1537, + "initial_chart": 827 + }, + { + "clear_chart": 841, + "count": 1, + "field": 1537, + "initial_chart": 841 + }, + { + "clear_chart": 856, + "count": 1, + "field": 1537, + "initial_chart": 856 + }, + { + "clear_chart": 863, + "count": 1, + "field": 1537, + "initial_chart": 863 + }, + { + "clear_chart": 866, + "count": 1, + "field": 1537, + "initial_chart": 866 + }, + { + "clear_chart": 885, + "count": 1, + "field": 1537, + "initial_chart": 885 + }, + { + "clear_chart": 1075, + "count": 1, + "field": 1537, + "initial_chart": 1075 + }, + { + "clear_chart": 263, + "count": 1, + "field": 1538, + "initial_chart": 263 + }, + { + "clear_chart": 591, + "count": 1, + "field": 1538, + "initial_chart": 597 + }, + { + "clear_chart": 1031, + "count": 1, + "field": 1539, + "initial_chart": 1031 + }, + { + "clear_chart": 320, + "count": 1, + "field": 1540, + "initial_chart": 320 + }, + { + "clear_chart": 321, + "count": 1, + "field": 1541, + "initial_chart": 321 + }, + { + "clear_chart": 492, + "count": 1, + "field": 1541, + "initial_chart": 492 + }, + { + "clear_chart": 475, + "count": 1, + "field": 1542, + "initial_chart": 475 + }, + { + "clear_chart": 466, + "count": 1, + "field": 1543, + "initial_chart": 466 + }, + { + "clear_chart": 455, + "count": 1, + "field": 1544, + "initial_chart": 455 + }, + { + "clear_chart": 601, + "count": 1, + "field": 1545, + "initial_chart": 470 + }, + { + "clear_chart": 381, + "count": 1, + "field": 1546, + "initial_chart": 381 + }, + { + "clear_chart": 3, + "count": 1, + "field": 1547, + "initial_chart": 3 + }, + { + "clear_chart": 419, + "count": 1, + "field": 1547, + "initial_chart": 419 + }, + { + "clear_chart": 471, + "count": 1, + "field": 1548, + "initial_chart": 471 + }, + { + "clear_chart": 420, + "count": 1, + "field": 1549, + "initial_chart": 420 + }, + { + "clear_chart": 541, + "count": 1, + "field": 1550, + "initial_chart": 543 + }, + { + "clear_chart": 115, + "count": 1, + "field": 1551, + "initial_chart": 115 + }, + { + "clear_chart": 127, + "count": 1, + "field": 1567, + "initial_chart": 127 + }, + { + "clear_chart": 3, + "count": 1, + "field": 1568, + "initial_chart": 3 + } + ], + "owned_lifetimes": 235, + "owned_peak": 51, + "public": 1501, + "public_ascent_ranks": { + "1": 3942, + "2": 871, + "3": 600, + "4": 231, + "5": 360, + "6": 85, + "7": 11, + "8": 7, + "9": 4 + }, + "scope": "Finite ideal scalar/operator/CLEAR evidence only; not precision/tape/native-column/phase/physical/cost/provider admission", + "single_forward_program_pass": true, + "source_bindings": { + "clear_certificates": { + "file_sha256": "5bca98812eb29a0c5f9239598c84e4be734f3d61a0aedb29d3e5b496bdc83cf2", + "name": "CERTS.json" + }, + "header_reference_only": { + "file_sha256": "f98d2c33c8f923fbe00bb98985f4216860914bb171083a43b72660f6d3641d77", + "name": "DECLARED-HEADER.json", + "program_replayed": false + }, + "our_separately_written_audit": { + "file_sha256": "029fcc729e2f5dda51ac1ebc7caf6a51d7a6d9b3e2772380731c6f910502099d", + "name": "integer_grid_audit.py", + "role": "Our integer interpreter; source check.py not imported or executed" + }, + "word": { + "canonical_sha256": "ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d", + "file_sha256": "55356adb127fdf9d0bb15a759ab9a3c21d52ea43bfb93c5a98031e78b207152b", + "name": "UNREPLAYED-WORD.json.gz" + } + }, + "status": "PASS_FINITE_INTEGER_ROWS_AND_CLEAR_RELATIONS", + "zero_clear_rows": 42, + "zero_rows_with_nonempty_valid_certificate": 0 +} diff --git a/research/ee251f60-composition/evidence/GRID.json b/research/ee251f60-composition/evidence/GRID.json new file mode 100644 index 0000000000..9b712768f4 --- /dev/null +++ b/research/ee251f60-composition/evidence/GRID.json @@ -0,0 +1,10 @@ +{ + "candidate_canonical_sha256": "ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d", + "input_AUDIT_sha256": "345fd7c846173a76934d33d74dd490ee73bf7e8562d53d0a0c973b4a8845237a", + "grid": { + "max_den_exp": 14, + "odd_den": 225, + "max_num_bits": 20 + }, + "scope": "Actual finite row grid for this candidate only" +} \ No newline at end of file diff --git a/research/ee251f60-composition/evidence/INVENTORY.json b/research/ee251f60-composition/evidence/INVENTORY.json new file mode 100644 index 0000000000..b8d20aee1d --- /dev/null +++ b/research/ee251f60-composition/evidence/INVENTORY.json @@ -0,0 +1 @@ +{"candidate_canonical_sha256":"ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d","empty_caller_targets":0,"native":{"CLEAR_relations_checked":false,"endpoint_checked":false,"events":150522,"helpers":{"1":18,"2":21,"3":47,"4":227,"5":78,"6":44,"7":19,"8":32,"9":615},"lifetimes":235,"opcodes":{"ADD":139735,"CLEAR":235,"INIT":235,"MOVE":6157,"SCALE":4160},"owned_fields":68,"owned_peak":51,"paid":{"1":3962,"2":879,"3":602,"4":243,"5":362,"6":87,"7":11,"8":7,"9":4},"public":1501,"rises":{"1":10,"2":4,"3":1,"4":6,"5":1,"6":1}},"scope":"Metadata counts only; new endpoint/CLEAR/native admission pending"} \ No newline at end of file diff --git a/research/ee251f60-composition/evidence/NATIVE-EVIDENCE-REUSE.json b/research/ee251f60-composition/evidence/NATIVE-EVIDENCE-REUSE.json new file mode 100644 index 0000000000..f6e9ff2005 --- /dev/null +++ b/research/ee251f60-composition/evidence/NATIVE-EVIDENCE-REUSE.json @@ -0,0 +1,329 @@ +{ + "schema": 1, + "candidate_canonical_sha256": "9cc4fd5cda312d16c953beb3337a6285971bab7cf98c3317abbde9b90adae7d4", + "base_canonical_sha256": "3dd1199d95291ee96e6c0aeb6f55f86244a569b1d4975840bf0207e2dcf9c025", + "fresh_512_column_runs": 0, + "unchanged_predecessor_selected_geometry_count": 7, + "new_geometry_reused_from_77aab_count": 2, + "edges": [ + { + "group": "unchanged_mac_selected_edges", + "pair": [ + 449, + 928 + ], + "source_receipt": "predecessor-receipt:K372-2/NATIVE-NEW.json", + "source_receipt_sha256": "efc5f881cb507363c1c9063f35d38de9c48568bd150e96e76c239a965a557026", + "source_basis": [ + 51, + 328 + ], + "target_basis": [ + 3, + 4, + 17, + 33, + 72, + 136, + 256 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "350c7ede6ab005153e5972f30c7ae5d37de31b513af177089d2345d7a2e287ec", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 2, + "current_paid_move_count": 2 + }, + { + "group": "unchanged_mac_selected_edges", + "pair": [ + 545, + 127 + ], + "source_receipt": "predecessor-receipt:K372-2/NATIVE-NEW.json", + "source_receipt_sha256": "efc5f881cb507363c1c9063f35d38de9c48568bd150e96e76c239a965a557026", + "source_basis": [ + 45, + 146, + 272 + ], + "target_basis": [ + 1, + 2, + 4, + 8, + 16, + 32, + 64, + 128, + 256 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "403c8b446ee892a5affd8a854440503b93317e18b1f59098c11a8028b4101977", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 1, + "current_paid_move_count": 1 + }, + { + "group": "unchanged_mac_selected_edges", + "pair": [ + 551, + 127 + ], + "source_receipt": "predecessor-receipt:K372-2/NATIVE-NEW.json", + "source_receipt_sha256": "efc5f881cb507363c1c9063f35d38de9c48568bd150e96e76c239a965a557026", + "source_basis": [ + 45, + 222, + 261 + ], + "target_basis": [ + 1, + 2, + 4, + 8, + 16, + 32, + 64, + 128, + 256 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "db794851571891af84d30032308181733a617eaf5aa0ccf39443d3ae7c6cbf61", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 1, + "current_paid_move_count": 1 + }, + { + "group": "unchanged_mac_selected_edges", + "pair": [ + 748, + 1072 + ], + "source_receipt": "predecessor-receipt:K372-2/NATIVE-NEW.json", + "source_receipt_sha256": "efc5f881cb507363c1c9063f35d38de9c48568bd150e96e76c239a965a557026", + "source_basis": [ + 22, + 37, + 392 + ], + "target_basis": [ + 7, + 8, + 17, + 34, + 192, + 320 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "48bec10572ffbbbb7d17e06b02f8f116dc2c5507c10e5c9389f530b86768e739", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 2, + "current_paid_move_count": 2 + }, + { + "group": "unchanged_mac_selected_edges", + "pair": [ + 772, + 245 + ], + "source_receipt": "predecessor-receipt:K372-2/NATIVE-NEW.json", + "source_receipt_sha256": "efc5f881cb507363c1c9063f35d38de9c48568bd150e96e76c239a965a557026", + "source_basis": [ + 30, + 76, + 161, + 289 + ], + "target_basis": [ + 1, + 6, + 10, + 18, + 32, + 64, + 128, + 256 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "a59bf0cce7bacb306f74289c22ff804b14c8387b1beef671099d59001348f578", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 1, + "current_paid_move_count": 1 + }, + { + "group": "unchanged_mac_selected_edges", + "pair": [ + 3, + 127 + ], + "source_receipt": "predecessor-receipt:K372-2/NATIVE-NEW.json", + "source_receipt_sha256": "efc5f881cb507363c1c9063f35d38de9c48568bd150e96e76c239a965a557026", + "source_basis": [], + "target_basis": [ + 1, + 2, + 4, + 8, + 16, + 32, + 64, + 128, + 256 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "48c5239a36e8340fd29a4ce01dde4a1717ebec024323dc89e9115bb0f8066001", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 4, + "current_paid_move_count": 4 + }, + { + "group": "unchanged_mac_selected_edges", + "pair": [ + 3, + 824 + ], + "source_receipt": "predecessor-receipt:K372-2/NATIVE-NEW.json", + "source_receipt_sha256": "efc5f881cb507363c1c9063f35d38de9c48568bd150e96e76c239a965a557026", + "source_basis": [], + "target_basis": [ + 7, + 8, + 34, + 67, + 144, + 272 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "d3054570473ba5feef2d032804c2d31066f0cbcf5c8d3fc4e8cbc60446c4d201", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 1, + "current_paid_move_count": 1 + }, + { + "group": "new_geometries_reused_from_77aab", + "pair": [ + 265, + 927 + ], + "source_receipt": "runs/ROLE770-COMMUTATOR-CANDIDATE-SWAP-1/NATIVE-CHANGED.json", + "source_receipt_sha256": "0e618b007081ba19c6fa77c29de37ad0519ff5d9baf2832099bbcc229c34739d", + "source_basis": [ + 21, + 38, + 448 + ], + "target_basis": [ + 3, + 4, + 17, + 33, + 72, + 128, + 264 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "eee57412fd4abae390123e2ae61464c4fed1e82a7e69ea1a83bc7c32c6b6fd5b", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 0, + "current_paid_move_count": 1 + }, + { + "group": "new_geometries_reused_from_77aab", + "pair": [ + 927, + 127 + ], + "source_receipt": "runs/ROLE770-COMMUTATOR-CANDIDATE-SWAP-1/NATIVE-CHANGED.json", + "source_receipt_sha256": "0e618b007081ba19c6fa77c29de37ad0519ff5d9baf2832099bbcc229c34739d", + "source_basis": [ + 3, + 4, + 17, + 33, + 72, + 128, + 264 + ], + "target_basis": [ + 1, + 2, + 4, + 8, + 16, + 32, + 64, + 128, + 256 + ], + "ordered_basis_exactly_matches_current_word": true, + "recipe_sha256": "8948d6dd5b708a6f4c24a8ac84472f8807977b20a7382530d6a41e52f8023671", + "full_column_check": { + "signed_pauli_and_absolute_phase": "MATCHED", + "adjoint_signed_pauli_and_absolute_phase": "MATCHED", + "wrong_phase_control_rejected": true, + "status": "MATCHED_SELECTED_EDGE_COLUMNS_ONLY", + "forward_columns": 512, + "adjoint_columns": 512 + }, + "old_predecessor_paid_move_count": 2, + "current_paid_move_count": 3 + } + ], + "scope": "Metadata equality of actual ordered bases and native receipt controls; no new column replay. Seven selected predecessor geometries are inherited; two changed geometries reuse the measured77aab recipes. PHYSICAL.json independently binds current word/caller/invoice occurrences. No whole native/tape/common-U/provider admission." +} \ No newline at end of file diff --git a/research/ee251f60-composition/evidence/NATIVE-UNVERIFIED-PAIRS.json b/research/ee251f60-composition/evidence/NATIVE-UNVERIFIED-PAIRS.json new file mode 100644 index 0000000000..60b0742537 --- /dev/null +++ b/research/ee251f60-composition/evidence/NATIVE-UNVERIFIED-PAIRS.json @@ -0,0 +1 @@ +[] diff --git a/research/ee251f60-composition/evidence/ORDINARY.json b/research/ee251f60-composition/evidence/ORDINARY.json new file mode 100644 index 0000000000..f857363c2c --- /dev/null +++ b/research/ee251f60-composition/evidence/ORDINARY.json @@ -0,0 +1,318 @@ +{ + "status": "ACCOUNTING_SUBSTITUTION_ONLY", + "candidate_canonical_sha256": "ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d", + "native_inventory_counts_only": { + "public": 1501, + "events": 150522, + "paid": { + "1": 3962, + "2": 879, + "4": 243, + "3": 602, + "5": 362, + "6": 87, + "7": 11, + "9": 4, + "8": 7 + }, + "helpers": { + "9": 615, + "2": 21, + "4": 227, + "8": 32, + "7": 19, + "3": 47, + "5": 78, + "6": 44, + "1": 18 + }, + "rises": { + "2": 4, + "1": 10, + "4": 6, + "5": 1, + "6": 1, + "3": 1 + }, + "lifetimes": 235, + "owned_peak": 51, + "owned_fields": 68, + "opcodes": { + "ADD": 139735, + "SCALE": 4160, + "INIT": 235, + "MOVE": 6157, + "CLEAR": 235 + }, + "endpoint_checked": false, + "CLEAR_relations_checked": false + }, + "invoice_match": true, + "reconstructed_paid": { + "8": 752, + "1": 63776, + "2": 14064, + "4": 3888, + "3": 9632, + "5": 5792, + "6": 1392, + "7": 176, + "9": 96, + "56": 416, + "48": 416, + "40": 416, + "32": 416, + "24": 416, + "16": 416 + }, + "reconstructed_targets": { + "9": 10256, + "2": 336, + "4": 3632, + "8": 512, + "7": 304, + "3": 752, + "5": 1248, + "6": 704, + "1": 288, + "129": 208, + "65": 416, + "57": 416, + "49": 416, + "41": 416, + "33": 416, + "25": 416, + "17": 416 + }, + "empty_root_target_count": 0, + "caller_stages": 16, + "raw_ordinary_at_caller_stages": { + "scalar_upper": 3463712, + "init_clear_allowance": 940, + "route_items": { + "moves": 6157, + "helper_boundary": 2202, + "first_main_boundary": 208, + "second_main_boundary": 192, + "first_main_adapter": 416, + "second_main_adapter": 384, + "owned_lifetime": 940 + }, + "routing": 10499000, + "caller_items": { + "A": { + "envelope": 102776832, + "thin": 6144, + "field_boundary": 84864, + "output_routes": 184896000, + "idle_routes": 145536000, + "query_routes": 1152000 + }, + "B": { + "envelope": 28061696, + "thin": 0, + "field_boundary": 7072, + "output_routes": 15408000, + "idle_routes": 15712000, + "query_routes": 0 + } + }, + "caller_total": 493640608, + "raw_upper": 717044000, + "per_input_conversion": 2497664, + "lambda_second_charge": 10672000, + "conservative_total": 730213664, + "margin_to_billion": 269786336, + "odd_divisions": { + "ADD": 6617, + "SCALE": 98 + }, + "lambda_paid_rank1_would_reduce_S_by": 10672 + }, + "signed_source_unit_ordinary": { + "scalar_upper": 3463712, + "init_clear_allowance": 940, + "route_items": { + "moves": 6157, + "helper_boundary": 2202, + "first_main_boundary": 208, + "second_main_boundary": 192, + "first_main_adapter": 416, + "second_main_adapter": 384, + "owned_lifetime": 940 + }, + "routing": 10499000, + "caller_items": { + "A": { + "envelope": 102776832, + "thin": 6144, + "field_boundary": 84864, + "output_routes": 184896000, + "idle_routes": 145536000, + "query_routes": 1152000, + "fused_routes": 0 + }, + "B": { + "envelope": 28061696, + "thin": 0, + "field_boundary": 7072, + "output_routes": 15408000, + "idle_routes": 15712000, + "query_routes": 0, + "fused_routes": 1168000 + } + }, + "caller_total": 494808608, + "raw_upper": 718212000, + "per_input_conversion": 2497664, + "lambda_second_charge": 10672000, + "conservative_total": 733928608, + "margin_to_billion": 266071392, + "odd_divisions": { + "ADD": 6617, + "SCALE": 98 + }, + "lambda_paid_rank1_would_reduce_S_by": 10672, + "all_caller_scalar_surcharge": 1981184, + "charged_caller_odd_conversions": 565760 + }, + "calculation_blocks": { + "raw": { + "calculation_sha256": "d67c8883d28f75fd99e2fc31c285daffd27c1f64437c8d0a4b20f421d1fc394c", + "edits": [ + { + "before": "calls=18;", + "after": "calls=C['stages'];" + } + ] + }, + "signed": { + "calculation_sha256": "cee1efed9d6fbe86e8a9dbee2e348c1bcc4345481ee4fdc2852b5b20d053ada5", + "edits": [ + { + "before": "calls=18;", + "after": "calls=C['stages'];" + }, + { + "before": "queryroute=sum(p*1000*(2+(e[4]==-1)) for e in qr)", + "after": "queryroute=sum(p*1000*(2+(e[4]==-1)) for e in qr)\n fusedroute=sum(36500*p for e in C['events'] if e[:2]==[ty,'IDLE_ODD'])" + }, + { + "before": "idle_routes=idleroute,query_routes=queryroute)", + "after": "idle_routes=idleroute,query_routes=queryroute,fused_routes=fusedroute)" + } + ] + }, + "surcharges": { + "calculation_sha256": "4aebddf9d46ddac9633de6fa577192ed837f168baecfc6675997eaf0856fed0f", + "caller_odd_conversions_complete": true + } + }, + "finite_counts": { + "native_nonMOVE_per_call": 144365, + "native_instances": 2309840, + "caller_macros": 118592, + "conversions": 55104, + "scalar_services_arithmetic_at_constant32": 79473152, + "constant32_applicability": "PENDING", + "precision_context": "PENDING", + "max_literal_scalar_numerator_bits": 18, + "literal_bit_bound24_complete": true, + "literal_bit_bound24_holds_if_complete": true, + "native_odd_scale": 225, + "caller_odd_scale": 2025, + "observed_original_native_scalar_conditions": { + "abs_coefficient_plus1_lt_2pow16": true, + "denominators_235_smooth": true, + "SCALE_numerators_235_smooth": true, + "scope": "Observed owning-source scalar conditions, not complete model admission or a new acceptance gate." + }, + "map_count": null, + "scope": "Exact substitutions in declared finite-count formulas. Constant32, context c/H/Kstar, rounded bounds, physical binding, and all proof applicability remain pending. Literal bits are not row-numerator bits." + }, + "source_author_reference": { + "source_pr": 7641, + "reported_ordinary": 878834276, + "applies_to": "Original source #7641 only, not this arbitrary input candidate.", + "unitemized_512000_definition": "UNRESOLVED; not labeled an error or added to this bill." + }, + "scope": "Parameterized source-formula accounting/counts only. No endpoint/CLEAR row replay, caller identity, new grid proof, constant32/precision/context, compiler/outer, physical or provider admission. Inherited conditions remain.", + "source_identification": { + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "pins_sha256": "6ccf540947e77a1f27ef79fef1c2b60507f7544a8d7e5af95787cdd5ff9207a8", + "files": [ + { + "name": "check_odd_caller_exact_grid.py", + "sha256": "abd5a5fd011b71e5b382cbc058855594d4f2fe7b049f375506675c0303180f54", + "git_blob": "1bbc6f149f7ae3e1d68ab79642a642a94054428e", + "bytes": 5342, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_caller_exact_grid.py", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_caller_exact_grid.py" + }, + { + "name": "check_odd_fixed_tape_counts.py", + "sha256": "e6246e9f8fbeae3077d82e585eafd3647c1a8758c58f33c7c13e7efa6c1e42bb", + "git_blob": "6873f9618d59d489b67b9eaca45e6142a16b53f3", + "bytes": 4247, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_fixed_tape_counts.py", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_fixed_tape_counts.py" + }, + { + "name": "check_odd_partial_admission.py", + "sha256": "4416b1ea5f07f8a91028a2e500116588fbdfaed95a8ef9bac7a46bcb44b9478e", + "git_blob": "eb12dfd706f07aa104227908d8d191c1649a6b76", + "bytes": 4410, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_partial_admission.py", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_partial_admission.py" + }, + { + "name": "check_odd_physical_binding.py", + "sha256": "5c80c3b0415a7f91d216395248dd6f13297eed637732098e1ca8fb0548951b98", + "git_blob": "def1e6a18439bd40d1b12af04c6347bbf6b74c55", + "bytes": 5058, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_physical_binding.py", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_physical_binding.py" + }, + { + "name": "check_odd_precision.py", + "sha256": "b2d9c13577158157a587ace766d9dadb7819a0164b372722329d9754e1be6c61", + "git_blob": "4de6829cafd5ef7658804fb4afa54129291b4541", + "bytes": 4171, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_precision.py", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_precision.py" + }, + { + "name": "independent.py", + "sha256": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "git_blob": "1ae1d7c680ad86c0fa999f2e8f0c09e966fc07a0", + "bytes": 11970, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/independent.py", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/independent.py" + }, + { + "name": "retained-caller.json", + "sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "git_blob": "9451ceaf6e8e037894680b549f3ef41c21b260d7", + "bytes": 117156, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/expected/ODD-TYPE-AB-CALLER.json", + "source_path": "research/signed-caller-8x9/expected/ODD-TYPE-AB-CALLER.json" + }, + { + "name": "signed_model.py", + "sha256": "f88c798b9a22c656ea0b755b4f32be411c1f80687dff1a1ac9e9c2a0b5f4203e", + "git_blob": "01cb0c63c5cb201ecc3cedd25433aaeb57803270", + "bytes": 1408, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/signed_model.py", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/signed_model.py" + } + ], + "scope": "Source identification only; no candidate hash or census acceptance gate." + }, + "word_file_sha256": "55356adb127fdf9d0bb15a759ab9a3c21d52ea43bfb93c5a98031e78b207152b", + "invoice_file_sha256": "c79d8c51ad34c7c14134c41d3ae132ab91101e8e24674b52a2abfa191de3fd00", + "caller_file_sha256": "62d94fb992acab0a71c3d12f22be4ce63f4f65e5cbe3f420b93aa1393ffa8dcf", + "receipt_file_sha256": { + "caller_grid_receipt": "6fb353ef14bce730cf21a6aedf8d5b22512856cdea6daa5d8036b956e3a2481d", + "native_grid_receipt": "b9ef6f5d1839624656922f994f9c9467aaa1460599d91ee2ff6e84be419c4bf6" + } +} diff --git a/research/ee251f60-composition/evidence/PHYSICAL.json b/research/ee251f60-composition/evidence/PHYSICAL.json new file mode 100644 index 0000000000..f29a223fc9 --- /dev/null +++ b/research/ee251f60-composition/evidence/PHYSICAL.json @@ -0,0 +1,210 @@ +{ + "status": "SOURCE_PHASE_POLYNOMIAL_OWNER_OCCURRENCE_BINDING_PASS", + "adaptations": { + "patches": [ + { + "before": "range(153)", + "after": "range(expected_ambient)", + "occurrences": 2 + }, + { + "before": "caller['ambient_rank'] == 153 and caller['stages'] == 18", + "after": "caller['ambient_rank'] == expected_ambient and caller['stages'] == expected_stages", + "occurrences": 1 + }, + { + "before": "list(range(1,19))", + "after": "list(range(1,expected_stages+1))", + "occurrences": 2 + }, + { + "before": "len(helpers) == 1080", + "after": "len(helpers) == expected_helpers", + "occurrences": 1 + }, + { + "before": "len(owners) == 3952", + "after": "len(owners) == expected_mains", + "occurrences": 1 + }, + { + "before": "all(0 <= r < 38 for r in plane_a)", + "after": "all(r in type_owners(caller, 'A') for r in plane_a)", + "occurrences": 1 + }, + { + "before": "all(38 <= r < 76 for r in plane_b[:2])", + "after": "all(r in type_owners(caller, 'B') for r in plane_b[:2])", + "occurrences": 1 + }, + { + "before": "word['public']+51", + "after": "word['public']+word['owned_fields']", + "occurrences": 1 + }, + { + "before": "op in ('QUERY','IDLE_ONE')", + "after": "op in ('QUERY','IDLE_ONE','IDLE_ODD')", + "occurrences": 1 + }, + { + "before": "all(1 <= s <= 18 for s in selected)", + "after": "all(1 <= s <= expected_stages for s in selected)", + "occurrences": 1 + }, + { + "before": "rank = 8*len(selected); idle_uses += len(kind['ports'])", + "after": "rank = 8*len(selected); idle_uses += len(kind['ports'])\n if op == 'IDLE_ODD':\n need(len(selected)==1 and a[1:]==[-1], 'one complete signed child')\n rank += 1\n stage=selected[0]\n for pi in kind['ports']:\n q=word['ports'][pi]\n axes=[q]+[1 << (9+8*(stage-1)+j) for j in range(8)]\n need(all(dot(x,y)==(i==j) for i,x in enumerate(axes) for j,y in enumerate(axes)),\n 'signed rank-nine axes are independent and orthonormal')\n pos=terms((x,1) for x in axes)\n signed=sub(pos,terms([(q,2)]))\n need(translation(sub(pos,signed))==q,'exact negative central phase correction')", + "occurrences": 1 + }, + { + "before": "len(selection)==18", + "after": "len(selection)==expected_stages", + "occurrences": 1 + }, + { + "before": "ambient=153, native_calls=18, native_public=1480, fresh_helpers=19440", + "after": "ambient=expected_ambient, native_calls=expected_stages, native_public=word['public'], fresh_helpers=expected_helpers*expected_stages", + "occurrences": 1 + }, + { + "before": "reserved_native_banks=18*51", + "after": "reserved_native_banks=expected_stages*word['owned_fields']", + "occurrences": 1 + } + ], + "patched_source_sha256": "733b31b1cee4567b466fdf834a34460b530f1f87ca6dca9270c0fabb2cf89849", + "input_parameters": { + "expected_ambient": 137, + "expected_stages": 16, + "expected_helpers": 1101, + "expected_mains": 3536 + }, + "excluded": [ + "source.read", + "inverse/BIT and remaining source main", + "historical source hash/data replay", + "full native/compiler/tape/provider" + ] + }, + "occurrence_and_geometry": { + "ambient": 137, + "native_calls": 16, + "native_public": 1501, + "fresh_helpers": 17616, + "productive_fields": 21152, + "paid_positions": 102064, + "complete_paid_position_digest": "3888f2697d0fd9ad72dae7c69fae451e889fb338903767b792677d530830d4bd", + "native_contact_boundaries": 12800, + "phase_record_digest": "29196a9aa29ecf4b3705a6346c40642eef9b14600ccc832210df91c3e4f84f50", + "nonzero_boundary_translations": 12800, + "reserved_native_banks": 1088, + "reserved_serial_query_lambda_bank": 1, + "query_uses": 384, + "idle_uses": 3168, + "lambda_uses": 10672, + "paid": { + "1": 63776, + "2": 14064, + "3": 9632, + "4": 3888, + "5": 5792, + "6": 1392, + "7": 176, + "8": 752, + "9": 96, + "16": 416, + "24": 416, + "32": 416, + "40": 416, + "48": 416, + "56": 416 + }, + "targets": { + "1": 288, + "2": 336, + "3": 752, + "4": 3632, + "5": 1248, + "6": 704, + "7": 304, + "8": 512, + "9": 10256, + "17": 416, + "25": 416, + "33": 416, + "41": 416, + "49": 416, + "57": 416, + "65": 416, + "129": 208 + }, + "rank_surplus": 1328 + }, + "aliased_main_rejected": true, + "scope": "Complete source phase-polynomial contact identities and actual owner/paid occurrence substitution only. Exact scalar endpoint/CLEAR and full native unitary are reused premises. Not an enumerated physical tape, common-U/extent/reset/tariff realization, compiler/outer/provider/service admission.", + "word_sha256": "ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d", + "caller_file_sha256": "62d94fb992acab0a71c3d12f22be4ce63f4f65e5cbe3f420b93aa1393ffa8dcf", + "source_identification": { + "source_repository": "CrocSwap/integer-mult-bounds", + "source_commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "credit": "Douglas Colkitt with OpenAI Codex assistance; Rohan Arun's signed-caller wrapper and all inherited contributors. Apache-2.0; original LICENSE retained in ../vendor7113-caller16/LICENSE.", + "scope": "Three exact selected source/data members only. Pins identify owning source, not a new candidate acceptance gate.", + "files": [ + { + "name": "upstream_application.py", + "git_blob": "1a6d358cbec88e70615e5314cdfca9e123124f83", + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/upstream_application.py", + "bytes": 19068, + "sha256": "d98987db98553dc55bfc80e3ca47abfcd51c57af6f8cda61101391d8eae94184" + }, + { + "name": "DATA-PHASES.json", + "git_blob": "d9a4f84211182ca200c081ea061d724c8a2cfb70", + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/DATA-PHASES.json", + "bytes": 814141, + "sha256": "c5916ff312678f12aba403847643fbbc29f643acec60bdf836fa56cd3e8251fa" + }, + { + "name": "check_odd_physical_binding.py", + "git_blob": "def1e6a18439bd40d1b12af04c6347bbf6b74c55", + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_physical_binding.py", + "bytes": 5058, + "sha256": "5c80c3b0415a7f91d216395248dd6f13297eed637732098e1ca8fb0548951b98" + } + ] + }, + "same_caller_Laurent_grid_receipt": "39dddce36c9a1104c553bde364b8c9fa724c99bb2832113872249ba1d79d95ed", + "new_native_invoice_receipt": "ec37a95ded3d09dc95c11050956d76d318a2124e054643fd8c50feedce2553b9", + "selected_edge_geometries": { + "prior_word": "9cc4fd5cda312d16c953beb3337a6285971bab7cf98c3317abbde9b90adae7d4", + "also_includes_local_chart_transplant": true, + "reuse": [ + { + "pair": [ + 265, + 927 + ], + "receipt": "0e618b007081ba19c6fa77c29de37ad0519ff5d9baf2832099bbcc229c34739d", + "recipe_sha256": "eee57412fd4abae390123e2ae61464c4fed1e82a7e69ea1a83bc7c32c6b6fd5b" + }, + { + "pair": [ + 549, + 593 + ], + "receipt": "6e0fc7e86b7dea1b8d7f0050d42ecd4409f4808eae404a69e5e466fe2bf451b7", + "recipe_sha256": "5d78b9713b36a556a1966bc33e83ec0788dacd10c659707b8289a3783a19ae88" + }, + { + "pair": [ + 927, + 127 + ], + "receipt": "0e618b007081ba19c6fa77c29de37ad0519ff5d9baf2832099bbcc229c34739d", + "recipe_sha256": "8948d6dd5b708a6f4c24a8ac84472f8807977b20a7382530d6a41e52f8023671" + } + ], + "fresh_requested": [] + } +} diff --git a/research/ee251f60-composition/evidence/PRECISION.json b/research/ee251f60-composition/evidence/PRECISION.json new file mode 100644 index 0000000000..5b1e208f16 --- /dev/null +++ b/research/ee251f60-composition/evidence/PRECISION.json @@ -0,0 +1,458 @@ +{ + "status": "CALCULATED_PINNED_PRECISION_MAJORANTS_ONLY", + "candidate_canonical_sha256": "ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d", + "caller_file_sha256": "62d94fb992acab0a71c3d12f22be4ce63f4f65e5cbe3f420b93aa1393ffa8dcf", + "adaptations": { + "input_census": { + "lifetimes": 235, + "peak": 51, + "owned_fields": 68, + "mains": 400, + "helpers": 1101 + }, + "envelope_edits": [ + { + "before": "from source_binding import need, sources, strict_power, fraction_string, oddpart", + "after": "from _selected_precision_binding_624c459311c5 import need, sources, strict_power, fraction_string, oddpart", + "occurrences": 1 + }, + { + "before": "(life, peak, owned_count) == (54, 43, 51)", + "after": "(life, peak, owned_count) == expected_lifecycle", + "occurrences": 1 + }, + { + "before": "elif op in (\"LAMBDA\", \"IDLE_ONE\"):", + "after": "elif op in (\"LAMBDA\", \"IDLE_ONE\", \"IDLE_ODD\"):", + "occurrences": 2 + }, + { + "before": "all(0 <= r < 38 for r in ar) and all(38 <= r < 76 for r in br[:2])", + "after": "all(caller[\"types\"][\"A\"][\"offset\"] <= r < caller[\"types\"][\"A\"][\"offset\"] + caller[\"types\"][\"A\"][\"roles\"] for r in ar) and all(caller[\"types\"][\"B\"][\"offset\"] <= r < caller[\"types\"][\"B\"][\"offset\"] + caller[\"types\"][\"B\"][\"roles\"] for r in br[:2])", + "occurrences": 1 + }, + { + "before": "all(1 <= k <= 18 for k in e[3])", + "after": "all(1 <= k <= caller[\"stages\"] for k in e[3])", + "occurrences": 1 + }, + { + "before": "need(j_order == list(range(1, 19)), \"exact eighteen native calls\")", + "after": "need(j_order == list(range(1, caller[\"stages\"] + 1)), \"all input native calls\")", + "occurrences": 1 + }, + { + "before": "len(caller[\"types\"][\"A\"][\"ports\"]) == 96 and len(caller[\"types\"][\"B\"][\"ports\"]) == 8", + "after": "(len(caller[\"types\"][\"A\"][\"ports\"]), len(caller[\"types\"][\"B\"][\"ports\"])) == expected_port_counts", + "occurrences": 1 + }, + { + "before": "len(mains) == 400 and word[\"public\"] - len(mains) == 1061", + "after": "len(mains) == expected_main_count and word[\"public\"] - len(mains) == expected_helper_count", + "occurrences": 1 + }, + { + "before": "physical_main_inputs=3952, fresh_arbitrary_helpers=18 * 1061,", + "after": "physical_main_inputs=sum(t[\"roles\"] * len(t[\"ports\"]) for t in caller[\"types\"].values()), fresh_arbitrary_helpers=caller[\"stages\"] * expected_helper_count,", + "occurrences": 1 + }, + { + "before": "need(len(e[3]) == len(set(e[3]))", + "after": "need(op != \"IDLE_ODD\" or (len(e[3]) == 1 and e[4] == -1), \"signed child signature\")\n need(len(e[3]) == len(set(e[3]))", + "occurrences": 1 + } + ], + "envelope_source_sha256": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "adapted_envelope_sha256": "c451ec975ef988a47146aac3f74ca56be32f62b6922c83722a059e696a5ecbe4", + "source_binding_sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "grid_source_sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "excluded_entrypoints": [ + "binding.sources/check_dependencies/load_vendor", + "envelopes.run", + "grid.main/threshold_run/caller_run" + ], + "scope": "Input-derived census parameters replace frozen-application values, not new universal model acceptance conditions." + }, + "grid_arguments": { + "odd_scale": 225, + "frac": 14, + "both_passed_explicitly": true + }, + "native_grid": { + "odd_scale_lcm": 225, + "dyadic_height": 14, + "maximum_scaled_mass": "58120605/2", + "mass_witness": [ + 119967, + "stored add" + ], + "numerator_bits": 18, + "coefficient_visits": 24440734 + }, + "rounded_native": { + "census": { + "events": 150522, + "public": 1501, + "owned_labels": 68, + "lifetimes": 235, + "peak_owned": 51, + "opcodes": { + "ADD": 139735, + "SCALE": 4160, + "INIT": 235, + "MOVE": 6157, + "CLEAR": 235 + }, + "scalars": { + "noninteger": 83086, + "dyadic": 137180, + "integer": 60809, + "odd": 6715 + }, + "max_numerator": 199393, + "numerator_bits": 18, + "max_denominator": 15360, + "denominator_bits": 14 + }, + "bounds": { + "M": { + "exact": "135053238263994857109865904922697453002464865538363333/7827577896960000", + "strict_power_of_two": 124, + "witness": { + "cut": 146705, + "register": 1428, + "factor": "1", + "kind": "stored" + } + }, + "Sigma": { + "exact": "640020189771876642291684055383684723280662860201263/3913788948480000", + "strict_power_of_two": 117, + "witness": { + "cut": 146705, + "register": 1428, + "factor": "1", + "kind": "stored" + } + }, + "Gamma": { + "exact": "640020189771876642291684055383684723280662860201263/3913788948480000", + "strict_power_of_two": 117, + "witness": { + "cut": 150522, + "register": 1428, + "factor": "1", + "kind": "public-return" + } + } + }, + "independent_adjoint": { + "M": { + "entrance_mass": "135053238263994857109865904922697453002464865538363333/7827577896960000", + "residual_mass": "640020189771876642291684055383684723280662860201263/3913788948480000", + "active_residual_sites": 53033 + }, + "Sigma": { + "entrance_mass": "135053238263994857109865904922697453002464865538363333/7827577896960000", + "residual_mass": "640020189771876642291684055383684723280662860201263/3913788948480000", + "active_residual_sites": 53033 + }, + "Gamma": { + "entrance_mass": "135053238263994857109865904922697453002464865538363333/7827577896960000", + "residual_mass": "640020189771876642291684055383684723280662860201263/3913788948480000", + "active_residual_sites": 53033 + } + } + }, + "rounded_caller": { + "bounds": { + "M_caller": { + "exact": "45406162934065658446278564736066892440213595500380385621822104410095398176976155009667275358031149833668940574356232364798812265388518349402105951070287027524630233792642179/747338906250000", + "strict_power_of_two": 525, + "witness": { + "event": 4158, + "register": 34, + "cut": 4159, + "factor": "1", + "kind": "stored" + } + }, + "Sigma_caller": { + "exact": "17438308707890421334020843861901166194085674669138470040639944011752726093544308791869436945801878983160792395985297939749249655393453479524916891470320389784530280378054157268927882536496135101095607910371068664767290387/3656158440062976000000000000000", + "strict_power_of_two": 631, + "witness": { + "event": 4163, + "register": 35, + "cut": 4164, + "factor": "1", + "kind": "stored" + } + }, + "M_joint_entrance": { + "exact": "10504562196553705214704143036413317380514303943933593642911316331923397947119123956676978416805354320733384136090015449951289498301529078273106549626641943762541534622132687/5978711250000000", + "strict_power_of_two": 520, + "witness": { + "event": 4104, + "register": 34, + "cut": 4104, + "factor": "1", + "kind": "stored" + } + }, + "E_joint_entrance": { + "exact": "4034293729922466913572758601827132133261345322251670307391675010317849896573693068800037126279859668922567074448290618018027090396926012102361929228385896999680900848161018449594581373697179699872496418006257905516987111/29249267520503808000000000000000", + "strict_power_of_two": 625, + "witness": { + "event": 4104, + "register": 34, + "cut": 4104, + "factor": "1", + "kind": "stored" + } + }, + "M_context": { + "exact": "1418675141190120726224174261599876248394680647623954958926539859150281305668694354515669407434667661185401855333611098496936698214830172183548468088023210808214688031589152033057057582037974983598315104283015215648503941565771/46798828032806092800000000000000", + "strict_power_of_two": 643, + "witness": { + "event": 4104, + "register": null, + "cut": 4105, + "factor": "1", + "kind": "stored" + } + }, + "Sigma_context": { + "exact": "544844432334159442395976803066874903668700966027065903686076439742517204025927308293554082815068289376477247544401288342571440024560996281288055252130878277440447744691884275157756292804292255681109598950502905590368490560636589752361375638041287374296451315079284196000963/228950919945765631104311623680000000000000000000", + "strict_power_of_two": 749, + "witness": { + "event": 4104, + "register": null, + "cut": 4105, + "factor": "1", + "kind": "stored" + } + }, + "Gamma_context": { + "exact": "17438308707890421334020843861901166194085674669138470040639944011752726093544308791869436945801878983160792395985297939749249655393453479524916891470320389784530280378054157268927882536496135101095607910371068664767290387/3656158440062976000000000000000", + "strict_power_of_two": 631, + "witness": { + "register": 35, + "cut": 4192, + "factor": "1", + "kind": "public-return" + } + } + }, + "sites": { + "ADD": 3608, + "noninteger_scalar": 1604, + "SCALE": 300, + "IDLE_ONE": 84, + "LAMBDA": 168, + "J": 16, + "IDLE_ODD": 4, + "SWAP": 8, + "QUERY": 4 + }, + "joint_entries": [ + { + "event": 45, + "stage": 1, + "entrance_mass": "13111/8", + "entrance_defect": "2269/8" + }, + { + "event": 135, + "stage": 2, + "entrance_mass": "13891097189/40", + "entrance_defect": "148189634719590545879574234499483304944240815246288073757/5435817984000000" + }, + { + "event": 259, + "stage": 3, + "entrance_mass": "97921029130234016/5", + "entrance_defect": "300853809197102475513742006731110978517581889246608031411754947649/195689447424000000" + }, + { + "event": 413, + "stage": 4, + "entrance_mass": "21662603166559997365792663/125", + "entrance_defect": "66556456132801590165471911323392314574462307572382855713387764523937697197/4892236185600000000" + }, + { + "event": 605, + "stage": 5, + "entrance_mass": "15755689101877757951163933119212959/125", + "entrance_defect": "16135992867344616786750555241238816506954010114351899838576707582946033421377817007/1630745395200000000" + }, + { + "event": 823, + "stage": 6, + "entrance_mass": "3357490366378945121669593397410679924883601/500", + "entrance_defect": "2578898973591015065788541899925235777704724820417344778240969291170079239290481351658715711/4892236185600000000" + }, + { + "event": 1081, + "stage": 7, + "entrance_mass": "499912583776949390056255288421536555202814357797697/250", + "entrance_defect": "767968874667560599251367827414764614974561791693740637145330365329241918984631489547470975415373119/4892236185600000000" + }, + { + "event": 1355, + "stage": 8, + "entrance_mass": "942135226005354136783870647209057873763270461325069908787641/22500", + "entrance_defect": "723657048031845485962295750268509706665966200727814203598149768694730144732179196697368959972283337915248571/220150628352000000000" + }, + { + "event": 2806, + "stage": 9, + "entrance_mass": "35428385334796551984656296536882403396491772659757928203186594212254243574199257719256938002412187172246858235681357237/16402500000000", + "entrance_defect": "13606327435934286126142966641748859274123016706326500587640213529712316250711483106488558490786247816758371527755064126177371420033335059658307202185186203266823243261/80244904034304000000000000000" + }, + { + "event": 3087, + "stage": 10, + "entrance_mass": "38974220541700597551573728689205791206035940519096243384846996078576562889841901075378747614287052787673552147274475851361265777/24603750000000", + "entrance_defect": "14968111056697123056713183172274345759163085464533941248834182270546488599639237202106621533210815712877117501848690093183416149778847197520651247494412870731169934313336119881/120367356051456000000000000000" + }, + { + "event": 3341, + "stage": 11, + "entrance_mass": "98855225759577888339703997426160767617103936450977010258546240103046486450772783519407073402958784426737912656204969860499670360627530083/442867500000000", + "entrance_defect": "37965505843049350159583661420378701985810343887406280534773657639473940850191572428230181347909327636901965668051120802119217736994322556967744895373265448111331830035593016865495976699/2166612408926208000000000000000" + }, + { + "event": 3564, + "stage": 12, + "entrance_mass": "1749905446751346018600875196656530798290895299639699495886579410355461571889400946437676428561591088123052560110288028774659208198647743648348467/110716875000000", + "entrance_defect": "672053955195031791318784819042645756488318417499853256063449459762247137059220961730784764437591183047012916798941795539710976878832359481893497770565022851470143883166834997825681171768466451/541653102231552000000000000000" + }, + { + "event": 3752, + "stage": 13, + "entrance_mass": "7157435317923377064075633255441912997558521522419392655381041365447714178323353201287751905788143724868783490015520764382601920236203651494389082094963/8857350000000", + "entrance_defect": "2748824356991970375130898544130550699478996261364364573283364669932784485042899609595803229556492677867118697450671320635725494350447204059132803767783065267796891133771639267205836430167336084443339/43332248178524160000000000000" + }, + { + "event": 3904, + "stage": 14, + "entrance_mass": "103924778801738453613123142597312567964923730753770755909770052494185682545591887522194010102742857516808703637979866418746258182626631908884107308913071820221/14762250000000", + "entrance_defect": "39912475708981275255684728876514455246323350338938772701218508208954292570758711506064463199144831453076548836420255915164607012098866959986790424711024220308188026541390272724725279797793536742892023531813/72220413630873600000000000000" + }, + { + "event": 4023, + "stage": 15, + "entrance_mass": "217151788614023252931427181524847563049608076255128543029471096113056688168585739486684841244419701475633170221323396648062284143172335531074463129843664586775531155611/7971615000000000", + "entrance_defect": "83397487953797377564480091299992406787227138387280987675765262016667196693566770275297280225095161168111091017457885307968140855197770991194092424980919076820770896803548632093606064282305421070146763617356702766483/38999023360671744000000000000000" + }, + { + "event": 4104, + "stage": 16, + "entrance_mass": "10504562196553705214704143036413317380514303943933593642911316331923397947119123956676978416805354320733384136090015449951289498301529078273106549626641943762541534622132687/5978711250000000", + "entrance_defect": "4034293729922466913572758601827132133261345322251670307391675010317849896573693068800037126279859668922567074448290618018027090396926012102361929228385896999680900848161018449594581373697179699872496418006257905516987111/29249267520503808000000000000000" + } + ], + "independent_adjoint": { + "M_caller": { + "entrance_mass": "45406162934065658446278564736066892440213595500380385621822104410095398176976155009667275358031149833668940574356232364798812265388518349402105951070287027524630233792642179/747338906250000", + "residual_mass": "17438308707890421334020843861901166194085674669138470040639944011752726093544308791869436945801878983160792395985297939749249655393453479524916891470320389784530280378054157268927882536496131444937167847395068664767290387/3656158440062976000000000000000", + "joint_coefficient": "27246497823929560571218822010264157776860190859130503612985817025736907814729566912524197460075479533262897328439368348799686324556091232905037201554537083091812262739549/934173632812500", + "primitive_coefficient": "9855823371443343594818964670772322098043949401052774204158566644840176993948827442670335276383915003601790656725481528051403578238353035570591646297050476915511799258112153/934173632812500" + }, + "Sigma_caller": { + "entrance_mass": "45406162934065658446278564736066892440213595500380385621822104410095398176976155009667275358031149833668940574356232364798812265388518349402105951070287027524630233792642179/747338906250000", + "residual_mass": "17438308707890421334020843861901166194085674669138470040639944011752726093544308791869436945801878983160792395985297939749249655393453479524916891470320389784530280378054157268927882536496135101095607910371068664767290387/3656158440062976000000000000000", + "joint_coefficient": "27246497823929560571218822010264157776860190859130503612985817025736907814729566912524197460075479533262897328439368348799686324556091232905037201554537083091812262739549/934173632812500", + "primitive_coefficient": "9855823371443343594818964670772322098043949401052774204158566644840176993948827442670335276383915003601790656725481528051403578238353035570591646297050476916445972890924653/934173632812500" + }, + "M_joint_entrance": { + "entrance_mass": "10504562196553705214704143036413317380514303943933593642911316331923397947119123956676978416805354320733384136090015449951289498301529078273106549626641943762541534622132687/5978711250000000", + "residual_mass": "4034293729922466913572758601827132133261345322251670307391675010317849896573693068800037126279859668922567074448290618018027090396926012102361929228385896999680900848161018449594581373697179699872496418006257905516987111/29249267520503808000000000000000", + "joint_coefficient": "6303385103148724555441954247255970426355612248484880460841904790422182262845983049727948021701138376402895764715474867042908851046750851436267386759594171209678979684297/7473389062500000", + "primitive_coefficient": "2280111397078671402238133722239239530502118166069264808064055621081731005327862857225852703027473955472027064241331513077630434263591568444150416419789520382585801411763259/7473389062500000" + }, + "E_joint_entrance": { + "entrance_mass": "10504562196553705214704143036413317380514303943933593642911316331923397947119123956676978416805354320733384136090015449951289498301529078273106549626641943762541534622132687/5978711250000000", + "residual_mass": "4034293729922466913572758601827132133261345322251670307391675010317849896573693068800037126279859668922567074448290618018027090396926012102361929228385896999680900848161018449594581373697179699872496418006257905516987111/29249267520503808000000000000000", + "joint_coefficient": "6303385103148724555441954247255970426355612248484880460841904790422182262845983049727948021701138376402895764715474867042908851046750851436267386759594171209678979684297/7473389062500000", + "primitive_coefficient": "2280111397078671402238133722239239530502118166069264808064055621081731005327862857225852703027473955472027064241331513077630434263591568444150416419789520382585801411763259/7473389062500000" + }, + "Gamma_context": { + "entrance_mass": "45406162934065658446278564736066892440213595500380385621822104410095398176976155009667275358031149833668940574356232364798812265388518349402105951070287027524630233792642179/747338906250000", + "residual_mass": "17438308707890421334020843861901166194085674669138470040639944011752726093544308791869436945801878983160792395985297939749249655393453479524916891470320389784530280378054157268927882536496135101095607910371068664767290387/3656158440062976000000000000000", + "joint_coefficient": "27246497823929560571218822010264157776860190859130503612985817025736907814729566912524197460075479533262897328439368348799686324556091232905037201554537083091812262739549/934173632812500", + "primitive_coefficient": "9855823371443343594818964670772322098043949401052774204158566644840176993948827442670335276383915003601790656725481528051403578238353035570591646297050476916445972890924653/934173632812500" + } + }, + "physical_main_inputs": 3536, + "fresh_arbitrary_helpers": 17616, + "helper_allocation_premise": "distinct (stage, helper) public inputs as in frozen caller proof" + }, + "context_c": 1324, + "constant32_and_full_tape_admission": "PENDING", + "native_conversion_comparison": { + "source1125_pair_charge": 104, + "input_odd_pair_charge": 80, + "scope": "Same ordinary SCALE unit substitution; source fixed104 is not silently replaced in the raw ordinary ledger." + }, + "premises": [ + "Native complete-fibre unitary/rounded child contracts and exact retained endpoint L.", + "The supplied unchanged caller-grid receipt is valid for these caller bytes.", + "Stage helpers are independently allocated under the declared input/caller boundary, including new initial461.", + "Inherited framework/common-U/extent/reset/tariff/compiler/provider conditions remain." + ], + "scope": "Source positive forward/adjoint precision majorants on this new input only, not rounding simulation, physical tape, endpoint/CLEAR proof, complete signed application, outer/threshold or provider admission.", + "context_height": 339, + "context_mass_bits": 662, + "source_context_cap4096_holds": true, + "context_mass_terms": { + "strict_power_M_context": 643, + "caller_odd_bits": 11, + "input_native_odd_bits": 8, + "old1125_bits_not_reused": 11 + }, + "caller_grid_reuse": { + "caller_sha256": "62d94fb992acab0a71c3d12f22be4ce63f4f65e5cbe3f420b93aa1393ffa8dcf", + "grid_exponents": [ + 325, + 4, + 2 + ], + "caller_odd_scale": "2025", + "scope": "Same caller evidence only; no old-native reuse claim." + }, + "remaining_context_checks": "Actual compiler H/Kstar and rounded exponent margins, constant32, physical/tape/provider applicability remain; observed c<=4096 alone is insufficient.", + "source_identification": { + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "pins_sha256": "b14e75860fbb166f1c5becdcc685e4fa2cafe319ed279dafa962ec0da507bf5b", + "files": [ + { + "name": "envelopes.py", + "sha256": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "git_blob": "70c8ca23763e30c924fb726b74b82f44d344c65f", + "bytes": 14441, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/envelopes.py", + "matches_retained_precision_report_sha256": true + }, + { + "name": "independent_bounds.py", + "sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "git_blob": "8fe729386f81e6973bbe7ecaa5dbb4bf86281908", + "bytes": 11449, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/odd-native-common-grid/independent_bounds.py", + "matches_retained_precision_report_sha256": true + }, + { + "name": "source_binding.py", + "sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "git_blob": "9f0e0a8cbaf48266cf9c6aa8b263505e9569390c", + "bytes": 2424, + "source_url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/source_binding.py", + "matches_retained_precision_report_sha256": true + } + ], + "scope": "Selected source identity, not frozen-data capsule or candidate acceptance." + }, + "word_file_sha256": "55356adb127fdf9d0bb15a759ab9a3c21d52ea43bfb93c5a98031e78b207152b", + "caller_grid_receipt_sha256": "6fb353ef14bce730cf21a6aedf8d5b22512856cdea6daa5d8036b956e3a2481d" +} diff --git a/research/ee251f60-composition/evidence/PRICE-SUMMARY.json b/research/ee251f60-composition/evidence/PRICE-SUMMARY.json new file mode 100644 index 0000000000..8efec7583f --- /dev/null +++ b/research/ee251f60-composition/evidence/PRICE-SUMMARY.json @@ -0,0 +1 @@ +{"candidate_canonical_sha256":"ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d","input_file_sha256":{"caller":"62d94fb992acab0a71c3d12f22be4ce63f4f65e5cbe3f420b93aa1393ffa8dcf","old_invoice":"33a946dfebc22fd844b8237397a9fda1753658e1f7e4d94a58cc07e7d0ead11e","word":"55356adb127fdf9d0bb15a759ab9a3c21d52ea43bfb93c5a98031e78b207152b"},"official_cli_bits":256,"official_evaluator_sha256":"52b20f41fd0bb55fa88dccd6015af2ce358917817b9506720f3e60ce681cc3ad","outcomes":[{"classification":"new_cost_lower","command":["C:\\Users\\cuchu\\Downloads\\K\\.venv\\Scripts\\python.exe","-I","-B","C:\\Users\\cuchu\\k37218\\scripts\\evaluate_recursive_power.py","runs\\BFEB-CALLER16-CANDIDATE-2\\INVOICE-ZERO.json","data/INVOICE.json","--exponent","0.9962781206517","--bits","256"],"kappa":"0.0037218793483","label":"LOW","new_minus_old":{"lower":"-115581413614341996474187058928191596648794056289072610410151828119639/3618502788666131106986593281521497120414687020801267626233049500247285301248","upper":"-231162827228683992948374117856383193297588112578145220820303649100105/7237005577332262213973186563042994240829374041602535252466099000494570602496"}},{"classification":"new_cost_higher","command":["C:\\Users\\cuchu\\Downloads\\K\\.venv\\Scripts\\python.exe","-I","-B","C:\\Users\\cuchu\\k37218\\scripts\\evaluate_recursive_power.py","runs\\BFEB-CALLER16-CANDIDATE-2\\INVOICE-ZERO.json","data/INVOICE.json","--exponent","0.9962781206516","--bits","256"],"kappa":"0.0037218793484","label":"HIGH","new_minus_old":{"lower":"25099189947401472581608269319475629675469453296780090483218745223129/7237005577332262213973186563042994240829374041602535252466099000494570602496","upper":"25099189947401472581608269319475629675469453296780090483218752144353/7237005577332262213973186563042994240829374041602535252466099000494570602496"}},{"classification":"new_cost_lower","command":["C:\\Users\\cuchu\\Downloads\\K\\.venv\\Scripts\\python.exe","-I","-B","C:\\Users\\cuchu\\k37218\\scripts\\evaluate_recursive_power.py","runs\\BFEB-CALLER16-CANDIDATE-2\\INVOICE-ZERO.json","data/INVOICE.json","--exponent","0.9962800000000","--bits","256"],"kappa":"0.0037200000000","label":"MILESTONE","new_minus_old":{"lower":"-2408037303819841601264111847494183798628225771193108164228929762390107885381/3618502788666131106986593281521497120414687020801267626233049500247285301248","upper":"-4816074607639683202528223694988367597256451542386216328457859524780209224103/7237005577332262213973186563042994240829374041602535252466099000494570602496"}},{"classification":"new_cost_higher","command":["C:\\Users\\cuchu\\Downloads\\K\\.venv\\Scripts\\python.exe","-I","-B","C:\\Users\\cuchu\\k37218\\scripts\\evaluate_recursive_power.py","runs\\BFEB-CALLER16-CANDIDATE-2\\INVOICE-ZERO.json","data/INVOICE.json","--exponent","0.9962600000000","--bits","256"],"kappa":"0.0037400000000","label":"TARGET","new_minus_old":{"lower":"46434626260700423334142736480880838162774138109772653915006128350761757665143/7237005577332262213973186563042994240829374041602535252466099000494570602496","upper":"23217313130350211667071368240440419081387069054886326957503064175380882161181/3618502788666131106986593281521497120414687020801267626233049500247285301248"}}],"scope":"New actual native/caller invoice and official power intervals only; finite/CLEAR, ordinary/precision, physical/compiler/provider pending","source_helper_sha256":{"caller16_audit.py":"f33ee98b63ab0022f7abb1d50a07a1713d47bd1ccdefaec776a73b445f8e763f","native_invoice_price.py":"9488f902f6be266aeb7c8188c61c642889a9df2d816768edfdd0850794e3861e","ordinary_tape_audit.py":"50742bd13793b7bf8c8ef04099a7e529e1d1bb7653c10a0f930e6bca8be7524c"}} \ No newline at end of file diff --git a/research/ee251f60-composition/evidence/PUBLICATION-REPLAY.json b/research/ee251f60-composition/evidence/PUBLICATION-REPLAY.json new file mode 100644 index 0000000000..d33c1cbb28 --- /dev/null +++ b/research/ee251f60-composition/evidence/PUBLICATION-REPLAY.json @@ -0,0 +1,77 @@ +{ + "status": "PASS_SCOPED_EE251F60_REPLAY", + "candidate": "ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d", + "source": "3dd1199d95291ee96e6c0aeb6f55f86244a569b1d4975840bf0207e2dcf9c025", + "events": 150522, + "finite_status": "PASS_FINITE_INTEGER_ROWS_AND_CLEAR_RELATIONS", + "inventory": { + "public": 1501, + "events": 150522, + "paid": { + "1": 3962, + "2": 879, + "4": 243, + "3": 602, + "5": 362, + "6": 87, + "7": 11, + "9": 4, + "8": 7 + }, + "helpers": { + "9": 615, + "2": 21, + "4": 227, + "8": 32, + "7": 19, + "3": 47, + "5": 78, + "6": 44, + "1": 18 + }, + "rises": { + "2": 4, + "1": 10, + "4": 6, + "5": 1, + "6": 1, + "3": 1 + }, + "lifetimes": 235, + "owned_peak": 51, + "owned_fields": 68, + "opcodes": { + "ADD": 139735, + "SCALE": 4160, + "INIT": 235, + "MOVE": 6157, + "CLEAR": 235 + }, + "endpoint_checked": false, + "CLEAR_relations_checked": false + }, + "prices": [ + { + "kappa": "0.0037218793483", + "classification": "new_cost_lower" + }, + { + "kappa": "0.0037218793484", + "classification": "new_cost_higher" + }, + { + "kappa": "0.0037200000000", + "classification": "new_cost_lower" + }, + { + "kappa": "0.0037400000000", + "classification": "new_cost_higher" + } + ], + "rejection_controls": [ + "wrong source", + "wrong edit preimage", + "INTENDED_OPERATOR_MISMATCH" + ], + "scope": "Fresh exact reconstruction, all public rows/CLEAR, actual caller paid/target recount and original 256-bit price CLI. Recorded ordinary/precision/native-phase evidence is reused, not rerun; whole physical and analytic obligations remain open." +} diff --git a/research/ee251f60-composition/evidence/ROLE770-BUILD.json b/research/ee251f60-composition/evidence/ROLE770-BUILD.json new file mode 100644 index 0000000000..d56b1584a7 --- /dev/null +++ b/research/ee251f60-composition/evidence/ROLE770-BUILD.json @@ -0,0 +1 @@ +{"CLEAR_seeds_only":true,"algebra":{"actual_injection_coefficients":["-1","1"],"all_public_operator_identity":true,"delta":[[278,"1/2"],[566,"1"],[567,"1/2"],[612,"1"],[613,"1"],[614,"1"],[770,"-2"],[1078,"1/2"],[1204,"-1/4"],[1259,"-1/4"],[1280,"1"],[1368,"1"],[1374,"2"]],"prefix_determinant":"1","q":[[607,"-1/4"],[770,"1/4"]],"s":[[30,"-4"],[60,"-4"],[112,"2"],[113,"2"],[114,"2"],[116,"2"],[117,"2"],[118,"2"],[119,"-2"],[120,"2"],[122,"-2"],[123,"-2"],[137,"2"],[138,"2"],[139,"2"],[140,"2"],[141,"2"],[142,"2"],[169,"-2"],[170,"2"],[171,"2"],[172,"2"],[173,"-1"],[174,"-2"],[175,"-2"],[176,"2"],[177,"2"],[178,"2"],[179,"2"],[180,"2"],[181,"2"],[182,"2"],[183,"2"],[184,"2"],[185,"2"],[186,"2"],[187,"2"],[191,"-2"],[192,"2"],[193,"-2"],[194,"2"],[195,"2"],[196,"2"],[198,"2"],[199,"2"],[200,"2"],[201,"2"],[202,"2"],[203,"2"],[204,"-2"],[206,"-2"],[207,"2"],[208,"2"],[209,"2"],[228,"-1"],[236,"-1"],[255,"2"],[272,"-1"],[279,"2"],[306,"2"],[311,"4"],[313,"2"],[316,"2"],[336,"-1"],[347,"-1"],[351,"-1"],[436,"2"],[437,"2"],[438,"2"],[439,"2"],[522,"-4"],[530,"-4"],[536,"-1"],[599,"2"],[600,"-1"],[609,"2"],[611,"-1"],[617,"-1"],[625,"2"],[627,"-1"],[635,"2"],[640,"2"],[655,"-1"],[697,"1"],[752,"-17/2"],[812,"-2"],[1079,"-2"],[1122,"4"],[1176,"1"],[1228,"-1/2"],[1233,"-1/2"],[1234,"-1"],[1255,"-1"],[1265,"2"],[1279,"-1/2"],[1331,"2"]],"source_capture":[[770,"1"]],"tail_determinant":"-1","u":[[112,"2"],[113,"2"],[114,"2"],[116,"2"],[117,"2"],[118,"2"],[119,"-2"],[120,"2"],[122,"-2"],[123,"-2"],[137,"2"],[138,"2"],[139,"2"],[140,"2"],[141,"2"],[142,"4"],[169,"-2"],[170,"2"],[171,"2"],[172,"4"],[173,"-1"],[174,"-2"],[175,"-2"],[176,"2"],[177,"2"],[178,"2"],[179,"2"],[180,"2"],[181,"2"],[182,"2"],[183,"2"],[184,"2"],[185,"2"],[186,"2"],[187,"2"],[191,"-2"],[192,"2"],[193,"-2"],[194,"2"],[195,"2"],[196,"2"],[198,"2"],[199,"2"],[200,"2"],[201,"2"],[202,"2"],[203,"2"],[204,"-2"],[206,"-2"],[207,"2"],[208,"2"],[209,"2"],[228,"-1"],[236,"-1"],[255,"2"],[272,"-1"],[279,"2"],[306,"2"],[311,"4"],[313,"2"],[316,"2"],[336,"-1"],[347,"-1"],[351,"-1"],[436,"2"],[437,"2"],[438,"2"],[439,"2"],[522,"-4"],[530,"-4"],[536,"-1"],[599,"2"],[600,"-1"],[609,"2"],[611,"-1"],[617,"-1"],[625,"2"],[627,"-1"],[635,"2"],[640,"2"],[655,"-1"],[697,"1"],[752,"-17/2"],[812,"-2"],[1079,"-2"],[1122,"4"],[1176,"1"],[1228,"-1/2"],[1233,"-1/2"],[1234,"-1"],[1255,"-1"],[1265,"2"],[1279,"-1/2"],[1331,"2"]],"windows_injection_coefficients":["-1","1"]},"candidate":"be33ebb71f8c900315795b130efb457c1bb61cb3d575652b8ddd6dd354902772","direct_move":["MOVE",1517,549,593,true],"helper":770,"injections":{"87321":[["INIT",1551,115],["ADD",1551,770,"1",115]],"96905":[["ADD",1279,1551,"-1",115]],"99687":[["ADD",614,1551,"1",115]]},"input_sha256":{"certificates":"4782546beb02fb6369940a47c7b478a7bd9ff359580d80612cdff81af3791aec","factor_helper":"c645f7bd3fab13c2640fb6415fea9fac54949c9f7a938d9589f1d04af67a164b","hub_helper":"d5cf4d23caad2508ee5aaf492ccd9c5b6684ca7db2250249639201229548f692","module":"3a2d37f53056aafc6cc1dabe25faca172ba82f83a3bebebbcc6879d51844ed18","rankone_helper":"4964a10a2894595c1376e72c63dfb728eb484a62ddb565e4c853f333e584605b","recipe":"90b27e7072fa55fe781c41d72959856854a1b3b871fb9f4be7e0c406592e01e3","reference":"a5e43f94a385a7e7918bfa6dcd199cdcd374c1729266bb3f70fd59fc59725563","scalar_helper":"7959f6504447489727b4eb6979b26a12502fd5cc5171f31144d8858d1e6d84aa","word":"631babeca90e78c5caac713484fe618328b9beee8294baef6ac45ffc9a75dd3b"},"prefix":[["ADD",112,607,"-1/2",3],["ADD",113,607,"-1/2",3],["ADD",114,607,"-1/2",3],["ADD",116,607,"-1/2",3],["ADD",117,607,"-1/2",3],["ADD",118,607,"-1/2",3],["ADD",119,607,"1/2",3],["ADD",120,607,"-1/2",3],["ADD",122,607,"1/2",3],["ADD",123,607,"1/2",3],["ADD",137,607,"-1/2",3],["ADD",138,607,"-1/2",3],["ADD",139,607,"-1/2",3],["ADD",140,607,"-1/2",3],["ADD",141,607,"-1/2",3],["ADD",142,607,"-1",3],["ADD",169,607,"1/2",3],["ADD",170,607,"-1/2",3],["ADD",171,607,"-1/2",3],["ADD",172,607,"-1",3],["ADD",173,607,"1/4",3],["ADD",174,607,"1/2",3],["ADD",175,607,"1/2",3],["ADD",176,607,"-1/2",3],["ADD",177,607,"-1/2",3],["ADD",178,607,"-1/2",3],["ADD",179,607,"-1/2",3],["ADD",180,607,"-1/2",3],["ADD",181,607,"-1/2",3],["ADD",182,607,"-1/2",3],["ADD",183,607,"-1/2",3],["ADD",184,607,"-1/2",3],["ADD",185,607,"-1/2",3],["ADD",186,607,"-1/2",3],["ADD",187,607,"-1/2",3],["ADD",191,607,"1/2",3],["ADD",192,607,"-1/2",3],["ADD",193,607,"1/2",3],["ADD",194,607,"-1/2",3],["ADD",195,607,"-1/2",3],["ADD",196,607,"-1/2",3],["ADD",198,607,"-1/2",3],["ADD",199,607,"-1/2",3],["ADD",200,607,"-1/2",3],["ADD",201,607,"-1/2",3],["ADD",202,607,"-1/2",3],["ADD",203,607,"-1/2",3],["ADD",204,607,"1/2",3],["ADD",206,607,"1/2",3],["ADD",207,607,"-1/2",3],["ADD",208,607,"-1/2",3],["ADD",209,607,"-1/2",3],["ADD",228,607,"1/4",3],["ADD",236,607,"1/4",3],["ADD",255,607,"-1/2",3],["ADD",272,607,"1/4",3],["ADD",279,607,"-1/2",3],["ADD",306,607,"-1/2",3],["ADD",311,607,"-1",3],["ADD",313,607,"-1/2",3],["ADD",316,607,"-1/2",3],["ADD",336,607,"1/4",3],["ADD",347,607,"1/4",3],["ADD",351,607,"1/4",3],["ADD",436,607,"-1/2",3],["ADD",437,607,"-1/2",3],["ADD",438,607,"-1/2",3],["ADD",439,607,"-1/2",3],["ADD",522,607,"1",3],["ADD",530,607,"1",3],["ADD",536,607,"1/4",3],["ADD",599,607,"-1/2",3],["ADD",600,607,"1/4",3],["ADD",609,607,"-1/2",3],["ADD",611,607,"1/4",3],["ADD",617,607,"1/4",3],["ADD",625,607,"-1/2",3],["ADD",627,607,"1/4",3],["ADD",635,607,"-1/2",3],["ADD",640,607,"-1/2",3],["ADD",655,607,"1/4",3],["ADD",697,607,"-1/4",3],["ADD",752,607,"17/8",3],["ADD",812,607,"1/2",3],["ADD",1079,607,"1/2",3],["ADD",1122,607,"-1",3],["ADD",1176,607,"-1/4",3],["ADD",1228,607,"1/8",3],["ADD",1233,607,"1/8",3],["ADD",1234,607,"1/4",3],["ADD",1255,607,"1/4",3],["ADD",1265,607,"-1/2",3],["ADD",1279,607,"1/8",3],["ADD",1331,607,"-1/2",3]],"scope":"Actual destination-source q/s and bypass sensitivities, newly solved hub tapes and exact public operator identity. Existing five predecessor EARLY edits are retained, never independently summed. CLEAR seeds need actual rederivation/audit; grid, native binding, physical lifetimes, price, ordinary and fresh precision remain separate.","scratch":1551,"source":"3dd1199d95291ee96e6c0aeb6f55f86244a569b1d4975840bf0207e2dcf9c025","source_anchors":[[96905,1279,"-1"],[99687,614,"1"]],"source_clear_event_remap":{"100033":100129,"100045":100141,"100206":100302,"100218":100314,"100556":100652,"100594":100690,"100611":100707,"100621":100717,"100696":100792,"100731":100827,"100747":100843,"100769":100865,"100777":100873,"100886":100982,"100890":100986,"100913":101009,"100955":101051,"101026":101122,"101114":101210,"101122":101218,"101212":101308,"101219":101315,"101234":101330,"101241":101337,"101291":101387,"101364":101460,"101380":101476,"101387":101483,"101406":101502,"101558":101654,"101573":101669,"101588":101684,"101658":101754,"101680":101776,"101808":101904,"101842":101938,"101854":101950,"101887":101983,"101911":102007,"101931":102027,"101968":102064,"101989":102085,"101998":102094,"102012":102108,"102214":102310,"102220":102316,"102247":102343,"102336":102432,"102346":102442,"102484":102580,"102488":102584,"102537":102633,"102624":102720,"102718":102814,"102720":102816,"102721":102817,"102723":102819,"102724":102820,"102742":102838,"102759":102855,"102799":102895,"102803":102899,"102846":102942,"102894":102990,"103058":103154,"103077":103173,"103140":103236,"103223":103319,"103224":103320,"103232":103328,"103239":103335,"103240":103336,"103250":103346,"103253":103349,"103264":103360,"103270":103366,"103273":103369,"103274":103370,"103278":103374,"103291":103387,"103292":103388,"103299":103395,"103313":103409,"103314":103410,"103330":103426,"103361":103457,"103366":103462,"103367":103463,"103385":103481,"103388":103484,"87906":88002,"88644":88740,"88841":88937,"89190":89286,"89192":89288,"89575":89671,"89936":90032,"90031":90127,"90104":90200,"90173":90269,"90257":90353,"90448":90544,"90450":90546,"90455":90551,"90458":90554,"90461":90557,"90482":90578,"90752":90848,"90779":90875,"90815":90911,"90872":90968,"90883":90979,"90890":90986,"90892":90988,"90922":91018,"91003":91099,"91009":91105,"91117":91213,"91127":91223,"91144":91240,"91164":91260,"91168":91264,"91420":91516,"91601":91697,"91626":91722,"91740":91836,"91783":91879,"91788":91884,"91820":91916,"91852":91948,"91887":91983,"91889":91985,"91893":91989,"91947":92043,"91957":92053,"91995":92091,"92002":92098,"92004":92100,"92159":92255,"92162":92258,"92213":92309,"92303":92399,"93209":93305,"93564":93660,"93777":93873,"93814":93910,"93948":94044,"94755":94851,"94829":94925,"94890":94986,"95030":95126,"95243":95339,"95277":95373,"95310":95406,"95328":95424,"95367":95463,"95405":95501,"95408":95504,"95607":95703,"95840":95936,"95875":95971,"96077":96173,"96102":96198,"96117":96213,"96126":96222,"96152":96248,"96174":96270,"96208":96304,"96234":96330,"96251":96347,"96260":96356,"96306":96402,"96357":96453,"96742":96838,"96766":96862,"96803":96899,"96810":96906,"96949":97046,"96954":97051,"96961":97057,"97190":97285,"97198":97293,"97201":97296,"97242":97337,"97332":97427,"97351":97446,"97437":97532,"97441":97536,"97849":97944,"97945":98040,"98099":98194,"98160":98255,"98163":98258,"98180":98275,"98200":98295,"98343":98438,"98443":98538,"98457":98552,"98472":98567,"98657":98752,"98726":98821,"98738":98833,"98746":98841,"98753":98848,"98761":98856,"98764":98859,"98771":98866,"98778":98873,"98797":98892,"98821":98916,"98847":98942,"98868":98963,"98924":99019,"98954":99049,"99007":99102,"99021":99116,"99028":99123,"99082":99177,"99085":99180,"99145":99240,"99250":99345,"99533":99628,"99656":99751,"99711":99807,"99730":99826,"99735":99831,"99777":99873,"99780":99876,"99783":99879,"99896":99992,"99904":100000,"99907":100003,"99946":100042,"99996":100092},"source_other_events_preserved":true,"source_sites":{"capture":87321,"deleted":96960,"first":96959,"last":96963},"source_sparse_index_transform":{"before_insert_counts":{"87321":2,"96905":1,"99687":1},"deleted":[96960,96963],"prefix_length":94},"tail":[["ADD",278,770,"1/2",127],["ADD",566,770,"1",127],["ADD",567,770,"1/2",127],["ADD",612,770,"1",127],["ADD",613,770,"1",127],["ADD",614,770,"1",127],["ADD",1078,770,"1/2",127],["ADD",1204,770,"-1/4",127],["ADD",1259,770,"-1/4",127],["ADD",1280,770,"1",127],["ADD",1368,770,"1",127],["ADD",1374,770,"2",127],["SCALE",770,"-1",127]]} diff --git a/research/ee251f60-composition/evidence/ROLE770-PROBE.json b/research/ee251f60-composition/evidence/ROLE770-PROBE.json new file mode 100644 index 0000000000..83ecf70944 --- /dev/null +++ b/research/ee251f60-composition/evidence/ROLE770-PROBE.json @@ -0,0 +1 @@ +{"actual_bypass_injection_columns":[[[30,"1"],[60,"1"],[112,"-1/2"],[113,"-1/2"],[114,"-1/2"],[116,"-1/2"],[117,"-1/2"],[118,"-1/2"],[119,"1/2"],[120,"-1/2"],[121,"1/2"],[122,"1/2"],[123,"1/2"],[137,"-1"],[138,"-1/2"],[139,"-1/2"],[140,"-1/2"],[141,"-1/2"],[142,"-1/2"],[169,"1/2"],[170,"-1/2"],[171,"-1/2"],[172,"-1/2"],[173,"1/4"],[174,"1/2"],[175,"1/2"],[176,"-1/2"],[177,"-1/2"],[178,"-1/2"],[179,"-1/2"],[180,"-1/2"],[181,"-1/2"],[182,"-1/2"],[183,"-1/2"],[184,"-1/2"],[185,"-1/2"],[186,"-1/2"],[187,"-1/2"],[191,"1/2"],[192,"-1/2"],[193,"1/2"],[194,"-1/2"],[195,"-1/2"],[196,"-1/2"],[198,"-1/2"],[199,"-1/2"],[200,"-1/2"],[201,"-1/2"],[202,"-1/2"],[203,"-1/2"],[204,"1/2"],[206,"1/2"],[207,"-1/2"],[208,"-1/2"],[209,"-1/2"],[228,"1/4"],[236,"1/4"],[255,"-1/2"],[272,"1/4"],[278,"-1/2"],[279,"-1/2"],[306,"-1/2"],[311,"-1"],[313,"-1/2"],[316,"-1/2"],[336,"1/4"],[347,"1/4"],[351,"1/4"],[436,"-1/2"],[437,"-1/2"],[438,"-1/2"],[439,"-1/2"],[522,"1"],[530,"1"],[536,"1/4"],[566,"-1"],[567,"-1/2"],[569,"1/2"],[599,"-1/2"],[600,"1/4"],[609,"-1/2"],[611,"1/4"],[612,"-1"],[613,"-1"],[617,"1/4"],[625,"-1/2"],[627,"1/4"],[635,"-1/2"],[640,"-1/2"],[655,"1/4"],[697,"-1/4"],[752,"17/8"],[767,"1"],[770,"2"],[812,"1/2"],[1078,"-1/2"],[1079,"1/2"],[1122,"-1"],[1176,"-1/4"],[1204,"1/4"],[1228,"1/8"],[1233,"1/8"],[1234,"1/4"],[1255,"1/4"],[1259,"1/4"],[1265,"-1/2"],[1279,"1/8"],[1280,"-1"],[1331,"-1/2"],[1374,"-1"]],[[121,"1/2"],[137,"-1/2"],[569,"1/2"],[614,"1"],[767,"1"],[1368,"1"],[1374,"1"]]],"actual_measured_qg_q_s_u":[[[770,"1"]],[[607,"-1/4"],[770,"1/4"]],[[30,"-4"],[60,"-4"],[112,"2"],[113,"2"],[114,"2"],[116,"2"],[117,"2"],[118,"2"],[119,"-2"],[120,"2"],[122,"-2"],[123,"-2"],[137,"2"],[138,"2"],[139,"2"],[140,"2"],[141,"2"],[142,"2"],[169,"-2"],[170,"2"],[171,"2"],[172,"2"],[173,"-1"],[174,"-2"],[175,"-2"],[176,"2"],[177,"2"],[178,"2"],[179,"2"],[180,"2"],[181,"2"],[182,"2"],[183,"2"],[184,"2"],[185,"2"],[186,"2"],[187,"2"],[191,"-2"],[192,"2"],[193,"-2"],[194,"2"],[195,"2"],[196,"2"],[198,"2"],[199,"2"],[200,"2"],[201,"2"],[202,"2"],[203,"2"],[204,"-2"],[206,"-2"],[207,"2"],[208,"2"],[209,"2"],[228,"-1"],[236,"-1"],[255,"2"],[272,"-1"],[279,"2"],[306,"2"],[311,"4"],[313,"2"],[316,"2"],[336,"-1"],[347,"-1"],[351,"-1"],[436,"2"],[437,"2"],[438,"2"],[439,"2"],[522,"-4"],[530,"-4"],[536,"-1"],[599,"2"],[600,"-1"],[609,"2"],[611,"-1"],[617,"-1"],[625,"2"],[627,"-1"],[635,"2"],[640,"2"],[655,"-1"],[697,"1"],[752,"-17/2"],[812,"-2"],[1079,"-2"],[1122,"4"],[1176,"1"],[1228,"-1/2"],[1233,"-1/2"],[1234,"-1"],[1255,"-1"],[1265,"2"],[1279,"-1/2"],[1331,"2"]],[[112,"2"],[113,"2"],[114,"2"],[116,"2"],[117,"2"],[118,"2"],[119,"-2"],[120,"2"],[122,"-2"],[123,"-2"],[137,"2"],[138,"2"],[139,"2"],[140,"2"],[141,"2"],[142,"4"],[169,"-2"],[170,"2"],[171,"2"],[172,"4"],[173,"-1"],[174,"-2"],[175,"-2"],[176,"2"],[177,"2"],[178,"2"],[179,"2"],[180,"2"],[181,"2"],[182,"2"],[183,"2"],[184,"2"],[185,"2"],[186,"2"],[187,"2"],[191,"-2"],[192,"2"],[193,"-2"],[194,"2"],[195,"2"],[196,"2"],[198,"2"],[199,"2"],[200,"2"],[201,"2"],[202,"2"],[203,"2"],[204,"-2"],[206,"-2"],[207,"2"],[208,"2"],[209,"2"],[228,"-1"],[236,"-1"],[255,"2"],[272,"-1"],[279,"2"],[306,"2"],[311,"4"],[313,"2"],[316,"2"],[336,"-1"],[347,"-1"],[351,"-1"],[436,"2"],[437,"2"],[438,"2"],[439,"2"],[522,"-4"],[530,"-4"],[536,"-1"],[599,"2"],[600,"-1"],[609,"2"],[611,"-1"],[617,"-1"],[625,"2"],[627,"-1"],[635,"2"],[640,"2"],[655,"-1"],[697,"1"],[752,"-17/2"],[812,"-2"],[1079,"-2"],[1122,"4"],[1176,"1"],[1228,"-1/2"],[1233,"-1/2"],[1234,"-1"],[1255,"-1"],[1265,"2"],[1279,"-1/2"],[1331,"2"]]],"anchors":[[96905,1279,"-1"],[99687,614,"1"]],"input_sha256":{"certificates":"4782546beb02fb6369940a47c7b478a7bd9ff359580d80612cdff81af3791aec","recipe":"90b27e7072fa55fe781c41d72959856854a1b3b871fb9f4be7e0c406592e01e3","reference":"a5e43f94a385a7e7918bfa6dcd199cdcd374c1729266bb3f70fd59fc59725563","word":"631babeca90e78c5caac713484fe618328b9beee8294baef6ac45ffc9a75dd3b"},"plan":{"capture":87321,"chart":115,"deleted":96960,"direct":["MOVE",1517,549,593,true],"first":96959,"helper":770,"last":96963,"pickup":["ADD",1517,1518,"1/4",115]},"source":"3dd1199d95291ee96e6c0aeb6f55f86244a569b1d4975840bf0207e2dcf9c025"} diff --git a/research/ee251f60-composition/replay.py b/research/ee251f60-composition/replay.py new file mode 100644 index 0000000000..9c390e5fc8 --- /dev/null +++ b/research/ee251f60-composition/replay.py @@ -0,0 +1,124 @@ +"""Source-bound reconstruction and scoped checks, not a universal acceptance gate. +Apache-2.0; prepared with substantial OpenAI Codex assistance. +""" +import argparse +import copy +import gzip +import hashlib +import importlib.util +import json +from pathlib import Path +import subprocess +import sys + +def canonical(x): + return json.dumps(x, sort_keys=True, separators=(",", ":")).encode() + +def digest(x): + return hashlib.sha256(canonical(x)).hexdigest() + +def need(x, message): + if not x: + raise ValueError(message) + +def read(p): + raw = p.read_bytes() + return json.loads(gzip.decompress(raw) if raw[:2] == b"\x1f\x8b" else raw) + +def reconstruct(source, patch): + need(digest(source) == patch["source"], "wrong predecessor for this edit, not another candidate gate") + word = copy.deepcopy(source) + previous = 0 + program = [] + for e in patch["edits"]: + i, j = e["start"], e["stop"] + need(type(i) is int and type(j) is int and previous <= i <= j <= len(source["program"]), "invalid edit interval") + need(source["program"][i:j] == e["before"], "edit preimage mismatch") + program.extend(source["program"][previous:i]) + program.extend(e["after"]) + previous = j + program.extend(source["program"][previous:]) + word["program"] = program + need(digest(word) == patch["candidate"], "wrong reconstructed artifact") + return word + +def load(path, name): + spec = importlib.util.spec_from_file_location(name, path) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + return module + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--out", required=True, type=Path) + args = parser.parse_args() + root = Path(__file__).resolve().parent + out = args.out.resolve() + need(not out.exists(), "fresh output directory required") + manifest = read(root / "MANIFEST.json") + for entry in manifest["files"]: + p = (root / entry["path"]).resolve() + need(p.is_relative_to(root), "manifest path escape") + need(hashlib.sha256(p.read_bytes()).hexdigest() == entry["sha256"], "changed input: " + entry["path"]) + source = read(root / "data/K372-2-WORD.json.gz") + patch = read(root / "EDIT.json") + word = reconstruct(source, patch) + out.mkdir(parents=True) + candidate_path = out / "WORD.json.gz" + candidate_path.write_bytes(gzip.compress(canonical(word), mtime=0)) + audit = load(root / "src/integer_grid_audit.py", "ee251_audit") + finite = audit.run_audit(candidate_path, root / "data/CERTS.json", root / "data/HEADER.json", out / "finite", 225 * 2**40) + need(finite["status"] == "PASS_FINITE_INTEGER_ROWS_AND_CLEAR_RELATIONS", "finite audit failed") + counts = load(root / "src/ordinary_tape_audit.py", "ee251_counts") + caller = read(root / "data/CALLER.json.gz") + counts.validate_caller(caller) + inventory = counts.native_inventory(word) + paid, targets, empty = counts.invoice_counts(caller, inventory) + invoice = read(root / "data/INVOICE.json") + need({str(k):v for k,v in paid.items()} == invoice["paid"], "paid histogram mismatch") + need({str(k):v for k,v in targets.items()} == invoice["targets"], "target histogram mismatch") + expected = read(root / "evidence/PRICE-SUMMARY.json") + prices = [] + for point in expected["outcomes"]: + exponent = str(__import__('decimal').Decimal(1) - __import__('decimal').Decimal(point["kappa"])) + command = [sys.executable, "-I", "-B", str(root / "src/evaluate_recursive_power.py"), str(root / "data/INVOICE-ZERO.json"), str(root / "data/INVOICE.json"), "--exponent", exponent, "--bits", "256"] + result = subprocess.run(command, capture_output=True, text=True, encoding="utf-8", timeout=120, check=True) + actual = json.loads(result.stdout) + need(actual["classification"] == point["classification"] and actual["new_minus_old"] == point["new_minus_old"], "directed price result mismatch") + (out / ("price-" + point["label"] + ".json")).write_text(result.stdout, encoding="utf-8") + prices.append({"kappa":point["kappa"], "classification":actual["classification"]}) + # Two rejection controls test reconstruction; a third tests actual row semantics. + bad_patch = copy.deepcopy(patch) + bad_patch["edits"][0]["before"].append(["invalid"]) + try: + reconstruct(source, bad_patch) + except ValueError: + pass + else: + raise ValueError("preimage mutation was accepted") + bad_source = copy.deepcopy(source) + bad_source["program"][0] = ["invalid"] + try: + reconstruct(bad_source, patch) + except ValueError: + pass + else: + raise ValueError("source mutation was accepted") + mutant = copy.deepcopy(word) + index = next(i for i,e in enumerate(mutant["program"]) if e[0] == "ADD") + from fractions import Fraction + mutant["program"][index][3] = str(-Fraction(mutant["program"][index][3])) + try: + audit.audit_word(mutant, read(root / "data/CERTS.json"), 225 * 2**40, read(root / "data/HEADER.json")) + except audit.AuditFailure as error: + rejection = error.kind + else: + raise ValueError("semantic sign mutation was accepted") + report = {"status":"PASS_SCOPED_EE251F60_REPLAY", "candidate":digest(word), "source":digest(source), "events":len(word["program"]), "finite_status":finite["status"], "inventory":inventory, "prices":prices, "rejection_controls":["wrong source", "wrong edit preimage", rejection], "scope":"Fresh exact reconstruction, all public rows/CLEAR, actual caller paid/target recount and original 256-bit price CLI. Recorded ordinary/precision/native-phase evidence is reused, not rerun; whole physical and analytic obligations remain open."} + for entry in manifest["files"]: + need(hashlib.sha256((root / entry["path"]).read_bytes()).hexdigest() == entry["sha256"], "input changed during replay") + (out / "RESULT.json").write_text(json.dumps(report, indent=2) + "\n", encoding="utf-8") + print(json.dumps(report)) + +if __name__ == "__main__": + main() diff --git a/research/ee251f60-composition/src/compare_recursive_invoices.py b/research/ee251f60-composition/src/compare_recursive_invoices.py new file mode 100644 index 0000000000..fda2a852e9 --- /dev/null +++ b/research/ee251f60-composition/src/compare_recursive_invoices.py @@ -0,0 +1,218 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Compare declared recursive invoices by exact signed concave order. + +Usage: python3 -B scripts/compare_recursive_invoices.py OLD.json NEW.json + +Each input has schema ``integer-mult-recursive-invoice/v1``, an identical +contract object with model, rank_semantics, ambient_rank and boundary, and +paid/targets objects mapping canonical positive decimal ranks to nonnegative +integer counts. Contracts are declarations, not verified mathematical premises. + +For d = (new paid - old paid) - (new targets - old targets), set +K(k) = sum_r d[r] min(r,k). The sign of K at every support knot determines +the order for every increasing concave tariff f with f(0)=0. Indeed, on the +integer ranks 0..R, write s_j=f(j)-f(j-1). Then + + sum_r d[r] f(r) = s_R K(R) + sum_(k=1..R-1) (s_k-s_(k+1)) K(k). + +All coefficients on the right are nonnegative. Conversely, the increasing +concave tariffs min(r,k) witness every required hinge. Between support knots +K is linear. For f(r)=r**t, 0= 0 for value in values): + classification, power_sign = "uniformly_worse", "strictly_positive" + else: + classification, power_sign = "inconclusive", "not_determined" + old_mass, new_mass = _masses(old), _masses(new) + return { + "schema": REPORT_SCHEMA, + "classification": classification, + "contract": old["contract"], + "delta_paid": paid, + "delta_targets": targets, + "signed_net_delta": net, + "hinges": hinges, + "rank_mass": {"old": old_mass, "new": new_mass, + "delta": {key: new_mass[key] - old_mass[key] for key in old_mass}}, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "tariff_class": "increasing concave f on nonnegative ranks, with f(0)=0", + "uniform_order": "weak; some concave tariffs can give equality", + "power_moment": {"tariff": "r^t", "exponent": "0 < t < 1", + "new_minus_old_sign": power_sign}, + "assurance": { + "contract": "Exact matching user declarations; mathematical applicability is not verified.", + "input_binding": "SHA-256 identifies the exact input bytes read, when loaded by this CLI.", + "scope": "Histogram arithmetic only. Histogram correctness, circuit legality, ownership, " + "phases, precision, supplier admission and compiler endpoints are not validated.", + "inconclusive": "Mixed hinge signs do not establish a power-moment crossing or failure.", + }, + "method_credit": "Classical concave order/majorization; mightyOil's t16-moment-order-audit " + "and its retained predecessors. No new theorem claim.", + } + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("old", help="old invoice JSON") + parser.add_argument("new", help="new invoice JSON") + args = parser.parse_args(argv) + try: + old, old_evidence = load_invoice(args.old) + new, new_evidence = load_invoice(args.new) + report = compare_invoices(old, new) + report["inputs"] = {"old": old_evidence, "new": new_evidence} + except (OSError, ValueError, TypeError, RecursionError) as exc: + print(json.dumps({"status": "INVALID_RECURSIVE_INVOICE", "error": str(exc)}, + ensure_ascii=True), file=sys.stderr) + return 2 + print(json.dumps(report, indent=2, sort_keys=True, ensure_ascii=True)) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/research/ee251f60-composition/src/evaluate_recursive_power.py b/research/ee251f60-composition/src/evaluate_recursive_power.py new file mode 100644 index 0000000000..ca50f8021f --- /dev/null +++ b/research/ee251f60-composition/src/evaluate_recursive_power.py @@ -0,0 +1,98 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Certify a signed invoice cost at one exact rational power, using integer bounds. + +Usage: evaluate_recursive_power.py OLD.json NEW.json --exponent 0.9969 +See docs/research/recursive-power-comparison.md for the interval argument. +Prepared for aliromman with OpenAI Codex assistance. The invoice schema and +signed accounting retain the compare_recursive_invoices predecessor credits. +""" +import argparse +from fractions import Fraction as Q +import json +import re +from math import isqrt +from pathlib import Path +import sys + +sys.path.insert(0, str(Path(__file__).resolve().parent)) +try: + from compare_recursive_invoices import compare_invoices, load_invoice, require, MAX_RANK +finally: + sys.path.pop(0) + + +def parse_exponent(text): + require(isinstance(text, str) and len(text) <= 128, 'exponent needs at most 128 characters') + require(re.fullmatch(r'[+-]?(?:[0-9]+(?:/[0-9]+)?|[0-9]*\.[0-9]+)', text) is not None, + 'use a fraction or decimal without scientific notation') + exponent = Q(text) + require(0 < exponent < 1, 'exponent must satisfy 0 < t < 1') + return exponent + + +def power_bounds(rank, exponent, bits=128): + """Enclose rank**exponent by directed integer square roots and products.""" + require(type(rank) is int and 1 <= rank <= MAX_RANK, 'rank is outside 1..10^9') + require(isinstance(exponent, Q) and 0 < exponent < 1, 'need an exact rational 0 < t < 1') + require(type(bits) is int and 16 <= bits <= 256, 'bits must be an integer in 16..256') + scale = 1 << bits + digits, remainder = divmod(exponent.numerator * scale, exponent.denominator) + lower = upper = scale + root_lower = root_upper = rank * scale + for shift in range(bits - 1, -1, -1): + root_lower = isqrt(root_lower * scale) + radicand = root_upper * scale + root_upper = isqrt(radicand) + root_upper += root_upper * root_upper < radicand + if digits & (1 << shift): + lower = lower * root_lower // scale + upper = (upper * root_upper + scale - 1) // scale + if remainder: + upper = (upper * root_upper + scale - 1) // scale + return Q(lower, scale), Q(upper, scale) + + +def evaluate(old, new, exponent, bits=128): + report = compare_invoices(old, new) + require(isinstance(exponent, Q) and 0 < exponent < 1, 'need an exact rational 0 < t < 1') + require(type(bits) is int and 16 <= bits <= 256, 'bits must be an integer in 16..256') + delta = report['signed_net_delta'] + require(len(delta) <= 512, 'power comparison supports at most 512 nonzero ranks') + lower = upper = Q(0) + terms = [] + for rank, count in delta.items(): + lo, hi = power_bounds(int(rank), exponent, bits) + lower += count * (lo if count > 0 else hi) + upper += count * (hi if count > 0 else lo) + terms.append({'rank': int(rank), 'signed_count': count, 'power_lower': str(lo), 'power_upper': str(hi)}) + sign = ('new_cost_lower' if upper < 0 else 'new_cost_higher' if lower > 0 + else 'equal' if lower == upper == 0 else 'unresolved') + return {'schema': 'integer-mult-recursive-power-comparison/v1', 'contract': report['contract'], + 'exponent': str(exponent), 'bits': bits, 'classification': sign, + 'new_minus_old': {'lower': str(lower), 'upper': str(upper)}, 'terms': terms, + 'quantity': report['quantity'], + 'scope': 'Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, ' + 'compiler, applicability or kappa claim is verified. Unresolved is not equality.'} + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument('old'); parser.add_argument('new') + parser.add_argument('--exponent', required=True, help='exact fraction or decimal t in r^t') + parser.add_argument('--bits', type=int, default=128, help='dyadic grid bits, 16..256; default 128') + args = parser.parse_args(argv) + try: + exponent = parse_exponent(args.exponent) + old, old_pin = load_invoice(args.old); new, new_pin = load_invoice(args.new) + report = evaluate(old, new, exponent, args.bits) + report['inputs'] = {'old': old_pin, 'new': new_pin} + except (OSError, ValueError, TypeError, RecursionError, ZeroDivisionError) as exc: + print(json.dumps({'status': 'INVALID_POWER_COMPARISON', 'error': str(exc)}), file=sys.stderr) + return 2 + print(json.dumps(report, indent=2, sort_keys=True)) + return 0 + + +if __name__ == '__main__': + raise SystemExit(main()) diff --git a/research/ee251f60-composition/src/integer_grid_audit.py b/research/ee251f60-composition/src/integer_grid_audit.py new file mode 100644 index 0000000000..5ff09abf15 --- /dev/null +++ b/research/ee251f60-composition/src/integer_grid_audit.py @@ -0,0 +1,382 @@ +"""Separately written finite integer-row/CLEAR audit for explicit input files. + +The source check.py is neither imported nor changed. A caller chooses a common +grid; no candidate hash is an acceptance condition. This finite ideal audit is +not native column/phase, precision/tape, physical caller or supplier admission. +Apache-2.0; prepared with OpenAI Codex assistance. +""" + +import argparse +import collections +import functools +import gzip +import hashlib +import json +import math +from fractions import Fraction +from pathlib import Path + +DEFAULT_GRID = 10125 * (1 << 21) + + +class AuditFailure(ValueError): + def __init__(self, kind, details): + super().__init__(f"{kind}: {details}") + self.kind = kind + self.details = details + + +def need(condition, kind, details): + if not condition: + raise AuditFailure(kind, details) + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def sha(raw): + return hashlib.sha256(raw).hexdigest() + + +def exact_divide(numerator, denominator, context): + need(type(denominator) is int and denominator > 0, "DIVISOR_DOMAIN", context) + quotient, remainder = divmod(numerator, denominator) + need(remainder == 0, "NONEXACT_INTEGER_DIVISION", { + **context, "numerator": str(numerator), "denominator": str(denominator), "remainder": str(remainder)}) + return quotient + + +def frame_spans(frames): + need(isinstance(frames, list), "FRAME_DOMAIN", "frames list required") + result, cache = [], {} + for index, frame in enumerate(frames): + need(isinstance(frame, list), "FRAME_DOMAIN", {"frame": index}) + need(all(type(value) is int and 0 < value < 512 for value in frame), "FRAME_VECTOR_DOMAIN", {"frame": index}) + key = tuple(frame) + if key not in cache: + closed = {0} + for value in frame: + need(value not in closed, "FRAME_NOT_INDEPENDENT", {"frame": index, "vector": value}) + closed |= {value ^ other for other in closed} + cache[key] = frozenset(closed) + result.append(cache[key]) + return result + + +def intended_rows(word, grid): + """Direct forward target formula, independently encoded as integer rows.""" + public = word["public"] + live, hosted = word.get("live"), word.get("hosted") + need(isinstance(live, list) and isinstance(hosted, dict), "TARGET_HEADER", "live and hosted required") + dports, xs, ys = hosted.get("Dports"), hosted.get("X2"), hosted.get("Y2") + need(isinstance(dports, list) and isinstance(xs, list) and isinstance(ys, list) and len(xs) == len(ys), + "TARGET_HEADER", "Dports/X2/Y2 required") + need(all(type(index) is int and 0 <= index < len(live) for index in dports), "TARGET_HEADER", "Dports index") + need(all(type(field) is int and 0 <= field < public and field + 112 < public for field in live), + "TARGET_HEADER", "live pair outside public domain") + need(all(type(field) is int and 0 <= field < public for field in xs + ys), "TARGET_HEADER", "hosted field") + dports = set(dports) + pairs = [(field, field + 112, index in dports) for index, field in enumerate(live)] + used = [field for first, second, _ in pairs for field in (first, second)] + xs + ys + need(len(used) == len(set(used)), "TARGET_HEADER", "target blocks must be disjoint") + rows = [{field: grid} for field in range(public)] + for first, second, is_d in pairs: + if is_d: + rows[first], rows[second] = {first: grid}, {first: grid, second: grid} + else: + half = exact_divide(grid, 2, {"phase": "intended target"}) + rows[first], rows[second] = {first: grid, second: -grid}, {first: half, second: half} + for first, second in zip(xs, ys, strict=True): + rows[first], rows[second] = {first: grid, second: -grid}, {second: grid} + return rows + + +def audit_word(word, certificates, grid=DEFAULT_GRID, header_reference=None): + """One forward integer program pass: legality, endpoint and every CLEAR. + + CLEAR certificate sources may be any other live public or owned fields, + at any chart, exactly as the read #7620-rule implementation. Certificate + denominators are cleared for the whole sum; no extra per-term grid gate. + """ + need(type(grid) is int and grid > 0, "GRID_DOMAIN", "positive common denominator required") + need(isinstance(word, dict), "WORD_DOMAIN", "word object required") + public, owned = word.get("public"), word.get("owned_fields") + need(type(public) is int and public > 0 and type(owned) is int and owned >= 0, "STATE_DOMAIN", "public/owned_fields") + count = public + owned + program, frames = word.get("program"), word.get("frames") + need(isinstance(program, list), "PROGRAM_DOMAIN", "program list required") + spans = frame_spans(frames) + initial, final = word.get("initial"), word.get("final") + need(isinstance(initial, list) and isinstance(final, list) and len(initial) == len(final) == public, + "CHART_DOMAIN", "complete public initial/final charts required") + + def chart_ok(chart): + return type(chart) is int and 0 <= chart < len(spans) + + need(all(chart_ok(chart) for chart in initial + final), "CHART_DOMAIN", "header chart outside frames") + header_matches = None + if header_reference is not None: + need(isinstance(header_reference, dict), "HEADER_REFERENCE_DOMAIN", "header object or word required") + header_matches = ({key: value for key, value in word.items() if key != "program"} + == {key: value for key, value in header_reference.items() if key != "program"}) + need(header_matches, "HEADER_REFERENCE_MISMATCH", "all non-program header fields must match the explicit reference") + need(isinstance(certificates, dict) and isinstance(certificates.get("clear_event_index"), dict), + "CERTIFICATE_DOMAIN", "clear_event_index mapping required") + raw_certs = certificates["clear_event_index"] + parsed_certs, scalar_cache = {}, {} + literal_denominators_smooth, certificate_denominator_lcm = True, 1 + + def scalar(raw, context): + need(type(raw) in (str, int), "SCALAR_DOMAIN", context) + key = type(raw).__name__, raw + if key not in scalar_cache: + try: + value = Fraction(raw) + except (ValueError, ZeroDivisionError) as error: + raise AuditFailure("SCALAR_DOMAIN", context) from error + scalar_cache[key] = value.numerator, value.denominator + return scalar_cache[key] + + for key, certificate in raw_certs.items(): + need(isinstance(key, str) and key.isdecimal() and str(int(key)) == key, + "CERTIFICATE_EVENT_DOMAIN", {"key": str(key)}) + event = int(key) + need(0 <= event < len(program) and isinstance(program[event], list) and program[event] + and program[event][0] == "CLEAR", "CERTIFICATE_EVENT_DOMAIN", {"event": event}) + need(isinstance(certificate, dict), "CERTIFICATE_DOMAIN", {"event": event}) + terms = {} + for source, coefficient in certificate.items(): + need(isinstance(source, str) and source.isdecimal() and str(int(source)) == source, + "CERTIFICATE_SOURCE_DOMAIN", {"event": event, "source": str(source)}) + field = int(source) + need(0 <= field < count, "CERTIFICATE_SOURCE_DOMAIN", {"event": event, "source": field}) + terms[field] = scalar(coefficient, {"phase": "certificate", "event": event, "source": field}) + parsed_certs[event] = terms + rows = [{field: grid} if field < public else {} for field in range(count)] + current = list(initial) + [None] * owned + alive, init_chart, labels = set(), {}, set() + lifetimes, opcode_counts, public_ranks = collections.Counter(), collections.Counter(), collections.Counter() + peak, seen, word_divisions = 0, 0, 0 + certificate_divisions, certificate_terms, owned_certificate_terms = 0, 0, 0 + zero_clears, zero_with_nonempty_certificate, largest_certificate = 0, 0, 0 + row_denominator_gcd, max_scaled_bits, max_reduced_numerator_bits = grid, 0, 0 + + @functools.lru_cache(maxsize=65536) + def coefficient_signature(value): + divisor = math.gcd(value, grid) + numerator = exact_divide(value, divisor, {"phase": "row statistic"}) + return numerator.bit_length(), divisor + + def note(value): + nonlocal row_denominator_gcd, max_scaled_bits, max_reduced_numerator_bits + if value: + absolute = abs(value) + numerator_bits, divisor = coefficient_signature(absolute) + row_denominator_gcd = math.gcd(row_denominator_gcd, divisor) + max_scaled_bits = max(max_scaled_bits, absolute.bit_length()) + max_reduced_numerator_bits = max(max_reduced_numerator_bits, numerator_bits) + + def multiplied(value, numerator, denominator, event, column): + nonlocal word_divisions + product = value * numerator + if denominator == 1: + return product + word_divisions += 1 + return exact_divide(product, denominator, {"phase": "program scalar", "event": event, "input_column": column}) + + for index, event in enumerate(program): + need(isinstance(event, list) and len(event) >= 2, "EVENT_SHAPE", {"event": index}) + op, field = event[:2] + need(type(field) is int and 0 <= field < count, "REGISTER_DOMAIN", {"event": index}) + need(op in ("MOVE", "INIT", "CLEAR", "ADD", "COPY", "SCALE"), "UNKNOWN_OPCODE", {"event": index, "op": op}) + opcode_counts[op] += 1 + if op == "INIT": + need(len(event) == 3 and field >= public and field not in alive and chart_ok(event[2]), + "INIT_LEGALITY", {"event": index, "field": field}) + alive.add(field) + rows[field], current[field], init_chart[field] = {}, event[2], event[2] + labels.add(field) + peak = max(peak, len(alive)) + elif op == "CLEAR": + need(len(event) == 3 and field >= public and field in alive and chart_ok(event[2]) and current[field] == event[2], + "CLEAR_LEGALITY", {"event": index, "field": field}) + need(index in parsed_certs, "MISSING_CLEAR_CERTIFICATE", {"event": index, "field": field}) + terms = parsed_certs[index] + need(all(source != field and (source < public or source in alive) for source in terms), + "CERTIFICATE_SOURCE_NOT_OTHER_LIVE", {"event": index, "field": field}) + denominator = 1 + for _, term_denominator in terms.values(): + denominator = exact_divide(denominator * term_denominator, math.gcd(denominator, term_denominator), + {"phase": "certificate lcm", "event": index}) + certificate_divisions += 1 + certificate_denominator_lcm = exact_divide(certificate_denominator_lcm * denominator, + math.gcd(certificate_denominator_lcm, denominator), {"phase": "certificate global lcm", "event": index}) + certificate_divisions += 1 + combined = {} + for source, (numerator, term_denominator) in terms.items(): + factor = numerator * exact_divide(denominator, term_denominator, + {"phase": "certificate denominator clearing", "event": index}) + certificate_divisions += 1 + for column, value in rows[source].items(): + total = combined.get(column, 0) + factor * value + if total: + combined[column] = total + else: + combined.pop(column, None) + wanted = {column: denominator * value for column, value in rows[field].items()} + need(combined == wanted, "CLEAR_CERTIFICATE_EQUALITY", {"event": index, "field": field, + "first_differing_input": next((column for column in sorted(set(combined) | set(wanted)) + if combined.get(column, 0) != wanted.get(column, 0)), None)}) + seen += 1 + certificate_terms += len(terms) + owned_certificate_terms += sum(source >= public for source in terms) + largest_certificate = max(largest_certificate, len(terms)) + zero_clears += not bool(rows[field]) + zero_with_nonempty_certificate += not bool(rows[field]) and bool(terms) + lifetimes[(field, init_chart.pop(field), event[2])] += 1 + alive.remove(field) + rows[field], current[field] = {}, None + elif op == "MOVE": + need(len(event) == 5 and chart_ok(event[2]) and chart_ok(event[3]) + and type(event[4]) is bool and event[4] == (field >= public) + and current[field] == event[2] and (field < public or field in alive), + "MOVE_LEGALITY", {"event": index, "field": field}) + before, after = event[2:4] + if field < public: + need(spans[before] < spans[after], "PUBLIC_MOVE_NOT_ASCENT", {"event": index}) + public_ranks[len(frames[after]) - len(frames[before])] += 1 + else: + need(spans[before] < spans[after] or spans[after] < spans[before], + "OWNED_MOVE_NOT_NESTED", {"event": index}) + current[field] = after + else: + wanted_length = 4 if op == "SCALE" else 5 + need(len(event) == wanted_length, "EVENT_SHAPE", {"event": index, "op": op}) + chart = event[-1] + need(chart_ok(chart) and current[field] == chart and (field < public or field in alive), + "ARITHMETIC_TARGET_NOT_LIVE_AT_CHART", {"event": index, "field": field}) + numerator, denominator = scalar(event[2] if op == "SCALE" else event[3], {"phase": "literal", "event": index}) + need(numerator != 0, "ZERO_LITERAL_COEFFICIENT", {"event": index}) + residue = denominator + for prime in (2, 3, 5): + while residue % prime == 0: + residue = exact_divide(residue, prime, {"phase": "literal smoothness", "event": index}) + literal_denominators_smooth = literal_denominators_smooth and residue == 1 + if op == "SCALE": + rows[field] = {column: multiplied(value, numerator, denominator, index, column) + for column, value in rows[field].items()} + for value in rows[field].values(): + note(value) + else: + source = event[2] + need(type(source) is int and 0 <= source < count and source != field + and current[source] == chart and (source < public or source in alive), + "ARITHMETIC_SOURCE_NOT_OTHER_LIVE_AT_CHART", {"event": index, "source": source}) + need(op != "COPY" or not rows[field], "COPY_TARGET_NOT_ZERO", {"event": index, "field": field}) + for column, value in rows[source].items(): + total = rows[field].get(column, 0) + multiplied(value, numerator, denominator, index, column) + if total: + rows[field][column] = total + note(total) + else: + rows[field].pop(column, None) + need(seen == len(parsed_certs), "UNUSED_CLEAR_CERTIFICATE", {"seen": seen, "provided": len(parsed_certs)}) + need(not alive and not init_chart and all(value is None for value in current[public:]), + "UNCLOSED_OWNED_LIFETIME", {"alive": sorted(alive)}) + need(current[:public] == final, "FINAL_CHART_MISMATCH", "public endpoints") + need(all(not row for row in rows[public:]), "OWNED_ENDPOINT_NOT_EMPTY", "owned endpoints") + intended = intended_rows(word, grid) + differing = [field for field in range(public) if rows[field] != intended[field]] + need(not differing, "INTENDED_OPERATOR_MISMATCH", {"first_public_rows": differing[:8]}) + denominator_lcm = exact_divide(grid, row_denominator_gcd, {"phase": "observed grid lcm"}) + two_exponent = (denominator_lcm & -denominator_lcm).bit_length() - 1 + odd_lcm = exact_divide(denominator_lcm, 1 << two_exponent, {"phase": "observed odd grid"}) + return {"status": "PASS_FINITE_INTEGER_ROWS_AND_CLEAR_RELATIONS", "public": public, "owned_fields": owned, + "events": len(program), "opcodes": dict(opcode_counts), "single_forward_program_pass": True, + "header_matches_reference": header_matches, "header_reference_program_replayed": False, + "grid_denominator_supplied": grid, "all_program_scalar_divisions_exact": True, + "nontrivial_program_term_divisions_checked": word_divisions, + "certificate_denominator_divisions_checked": certificate_divisions, + "observed_row_denominator_lcm": denominator_lcm, "observed_max_den_exp": two_exponent, + "observed_odd_denominator_lcm": odd_lcm, "max_reduced_numerator_bits": max_reduced_numerator_bits, + "max_scaled_integer_bits": max_scaled_bits, "literal_denominators_5_smooth": literal_denominators_smooth, + "clear_certificates": seen, "certificate_terms": certificate_terms, + "live_owned_certificate_terms": owned_certificate_terms, + "certificate_coefficient_denominator_lcm": certificate_denominator_lcm, + "largest_certificate": largest_certificate, "zero_clear_rows": zero_clears, + "zero_rows_with_nonempty_valid_certificate": zero_with_nonempty_certificate, + "certificate_rule": "Exact equality with other live public/owned rows; source charts need not coincide", + "owned_lifetimes": sum(lifetimes.values()), "owned_peak": peak, "owned_labels_used": len(labels), + "owned_lifetime_profile": [{"field": field, "initial_chart": begin, "clear_chart": end, "count": value} + for (field, begin, end), value in sorted(lifetimes.items())], + "public_ascent_ranks": dict(public_ranks), "intended_A_matches": True, + "integer_endpoint_rows_sha256": sha(canonical(rows)), + "scope": "Finite ideal scalar/operator/CLEAR evidence only; not precision/tape/native-column/phase/physical/cost/provider admission"} + + +def _unique_object(pairs): + result = {} + for key, value in pairs: + need(key not in result, "DUPLICATE_JSON_KEY", str(key)) + result[key] = value + return result + + +def read_json(path): + raw = Path(path).read_bytes() + payload = gzip.decompress(raw) if raw.startswith(b"\x1f\x8b") else raw + return json.loads(payload, object_pairs_hook=_unique_object), raw + + +def run_audit(word_path, certificate_path, header_path, out, grid=DEFAULT_GRID, source_pins_path=None): + out = Path(out) + need(not out.exists(), "OUTPUT_EXISTS", "new output directory required") + word, word_raw = read_json(word_path) + certs, cert_raw = read_json(certificate_path) + header, header_raw = read_json(header_path) + bindings = {"word": {"name": Path(word_path).name, "file_sha256": sha(word_raw), "canonical_sha256": sha(canonical(word))}, + "clear_certificates": {"name": Path(certificate_path).name, "file_sha256": sha(cert_raw)}, + "header_reference_only": {"name": Path(header_path).name, "file_sha256": sha(header_raw), "program_replayed": False}, + "our_separately_written_audit": {"name": Path(__file__).name, "file_sha256": sha(Path(__file__).read_bytes()), + "role": "Our integer interpreter; source check.py not imported or executed"}} + if source_pins_path is not None: + pins, pins_raw = read_json(source_pins_path) + by_hash = collections.defaultdict(list) + for item in pins.get("files", []): + by_hash[item["sha256"]].append(item["path"]) + bindings["optional_source_manifest"] = {"name": Path(source_pins_path).name, "file_sha256": sha(pins_raw), + "reported_head": pins.get("head"), "source_pr": pins.get("source_pr"), + "word_hash_listed_as": by_hash.get(sha(word_raw), []), "certificate_hash_listed_as": by_hash.get(sha(cert_raw), []), + "scope": "Provenance identification only; no fixed source hash is a finite audit acceptance condition"} + try: + report = audit_word(word, certs, grid, header) + except AuditFailure as error: + report = {"status": "REJECTED_FINITE_INTEGER_AUDIT", "kind": error.kind, "details": error.details, + "scope": "This input/grid/protocol rejection only; no global framework impossibility claim"} + report["source_bindings"] = bindings + out.mkdir(parents=True) + (out / "AUDIT.json").write_text(json.dumps(report, sort_keys=True, indent=2) + "\n", encoding="utf-8") + return report + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--word", type=Path, required=True) + parser.add_argument("--certificates", type=Path, required=True) + parser.add_argument("--header-reference", type=Path, required=True) + parser.add_argument("--grid", type=int, default=DEFAULT_GRID) + parser.add_argument("--source-pins", type=Path) + parser.add_argument("--out", type=Path, required=True) + args = parser.parse_args(argv) + try: + report = run_audit(args.word, args.certificates, args.header_reference, args.out, args.grid, args.source_pins) + except (AuditFailure, ValueError, TypeError, KeyError, OSError) as error: + print(json.dumps({"status": "INPUT_ERROR", "error": str(error)}, sort_keys=True)) + return 2 + print(json.dumps(report, sort_keys=True)) + return 0 if report["status"] == "PASS_FINITE_INTEGER_ROWS_AND_CLEAR_RELATIONS" else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/research/ee251f60-composition/src/ordinary_tape_audit.py b/research/ee251f60-composition/src/ordinary_tape_audit.py new file mode 100644 index 0000000000..3040baf266 --- /dev/null +++ b/research/ee251f60-composition/src/ordinary_tape_audit.py @@ -0,0 +1,381 @@ +"""Parameterized ordinary and finite-count substitutions, not admission. + +Uses pinned #7113 owning ordinary/signed calculation blocks only. No author +main, native endpoint, caller polynomial, bundle or historical replay runs. +Rohan Arun/OpenAI predecessor attribution is retained in vendor7113_ordinary. +New adapter: Apache-2.0, prepared with OpenAI Codex assistance. +""" + +import argparse +import ast +import collections +import copy +import gzip +import hashlib +import json +import sys +from fractions import Fraction as Q +from pathlib import Path + +SOURCE_COMMIT = "07a76c5e2738882c0cb322278e56f6cae3c9885d" +DEFAULT_SOURCE = Path(__file__).resolve().parent / "vendor7113_ordinary" + + +def need(condition, message): + if not condition: + raise ValueError(message) + + +def digest(data): + return hashlib.sha256(data).hexdigest() + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def read_json(path): + raw = path.read_bytes() + return json.loads(gzip.decompress(raw) if raw[:2] == b"\x1f\x8b" else raw), raw + + +def rational(value): + need(type(value) in (str, int), "coefficient must be exact integer/rational text") + return Q(value) + + +def load_sources(folder): + pins, pin_bytes = read_json(folder / "SOURCE-PINS.json") + need(pins["source_commit"] == SOURCE_COMMIT, "unexpected owning source version") + sources = {} + for item in pins["files"]: + name = item["name"] + need(Path(name).name == name, "source pin must be a direct member") + raw = (folder / name).read_bytes() + blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() + need(len(raw) == item["bytes"] and digest(raw) == item["sha256"] and blob == item["git_blob"], + "owning source bytes differ: " + name) + sources[name] = raw.decode("utf-8") + return sources, {"commit": SOURCE_COMMIT, "pins_sha256": digest(pin_bytes), "files": pins["files"], + "scope": "Source identification only; no candidate hash or census acceptance gate."} + + +def ordinary_function(sources, signed=False): + original = sources["independent.py"] + tree = ast.parse(original) + definitions = [node for node in tree.body if isinstance(node, ast.FunctionDef) and node.name == "ordinary"] + need(len(definitions) == 1, "one owning ordinary definition required") + text = ast.get_source_segment(original, definitions[0]) + owner = ast.parse(sources["check_odd_partial_admission.py"]) + edits = [] + for node in ast.walk(owner): + if not (isinstance(node, ast.Call) and isinstance(node.func, ast.Attribute) + and node.func.attr == "replace" and len(node.args) >= 2 + and all(isinstance(a, ast.Constant) and isinstance(a.value, str) for a in node.args[:2])): + continue + before, after = (a.value for a in node.args[:2]) + if before not in text or (not signed and before != "calls=18;"): + continue + need(text.count(before) == 1, "ambiguous owning ordinary adaptation") + text = text.replace(before, after) + edits.append({"before": before, "after": after}) + need(len(edits) == (3 if signed else 1), "owning stage/fused-route adaptation changed") + # Only this calculation function is compiled, never the source main or + # its heavyweight native()/caller()/invoices() entry points. + namespace = {"F": Q, "Counter": collections.Counter} + exec(compile(text, "pinned7113:ordinary", "exec"), namespace) # noqa: S102 -- pinned ordinary function only + return namespace["ordinary"], {"calculation_sha256": digest(text.encode()), "edits": edits} + + +def signed_surcharges(sources, caller, ordinary, caller_odd_scale=None): + tree = ast.parse(sources["check_odd_partial_admission.py"]) + + def target(node, variable, key=None): + if not isinstance(node, ast.Assign) or len(node.targets) != 1: + return False + value = node.targets[0] + if key is None: + return isinstance(value, ast.Name) and value.id == variable + return (isinstance(value, ast.Subscript) and isinstance(value.value, ast.Name) + and value.value.id == variable and isinstance(value.slice, ast.Constant) and value.slice.value == key) + + start = next(i for i, node in enumerate(tree.body) if target(node, "surcharge")) + key = "margin_to_billion" if caller_odd_scale is not None else "all_caller_scalar_surcharge" + stop = next(i for i, node in enumerate(tree.body[start:], start) if target(node, "ordinary", key)) + 1 + nodes = ast.Module(body=tree.body[start:stop], type_ignores=[]) + namespace = {"Q": Q, "C": caller, "ordinary": copy.deepcopy(ordinary), + "odd_grid": {"caller_odd_scale": caller_odd_scale}} + try: + exec(compile(nodes, "pinned7113:signed-surcharges", "exec"), namespace) # noqa: S102 -- pinned calculation AST only + except AssertionError as error: + raise ValueError("caller scalar is outside the owning signed-surcharge recipe") from error + result = namespace["ordinary"] + if caller_odd_scale is None: + known = result.pop("conservative_total") + result["all_caller_scalar_surcharge"] + result.pop("margin_to_billion") + result["known_total_excluding_pending_odd_conversions"] = known + result["charged_caller_odd_conversions"] = None + return result, {"calculation_sha256": digest(ast.unparse(nodes).encode()), + "caller_odd_conversions_complete": caller_odd_scale is not None} + + +def validate_caller(caller): + need(type(caller["stages"]) is int and caller["stages"] > 0, "positive caller stages required") + need(type(caller["roles"]) is int and caller["roles"] > 0 and {"A", "B"} <= caller["types"].keys(), + "caller roles and A/B types required") + for kind in caller["types"].values(): + need(type(kind["roles"]) is int and kind["roles"] > 0 and len(kind["diagonal"]) == kind["roles"], + "caller role/diagonal count mismatch") + need(type(kind["offset"]) is int and 0 <= kind["offset"] <= caller["roles"] - kind["roles"], + "caller type offset outside roles") + need(len(kind["ports"]) == len(set(kind["ports"])) and all(type(p) is int and p >= 0 for p in kind["ports"]), + "invalid caller ports") + need(all(len(d) >= 2 and all(type(v) is int for v in d) for d in kind["diagonal"]), "invalid caller diagonal") + stages = [] + lengths = {"ADD": 5, "SCALE": 4, "SWAP": 4, "QUERY": 5, "LAMBDA": 4, "IDLE_ONE": 4, "IDLE_ODD": 5} + for event in caller["events"]: + if event[0] == "J": + need(len(event) == 4 and type(event[1]) is int, "malformed J event") + stages.append(event[1]) + continue + need(event[0] in caller["types"] and event[1] in lengths and len(event) == lengths[event[1]], + "unsupported caller event") + need(type(event[2]) is int and 0 <= event[2] < caller["roles"], "caller target outside roles") + if event[1] in ("ADD", "SCALE"): + need(rational(event[-1]) != 0, "zero caller scalar") + if event[1] in ("IDLE_ONE", "IDLE_ODD"): + need(event[3] and len(event[3]) == len(set(event[3])) and + all(type(s) is int and 1 <= s <= caller["stages"] for s in event[3]), "invalid idle stages") + need(sorted(stages) == list(range(1, caller["stages"] + 1)), "one chronological native occurrence per caller stage required") + + +def native_inventory(word): + n, banks = word["public"], word["owned_fields"] + need(type(n) is int and n > 0 and type(banks) is int and banks >= 0 and + len(word["initial"]) == len(word["final"]) == n, "invalid native field metadata") + spans = [] + for frame in word["frames"]: + span = {0} + for vector in frame: + need(type(vector) is int and 0 < vector < 512 and vector not in span, "invalid F2^9 frame basis") + span |= {a ^ vector for a in span} + spans.append(span) + dimensions = [len(frame) for frame in word["frames"]] + need(all(type(c) is int and 0 <= c < len(spans) for c in word["initial"] + word["final"]), "invalid native chart") + live, charts = set(range(n)), list(word["initial"]) + [None] * banks + paid, rises, opcodes = collections.Counter(), collections.Counter(), collections.Counter() + peak = lifetimes = 0 + for event in word["program"]: + op, r = event[:2] + need(type(r) is int and 0 <= r < n + banks, "native field outside reserved stock") + opcodes[op] += 1 + if op == "INIT": + need(r >= n and r not in live and len(event) == 3 and 0 <= event[2] < len(spans), "invalid INIT") + live.add(r) + charts[r] = event[2] + lifetimes += 1 + peak = max(peak, len(live) - n) + elif op == "CLEAR": + need(r >= n and r in live and charts[r] == event[2], "invalid CLEAR") + live.remove(r) + charts[r] = None + elif op == "MOVE": + _, _, a, b, owner = event + need(type(a) is int and type(b) is int and 0 <= a < len(spans) and 0 <= b < len(spans), "invalid MOVE chart") + need(r in live and charts[r] == a and owner == (r >= n), "invalid MOVE owner/source") + need((spans[a] < spans[b]) or (owner and spans[b] < spans[a]), "non-nested native MOVE") + rank = abs(dimensions[b] - dimensions[a]) + paid[rank] += 1 + if owner and dimensions[b] > dimensions[a]: + rises[rank] += 1 + charts[r] = b + elif op in ("ADD", "COPY", "SCALE"): + need(r in live and charts[r] == event[-1], "invalid native arithmetic target") + need(rational(event[2] if op == "SCALE" else event[3]) != 0, "zero native scalar") + if op != "SCALE": + need(event[2] in live and r != event[2] and charts[event[2]] == event[-1], "invalid native arithmetic source") + else: + raise ValueError("unsupported native opcode: " + str(op)) + need(live == set(range(n)) and charts[:n] == word["final"], "native final live/charts mismatch") + mains = set(word["live"]) | {x + 112 for x in word["live"]} | set(word["hosted"]["X2"]) | set(word["hosted"]["Y2"]) + need(all(type(r) is int and 0 <= r < n for r in mains), "native main label outside public fields") + helpers = collections.Counter() + for r in set(range(n)) - mains: + need(spans[word["initial"][r]] < spans[word["final"][r]], "nonproductive declared helper") + helpers[dimensions[word["final"][r]] - dimensions[word["initial"][r]]] += 1 + return {"public": n, "events": len(word["program"]), "paid": dict(paid), "helpers": dict(helpers), + "rises": dict(rises), "lifetimes": lifetimes, "owned_peak": peak, "owned_fields": banks, + "opcodes": dict(opcodes), "endpoint_checked": False, "CLEAR_relations_checked": False} + + +def histogram(value): + result = {} + for key, count in value.items(): + need(str(int(key)) == str(key) and int(key) > 0 and type(count) is int and count >= 0, "invalid invoice histogram") + if count: + result[int(key)] = count + return result + + +def invoice_counts(caller, native): + paid, targets = collections.Counter(), collections.Counter() + for event in caller["events"]: + if event[0] == "J": + paid.update(native["paid"]) + targets.update(native["helpers"]) + else: + ports = len(caller["types"][event[0]]["ports"]) + if event[1] == "QUERY": + paid[1] += ports + elif event[1] in ("IDLE_ONE", "IDLE_ODD"): + paid[8 * len(event[3]) + (event[1] == "IDLE_ODD")] += ports + for kind in caller["types"].values(): + for diagonal in kind["diagonal"]: + targets[diagonal[0] % 2 + 8 * sum(diagonal[2:])] += len(kind["ports"]) + empty = targets.pop(0, 0) + return {r: count for r, count in paid.items() if count}, {r: count for r, count in targets.items() if count}, empty + + +def receipt_member(packet, name): + return packet["checks"][name] if "checks" in packet else packet + + +def caller_grid_scale(packet, caller_sha): + if packet is None: + return None + record = receipt_member(packet, "ODD-CALLER-EXACT-GRID.json") + need(record["caller_sha256"] == caller_sha, "caller-grid receipt does not bind this caller's bytes") + scale = int(record["caller_odd_scale"]) + need(scale > 0 and scale % 2 == 1, "positive odd caller scale required") + return scale + + +def native_grid_scale(packet, word_sha): + if packet is None: + return None + recorded = packet.get("candidate_canonical_sha256", packet.get("word_canonical_sha256")) + need(recorded == word_sha, "native-grid receipt does not bind this WORD") + if "grid" in packet: + scale = int(packet["grid"]["odd_den"]) + else: + scale = int(packet["native_grid"]["odd_scale_lcm"]) + need(scale > 0 and scale % 2 == 1, "positive odd native scale required") + return scale + + +def finite_counts(word, caller, invoice, native_odd=None, caller_odd=None, binding=None, word_sha=None, caller_sha=None): + calls = caller["stages"] + nonmove = sum(e[0] != "MOVE" for e in word["program"]) + macros = sum(len(caller["types"][e[0]]["ports"]) for e in caller["events"] if e[0] != "J") + conversions = 2 * calls * word["public"] + 2 * sum(t["roles"] * len(t["ports"]) for t in caller["types"].values()) + coefficients = [rational(e[2] if e[0] == "SCALE" else e[3]) for e in word["program"] if e[0] in ("ADD", "COPY", "SCALE")] + coefficients += [rational(e[-1]) for e in caller["events"] if e[0] != "J" and e[1] in ("ADD", "SCALE")] + def smooth(value): + for prime_factor in (2, 3, 5): + while value % prime_factor == 0: + value //= prime_factor + return value == 1 + + native_literals = [(e[0], rational(e[2] if e[0] == "SCALE" else e[3])) + for e in word["program"] if e[0] in ("ADD", "COPY", "SCALE")] + for value in (native_odd, caller_odd): + if value is not None: + coefficients.extend([Q(value), Q(1, value)]) + literal_bits = max((abs(q.numerator).bit_length() for q in coefficients), default=0) + result = {"native_nonMOVE_per_call": nonmove, "native_instances": calls * nonmove, + "caller_macros": macros, "conversions": conversions, + "scalar_services_arithmetic_at_constant32": 32 * (calls * nonmove + macros + conversions), + "constant32_applicability": "PENDING", "precision_context": "PENDING", + "max_literal_scalar_numerator_bits": literal_bits, + "literal_bit_bound24_complete": native_odd is not None and caller_odd is not None, + "literal_bit_bound24_holds_if_complete": literal_bits <= 24 if native_odd is not None and caller_odd is not None else None, + "native_odd_scale": native_odd, "caller_odd_scale": caller_odd, + "observed_original_native_scalar_conditions": { + "abs_coefficient_plus1_lt_2pow16": all(abs(q) + 1 < 2**16 for _, q in native_literals), + "denominators_235_smooth": all(smooth(q.denominator) for _, q in native_literals), + "SCALE_numerators_235_smooth": all(smooth(abs(q.numerator)) for op, q in native_literals if op == "SCALE"), + "scope": "Observed owning-source scalar conditions, not complete model admission or a new acceptance gate."}, + "map_count": None, + "scope": "Exact substitutions in declared finite-count formulas. Constant32, context c/H/Kstar, rounded bounds, physical binding, and all proof applicability remain pending. Literal bits are not row-numerator bits."} + if binding is not None: + record = receipt_member(binding, "ODD-PHYSICAL-BINDING.json") + need(record["native_sha256"] == word_sha and record["caller_sha256"] == caller_sha, "binding receipt input mismatch") + b = record["occurrence_and_geometry"] + need(b["native_calls"] == calls and b["paid_positions"] == sum(histogram(invoice["paid"]).values()) and + b["productive_fields"] == sum(histogram(invoice["targets"]).values()), "binding/invoice count mismatch") + idle = sum(len(caller["types"][e[0]]["ports"]) for e in caller["events"] if e[:2] == ["B", "IDLE_ODD"]) + slots = 2 * b["paid_positions"] + 2 * b["productive_fields"] + b["native_contact_boundaries"] + slots += 2 * b["idle_uses"] + 3 * b["query_uses"] + b["lambda_uses"] + idle + records = 4 * (b["ambient"] + 1) ** 2 + result["map_count"] = {"map_slots": slots, "records_per_map": records, "elementary_records": slots * records, + "scope": "Bound-receipt arithmetic only; receipt validity and compiler applicability not independently proved."} + return result + + +def audit(word, invoice, caller, sources, caller_sha, caller_grid=None, native_grid=None, binding=None): + validate_caller(caller) + need(invoice["schema"] == "integer-mult-recursive-invoice/v1", "wrong invoice schema") + declared_paid, declared_targets = histogram(invoice["paid"]), histogram(invoice["targets"]) + native = native_inventory(word) + reconstructed_paid, reconstructed_targets, empty = invoice_counts(caller, native) + matched = reconstructed_paid == declared_paid and reconstructed_targets == declared_targets + raw_fn, raw_code = ordinary_function(sources, signed=False) + signed_fn, signed_code = ordinary_function(sources, signed=True) + raw = raw_fn(word, caller, native) + signed_base = signed_fn(word, caller, native) + caller_odd = caller_grid_scale(caller_grid, caller_sha) + word_sha = digest(canonical(word)) + native_odd = native_grid_scale(native_grid, word_sha) + signed, surcharge_code = signed_surcharges(sources, caller, signed_base, caller_odd) + return {"status": "ACCOUNTING_SUBSTITUTION_ONLY" if matched else "ACCOUNTING_SUBSTITUTION_INVOICE_MISMATCH", + "candidate_canonical_sha256": word_sha, "native_inventory_counts_only": native, + "invoice_match": matched, "reconstructed_paid": reconstructed_paid, "reconstructed_targets": reconstructed_targets, + "empty_root_target_count": empty, "caller_stages": caller["stages"], + "raw_ordinary_at_caller_stages": raw, "signed_source_unit_ordinary": signed, + "calculation_blocks": {"raw": raw_code, "signed": signed_code, "surcharges": surcharge_code}, + "finite_counts": finite_counts(word, caller, invoice, native_odd, caller_odd, binding, word_sha, caller_sha), + "source_author_reference": {"source_pr": 7641, "reported_ordinary": 878834276, + "applies_to": "Original source #7641 only, not this arbitrary input candidate.", + "unitemized_512000_definition": "UNRESOLVED; not labeled an error or added to this bill."}, + "scope": "Parameterized source-formula accounting/counts only. No endpoint/CLEAR row replay, caller identity, new grid proof, constant32/precision/context, compiler/outer, physical or provider admission. Inherited conditions remain."} + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + for name in ("word", "invoice", "caller", "output"): + parser.add_argument("--" + name, type=Path, required=True) + parser.add_argument("--source-dir", type=Path, default=DEFAULT_SOURCE) + parser.add_argument("--caller-grid-receipt", type=Path) + parser.add_argument("--native-grid-receipt", type=Path) + parser.add_argument("--binding-receipt", type=Path) + args = parser.parse_args() + need(not args.output.exists(), "refuse accounting output overwrite") + sources, pins = load_sources(args.source_dir) + word, word_bytes = read_json(args.word) + invoice, invoice_bytes = read_json(args.invoice) + caller, caller_bytes = read_json(args.caller) + receipts, receipt_pins = {}, {} + for key in ("caller_grid_receipt", "native_grid_receipt", "binding_receipt"): + path = getattr(args, key) + if path is not None: + receipts[key], payload = read_json(path) + receipt_pins[key] = digest(payload) + result = audit(word, invoice, caller, sources, digest(caller_bytes), receipts.get("caller_grid_receipt"), + receipts.get("native_grid_receipt"), receipts.get("binding_receipt")) + result.update(source_identification=pins, word_file_sha256=digest(word_bytes), invoice_file_sha256=digest(invoice_bytes), + caller_file_sha256=digest(caller_bytes), receipt_file_sha256=receipt_pins) + with args.output.open("x", encoding="utf-8") as output: + json.dump(result, output, indent=2) + output.write("\n") + signed = result["signed_source_unit_ordinary"] + print(json.dumps({"status": result["status"], "invoice_match": result["invoice_match"], + "raw_ordinary": result["raw_ordinary_at_caller_stages"]["conservative_total"], + "signed_ordinary": signed.get("conservative_total"), "finite_context": "PENDING"}, sort_keys=True)) + + +if __name__ == "__main__": + try: + main() + except (OSError, ValueError, KeyError, TypeError, IndexError) as error: + print(json.dumps({"status": "ACCOUNTING_INPUT_INVALID", "error": str(error)}), file=sys.stderr) + raise SystemExit(2) from error