Mirror GitHub b99e460d3760
Browse filesFiles changed (10)
- GITHUB_README.md+1-1
- MANIFEST.json+16-16
- README.md+2-2
- SNAPSHOT.json+10-10
- docs/companion.json+36-36
- docs/report.en.md+16-16
- docs/report.zh.md+16-16
- docs/reproduction.md+2
- index.html+2-2
- scripts/render_reports.py+1-1
3 unmodified lines456789103 unmodified lines[Paper · arXiv:2611.24975](https://arxiv.org/abs/2611.24975) · [Technical report](https://dqswordman.github.io/technical-reports/program-structure-certificates/) · [中文伴读](https://dqswordman.github.io/zh/technical-reports/program-structure-certificates/) · [Interactive Space](https://huggingface.co/spaces/DQSWORDMAN/program-structure-certificates)A generator can use two string-replacement rules even when the displayed examples admit a one-rule solution. This artifact follows a matched pair of specifications through complete one-rule enumeration, executable two-rule witnesses, and the programs returned by language models.[Reproduction guide](docs/reproduction.md) · [Result map](docs/result-map.csv) · [Data provenance](DATA_PROVENANCE.md) · [Frozen artifact v1.0.0](https://github.com/dqswordman/program-structure-certificates/tree/v1.0.0)3 unmodified lines456789103 unmodified lines[Paper · arXiv:2611.24975](https://arxiv.org/abs/2611.24975) · [Technical report](https://dqswordman.github.io/technical-reports/program-structure-certificates/) · [中文伴读](https://dqswordman.github.io/zh/technical-reports/program-structure-certificates/) · [Interactive Space](https://huggingface.co/spaces/DQSWORDMAN/program-structure-certificates)Six demonstrations can be consistent with either a one-rule shortcut or a two-rule reference program. Change one example and test every legal single rule. This repository links that proof of minimum length to the programs two language models produced on the paired tasks and to their behavior on new strings.[Reproduction guide](docs/reproduction.md) · [Result map](docs/result-map.csv) · [Data provenance](DATA_PROVENANCE.md) · [Frozen artifact v1.0.0](https://github.com/dqswordman/program-structure-certificates/tree/v1.0.0)
14 unmodified lines15161718192021227 unmodified lines3031323334353637102 unmodified lines14014114214314414514614717 unmodified lines16516616716816917017117217317417517617717817918018118222 unmodified lines20520620720820921021121282 unmodified lines29529629729829930030130214 unmodified lines},{"path": "GITHUB_README.md","size_bytes": 3430,"sha256": "5d58fa73ea81a4a8bdec1892a43783d86439f95973aabfd52e6ff5dab48c3bf3"},{"path": "LICENSE",7 unmodified lines},{"path": "README.md","size_bytes": 1337,"sha256": "a26bbe7b397e2d5328857bb4122d6e215e372f7d9691de8121ffe631467dceb6"},{"path": "RELEASE_SCOPE.txt",102 unmodified lines},{"path": "docs/companion.json","size_bytes": 15203,"sha256": "dbf82ff83cc84d124fa844ad26f1c406a1fb77c0dbb179a220bdc797c3b1624e"},{"path": "docs/figures/construction.pdf",17 unmodified lines},{"path": "docs/report.en.md","size_bytes": 5955,"sha256": "24d127dbe6800d8416b5dd35a53b6487b0faebba1caadb2d6e29d81de221a4e7"},{"path": "docs/report.zh.md","size_bytes": 5633,"sha256": "d944b594e45668eae6b82b63de1e6e69b1831774b6c55fa7d47d88913b2331b3"},{"path": "docs/reproduction.md","size_bytes": 2195,"sha256": "fa83a6b38ffa6a677dab1ec01a0a9ba7aff394a10ff9da14f1159f2069f83bac"},{"path": "docs/reproduction_report.json",22 unmodified lines},{"path": "index.html","size_bytes": 4363,"sha256": "83eb2f50ff918ec1c88229d0c58cde76dc5b16776d8ac33323789a6da7930c8d"},{"path": "licenses/CC-BY-4.0.txt",82 unmodified lines},{"path": "scripts/render_reports.py","size_bytes": 2111,"sha256": "fa1a187dfedf43b0b8105aea1b6f914dfd9aba5ac04c6d3bf454146a85419bbc"},{"path": "style.css",14 unmodified lines15161718192021227 unmodified lines3031323334353637102 unmodified lines14014114214314414514614717 unmodified lines16516616716816917017117217317417517617717817918018118222 unmodified lines20520620720820921021121282 unmodified lines29529629729829930030130214 unmodified lines},{"path": "GITHUB_README.md","size_bytes": 3459,"sha256": "768c776f636724b48d38883a7f2731f2556531bb554567802a4604421a48d751"},{"path": "LICENSE",7 unmodified lines},{"path": "README.md","size_bytes": 1383,"sha256": "ddae9445a22a5f5e3781034d51d1b2bc7744ba094a202a37345acba5b15738fc"},{"path": "RELEASE_SCOPE.txt",102 unmodified lines},{"path": "docs/companion.json","size_bytes": 16752,"sha256": "66d8e28d1bb832a85302d8f516e14a903067c14f8938b46feefe5cb2dfdf8aaa"},{"path": "docs/figures/construction.pdf",17 unmodified lines},{"path": "docs/report.en.md","size_bytes": 6571,"sha256": "fe139384fb2974f72d4b943e268063a840c8ac73f4af8234adb19595f01b68a1"},{"path": "docs/report.zh.md","size_bytes": 6388,"sha256": "313131606ad9a650db531a4039a4bf342b79594934c7f74618810cb2155ba62a"},{"path": "docs/reproduction.md","size_bytes": 2393,"sha256": "fd6a2fb397084bd20fd670c6fecef54eeb9d976a1333413754b9a94848bc5299"},{"path": "docs/reproduction_report.json",22 unmodified lines},{"path": "index.html","size_bytes": 4495,"sha256": "1e069cefafcd420aac065885b8e3e3ddb8fa7e0b3e1d7c94e3d945d473293fa5"},{"path": "licenses/CC-BY-4.0.txt",82 unmodified lines},{"path": "scripts/render_reports.py","size_bytes": 2109,"sha256": "46139f9427ed42f2e4b1c81c77dfbc038318989c66798db587a844bc55b38055"},{"path": "style.css",
5 unmodified lines67891011125 unmodified lines181920212223245 unmodified linessdk: staticapp_file: index.htmllicense: othershort_description: Explore paired programs, certificates and model outcomestags:- program-synthesis- reproducibility5 unmodified linesWenzhang Du · arXiv:2611.24975Switch a single demonstration and inspect why the minimum solution grows from one rule to two. Explore eight archived model and base-count settings, with denominators and paired intervals drawn from the frozen CSVs.[Preprint](https://arxiv.org/abs/2611.24975) · [GitHub repository](https://github.com/dqswordman/program-structure-certificates) · [English report](https://dqswordman.github.io/technical-reports/program-structure-certificates/) · [中文伴读](https://dqswordman.github.io/zh/technical-reports/program-structure-certificates/) · [Offline release](https://github.com/dqswordman/program-structure-certificates/releases/tag/v1.0.0)5 unmodified lines67891011125 unmodified lines181920212223245 unmodified linessdk: staticapp_file: index.htmllicense: othershort_description: See when changing one example makes a second rule necessarytags:- program-synthesis- reproducibility5 unmodified linesWenzhang Du · arXiv:2611.24975Switch the sixth demonstration to see a one-rule shortcut fail. Then compare the two models on the displayed tasks, a hidden pair chosen to distinguish programs and new strings. The explorer includes paired intervals and the family count for each comparison.[Preprint](https://arxiv.org/abs/2611.24975) · [GitHub repository](https://github.com/dqswordman/program-structure-certificates) · [English report](https://dqswordman.github.io/technical-reports/program-structure-certificates/) · [中文伴读](https://dqswordman.github.io/zh/technical-reports/program-structure-certificates/) · [Offline release](https://github.com/dqswordman/program-structure-certificates/releases/tag/v1.0.0)
123454 unmodified lines1011121314151617181915 unmodified lines353637383940414243444546474849505152535411 unmodified lines66676869707172737475{"github_commit": "d93d44f53cec97dc81406c903fe5ffc58a3d50f7","github_repository": "https://github.com/dqswordman/program-structure-certificates","frozen_release": {"name": "program-structure-certificates-v1.0.0.zip",4 unmodified lines"sha256": {"CITATION.cff": "5aa5ff09c2ef73ffcc9ec991f9ef924e9406d16fe1b124a7f4c14e8fc1efd79a","DATA_PROVENANCE.md": "b0d2c322230982d5d289b12dedadc3eff4f0bf4396908ba117811b0c5923407f","GITHUB_README.md": "5d58fa73ea81a4a8bdec1892a43783d86439f95973aabfd52e6ff5dab48c3bf3","LICENSE": "020893b24fb2a5b62d2d2748f65e569e31ab7b8eeb831b5e64bb7a57e544c104","PUBLICATION.md": "2011e8cf78f537ef0f42257d0703e5ccf7927ec943b7f5153ca20f3d6470f476","README.md": "a26bbe7b397e2d5328857bb4122d6e215e372f7d9691de8121ffe631467dceb6","RELEASE_SCOPE.txt": "3701acb093ac3e9e9a348f9aa954d4a586d5c9defecc74a585aff430572ec6f1","code/canonical_readouts_v1.py": "793af7b98682cb57b5efc47b5b534e86ef90725f7c3269b4fc098d76778126a6","code/family_statistics.py": "2dd50ccb2d0e3819efa79e075573d8ce799ceb18011a9ba6229e0bc4bd095a83",15 unmodified lines"data/synthesis_instruction.txt": "4fb7efda45f0beb0978934612eeeca36e73da3d87f4977c17dd5f4d386318f11","data/trajectories.jsonl.gz": "6d9c9af078d6ec25bb8f1e95894ed07dbd879c2e3d77b7dc5afe0081cf57ed7d","docs/asset-manifest.csv": "99eff1d2a2930b2e6ed202c23c8884b7ccf308314437701ac65b51f28b0972c0","docs/companion.json": "dbf82ff83cc84d124fa844ad26f1c406a1fb77c0dbb179a220bdc797c3b1624e","docs/figures/construction.pdf": "1224ffa9a3dfa361a7661a9fea3763250414cf84380e6cb7dc4e0c211ac9396f","docs/figures/construction.png": "73c9776e67c7fdb2524682b4a4759aa2a319843c7a667b2429cad369799291e1","docs/maintenance.md": "0cd2ddf55a1cd2694e53c65dbb5d71260038a761e9316c169ff2abe9f6ab9be4","docs/release-manifest.json": "116d011a6508cd55eb58b5668823bbd7d79501c1834754973d3d9a6ed5877604","docs/report.en.md": "24d127dbe6800d8416b5dd35a53b6487b0faebba1caadb2d6e29d81de221a4e7","docs/report.zh.md": "d944b594e45668eae6b82b63de1e6e69b1831774b6c55fa7d47d88913b2331b3","docs/reproduction.md": "fa83a6b38ffa6a677dab1ec01a0a9ba7aff394a10ff9da14f1159f2069f83bac","docs/reproduction_report.json": "4aaac315cc92a9c0b51198d8fe7285243940155f0b61913d4b8951573a47711d","docs/result-map.csv": "ac8a29e02c895deddfd10c5fdb9192c420fb8c32fb7d07f39c5f0eecd9ff2351","explore.js": "4e7a3d712bf7a7747ac7dacefe2e19e69de14afcb4ae826de163bd7703ff7e9e","explorer.json": "29f6732ad3cc85e74378578b53bfdd1558de9a485349ec27dbbd1c4078676924","fixtures/end_to_end.json": "de641ad2106e9b1fdc9e64214f0938a20e02f230ba4db88291e9c6a60dda59cf","index.html": "83eb2f50ff918ec1c88229d0c58cde76dc5b16776d8ac33323789a6da7930c8d","licenses/CC-BY-4.0.txt": "9e5f1b3c610b9c2da5c313bf81d577a7d1acec686bdb0384edefa6df0f90cd94","licenses/PBEBench-MIT.txt": "7ee6673ea31294494031ee577102e866bcf6438280142f822f1497cd153543e1","program-structure-certificates-v1.0.0.zip": "e68af75e393e34668b2d196ea2659261f428dbaf1ad8e5556a7cec1288dc4515",11 unmodified lines"results/per_family_metrics.csv": "18e2ebd712fd2cebe6f7e766acc2d67707d29eebbf5a28ae00a0ed34aee008d6","scripts/package_release.py": "acd2bf73ad435b0b05caf0b5973c0b74b183f5a50c0d3ea332c9a3ee492cedf3","scripts/publish_space.py": "e0bae04da43d16062a0118f3c6aafd5b1744ebd70cada6db278288385950f5eb","scripts/render_reports.py": "fa1a187dfedf43b0b8105aea1b6f914dfd9aba5ac04c6d3bf454146a85419bbc","style.css": "5071739230e76b4e928725ae3da566fa0a0cd5f0680b4a6b4a57d3785f13ce65","verify_manifest.py": "ca7cd1faea2195c447c5d3596b125fd8bc93ff9a2db050403e71602c3f27ffb9","worked_case.json": "6c80328e4c960f1b3a0d26d499cc7ef0d2e091203f48a18b6bc39988fd4851a5","MANIFEST.json": "aef601ae18106ce7ce811ff7d9439cc1c8447901c28cd0ee50218d4f879bf0f1"}}123454 unmodified lines1011121314151617181915 unmodified lines353637383940414243444546474849505152535411 unmodified lines66676869707172737475{"github_commit": "b99e460d3760081d23cbe9dacd6678164f91815f","github_repository": "https://github.com/dqswordman/program-structure-certificates","frozen_release": {"name": "program-structure-certificates-v1.0.0.zip",4 unmodified lines"sha256": {"CITATION.cff": "5aa5ff09c2ef73ffcc9ec991f9ef924e9406d16fe1b124a7f4c14e8fc1efd79a","DATA_PROVENANCE.md": "b0d2c322230982d5d289b12dedadc3eff4f0bf4396908ba117811b0c5923407f","GITHUB_README.md": "768c776f636724b48d38883a7f2731f2556531bb554567802a4604421a48d751","LICENSE": "020893b24fb2a5b62d2d2748f65e569e31ab7b8eeb831b5e64bb7a57e544c104","PUBLICATION.md": "2011e8cf78f537ef0f42257d0703e5ccf7927ec943b7f5153ca20f3d6470f476","README.md": "ddae9445a22a5f5e3781034d51d1b2bc7744ba094a202a37345acba5b15738fc","RELEASE_SCOPE.txt": "3701acb093ac3e9e9a348f9aa954d4a586d5c9defecc74a585aff430572ec6f1","code/canonical_readouts_v1.py": "793af7b98682cb57b5efc47b5b534e86ef90725f7c3269b4fc098d76778126a6","code/family_statistics.py": "2dd50ccb2d0e3819efa79e075573d8ce799ceb18011a9ba6229e0bc4bd095a83",15 unmodified lines"data/synthesis_instruction.txt": "4fb7efda45f0beb0978934612eeeca36e73da3d87f4977c17dd5f4d386318f11","data/trajectories.jsonl.gz": "6d9c9af078d6ec25bb8f1e95894ed07dbd879c2e3d77b7dc5afe0081cf57ed7d","docs/asset-manifest.csv": "99eff1d2a2930b2e6ed202c23c8884b7ccf308314437701ac65b51f28b0972c0","docs/companion.json": "66d8e28d1bb832a85302d8f516e14a903067c14f8938b46feefe5cb2dfdf8aaa","docs/figures/construction.pdf": "1224ffa9a3dfa361a7661a9fea3763250414cf84380e6cb7dc4e0c211ac9396f","docs/figures/construction.png": "73c9776e67c7fdb2524682b4a4759aa2a319843c7a667b2429cad369799291e1","docs/maintenance.md": "0cd2ddf55a1cd2694e53c65dbb5d71260038a761e9316c169ff2abe9f6ab9be4","docs/release-manifest.json": "116d011a6508cd55eb58b5668823bbd7d79501c1834754973d3d9a6ed5877604","docs/report.en.md": "fe139384fb2974f72d4b943e268063a840c8ac73f4af8234adb19595f01b68a1","docs/report.zh.md": "313131606ad9a650db531a4039a4bf342b79594934c7f74618810cb2155ba62a","docs/reproduction.md": "fd6a2fb397084bd20fd670c6fecef54eeb9d976a1333413754b9a94848bc5299","docs/reproduction_report.json": "4aaac315cc92a9c0b51198d8fe7285243940155f0b61913d4b8951573a47711d","docs/result-map.csv": "ac8a29e02c895deddfd10c5fdb9192c420fb8c32fb7d07f39c5f0eecd9ff2351","explore.js": "4e7a3d712bf7a7747ac7dacefe2e19e69de14afcb4ae826de163bd7703ff7e9e","explorer.json": "29f6732ad3cc85e74378578b53bfdd1558de9a485349ec27dbbd1c4078676924","fixtures/end_to_end.json": "de641ad2106e9b1fdc9e64214f0938a20e02f230ba4db88291e9c6a60dda59cf","index.html": "1e069cefafcd420aac065885b8e3e3ddb8fa7e0b3e1d7c94e3d945d473293fa5","licenses/CC-BY-4.0.txt": "9e5f1b3c610b9c2da5c313bf81d577a7d1acec686bdb0384edefa6df0f90cd94","licenses/PBEBench-MIT.txt": "7ee6673ea31294494031ee577102e866bcf6438280142f822f1497cd153543e1","program-structure-certificates-v1.0.0.zip": "e68af75e393e34668b2d196ea2659261f428dbaf1ad8e5556a7cec1288dc4515",11 unmodified lines"results/per_family_metrics.csv": "18e2ebd712fd2cebe6f7e766acc2d67707d29eebbf5a28ae00a0ed34aee008d6","scripts/package_release.py": "acd2bf73ad435b0b05caf0b5973c0b74b183f5a50c0d3ea332c9a3ee492cedf3","scripts/publish_space.py": "e0bae04da43d16062a0118f3c6aafd5b1744ebd70cada6db278288385950f5eb","scripts/render_reports.py": "46139f9427ed42f2e4b1c81c77dfbc038318989c66798db587a844bc55b38055","style.css": "5071739230e76b4e928725ae3da566fa0a0cd5f0680b4a6b4a57d3785f13ce65","verify_manifest.py": "ca7cd1faea2195c447c5d3596b125fd8bc93ff9a2db050403e71602c3f27ffb9","worked_case.json": "6c80328e4c960f1b3a0d26d499cc7ef0d2e091203f48a18b6bc39988fd4851a5","MANIFEST.json": "1a9bae831b4b2205f4a2bf5c0fafd469c4c4ef7f4a97697a6b68cdec103f01e0"}}
1234567891011121314151617181920212 unmodified lines242526272829303123 unmodified lines555657585960616263646566676869708 unmodified lines79808182838485862 unmodified lines89909192939495969798991001011021031041051 unmodified line10710810911011111211311411511611711811912012112212332 unmodified lines1561571581591601611621632 unmodified lines1661671681691701711721731741751761771781791801811821 unmodified line1841851861871881891901911921931941951961971981 unmodified line200201202203204205206207208209210211212213214215216{"article": {"version": "1.0","published": "2026-11-20","updated": "2026-11-20","updateNote": {"en": "Companion to arXiv v1 and the v1.0.0 CPU artifact.","zh": "对应 arXiv v1 与 v1.0.0 CPU 复现归档。"}},"locales": {"en": {"title": "When does an example force a second rule?","summary": "A model can explain every demonstration with a shortcut. One carefully chosen example lets us certify when that shortcut disappears, then measure what the model does on the task and on new strings."},"zh": {"title": "什么样的样例会迫使程序使用第二条规则?","summary": "模型可能靠一条捷径解释题面上的所有样例。这项研究只替换一个样例,严格核验第二条规则何时成为必要条件,再分别检查模型对题面和新字符串的判断。"}},"artifact": {2 unmodified lines"space": "https://huggingface.co/spaces/DQSWORDMAN/program-structure-certificates","guide": "https://github.com/dqswordman/program-structure-certificates/blob/main/docs/reproduction.md","description": {"en": "Explore a certified task pair or replay 1,920 saved model trajectories on CPU from the versioned archive.","zh": "在线比较一对经过认证的任务,或从版本归档在 CPU 上重放 1,920 条模型轨迹。"}},"metrics": [23 unmodified lines{"id": "worked-example","title": {"en": "Change one example, keep the reference program","zh": "同一个参考程序,只换一道样例"},"paragraphs": {"en": ["Imagine inferring a program from six input–output pairs. Five pairs are shared. In the control, the last pair maps iiiexa to iiiazy. The single replacement exa → azy fits all six. The same observations also admit a two-step explanation: replace ex with azw, then wa with y.","In the matched separation task the final pair becomes wbawex → wbayzw. The shortcut leaves wbawex unchanged. The two-step program produces wbawazw after its first rule and wbayzw after its second. All other demonstrations stay fixed. The figure traces both explanations on this archived task."],"zh": ["试着从六组输入输出中推断程序。两道题共享前五组。对照题的最后一组是 iiiexa → iiiazy,用一条 exa → azy 就能解释六组样例。另一个解释有两步:先把 ex 换成 azw,再把 wa 换成 y。","在配对的分离题中,把最后一组换成 wbawex → wbayzw。单规则捷径会原样保留输入;两步程序先得到 wbawazw,再得到 wbayzw。其余五组样例全部相同。下图给出了这对归档任务的完整构造。"]},8 unmodified lines"zh": "图中比较对照与分离样例,以及单规则捷径和双规则参考程序。"},"caption": {"en": "Figure 1. Both tasks use the same two-rule reference. The final demonstration determines whether a one-rule solution remains possible.","zh": "图 1。两道题共用同一个双规则参考程序;最后一组样例决定单规则解是否仍然存在。"},"source": "https://github.com/dqswordman/program-structure-certificates/blob/v1.0.0/fixtures/end_to_end.json"}2 unmodified lines{"id": "certification","title": {"en": "What the certificate proves","zh": "证书究竟证明了什么"},"paragraphs": {"en": ["Here a rule replaces every non-overlapping occurrence of a literal string. Rules run in sequence. The study fixes a finite alphabet, a left-hand side of one to three characters and a right-hand side of up to three. A changed output rules out the empty program. The verifier enumerates the legal one-rule explanations and executes a two-rule witness.","For this example one single-rule program survives in the control and none survives in separation. The successful witness gives an upper bound of two, so the minimum lengths are exactly one and two. Certification uses the displayed pairs before inference. This statement depends on the chosen language and rule lengths."],"zh": ["每条规则替换字符串中所有互不重叠的字面匹配,多条规则按顺序执行。研究固定有限字母表,左侧长度为一至三个字符,右侧长度最多三个字符。一组发生变化的输出即可排除空程序。验证器随后枚举全部合法单规则解释,并实际执行一个双规则解。","在图中,对照题恰好保留一个单规则解,分离题的单规则解数为零。双规则程序在两题均通过,因此最短长度分别精确为一与二。认证在模型推理之前完成,结论的范围由这套替换语言及规则长度界定。"]},"blocks": []1 unmodified line{"id": "results","title": {"en": "Solving the prompt and passing the hidden pair","zh": "题面完成率和隐藏配对的成功率"},"paragraphs": {"en": ["Each of the 120 reference families supplies matched control and separation tasks with three to six shared examples, plus one arm-specific example. The panel contains 1,440 new trajectories and 480 previously saved base-five trajectories for Qwen3-8B and Olmo-3-7B-Think. The certified comparison uses 119 families at bases three and four and all 120 at bases five and six.","With five shared examples, Qwen completes 67 of 120 control tasks and 12 separation tasks. Olmo completes 52 and 15. In both models, success on a separate witness pair hidden from both prompts increases. The table uses separation minus control in percentage points and paired, pointwise 95% intervals for this panel."],"zh": ["120 个参考程序家族在三至六个共享样例下���生成一对任务,并各加一个对照或分离样例。两种模型为 Qwen3-8B 和 Olmo-3-7B-Think,共有 1,440 条新轨迹和 480 条先前保存的五共享样例轨迹。三个、四个共享样例时各有 119 个家族通过配对认证,五个、六个时各有 120 个。","五个共享样例时,Qwen 在 120 道对照题中完成 67 道,在分离题中完成 12 道;Olmo 分别完成 52 和 15 道。两种模型通过另一对完全未展示的见证样例的概率均有上升。表中差值均为分离减对照,单位是百分点,区间为此面板按家族配对的逐项 95% 区间。"]},"blocks": [32 unmodified lines]],"caption": {"en": "Five shared examples plus the changed example. Across all eight model and base-count settings, the displayed effect ranges from −45.83 to −23.53 points and the hidden-pair effect from +8.40 to +13.45.","zh": "五个共享样例加上一个更换样例。全部八个模型与样例数设置下,题面差值为 −45.83 至 −23.53 个百分点,隐藏配对差值为 +8.40 至 +13.45 个百分点。"},"source": "https://github.com/dqswordman/program-structure-certificates/blob/v1.0.0/results/PRIMARY_PANEL_READABLE.csv"}2 unmodified lines{"id": "beyond-the-witness","title": {"en": "What happens on other strings?","zh": "换到更广的字符串输入会怎样?"},"paragraphs": {"en": ["The hidden pair was chosen to distinguish programs. A second evaluation draws 32 uniform strings and 32 strings that activate both reference rules for each family. Uniform-input agreement falls in every model and base-count setting. Of the 3,840 uniform inputs, 3,325 map to themselves under the reference.","On the rule-active inputs the absolute agreement of separation programs is only 1.93–5.78%. At base five, Qwen reaches 2.76% and Olmo 2.01%. A gain on targeted witnesses therefore supports a narrower conclusion than recovering the reference transformation across inputs."],"zh": ["隐藏见证配对是为区分程序而选择的。第二组评估则为每个家族抽取 32 个均匀输入和 32 个能触发两条规则的输入。在全部模型和共享样例数设置下,均匀输入上的一致率都下降。3,840 个均匀输入中,有 3,325 个经过参考程序后保持原样。","在实际触发两条规则的新输入上,分离题程序的绝对一致率只有 1.93% 至 5.78%。五个共享样例时,Qwen 为 2.76%,Olmo 为 2.01%。定向见证上的进步说明模型行为发生了变化,广泛恢复参考变换仍很困难。"]},"blocks": []1 unmodified line{"id": "identity","title": {"en": "An unchanged output can rule out a shortcut","zh": "输出没变的样例也能排除捷径"},"paragraphs": {"en": ["In a separate archived family, the reference first replaces f with fdd and then db with c. The pair iyxbdc → iyxbdc looks uneventful. A competing rule b → dc predicts iyxdcdc. Keeping this identity example excludes that candidate; removing it at the smaller base counts lets a one-rule solution return. This family was selected from its certificate transition before inspecting the model outcomes."],"zh": ["另一组归档任务的参考规则是先把 f 换成 fdd,再把 db 换成 c。样例 iyxbdc → iyxbdc 看起来毫无变化,但候选规则 b → dc 会输出 iyxdcdc。保留这个恒等样例就能排除该候选,在较少共享样例的设置中去掉它,单规则解便重新出现。研究依据证书的变化选中这个家族,选择过程独立于模型表现。"]},"blocks": []1 unmodified line{"id": "replay","title": {"en": "Replay the evidence","zh": "复核证据"},"paragraphs": {"en": ["Extract the release, enter its top-level folder and run the first two commands with Python 3.11 or later. The third uses NumPy and writes to a new directory. It verifies 960 certificates, 7,680 reference labels and the saved programs, then compares the three reconstructed tables with their archived counterparts.","The release supplies normalized trajectories, task specifications and executable checks. Earlier discovery and timed-search studies have separate coverage in the result map. The historical sampling chain of the 1,008-task retrospective roster remains unresolved. The companion reports the scope of those records separately from the matched 120-family experiment."],"zh": ["解压版本包并进入顶层目录。用 Python 3.11 或更新版本运行前两条命令即可核对文件和图 1 实例。第三条使用 NumPy,将结果写入新目录;它复核 960 份证书、7,680 个参考标签与保存的程序,并把三张重建结果表逐一对照归档。","归档直接提供规范化轨迹、任务规格与可执行核验。早期探索与限时搜索等历史实验的材料覆盖范围列在结果映射中。另有 1,008 道回溯任务,其早期抽样链尚未确定;这部分记录与主要的 120 家族配对实验分别说明。"]},"blocks": [1234567891011121314151617181920212 unmodified lines242526272829303123 unmodified lines555657585960616263646566676869708 unmodified lines79808182838485862 unmodified lines89909192939495969798991001011021031041051 unmodified line10710810911011111211311411511611711811912012112212332 unmodified lines1561571581591601611621632 unmodified lines1661671681691701711721731741751761771781791801811821 unmodified line1841851861871881891901911921931941951961971981 unmodified line200201202203204205206207208209210211212213214215216{"article": {"version": "1.0.1","published": "2026-11-20","updated": "2026-11-22","updateNote": {"en": "The revised companion distinguishes solving the displayed examples, passing a hidden test and recovering the transformation on new inputs.","zh": "本版分别说明通过题面样例、通过隐藏测试和在新输入上复现参考变换的含义。"}},"locales": {"en": {"title": "When does an example force a second rule?","summary": "Can a single string-replacement rule explain examples generated by two rules? Replacing one demonstration can rule out every legal one-rule solution. Across two models and the tested demonstration counts, this change lowers completion on the displayed tasks by 23.53–45.83 percentage points and raises success on a hidden distinguishing example by 8.40–13.45 points. Agreement on other strings remains much lower when both rules must act."},"zh": {"title": "什么样的样例会迫使程序使用第二条规则?","summary": "两条规则生成的字符串样例,是否非得用两条规则才能解释?替换一个展示样例,就能排除所有合法的单规则解。在两种模型和各个展示规模下,这一变化使完成题面的比例降低 23.53–45.83 个百分点,却使通过隐藏辨别样例的比例提高 8.40–13.45 个百分点。换到确实触发两条规则的其他字符串上,模型仍很少复现参考程序的输出。"}},"artifact": {2 unmodified lines"space": "https://huggingface.co/spaces/DQSWORDMAN/program-structure-certificates","guide": "https://github.com/dqswordman/program-structure-certificates/blob/main/docs/reproduction.md","description": {"en": "Inspect the shortest legal solutions for a matched task pair or rebuild the outcome tables from 1,920 saved model runs on CPU.","zh": "查看一对匹配任务有哪些最短合法解,或在 CPU 上用 1,920 条已存模型轨迹重建结果表。"}},"metrics": [23 unmodified lines{"id": "worked-example","title": {"en": "One changed demonstration rules out the shortcut","zh": "只换一个样例,单规则捷径便失效"},"paragraphs": {"en": ["A task shows six input–output pairs. Five stay fixed. In the control, the sixth maps iiiexa to iiiazy. Replacing exa with azy fits all six, but so does a longer program that first replaces ex with azw and then wa with y. The displayed outputs alone allow either explanation.","In the matched separation task the final pair becomes wbawex → wbayzw. The shortcut leaves wbawex unchanged. The two-step program produces wbawazw after its first rule and wbayzw after its second. All other demonstrations stay fixed. The figure traces both explanations on this archived task."],"zh": ["一道题给出六对输入输出,其中五对保持不变。对照题的第六对是 iiiexa → iiiazy。把 exa 换成 azy 就能解释全部六对。先把 ex 换成 azw、再把 wa 换成 y,也能解释它们。仅凭这组展示结果,两种解释都成立。","在配对的分离题中,把最后一组换成 wbawex → wbayzw。单规则捷径会原样保留输入;两步程序先得到 wbawazw,再得到 wbayzw。其余五组样例全部相同。下图给出了这对归档任务的完整构造。"]},8 unmodified lines"zh": "图中比较对照与分离样例,以及单规则捷径和双规则参考程序。"},"caption": {"en": "Figure 1. Read the last demonstration under each program. Both programs fit the control, but only the two-step reference produces wbayzw on the changed input. Enumeration checks every legal single rule.","zh": "图 1。分别用两个程序处理最后一个展示样例。两者都符合对照题,换题后只有两步参考程序能在该输入上产生 wbayzw。穷举检查涵盖所有合法的单条规则。"},"source": "https://github.com/dqswordman/program-structure-certificates/blob/v1.0.0/fixtures/end_to_end.json"}2 unmodified lines{"id": "certification","title": {"en": "Why the minimum is exactly two","zh": "怎样证明最短解恰好需要两条规则"},"paragraphs": {"en": ["Here a rule replaces every non-overlapping occurrence of a literal string. Rules run in sequence. The study fixes a finite alphabet, a left-hand side of one to three characters and a right-hand side of up to three. A changed output rules out the empty program. The verifier enumerates the legal one-rule explanations and executes a two-rule witness.","One legal single rule fits the control and none fits its partner. A changed output also excludes the empty program. Because the reference executes successfully in both tasks, these checks fix the minimum lengths at one and two. The verifier uses only the displayed pairs, before either model sees them. Its guarantee is relative to the specified replacement language and rule lengths."],"zh": ["每条规则替换字符串中所有互不重叠的字面匹配,多条规则按顺序执行。研究固定有限字母表,左侧长度为一至三个字符,右侧长度最多三个字符。一组发生变化的输出即可排除空程序。验证器随后枚举全部合法单规则解释,并实际执行一个双规则解。","对照题有一条合法单规则解。在与它配对的另一道题上,单规则解为零。至少有一个输出发生变化,也排除了空程序。两步参考程序在两道题上都能执行并通过,因此最短解分别为一条和两条规则。核验发生在模型看到题目之前,只用展示样例。这个保证限于预先规定的替换语言及规则长度。"]},"blocks": []1 unmodified line{"id": "results","title": {"en": "Displayed completion falls as hidden-test success rises","zh": "题面完成率下降,隐藏样例通过率上升"},"paragraphs": {"en": ["Each of the 120 reference families supplies matched control and separation tasks with three to six shared examples, plus one arm-specific example. The panel contains 1,440 new trajectories and 480 previously saved base-five trajectories for Qwen3-8B and Olmo-3-7B-Think. The certified comparison uses 119 families at bases three and four and all 120 at bases five and six.","With five shared examples, Qwen satisfies all displayed pairs in 67 of 120 control tasks and 12 of their partners. Olmo’s counts are 52 and 15. Both models are more likely to pass a separate input–output pair omitted from both prompts. The table pairs tasks by reference family. Differences are in percentage points, with pointwise 95% intervals."],"zh": ["120 个参考程序家族在三至六个共享样例下���生成一对任务,并各加一个对照或分离样例。两种模型为 Qwen3-8B 和 Olmo-3-7B-Think,共有 1,440 条新轨迹和 480 条先前保存的五共享样例轨迹。三个、四个共享样例时各有 119 个家族通过配对认证,五个、六个时各有 120 个。","固定五个共享样例时,Qwen 在 120 道对照题中完成 67 道,在对应的双规则必需题中完成 12 道。Olmo 分别完成 52 道和 15 道。两种模型在另外一对从未展示的输入输出上,通过率反而提高。表中按参考程序家族配对,差值用百分点表示,并列出各项的 95% 区间。"]},"blocks": [32 unmodified lines]],"caption": {"en": "Five shared demonstrations and one changed demonstration, with 120 matched families per model. Δ is separation minus control. Across all eight settings, displayed completion falls by 23.53–45.83 points while hidden-test success rises by 8.40–13.45 points.","zh": "每个模型均有 120 个配对家族。这一行设定为五个共享样例加一个改变的样例,Δ 是双规则必需题减对照题。在全部八个设置中,题面完成率下降 23.53–45.83 个百分点,隐藏样例通过率上升 8.40–13.45 个百分点。"},"source": "https://github.com/dqswordman/program-structure-certificates/blob/v1.0.0/results/PRIMARY_PANEL_READABLE.csv"}2 unmodified lines{"id": "beyond-the-witness","title": {"en": "How often do programs agree on new inputs?","zh": "换一批新输入,模型与参考程序的输出有多大比例一致?"},"paragraphs": {"en": ["The hidden pair was chosen to distinguish programs. A second evaluation draws 32 uniform strings and 32 strings that activate both reference rules for each family. Uniform-input agreement falls in every model and base-count setting. Of the 3,840 uniform inputs, 3,325 map to themselves under the reference.","On strings that activate both reference rules, programs returned for the separation task agree with the reference on only 1.93–5.78% of inputs across settings. With five shared examples, agreement is 2.76% for Qwen and 2.01% for Olmo. Passing one test chosen to expose a shortcut leaves substantial uncertainty about what the program does on other strings."],"zh": ["隐藏见证配对是为区分程序而选择的。第二组评估则为每个家族抽取 32 个均匀输入和 32 个能触发两条规则的输入。在全部模型和共享样例数设置下,均匀输入上的一致率都下降。3,840 个均匀输入中,有 3,325 个经过参考程序后保持原样。","在同时触发两条参考规则的字符串上,各设置中双规则必需题所得程序与参考程序的输出一致率只有 1.93%–5.78%。固定五个共享样例时,Qwen 为 2.76%,Olmo 为 2.01%。即使通过专门用来识别捷径的一道测试,仍很难据此推断程序在其他字符串上会做什么。"]},"blocks": []1 unmodified line{"id": "identity","title": {"en": "An unchanged string can still decide the minimum","zh": "输出原样返回,也可能决定最少需要几条规则"},"paragraphs": {"en": ["In another family, the reference replaces f with fdd and then db with c. The displayed string iyxbdc stays unchanged. The candidate rule b → dc would return iyxdcdc, so this apparently uneventful example excludes it. Removing the example at the smaller demonstration counts restores a one-rule solution. The family was selected from this change in its certificate before examining model outcomes."],"zh": ["另一组任务的参考程序先将 f 换成 fdd,再将 db 换成 c。输入 iyxbdc 时输出原样返回,但候选单规则 b → dc 会给出 iyxdcdc。因此,恰是这个“什么也没变”的样例排除了该候选。在较少展示样例的设置里,删掉它便重新出现单规则解。选取这个家族的依据是证书的变化,选例时尚未查看模型表现。"]},"blocks": []1 unmodified line{"id": "replay","title": {"en": "Run the certificate check and reconstruct the three tables","zh": "核验证书并重建三张结果表"},"paragraphs": {"en": ["Extract the release, enter its top-level folder and run the first two commands with Python 3.11 or later. The third uses NumPy and writes to a new directory. It verifies 960 certificates, 7,680 reference labels and the saved programs, then compares the three reconstructed tables with their archived counterparts.","The 120-family experiment can be replayed from the released task specifications and saved trajectories. The result map separately lists the earlier discovery and timed-search studies. For the retrospective list of 1,008 tasks, the historical sampling and filtering steps remain unresolved, which limits what that list can establish about task frequencies."],"zh": ["解压版本包并进入顶层目录。用 Python 3.11 或更新版本运行前两条命令即可核对文件和图 1 实例。第三条使用 NumPy,将结果写入新目录;它复核 960 份证书、7,680 个参考标签与保存的程序,并把三张重建结果表逐一对照归档。","120 个家族的配对实验可用已发布的任务说明和模型轨迹回放。早期发现性分析和限时搜索实验另列在结果索引中。对回顾性的 1,008 项任务,历史抽样和筛选过程尚未厘清,因此无法据此可靠估计各类任务的出现频率。"]},"blocks": [
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253# When does an example force a second rule?Wenzhang Du · arXiv:2611.24975v1 · v1.0 · 2026-11-20A model can explain every demonstration with a shortcut. One carefully chosen example lets us certify when that shortcut disappears, then measure what the model does on the task and on new strings.## Change one example, keep the reference programImagine inferring a program from six input–output pairs. Five pairs are shared. In the control, the last pair maps iiiexa to iiiazy. The single replacement exa → azy fits all six. The same observations also admit a two-step explanation: replace ex with azw, then wa with y.In the matched separation task the final pair becomes wbawex → wbayzw. The shortcut leaves wbawex unchanged. The two-step program produces wbawazw after its first rule and wbayzw after its second. All other demonstrations stay fixed. The figure traces both explanations on this archived task.Figure 1. Both tasks use the same two-rule reference. The final demonstration determines whether a one-rule solution remains possible.## What the certificate provesHere a rule replaces every non-overlapping occurrence of a literal string. Rules run in sequence. The study fixes a finite alphabet, a left-hand side of one to three characters and a right-hand side of up to three. A changed output rules out the empty program. The verifier enumerates the legal one-rule explanations and executes a two-rule witness.For this example one single-rule program survives in the control and none survives in separation. The successful witness gives an upper bound of two, so the minimum lengths are exactly one and two. Certification uses the displayed pairs before inference. This statement depends on the chosen language and rule lengths.## Solving the prompt and passing the hidden pairEach of the 120 reference families supplies matched control and separation tasks with three to six shared examples, plus one arm-specific example. The panel contains 1,440 new trajectories and 480 previously saved base-five trajectories for Qwen3-8B and Olmo-3-7B-Think. The certified comparison uses 119 families at bases three and four and all 120 at bases five and six.With five shared examples, Qwen completes 67 of 120 control tasks and 12 separation tasks. Olmo completes 52 and 15. In both models, success on a separate witness pair hidden from both prompts increases. The table uses separation minus control in percentage points and paired, pointwise 95% intervals for this panel.| Model | Displayed, control → separation | Displayed Δ (pp) | Hidden pair Δ (pp) || --- | --- | --- | --- || Qwen3-8B | 67 → 12 / 120 | −45.83 [−55.00, −36.67] | +9.17 [+4.17, +15.00] || Olmo-3-7B-Think | 52 → 15 / 120 | −30.83 [−40.83, −20.83] | +11.67 [+6.67, +17.50] |Five shared examples plus the changed example. Across all eight model and base-count settings, the displayed effect ranges from −45.83 to −23.53 points and the hidden-pair effect from +8.40 to +13.45.## What happens on other strings?The hidden pair was chosen to distinguish programs. A second evaluation draws 32 uniform strings and 32 strings that activate both reference rules for each family. Uniform-input agreement falls in every model and base-count setting. Of the 3,840 uniform inputs, 3,325 map to themselves under the reference.On the rule-active inputs the absolute agreement of separation programs is only 1.93–5.78%. At base five, Qwen reaches 2.76% and Olmo 2.01%. A gain on targeted witnesses therefore supports a narrower conclusion than recovering the reference transformation across inputs.## An unchanged output can rule out a shortcutIn a separate archived family, the reference first replaces f with fdd and then db with c. The pair iyxbdc → iyxbdc looks uneventful. A competing rule b → dc predicts iyxdcdc. Keeping this identity example excludes that candidate; removing it at the smaller base counts lets a one-rule solution return. This family was selected from its certificate transition before inspecting the model outcomes.## Replay the evidenceExtract the release, enter its top-level folder and run the first two commands with Python 3.11 or later. The third uses NumPy and writes to a new directory. It verifies 960 certificates, 7,680 reference labels and the saved programs, then compares the three reconstructed tables with their archived counterparts.The release supplies normalized trajectories, task specifications and executable checks. Earlier discovery and timed-search studies have separate coverage in the result map. The historical sampling chain of the 1,008-task retrospective roster remains unresolved. The companion reports the scope of those records separately from the matched 120-family experiment.```shpython -B verify_manifest.py1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253# When does an example force a second rule?Wenzhang Du · arXiv:2611.24975v1 · v1.0.1 · 2026-11-22Can a single string-replacement rule explain examples generated by two rules? Replacing one demonstration can rule out every legal one-rule solution. Across two models and the tested demonstration counts, this change lowers completion on the displayed tasks by 23.53–45.83 percentage points and raises success on a hidden distinguishing example by 8.40–13.45 points. Agreement on other strings remains much lower when both rules must act.## One changed demonstration rules out the shortcutA task shows six input–output pairs. Five stay fixed. In the control, the sixth maps iiiexa to iiiazy. Replacing exa with azy fits all six, but so does a longer program that first replaces ex with azw and then wa with y. The displayed outputs alone allow either explanation.In the matched separation task the final pair becomes wbawex → wbayzw. The shortcut leaves wbawex unchanged. The two-step program produces wbawazw after its first rule and wbayzw after its second. All other demonstrations stay fixed. The figure traces both explanations on this archived task.Figure 1. Read the last demonstration under each program. Both programs fit the control, but only the two-step reference produces wbayzw on the changed input. Enumeration checks every legal single rule.## Why the minimum is exactly twoHere a rule replaces every non-overlapping occurrence of a literal string. Rules run in sequence. The study fixes a finite alphabet, a left-hand side of one to three characters and a right-hand side of up to three. A changed output rules out the empty program. The verifier enumerates the legal one-rule explanations and executes a two-rule witness.One legal single rule fits the control and none fits its partner. A changed output also excludes the empty program. Because the reference executes successfully in both tasks, these checks fix the minimum lengths at one and two. The verifier uses only the displayed pairs, before either model sees them. Its guarantee is relative to the specified replacement language and rule lengths.## Displayed completion falls as hidden-test success risesEach of the 120 reference families supplies matched control and separation tasks with three to six shared examples, plus one arm-specific example. The panel contains 1,440 new trajectories and 480 previously saved base-five trajectories for Qwen3-8B and Olmo-3-7B-Think. The certified comparison uses 119 families at bases three and four and all 120 at bases five and six.With five shared examples, Qwen satisfies all displayed pairs in 67 of 120 control tasks and 12 of their partners. Olmo’s counts are 52 and 15. Both models are more likely to pass a separate input–output pair omitted from both prompts. The table pairs tasks by reference family. Differences are in percentage points, with pointwise 95% intervals.| Model | Displayed, control → separation | Displayed Δ (pp) | Hidden pair Δ (pp) || --- | --- | --- | --- || Qwen3-8B | 67 → 12 / 120 | −45.83 [−55.00, −36.67] | +9.17 [+4.17, +15.00] || Olmo-3-7B-Think | 52 → 15 / 120 | −30.83 [−40.83, −20.83] | +11.67 [+6.67, +17.50] |Five shared demonstrations and one changed demonstration, with 120 matched families per model. Δ is separation minus control. Across all eight settings, displayed completion falls by 23.53–45.83 points while hidden-test success rises by 8.40–13.45 points.## How often do programs agree on new inputs?The hidden pair was chosen to distinguish programs. A second evaluation draws 32 uniform strings and 32 strings that activate both reference rules for each family. Uniform-input agreement falls in every model and base-count setting. Of the 3,840 uniform inputs, 3,325 map to themselves under the reference.On strings that activate both reference rules, programs returned for the separation task agree with the reference on only 1.93–5.78% of inputs across settings. With five shared examples, agreement is 2.76% for Qwen and 2.01% for Olmo. Passing one test chosen to expose a shortcut leaves substantial uncertainty about what the program does on other strings.## An unchanged string can still decide the minimumIn another family, the reference replaces f with fdd and then db with c. The displayed string iyxbdc stays unchanged. The candidate rule b → dc would return iyxdcdc, so this apparently uneventful example excludes it. Removing the example at the smaller demonstration counts restores a one-rule solution. The family was selected from this change in its certificate before examining model outcomes.## Run the certificate check and reconstruct the three tablesExtract the release, enter its top-level folder and run the first two commands with Python 3.11 or later. The third uses NumPy and writes to a new directory. It verifies 960 certificates, 7,680 reference labels and the saved programs, then compares the three reconstructed tables with their archived counterparts.The 120-family experiment can be replayed from the released task specifications and saved trajectories. The result map separately lists the earlier discovery and timed-search studies. For the retrospective list of 1,008 tasks, the historical sampling and filtering steps remain unresolved, which limits what that list can establish about task frequencies.```shpython -B verify_manifest.py
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253# 什么样的样例会迫使程序使用第二条规则?Wenzhang Du · arXiv:2611.24975v1 · v1.0 · 2026-11-20模型可能靠一条捷径解释题面上的所有样例。这项研究只替换一个样例,严格核验第二条规则何时成为必要条件,再分别检查模型对题面和新字符串的判断。## 同一个参考程序,只换一道样例试着从六组输入输出中推断程序。两道题共享前五组。对照题的最后一组是 iiiexa → iiiazy,用一条 exa → azy 就能解释六组样例。另一个解释有两步:先把 ex 换成 azw,再把 wa 换成 y。在配对的分离题中,把最后一组换成 wbawex → wbayzw。单规则捷径会原样保留输入;两步程序先得到 wbawazw,再得到 wbayzw。其余五组样例全部相同。下图给出了这对归档任务的完整构造。图 1。两道题共用同一个双规则参考程序;最后一组样例决定单规则解是否仍然存在。## 证书究竟证明了什么每条规则替换字符串中所有互不重叠的字面匹配,多条规则按顺序执行。研究固定有限字母表,左侧长度为一至三个字符,右侧长度最多三个字符。一组发生变化的输出即可排除空程序。验证器随后枚举全部合法单规则解释,并实际执行一个双规则解。在图中,对照题恰好保留一个单规则解,分离题的单规则解数为零。双规则程序在两题均通过,因此最短长度分别精确为一与二。认证在模型推理之前完成,结论的范围由这套替换语言及规则长度界定。## 题面完成率和隐藏配对的成功率120 个参考程序家族在三至六个共享样例下各生成一对任务,并各加一个对照或分离样例。两种模型为 Qwen3-8B 和 Olmo-3-7B-Think,共有 1,440 条新轨迹和 480 条先前保存的五共享样例轨迹。三个、四个共享样例时各有 119 个家族通过配对认证,五个、六个时各有 120 个。五个共享样例时,Qwen 在 120 道对照题中完成 67 道,在分离题中完成 12 道;Olmo 分别完成 52 和 15 道。两种模型通过另一对完全未展示的见证样例的概率均有上升。表中差值均为分离减对照,单位是百分点,区间为此面板按家族配对的逐项 95% 区间。| 模型 | 题面,对照 → 分离 | 题面差值(百分点) | 隐藏配对差值(百分点) || --- | --- | --- | --- || Qwen3-8B | 67 → 12 / 120 | −45.83 [−55.00, −36.67] | +9.17 [+4.17, +15.00] || Olmo-3-7B-Think | 52 → 15 / 120 | −30.83 [−40.83, −20.83] | +11.67 [+6.67, +17.50] |五个共享样例加上一个更换样例。全部八个模型与样例数设置下,题面差值为 −45.83 至 −23.53 个百分点,隐藏配对差值为 +8.40 至 +13.45 个百分点。## 换到更广的字符串输入会怎样?隐藏见证配对是为区分程序而选择的。第二组评估则为每个家族抽取 32 个均匀输入和 32 个能触发两条规则的输入。在全部模型和共享样例数设置下,均匀输入上的一致率都下降。3,840 个均匀输入中,有 3,325 个经过参考程序后保持原样。在实际触发两条规则的新输入上,分离题程序的绝对一致率只有 1.93% 至 5.78%。五个共享样例时,Qwen 为 2.76%,Olmo 为 2.01%。定向见证上的进步说明模型行为发生了变化,广泛恢复参考变换仍很困难。## 输出没变的样例也能排除捷径另一组归档任务的参考规则是先把 f 换成 fdd,再把 db 换成 c。样例 iyxbdc → iyxbdc 看起来毫无变化,但候选规则 b → dc 会输出 iyxdcdc。保留这个恒等样例就能排除该候选,在较少共享样例的设置中去掉它,单规则解便重新出现。研究依据证书的变化选中这个家族,选择过程独立于模型表现。## 复核证据解压版本包并进入顶层目录。用 Python 3.11 或更新版本运行前两条命令即可核对文件和图 1 实例。第三条使用 NumPy,将结果写入新目录;它复核 960 份证书、7,680 个参考标签与保存的程序,并把三张重建结果表逐一对照归档。归档直接提供规范化轨迹、任务规格与可执行核验。早期探索与限时搜索等历史实验的材料覆盖范围列在结果映射中。另有 1,008 道回溯任务,其早期抽样链尚未确定;这部分记录与主要的 120 家族配对实验分别说明。```shpython -B verify_manifest.py1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253# 什么样的样例会迫使程序使用第二条规则?Wenzhang Du · arXiv:2611.24975v1 · v1.0.1 · 2026-11-22两条规则生成的字符串样例,是否非得用两条规则才能解释?替换一个展示样例,就能排除所有合法的单规则解。在两种模型和各个展示规模下,这一变化使完成题面的比例降低 23.53–45.83 个百分点,却使通过隐藏辨别样例的比例提高 8.40–13.45 个百分点。换到确实触发两条规则的其他字符串上,模型仍很少复现参考程序的输出。## 只换一个样例,单规则捷径便失效一道题给出六对输入输出,其中五对保持不变。对照题的第六对是 iiiexa → iiiazy。把 exa 换成 azy 就能解释全部六对。先把 ex 换成 azw、再把 wa 换成 y,也能解释它们。仅凭这组展示结果,两种解释都成立。在配对的分离题中,把最后一组换成 wbawex → wbayzw。单规则捷径会原样保留输入;两步程序先得到 wbawazw,再得到 wbayzw。其余五组样例全部相同。下图给出了这对归档任务的完整构造。图 1。分别用两个程序处理最后一个展示样例。两者都符合对照题,换题后只有两步参考程序能在该输入上产生 wbayzw。穷举检查涵盖所有合法的单条规则。## 怎样证明最短解恰好需要两条规则每条规则替换字符串中所有互不重叠的字面匹配,多条规则按顺序执行。研究固定有限字母表,左侧长度为一至三个字符,右侧长度最多三个字符。一组发生变化的输出即可排除空程序。验证器随后枚举全部合法单规则解释,并实际执行一个双规则解。对照题有一条合法单规则解。在与它配对的另一道题上,单规则解为零。至少有一个输出发生变化,也排除了空程序。两步参考程序在两道题上都能执行并通过,因此最短解分别为一条和两条规则。核验发生在模型看到题目之前,只用展示样例。这个保证限于预先规定的替换语言及规则长度。## 题面完成率下降,隐藏样例通过率上升120 个参考程序家族在三至六个共享样例下各生成一对任务,并各加一个对照或分离样例。两种模型为 Qwen3-8B 和 Olmo-3-7B-Think,共有 1,440 条新轨迹和 480 条先前保存的五共享样例轨迹。三个、四个共享样例时各有 119 个家族通过配对认证,五个、六个时各有 120 个。固定五个共享样例时,Qwen 在 120 道对照题中完成 67 道,在对应的双规则必需题中完成 12 道。Olmo 分别完成 52 道和 15 道。两种模型在另外一对从未展示的输入输出上,通过率反而提高。表中按参考程序家族配对,差值用百分点表示,并列出各项的 95% 区间。| 模型 | 题面,对照 → 分离 | 题面差值(百分点) | 隐藏配对差值(百分点) || --- | --- | --- | --- || Qwen3-8B | 67 → 12 / 120 | −45.83 [−55.00, −36.67] | +9.17 [+4.17, +15.00] || Olmo-3-7B-Think | 52 → 15 / 120 | −30.83 [−40.83, −20.83] | +11.67 [+6.67, +17.50] |每个模型均有 120 个配对家族。这一行设定为五个共享样例加一个改变的样例,Δ 是双规则必需题减对照题。在全部八个设置中,题面完成率下降 23.53–45.83 个百分点,隐藏样例通过率��升 8.40–13.45 个百分点。## 换一批新输入,模型与参考程序的输出有多大比例一致?隐藏见证配对是为区分程序而选择的。第二组评估则为每个家族抽取 32 个均匀输入和 32 个能触发两条规则的输入。在全部模型和共享样例数设置下,均匀输入上的一致率都下降。3,840 个均匀输入中,有 3,325 个经过参考程序后保持原样。在同时触发两条参考规则的字符串上,各设置中双规则必需题所得程序与参考程序的输出一致率只有 1.93%–5.78%。固定五个共享样例时,Qwen 为 2.76%,Olmo 为 2.01%。即使通过专门用来识别捷径的一道测试,仍很难据此推断程序在其他字符串上会做什么。## 输出原样返回,也可能决定最少需要几条规则另一组任务的参考程序先将 f 换成 fdd,再将 db 换成 c。输入 iyxbdc 时输出原样返回,但候选单规则 b → dc 会给出 iyxdcdc。因此,恰是这个“什么也没变”的样例排除了该候选。在较少展示样例的设置里,删掉它便重新出现单规则解。选取这个家族的依据是证书的变化,选例时尚未查看模型表现。## 核验证书并重建三张结果表解压版本包并进入顶层目录。用 Python 3.11 或更新版本运行前两条命令即可核对文件和图 1 实例。第三条使用 NumPy,将结果写入新目录;它复核 960 份证书、7,680 个参考标签与保存的程序,并把三张重建结果表逐一对照归档。120 个家族的配对实验可用已发布的任务说明和模型轨迹回放。早期发现性分析和限时搜索实验另列在结果索引中。对回顾性的 1,008 项任务,历史抽样和筛选过程尚未厘清,因此无法据此可靠估计各类任务的出现频率。```shpython -B verify_manifest.py
1 unmodified line2345671 unmodified lineUse [v1.0.0](https://github.com/dqswordman/program-structure-certificates/tree/v1.0.0) for the frozen research artifact. Run the commands from the repository root.## Quick checkPython 3.11 or newer suffices for both commands.1 unmodified line234567891 unmodified lineUse [v1.0.0](https://github.com/dqswordman/program-structure-certificates/tree/v1.0.0) for the frozen research artifact. Run the commands from the repository root.The quick check follows one paired task through the proof of minimum program length. The full replay compares the saved programs on displayed examples, hidden distinguishing pairs and new strings.## Quick checkPython 3.11 or newer suffices for both commands.
1234563 unmodified lines10111213141516<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="description" content="Change one demonstration to see when a second rule becomes necessary. Explore certificate-grounded program induction from arXiv:2611.24975."><title>Program structure certificates · Wenzhang Du</title><link rel="stylesheet" href="style.css"><script src="explore.js" defer></script></head><body><main><header class="hero"><div class="wrap"><p class="over">PROGRAM INDUCTION / arXiv 2611.24975</p><h1>When is program<br>structure required?</h1><p class="lede">Two tasks share five demonstrations. Change the sixth and the shortest program grows from one rule to two.</p><p class="author">Wenzhang Du · November 2026</p><nav><a href="https://arxiv.org/abs/2611.24975" target="_blank" rel="noopener">Paper ↗</a><a href="https://github.com/dqswordman/program-structure-certificates" target="_blank" rel="noopener">GitHub ↗</a><a href="https://dqswordman.github.io/technical-reports/program-structure-certificates/" target="_blank" rel="noopener">Technical report ↗</a><a href="https://dqswordman.github.io/zh/technical-reports/program-structure-certificates/" target="_blank" rel="noopener">中文伴读 ↗</a></nav></div></header><div class="wrap"><section><p class="over">FIGURE 1 · WORKED EXAMPLE</p><h2>Switch the last demonstration</h2><p>Both tasks share the reference program <code>ex → azw</code> followed by <code>wa → y</code>. Try the single-rule explanation <code>exa → azy</code> on each last input.</p><fieldset id="arms" hidden><legend>Demonstration</legend><label><input type="radio" name="arm" value="CONTROL" checked>Control</label><label><input type="radio" name="arm" value="SEPARATION">Separation</label></fieldset><div class="case" id="case" aria-live="polite"><div><small>Last input</small><strong id="input">iiiexa</strong></div><div><small>Required output</small><strong id="target">iiiazy</strong></div><div><small>Shortcut output</small><strong id="shortcut">iiiazy</strong></div></div>3 unmodified linesbwcied → bwcieddzexa → dzazyyf → yf</pre></details></section><section><p class="over">ARCHIVED MODEL OUTCOMES</p><h2>Two ways to score a program</h2><p>Each column uses the same certified families. Effects are separation minus control in percentage points, with pointwise 95% paired intervals.</p><div class="controls" id="models" hidden><label>Model<select id="model"><option>Qwen3-8B</option><option>Olmo-3-7B-Think</option></select></label><label>Shared examples<select id="base"><option>3</option><option>4</option><option selected>5</option><option>6</option></select></label></div><div class="results" aria-live="polite"><p id="counts">120 families · 67 control and 12 separation tasks completed.</p><dl><div><dt>Displayed task Δ</dt><dd id="displayed">−45.83 [−55.00, −36.67]</dd></div><div><dt>Hidden pair Δ</dt><dd id="hidden-pair">+9.17 [+4.17, +15.00]</dd></div></dl></div><p class="note">The hidden pair probes a particular distinction. Across all eight settings, separation programs agree with the reference on only 1.93–5.78% of inputs activating both rules.</p></section>1234563 unmodified lines10111213141516<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="description" content="Change one demonstration to see when a second rule becomes necessary. Explore certificate-grounded program induction from arXiv:2611.24975."><title>Program structure certificates · Wenzhang Du</title><link rel="stylesheet" href="style.css"><script src="explore.js" defer></script></head><body><main><header class="hero"><div class="wrap"><p class="over">PROGRAM INDUCTION / arXiv 2611.24975</p><h1>When is program<br>structure required?</h1><p class="lede">Five examples stay fixed. On the control task one rule fits all six examples. Change the sixth example and every legal one-rule explanation fails, while the same two-rule program still works.</p><p class="author">Wenzhang Du · November 2026</p><nav><a href="https://arxiv.org/abs/2611.24975" target="_blank" rel="noopener">Paper ↗</a><a href="https://github.com/dqswordman/program-structure-certificates" target="_blank" rel="noopener">GitHub ↗</a><a href="https://dqswordman.github.io/technical-reports/program-structure-certificates/" target="_blank" rel="noopener">Technical report ↗</a><a href="https://dqswordman.github.io/zh/technical-reports/program-structure-certificates/" target="_blank" rel="noopener">中文伴读 ↗</a></nav></div></header><div class="wrap"><section><p class="over">FIGURE 1 · WORKED EXAMPLE</p><h2>Switch the last demonstration</h2><p>Both tasks share the reference program <code>ex → azw</code> followed by <code>wa → y</code>. Try the single-rule explanation <code>exa → azy</code> on each last input.</p><fieldset id="arms" hidden><legend>Demonstration</legend><label><input type="radio" name="arm" value="CONTROL" checked>Control</label><label><input type="radio" name="arm" value="SEPARATION">Separation</label></fieldset><div class="case" id="case" aria-live="polite"><div><small>Last input</small><strong id="input">iiiexa</strong></div><div><small>Required output</small><strong id="target">iiiazy</strong></div><div><small>Shortcut output</small><strong id="shortcut">iiiazy</strong></div></div>3 unmodified linesbwcied → bwcieddzexa → dzazyyf → yf</pre></details></section><section><p class="over">ARCHIVED MODEL OUTCOMES</p><h2>Two ways to score a program</h2><p>Each column compares matched tasks from the same families. Differences subtract control from separation, in percentage points. Each 95% interval applies to the individual comparison shown.</p><div class="controls" id="models" hidden><label>Model<select id="model"><option>Qwen3-8B</option><option>Olmo-3-7B-Think</option></select></label><label>Shared examples<select id="base"><option>3</option><option>4</option><option selected>5</option><option>6</option></select></label></div><div class="results" aria-live="polite"><p id="counts">120 families · 67 control and 12 separation tasks completed.</p><dl><div><dt>Displayed task Δ</dt><dd id="displayed">−45.83 [−55.00, −36.67]</dd></div><div><dt>Hidden pair Δ</dt><dd id="hidden-pair">+9.17 [+4.17, +15.00]</dd></div></dl></div><p class="note">The hidden pair probes a particular distinction. Across all eight settings, separation programs agree with the reference on only 1.93–5.78% of inputs activating both rules.</p></section>
12 unmodified lines1314151617181912 unmodified linescopy = source["locales"][locale]article = source["article"]out = ["# " + copy["title"], f"Wenzhang Du · arXiv:2611.24975v1 · v{article['version']} · {article['published']}", copy["summary"]]for part in source["sections"]:out.append("## " + local(part["title"]))out.extend(part["paragraphs"][locale])12 unmodified lines1314151617181912 unmodified linescopy = source["locales"][locale]article = source["article"]out = ["# " + copy["title"], f"Wenzhang Du · arXiv:2611.24975v1 · v{article['version']} · {article['updated']}", copy["summary"]]for part in source["sections"]:out.append("## " + local(part["title"]))out.extend(part["paragraphs"][locale])
GITHUB_README.md+1-1
MANIFEST.json+16-16
README.md+2-2
SNAPSHOT.json+10-10
docs/companion.json+36-36
docs/report.en.md+16-16
docs/report.zh.md+16-16
docs/reproduction.md+2
index.html+2-2
scripts/render_reports.py+1-1