Metraipolis › archive › dc_497c0730ab00

GenOS: Compositional Certificates for Semantic Robustness in AI Code Generation — arXiv:2608.03588

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.03588
License (as archived)
CC0-1.0
Archived
2026-10-31T12:19:28.787Z
SHA-256 of the archived text
f43028ed897e710c199189c7c3873b4e5a482c6a1cf8588fa710491fe59c0e84
Stable URL of this page
https://metraipolis.com/documento/dc_497c0730ab00

How to cite

GenOS: Compositional Certificates for Semantic Robustness in AI Code Generation — arXiv:2608.03588 — arXiv (en), https://arxiv.org/abs/2608.03588 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_497c0730ab00 (Metraipolis archive dc_497c0730ab00, sha256 f43028ed897e710c199189c7c3873b4e5a482c6a1cf8588fa710491fe59c0e84)
BibTeX
@misc{dc497c0730ab00,
  title = {GenOS: Compositional Certificates for Semantic Robustness in AI Code Generation — arXiv:2608.03588},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.03588},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_497c0730ab00; sha256 f43028ed897e710c199189c7c3873b4e5a482c6a1cf8588fa710491fe59c0e84},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.03588. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

AI coding agents are stochastic workflows: prompts are interpreted, artifacts are sampled, validators produce observations, and orchestrators commit or repair. Small prompt or specification changes can therefore alter program-behavior distributions even when the texts appear synonymous. Existing systems evaluate correctness, but lack a compositional criterion for safely replacing a prompt, contract, generator, or program inside a complete agentic workflow. We introduce GenOS, a probabilistic operational semantics for this replacement problem. Each layer is modeled as a Markov kernel, and each interface carries an observer-relative equivalence. We prove that equivalence-compatible kernels descend to quotient classes and that quotienting commutes with distributional extension and sequential composition. Hence, equivalent prompts induce equal probabilities for all downstream equivalence-closed events, including verified commit. We also establish workflow bisimulation, guarded-commit safety under sound validation, total-variation non-expansiveness, and an additive robustness bound that attributes approximation error to individual pipeline layers. An executable insertion-sort audit instantiates the theory with natural-language paraphrases, a formal contract, six programs, two observers, and exhaustive execution on 121 inputs. Equivalent prompts yield identical code-class and commit distributions; a prompt assigning 5% probability to an in-place contract is distinguished by a mutation observer, while downstream distances remain within the predicted bound. Across 20,000 randomized finite-kernel trials, no exact or approximate law is violated. GenOS is model-parametric: compatibility is a measurable property to test, not an assumption about language-model behavior.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-05 in cs.AI).
Categorie arXiv: Programming Languages (cs.PL) ; Artificial Intelligence (cs.AI); Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.03588 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-31T12:05:53.063Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-05?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).