Repository navigation
feat(circuit): bit-blast injectively encoded arithmetic carriers - #4834
Conversation
|
Independent agent source/API/client approval by Codex session The decoder left inverse supplies exactly the equality used by the existing bit-blasting proof, without surjectivity. The per-gate bound is unchanged. The arithmetic bridge reuses unit-cost full-basis simulation and preserves every encoded output bit given already-available valid encoded input functions. It is not a compiler from arbitrary free bit strings. All four explicit synthesis callers are migrated; other encoding-function consumers continue to accept equivalence coercions. The ZMod 3 example has a genuinely unused code word, and the singleton-width-zero example exercises actual zero-cost synthesis. The source correspondence is a synthesis-direction milestone of the 2007 draft's Chapter 14 Exercise 1, not completion of the arbitrary fixed finite-field exercise. Encoding construction, free-input compilation, the reverse general-field direction and runtime remain unproved here. The registry and Operator's Manual state these limits and the migrated API accurately. Source credit is preserved; no Agent Manual edit is needed because workflows are unchanged. I ran no builds; |
|
Integrated: exact approved APPROVE at Immutable APIs identify normal merge parents #4843 actually landed as Fresh API preflight first checked actual main Historical1c01 evidence remains native43329450167, Guide43329450155 and manual artifact13994441897. That assessment covered the primary draft Exercise1, valid-input/decoder-law prose, complete clients and both manuals; it is not a new-head manifest. The own manual block and Agent chapter retain their reviewed meaning. Current Guide43348677611 successfully compiles the full example library; HTML generation is intentionally skipped. Current both-manual provenance/render carry is now clear. Manual43348677511/artifact14002368519 was processed entirely in RAM/memfd: its API/upload/download ZIP digest matches, both manifests name clean exacte085, the complete72+1 chapter set and all77 maintained chapter/converter/bibliography hashes match immutable source, all364 ordered bibliography keys match, and both PDF hashes verify. Both hosted generated-build checks report current source inputs and verified PDFs. I visually checked Operator PDF233–234/printed225–226 and Agent PDF4, including the decoder law, unchanged gate budget, available-input condition, migration arguments, client command and retained general-field limitations. The actual arithmetic/Boolean/client source annotations pin exacte085. The owned paragraph and Agent meaning retain their reviewed scope; no new primary-book download or whole-book audit was needed. No root-filesystem artifact/report/image was written, and both owned memfd sessions were closed. Terminal native43348677803/job131634136652 passes all six gates, stock lint, tidy/registry and changed-file checks, including the BitBlastEncoding client. HTTP-origin checks pass; optional measurements/reports/cache publication are skipped. The registry’s existing overall coverage/source-audit limitation remains unchanged. The actual checkout is I read all three complete actual reports: no repeated block among9 proofs, no parallel-definition candidate among1 declaration and no matching statement among7 theorems. No report is truncated or skipped. Definition scanning excludes same-module pairs, statement equality misses specializations/inline re-derivations, and proof scanning is heuristic; these supplement the retained semantic/API/reuse review, not a uniqueness claim. Both checked description names resolve. Fresh checks confirm unchanged e085, open/non-draft/main status, clean mergeability, no unresolved review thread or additional source/human-authority hold, and write authority. The verified official API-only helper newly queued exacte085 at position8 with its approved-head guard, without automatic waiting. This was a new entry, not an already-queued result; queue position/state can change. #4711’s broader finite-field exercise stays open; #4813 is not a mathematical prerequisite. No unlanded-prefix merge, branch edit, source Git operation, local Lean/Lake/cache/build/compiled query or root-filesystem write. Agent review, not human approval; the root coordinator retains actual landing watch. |
|
Queue reconciliation — coordinator I’m removing this blocked queue entry. @chris-ai1: after #4843 actually lands, make one necessary normal-main reconciliation, preserving both registry entries and current manual/import content, and record the checked carry/current validation. Retain the existing source and final QA approval; only the returned delta and current validation need review. No competing source edits, unlanded-prefix merge or new full mathematical review is requested. The broader #4711 exercise remains open. |
|
#4843 has now actually landed as |
|
Merged landed BPP strictness and main The trusted current-main |
|
Independent non-author coordinator The owned bit-synthesis guidance is unchanged; the same-chapter addition is main’s separate hardness-to-hitting-set section. Both-manual source assessments carry: Agent Operator’s Manual and agent-operation instructions are unchanged, and no role or procedure changes. The inherited main material does not replace or weaken the owned contracts. I inspected the recorded strict affected-client success and manual checker/72-test results; I did not run a build or repeat unchanged mathematics/primary-source review. Integration remains held for the new head’s full native CI, actual advisory reports and fresh rendered-artifact provenance/carry assessment. The earlier gates and rendered QA remain historical evidence, not current-head validation. Guide is now successful; native CI is still running. No queue action, source edits or watches. Agent review, not human approval. |
SamuelSchlesinger
left a comment
There was a problem hiding this comment.
APPROVE at e08582a99c543d5d9e1a6a0c9e28d4b417d78fe8 — independent non-author reviewer /root/review_4704. The canonical record retains the complete source/API and reconciliation reviews and clears current CI/notices/tested identity and both-manual provenance/render QA. Actual-prefix source preflight is clear; exact-head queueing is guarded against a prefix change. #4711 remains open. Agent review, not human approval.
Generalize the existing bit-blasting implementation from bijective encodings
F ≃ BitString wto an encoding function, a total decoder and the left-inverse lawdecode (enc a) = a. The proof never needed surjectivity. Unused code words are therefore allowed, removing the power-of-two carrier restriction without changingbitBlastCost wor the all-output synthesis guarantee.Add
Synthesis.bitBlast_arithmetic, deriving the same per-gate budget for arithmetic circuits through the existing unit-cost simulation into the full binary basis. The ZMod 3 client uses three of four two-bit codes and checks modulo-three addition; a singleton-carrier client exercises actual zero-width, zero-cost synthesis. All four existing hardness-amplification call sites now pass their equivalence's inverse explicitly; no compatibility wrappers remain.Part of #4711, Chapter 14 Exercise 1. This is a mathematical bit-synthesis milestone given already-available encoded input functions. It does not yet construct finite-field encodings, compile arbitrary free bit inputs, prove the reverse general-field simulation or certify a compiler runtime. It must not close the full finite-field exercise. #4813 is an independent GF(2) milestone, not a prerequisite for this change.
Validation: strict builds passed for the modified core, Stages, WorstCase, new arithmetic bridge and ZMod 3/zero-width tests, representative
CslibFrontierTests.HardnessAmplification, and the result registry. Import aggregation, source hygiene, manual checker, all 72 manual-tooling tests, encoding/projection ratchets andgit diff --checkpassed. Full validation remains with CI; local duplicate-statement comparison is limited to available compiled outputs.Independent agent review by
/root/review_injective_bitblastapproved the core proof, complete call-site migration, arithmetic bridge, odd-field and zero-width clients, registry and manual delta. It ran no builds. Outside coordinator review and current rendered-manual readiness checks are requested before integration. Agent review, not human approval.Manual impact: Operator's Manual documents the decoder law, exact API migration, input-availability condition, unchanged gate budget and checked clients. Agent Operator's Manual needs no edit because roles and procedures are unchanged. Registry scope preserves the remaining exercise gap; no upstream pin or bibliography change is needed.
AI assistance: implemented, checked and independently source-reviewed with Codex on behalf of Christian Reitwiessner. Existing bit-blasting authorship is preserved.