Proving AI-Written Code with SPARK ── Humans Write the Contracts, GNATprove Checks Them (archived 2026-11-01)

We add preconditions and postconditions to Ada functions written by AI and prove them with GNATprove, using real output: how to read failures, proofs that pass with weak contracts, and what reviewers should read. Archived version of https://comcomponent.com/en/blog/spark-prove-ai-generated-code/, as published on 2026-11-01. The live article is maintained and may change after this date. First published 2026-11-01.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-01
DOI
https://doi.org/10.5281/zenodo.23856516
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Proving AI-Written Code with SPARK ── Humans Write the Contracts, GNATprove Checks Them (archived 2026-11-01)

Go Komura
1 links
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
article

Proving AI-Written Code with SPARK ── Humans Write the Contracts, GNATprove Checks Them (archived 2026-11-01)

Go Komura
article en

Abstract

We add preconditions and postconditions to Ada functions written by AI and prove them with GNATprove, using real output: how to read failures, proofs that pass with weak contracts, and what reviewers should read. Archived version of https://comcomponent.com/en/blog/spark-prove-ai-generated-code/, as published on 2026-11-01. The live article is maintained and may change after this date. First published 2026-11-01.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 14%
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Proving AI-Written Code with SPARK ── Humans Write the Contracts, GNATprove Checks Them (archived 2026-11-01) — Go Komura · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS