Stellis: A Strategy Language for Purifying Separation Logic Entailments

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Zhiyi, Wu, Xiwei, Fang, Yi, Li, Chengtao, Zhong, Hongyi, Xie, Lihan, Cao, Qinxiang, Hu, Zhenjiang
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912749880082432
author Wang, Zhiyi
Wu, Xiwei
Fang, Yi
Li, Chengtao
Zhong, Hongyi
Xie, Lihan
Cao, Qinxiang
Hu, Zhenjiang
author_facet Wang, Zhiyi
Wu, Xiwei
Fang, Yi
Li, Chengtao
Zhong, Hongyi
Xie, Lihan
Cao, Qinxiang
Hu, Zhenjiang
contents Automatically proving separation logic entailments is a fundamental challenge in verification. While rule-based methods rely on separation logic rules (lemmas) for automation, these rule statements are insufficient for describing automation strategies, which usually involve the alignment and elimination of corresponding memory layouts in specific scenarios. To overcome this limitation, we propose Stellis, a strategy language for purifying separation logic entailments, i.e., removing all spatial formulas to reduce the entailment to a simpler pure entailment. Stellis features a powerful matching mechanism and a flexible action description, enabling the straightforward encoding of a wide range of strategies. To ensure strategy soundness, we introduce an algorithm that generates a soundness condition for each strategy, thereby reducing the soundness of each strategy to the correctness of its soundness condition. Furthermore, based on a mechanized reduction soundness theorem, our prototype implementation generates correctness proofs for the overall automation. We evaluate our system on a benchmark of 229 entailments collected from verification of standard linked data structures and the memory module of a microkernel, and the evaluation results demonstrate that, with such flexibility and convenience provided, our system is also highly effective, which automatically purifies 95.6% (219 out of 229) of the entailments using 5 libraries with 98 strategies.
format Preprint
id arxiv_https___arxiv_org_abs_2512_05159
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Stellis: A Strategy Language for Purifying Separation Logic Entailments
Wang, Zhiyi
Wu, Xiwei
Fang, Yi
Li, Chengtao
Zhong, Hongyi
Xie, Lihan
Cao, Qinxiang
Hu, Zhenjiang
Software Engineering
Programming Languages
Automatically proving separation logic entailments is a fundamental challenge in verification. While rule-based methods rely on separation logic rules (lemmas) for automation, these rule statements are insufficient for describing automation strategies, which usually involve the alignment and elimination of corresponding memory layouts in specific scenarios. To overcome this limitation, we propose Stellis, a strategy language for purifying separation logic entailments, i.e., removing all spatial formulas to reduce the entailment to a simpler pure entailment. Stellis features a powerful matching mechanism and a flexible action description, enabling the straightforward encoding of a wide range of strategies. To ensure strategy soundness, we introduce an algorithm that generates a soundness condition for each strategy, thereby reducing the soundness of each strategy to the correctness of its soundness condition. Furthermore, based on a mechanized reduction soundness theorem, our prototype implementation generates correctness proofs for the overall automation. We evaluate our system on a benchmark of 229 entailments collected from verification of standard linked data structures and the memory module of a microkernel, and the evaluation results demonstrate that, with such flexibility and convenience provided, our system is also highly effective, which automatically purifies 95.6% (219 out of 229) of the entailments using 5 libraries with 98 strategies.
title Stellis: A Strategy Language for Purifying Separation Logic Entailments
topic Software Engineering
Programming Languages
url https://arxiv.org/abs/2512.05159