Metraipolis › archive › dc_5ec1d06c73c7
Scythe: Semantic-Aware Rewriting for Fast,Effective Program Reduction — arXiv:2611.06515
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.06515
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-05T18:26:30.337Z
- SHA-256 of the archived text
d230196434d5d7174fd8e57901345aba3a4e9669008b36be259ff3be70d92e86- Stable URL of this page
https://metraipolis.com/documento/dc_5ec1d06c73c7
How to cite
Scythe: Semantic-Aware Rewriting for Fast,Effective Program Reduction — arXiv:2611.06515 — arXiv (en), https://arxiv.org/abs/2611.06515 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5ec1d06c73c7 (Metraipolis archive dc_5ec1d06c73c7, sha256 d230196434d5d7174fd8e57901345aba3a4e9669008b36be259ff3be70d92e86)
BibTeX
@misc{dc5ec1d06c73c7,
title = {Scythe: Semantic-Aware Rewriting for Fast,Effective Program Reduction — arXiv:2611.06515},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.06515},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5ec1d06c73c7; sha256 d230196434d5d7174fd8e57901345aba3a4e9669008b36be259ff3be70d92e86},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.06515. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Automated program reduction shrinks a program into a smaller one that preserves a property of interest. Language-agnostic grammar-based reducers are easy to retarget across languages, but because they reason only about syntax, they cannot perform the coupled edits needed to remove whole declarations, e.g., a method cannot be deleted while it is still called. As a result, they waste oracle calls on edits that cannot succeed and often leave irrelevant declarations behind. We present SCYTHE, a fast, semantic-aware pre-processing step that runs in front of any grammar-based reducer without modifying it. SCYTHE encodes the program as a typed declaration dependency graph and applies a set of semantic-aware operators that decouple declarations from their use sites, making them removable while keeping the program well-typed. Fine-grained token-level minimization is then left to the downstream reducer. On 73 benchmarks across C, Java, and Solidity, combining SCYTHE with PERSES never yields a larger result than PERSES alone, and a strictly smaller one on 70 of 73 cases. On average, the combination produces programs 55.6% smaller (up to 95.5%) and is 2.3$\times$ faster (up to 7.4$\times$). SCYTHE also boosts LATRA, a reducer that, unlike the purely syntactic PERSES, also applies language-specific transformations: the combination produces programs 10.6% smaller (up to 61.8%) and is 2.4$\times$ faster on average. Video: this https URL Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.SE, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2611.06515 — 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-11-05T18:16:03.885Z dalla pagina https://arxiv.org/list/cs.SE/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).