C*: C言語におけるプログラミングと検証の統合
C*: Unifying Programming and Verification in C (arxiv.org)
要約
C*は、C言語に検証機能を統合した新しいプログラミング言語設計です。これにより、開発者は実装コードと並行して証明コードを記述し、リアルタイムでの検証が可能になります。この言語は、プログラミングと証明コード開発をC言語で統一し、開発コストの削減とアクセシビリティの向上を目指しています。
全文翻訳
Computer Science > Programming Languages
arXiv:2504.02246 (cs)
[Submitted on 3 Apr 2025]
Title:C*: Cにおけるプログラミングと検証の統合
Authors:[Yiyuan Cao][Jiayi Zhuang][Houjin Chen][Jinkai Fan][Wenbo Xu][Zhiyi Wang][Di Wang][Qinxiang Cao][Yingfei Xiong][Haiyan Zhao][Zhenjiang Hu]
View a PDF of the paper titled C*: Unifying Programming and Verification in C, by Yiyuan Cao and 10 other authors
[View PDF](https://arxiv.org/pdf/2504.02246) [HTML (experimental)]
Abstract:システムソフトウェアの正確な機能性を保証することは、その安全性重視かつ低レベルな性質から、形式検証の研究と応用の主要な焦点となっています。検証ツールの進歩にもかかわらず、従来のプログラマーは自身のコードの検証にほとんど関与しておらず、検証済みソフトウェアの開発・保守コストが高くなる結果を招いています。プログラマーが検証プラクティスに参加する上での主な障壁は、プログラミングと検証の実践環境およびパラダイムの断絶であり、これがアクセシビリティとリアルタイム検証を制限しています。
私たちは、Cプログラミングのための証明統合型言語設計であるC*を導入します。C*は、シンボリック実行エンジンとLCFスタイルの証明カーネルによって強化された検証機能でCを拡張します。実装コードの横に証明コードブロックを埋め込むことを可能にし、現在の証明状態のインタラクティブな更新を促進することで、リアルタイム検証を可能にします。その表現力豊かで拡張可能な証明サポートにより、ユーザーは論理定義、定理、およびプログラム可能な証明自動化の再利用可能なライブラリを構築できます。特に重要なのは、C*はCを共通言語として使用することで、実装と証明コードの開発を統合することです。
私たちはC*のプロトタイプを実装し、小規模なCプログラムの代表的なベンチマークと、pKVMのバディアロケータのattach関数という挑戦的な実世界のケーススタディで評価しました。私たちの結果は、C*がCプログラミングイディオムの広範なサブセットの検証をサポートし、実世界のシナリオにおける複雑な推論タスクを効果的に処理できることを示しています。
|
| ---
| Subjects: | Programming Languages (cs.PL); Software Engineering (cs.SE)
|
| Cite as: | [arXiv:2504.02246 [[cs.PL]]
|
| | (or [arXiv:2504.02246v1 [[cs.PL]] for this version)
|
| | [https://doi.org/10.48550/arXiv.2504.02246 arXiv-issued DOI via DataCite
Submission history
From: Yiyuan Cao [view email]
[v1] Thu, 3 Apr 2025 03:22:22 UTC (414 KB)
Full-text links:
Access Paper:
View a PDF of the paper titled C*: Unifying Programming and Verification in C, by Yiyuan Cao and 10 other authors
- [[View PDF](https://arxiv.org/pdf/2504.02246)]
- [HTML (experimental)]
- [[TeX Source](https://arxiv.org/src/2504.02246)]
[画像: license icon] view license
Additional Features
- [[Audio Summary](https://arxiv.org/audio/2504.02246)]
Current browse context:
cs.PL
[< prev](https://arxiv.org/prevnext?id=2504.02246&function=prev&context=cs.PL) | next >
[new](https://arxiv.org/list/cs.PL/new) | [[recent](https://arxiv.org/list/cs.PL/recent) | [[2025-04](https://arxiv.org/list/cs.PL/2025-04)]
Change to browse by:
[cs](https://arxiv.org/abs/2504.02246?context=cs)
[cs.SE](https://arxiv.org/abs/2504.02246?context=cs.SE)
References & Citations
- [[SciX](https://scixplorer.org/abs/arXiv:2504.02246)]
- [[Google Scholar](https://scholar.google.com/scholar_lookup?arxiv_id=2504.02246)]
- [[Semantic Scholar](https://api.semanticscholar.org/arXiv:2504.02246)]
Loading...
BibTeX formatted citation
loading...
Data provided by:
Bookmark
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer ([What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))
Connected Papers Toggle
Connected Papers ([What is Connected Papers?](https://www.connectedpapers.com/about))
Litmaps Toggle
Litmaps ([What is Litmaps?](https://www.litmaps.co/))
scite.ai Toggle
scite Smart Citations ([What are Smart Citations?](https://www.scite.ai/))
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv ([What is alphaXiv?](https://alphaxiv.org/))
Links to Code Toggle
CatalyzeX Code Finder for Papers ([What is CatalyzeX?](https://www.catalyzex.com/))
DagsHub Toggle
DagsHub ([What is DagsHub?](https://dagshub.com/))
GotitPub Toggle
Gotit.pub ([What is GotitPub?](http://gotit.pub/faq))
Huggingface Toggle
Hugging Face ([What is Huggingface?](https://huggingface.co/huggingface))
ScienceCast Toggle
ScienceCast ([What is ScienceCast?](https://sciencecast.org/welcome))
Demos
Demos
Replicate Toggle
Replicate ([What is Replicate?](https://replicate.com/docs/arxiv/about))
Spaces Toggle
Hugging Face Spaces ([What is Spaces?](https://huggingface.co/docs/hub/spaces))
Spaces Toggle
TXYZ.AI ([What is TXYZ.AI?](https://txyz.ai/))
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower ([What are Influence Flowers?](https://influencemap.cmlab.dev/))
Core recommender toggle
CORE Recommender ([What is CORE?](https://core.ac.uk/services/recommender))
- Author
- Venue
- Institution
- Topic
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? [[Learn more about arXivLabs](https://info.arxiv.org/labs/index.html).
[Which authors of this paper are endorsers?](https://arxiv.org/auth/show-endorsers/2504.02246) | Disable MathJax ([[What is MathJax?](https://info.arxiv.org/help/mathjax.html)))