# Coq

Coq, formerly known as the Coq Proof Assistant, is an interactive theorem prover and dependently typed programming language for mechanized reasoning and formal verification.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Function Contracts and Beyond: Machine-Checked Assurance Cases for Conformance of C Libraries to Their Requirements

DevFeed: [Function Contracts and Beyond: Machine-Checked Assurance Cases for Conformance of C Libraries to Their Requirements](<https://devfeed.tech/articles/function-contracts-and-beyond-machine-checked-assurance-cases-for-conformance-of-c-libraries-to-their-requirements-145761.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.40119>)

Author: Haokun Li, Zhongyi Wang, Mingshuai Chen, Ling Zhang, Guanyan Li, Depeng Liu, Xiao Yi, Shengchao Qin, Jianwei Yin

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Coq](<https://devfeed.tech/topics/coq.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [artifacts](<https://devfeed.tech/tags/artifacts.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [black](<https://devfeed.tech/tags/black.md>), [building](<https://devfeed.tech/tags/building.md>), [c](<https://devfeed.tech/tags/c.md>), [call](<https://devfeed.tech/tags/call.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [case](<https://devfeed.tech/tags/case.md>), [cases](<https://devfeed.tech/tags/cases.md>), [client](<https://devfeed.tech/tags/client.md>), [compose](<https://devfeed.tech/tags/compose.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [cs-pl](<https://devfeed.tech/tags/cs-pl.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [function](<https://devfeed.tech/tags/function.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [machine](<https://devfeed.tech/tags/machine.md>), [requirements](<https://devfeed.tech/tags/requirements.md>)

### AI overview

Accord uses an LLM-assisted workflow to build machine-checked assurance cases for C libraries: it derives candidate function specifications and interface protocols from requirements, then constructs modular proofs and revises them using feedback. The protocol makes permitted call sequences and resource assumptions available for review; its safety guarantee is conditional on verified contracts and caller obligations. Implemented with VST in Rocq, Accord established memory safety for 259 function definitions across seven cases from six benchmark families, and additional functional correctness for red-black trees and ML-DSA. Estimated human review ranged from 0.17 to 8 hours per case. The guarantees rely on disclosed contracts and assumptions, while human reviewers judge whether formal artifacts conform to intended requirements.

### Source excerpt

arXiv:2609.40119v2 Announce Type: replace-cross Abstract: Large language models (LLMs) have shown promise in automating interactive theorem proving, yet verification of real-world C codebases requires more than discharging individual proof goals. The task involves jointly constructing expressive function specifications and their proofs, and ensuring that library interfaces compose along intended call sequences even without a designated client. We present Accord, an LLM-assisted framework for building machine-checked assurance cases: structured, auditable artifacts supporting the claim that a C codebase meets its intended requirements. To model intended cross-interface use in open libraries, Accord constructs an interface protocol that exposes permitted call sequences and resource assumptions for review, with a conditional safety guarantee under verified contracts and caller obligations. Accord coordinates two complementary phases: (i) requirement-guided analysis and bottom-up construction of candidate specifications and protocols; and (ii) modular proof construction with feedback that revises the specifications and proofs. Implemented using VST in Rocq, Accord establishes memory safety for 259 function definitions across seven implementation cases from six benchmark families, including industrial cryptographic modules, and additional functional correctness for red--black trees and ML-DSA. Human review took an estimated 0.17--8.00 hours per case. The guarantees depend on disclosed contracts and assumptions; human review supplies the conformance judgments connecting the formal artifacts to the intended requirements.

## TrustBound: Mechanized Completeness for Payment Epochs Initiated by AI Agents

DevFeed: [TrustBound: Mechanized Completeness for Payment Epochs Initiated by AI Agents](<https://devfeed.tech/articles/trustbound-mechanized-completeness-for-payment-epochs-initiated-by-ai-agents-139278.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.19551>)

Author: Sandip Nandi, Aishwarya Bose, Apurba Bose, Soovadeep Bakshi

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Coq](<https://devfeed.tech/topics/coq.md>), [consistency](<https://devfeed.tech/topics/consistency.md>), [payment-gateway](<https://devfeed.tech/topics/payment-gateway.md>)

Tags: [accounting](<https://devfeed.tech/tags/accounting.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [completeness](<https://devfeed.tech/tags/completeness.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [fencing](<https://devfeed.tech/tags/fencing.md>), [lean](<https://devfeed.tech/tags/lean.md>), [model](<https://devfeed.tech/tags/model.md>), [payment](<https://devfeed.tech/tags/payment.md>), [reconciliation](<https://devfeed.tech/tags/reconciliation.md>)

### AI overview

The paper separates two guarantees for AI-initiated payment epochs: preventing future effects under earlier authority and accounting exactly for past payments. Its Lean model records operations before granting execution authority and serializes recording and authorization with an admission fence. Under stated premises, fencing fixes a journal covering modeled effects and outstanding rights; discharging those rights prevents further effects, while truthful outcomes for recorded identities enable exact accounting. A mapped provider-contract model requires created payment objects to remain inert until registered, and premise-removal mutations test the necessity of key assumptions. Six service histories are checked against the model in Lean. Bounded schedules, scripted clients, and concurrent workers exercise reconciliation; tested runs exposed conflicts from reordered provider reads, avoided by serializing retrieval with journal updates.

### Source excerpt

arXiv:2611.19551v1 Announce Type: new Abstract: Payment operations requested by an AI agent may remain executable, or their outcomes unresolved, after the agent has stopped. We study when a trusted payment service can account for every payment in an epoch and exclude further payments under earlier authority. We give a Lean model in which operations are recorded before they receive execution authority and both actions are serialized with an admission fence. We prove that fencing fixes a journal that covers every modeled effect and outstanding right; that discharging those rights prevents further effects; and that truthful outcomes for the recorded identities then give exact accounting. A provider-contract model, mapped to the admission model, makes created payment objects inert until registered. Premise-removal mutations confirm that each key premise is needed. We connect the models to an executable service: six service histories are checked against the model in Lean, and bounded schedules, scripted clients and concurrent workers exercise its reconciliation. The concurrent experiments uncovered a conflict caused by reordered provider reads, which serializing retrieval with journal updates removes in all tested cases. The result separates two obligations that are easily conflated in practice - preventing future payments and accounting for past ones - and states precisely which service guarantees establish each.

## Megrez: A Knowledge-Guided Agent for Formal Mathematics over MK Set Theory

DevFeed: [Megrez: A Knowledge-Guided Agent for Formal Mathematics over MK Set Theory](<https://devfeed.tech/articles/megrez-a-knowledge-guided-agent-for-formal-mathematics-over-mk-set-theory-128335.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.13613>)

Author: Tiancheng Xu, Wensheng Yu

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Coq](<https://devfeed.tech/topics/coq.md>), [база знаний](<https://devfeed.tech/topics/tag-c51cc4bf76e5.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [formal](<https://devfeed.tech/tags/formal.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [knowledge-graph](<https://devfeed.tech/tags/knowledge-graph.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [proofs](<https://devfeed.tech/tags/proofs.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [set-theory](<https://devfeed.tech/tags/set-theory.md>), [topology](<https://devfeed.tech/tags/topology.md>)

### AI overview

Megrez coordinates a general coding agent to formalize mathematics in Rocq libraries based on Morse-Kelley set theory, addressing concept-to-declaration alignment, proof search across changing proof states, and reliable integration into a growing codebase. It uses a rebuildable knowledge graph that combines declarations, compiler references, and curated metadata for retrieval; a feedback-driven loop of 1-5 tactic bursts with a goal-local branch ledger and scheduled reflection; and acceptance checks for statement fidelity, axiom use, and full builds. A multi-corpus Provider stack and recoverable batch state machine support integration. Evaluation on a point-set topology corpus is reported to show cross-chapter formalization and scalable premise retrieval; the supplied excerpt gives no quantitative results.

### Source excerpt

arXiv:2611.13613v1 Announce Type: new Abstract: General-purpose coding agents equipped with proof-assistant tools have shown strong performance on standalone competition problems, yet cumulative textbook formalization inside a low-resource mathematical library still faces three obstacles: aligning textbook concepts with library declarations, keeping long-horizon search synchronized with live proof states, and integrating locally verified proofs reliably into a growing codebase. We present Megrez, a knowledge-guided formalization agent for Rocq libraries built on Morse--Kelley (MK) set theory. Megrez coordinates a general coding agent through three mechanisms: (1) a source-rebuildable knowledge graph merging formal declarations, compiler references, and curated metadata to support retrieval via Chinese aliases, concept clusters, proof dependencies, and multi-lane full-text ranking; (2) a feedback-driven 1--5 tactic short-burst proving loop paired with a goal-local branch ledger and exponential-interval structured reflection; and (3) a three-check acceptance pipeline (statement fidelity, axiom auditing, and full builds) coupled with a multi-corpus Provider stack and a candidate-bound recoverable batch state machine. Deployment and evaluation on a point-set topology corpus demonstrate effective cross-chapter formalization and scalable premise retrieval.

## No finite rulebook can certify every safe program: an impossibility theorem for gatekeeping AI agents

DevFeed: [No finite rulebook can certify every safe program: an impossibility theorem for gatekeeping AI agents](<https://devfeed.tech/articles/no-finite-rulebook-can-certify-every-safe-program-an-impossibility-theorem-for-gatekeeping-ai-agents-128299.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.13367>)

Author: Tomas Perez-Acle

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Coq](<https://devfeed.tech/topics/coq.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [rule-engine](<https://devfeed.tech/topics/rule-engine.md>)

Tags: [adversarial](<https://devfeed.tech/tags/adversarial.md>), [ai](<https://devfeed.tech/tags/ai.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [data-privacy](<https://devfeed.tech/tags/data-privacy.md>), [gatekeeping](<https://devfeed.tech/tags/gatekeeping.md>), [machine](<https://devfeed.tech/tags/machine.md>), [simulations](<https://devfeed.tech/tags/simulations.md>)

### AI overview

The paper argues that no finite, machine-checkable pair of rulebooks can completely classify programs against rules such as never performing a forbidden action, keeping outputs independent of secrets, and eventually responding. A finite record can expose a violation of a prohibition, but cannot certify that a program will never violate it; for confidentiality and responsiveness, neither compliance nor violation can always be established this way. The authors characterize which rules about visible behavior can be confirmed and state that a sound rulebook of n bits omits a compliant program of about n bits. Time limits make checks finite but may require running nearly the full limit, which the abstract says is infeasible for a finite machine. Instead of deciding every case, a gatekeeper can provide a checkable list containing everything it must allow and nothing it must refuse. Reported simulations suggest the obstruction is adversarial rather than typical.

### Source excerpt

arXiv:2611.13367v1 Announce Type: new Abstract: An AI assistant writes small programs, and a gatekeeper must decide, from the code alone, whether each one may run. Suppose the rules are fixed: never perform a forbidden action, never let the output depend on a secret, always answer eventually. Can two rulebooks, one listing what is allowed and one listing what is not, both be complete, if every rule must be backed by evidence that a machine can check in finite time? We prove that they cannot. Checkable evidence can only establish what a finite record settles, and ``never'' and ``eventually'' are never settled by a finite record. For prohibitions the failure is one-sided: every violation can be caught by watching, but no safe program can be cleared for good. For confidentiality and responsiveness, neither side can be. We characterise exactly which rules about visible behaviour evidence can confirm, and we show that any sound rulebook of $n$ bits omits a compliant program of about $n$ bits. A time limit makes everything checkable, but only by running the program for essentially the whole limit, so a finite machine is not a feasible one. Finally, we show what a gatekeeper can still guarantee: not a verdict on every program, but a checkable list that contains everything it must allow and nothing it must refuse. Simulations on 2.2 million random programs and on self-referential adversaries show that the obstruction is adversarial rather than typical, and that the one error a longer test never removes is the liveness part of confidentiality.

## Typed Knowledge over Constructive Institutions

DevFeed: [Typed Knowledge over Constructive Institutions](<https://devfeed.tech/articles/typed-knowledge-over-constructive-institutions-120191.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.07432>)

Author: Hans-Martin Will

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [knowledge-engineering](<https://devfeed.tech/topics/knowledge-engineering.md>), [база знаний](<https://devfeed.tech/topics/tag-c51cc4bf76e5.md>), [Coq](<https://devfeed.tech/topics/coq.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [axiom](<https://devfeed.tech/tags/axiom.md>), [class](<https://devfeed.tech/tags/class.md>), [classes](<https://devfeed.tech/tags/classes.md>), [confluent](<https://devfeed.tech/tags/confluent.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [conversion](<https://devfeed.tech/tags/conversion.md>), [covers](<https://devfeed.tech/tags/covers.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [develop](<https://devfeed.tech/tags/develop.md>), [enter](<https://devfeed.tech/tags/enter.md>), [environments](<https://devfeed.tech/tags/environments.md>), [equality](<https://devfeed.tech/tags/equality.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [external](<https://devfeed.tech/tags/external.md>), [free](<https://devfeed.tech/tags/free.md>), [institutions](<https://devfeed.tech/tags/institutions.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [over](<https://devfeed.tech/tags/over.md>)

### AI overview

Eigenius is a typed knowledge store designed to preserve how claims were established, by whom, and under which assumptions. Its dependent type theory keeps proofs as distinct terms while making proofs of the same proposition provably equal through an explicit proof-irrelevance axiom. Definitional equality uses a confluent orthogonal rewriting system; a separate subsumption judgment handles universe cumulativity, covariant function codomains, and declared class inclusions. The work also develops justification logic for tracking evidence and support, models store extensions as institution signature morphisms and external verdicts as comorphisms, and specifies typed knowledge graphs with records, classes, and refinements. It reports a set-theoretic consistency model and correctness results for conversion, normalization by evaluation, and bidirectional type checking relative to termination; a Lean 4 formalization accompanies the volume.

### Source excerpt

arXiv:2611.07432v1 Announce Type: cross Abstract: Type theories designed for mathematics or program verification need only that a proposition holds; proof irrelevance in conversion erases, at the kernel level, how a claim was established. A persistent knowledge store, by contrast, must retain that record: who established a claim, by which derivation or external tool, and under which assumptions. This volume presents the theory of Eigenius---a store of typed knowledge over constructive institutions---and develops its metatheory from that requirement. The kernel theory is a dependent type theory with cumulative universes, an impredicative universe of propositions, inductive families, and an intensional identity type. Proof irrelevance is an axiom with an explicit witness rather than a conversion rule, so proofs of a proposition are provably equal yet remain distinct terms. Definitional equality is joinability under an orthogonal rewriting system---confluent, injective on type formers, and decidable by a type-free test---while a separate subsumption judgment covers universe cumulativity, codomain-covariant function types, and declared class inclusions. We prove consistency via a set-theoretic model; develop a justification logic over the kernel's propositions to track evidence and support; organize environments as an institution so that store extensions are signature morphisms and external verdicts enter via comorphisms; formulate a typed knowledge-graph theory with records, classes, and refinements; and prove the correctness of conversion, normalization by evaluation, and bidirectional type checking relative to termination. A Lean 4 formalization accompanies the volume.

## Demystifying Information Flow Downgrading using the Real--Ideal Paradigm

DevFeed: [Demystifying Information Flow Downgrading using the Real--Ideal Paradigm](<https://devfeed.tech/articles/demystifying-information-flow-downgrading-using-the-real-ideal-paradigm-118685.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05695>)

Author: Suraaj Kanniwadi, Andrew C. Myers

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Coq](<https://devfeed.tech/topics/coq.md>)

Tags: [cryptography](<https://devfeed.tech/tags/cryptography.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-pl](<https://devfeed.tech/tags/cs-pl.md>), [decentralized](<https://devfeed.tech/tags/decentralized.md>), [flow](<https://devfeed.tech/tags/flow.md>), [framework](<https://devfeed.tech/tags/framework.md>), [information](<https://devfeed.tech/tags/information.md>), [integrity](<https://devfeed.tech/tags/integrity.md>), [interaction](<https://devfeed.tech/tags/interaction.md>), [language](<https://devfeed.tech/tags/language.md>), [practical](<https://devfeed.tech/tags/practical.md>), [properties](<https://devfeed.tech/tags/properties.md>), [security](<https://devfeed.tech/tags/security.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [semantics](<https://devfeed.tech/tags/semantics.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [specification](<https://devfeed.tech/tags/specification.md>), [system](<https://devfeed.tech/tags/system.md>)

### AI overview

The paper presents a real-ideal semantic framework for language-based information-flow security that captures noninterference, robust declassification, and nonmalleable information flow without relying on the intensional downgrading events used in earlier semantics. It also reports a practical type system for a while-language with downgrading that enforces these properties. The type system's correctness is characterized as a real-ideal simulation: the security of decentralized systems against a strong attacker can be analyzed using an ideal attacker restricted to interacting with downgrading. The results are formalized in Rocq and publicly available.

### Source excerpt

arXiv:2611.05695v1 Announce Type: cross Abstract: The real--ideal paradigm, an approach to security specification developed in the cryptography community, has the benefit that it can express sophisticated confidentiality and integrity requirements, even for decentralized systems. We show that this paradigm is the basis for a powerful and intuitive new semantic framework for language-based security. Our new framework cleanly and extensionally captures existing security definitions, including not only noninterference but also less understood information flow properties that involve downgrading, such as robust declassification and nonmalleable information flow. Past semantics for these properties have relied on intensional downgrading events. Further, we show that all of these properties can be enforced by a practical information-flow type system for a while-language that supports downgrading. Surprisingly, correctness of this type system is also characterized as a real--ideal simulation, with an important implication: the security of heterogeneous, decentralized systems with a strong (real) attacker can be understood by reasoning about a weak (ideal) attacker whose power is restricted to interaction with downgrading. This result explains the usefulness of nonmalleable information flow and related security properties. The results are fully formalized using the Rocq prover and are publicly available.

## What makes a theorem interesting? Operationalizing interestingness for open-ended exploration

DevFeed: [What makes a theorem interesting? Operationalizing interestingness for open-ended exploration](<https://devfeed.tech/articles/what-makes-a-theorem-interesting-operationalizing-interestingness-for-open-ended-exploration-115399.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.02905>)

Author: Silv\\\`ere Gangloff

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Coq](<https://devfeed.tech/topics/coq.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [agent](<https://devfeed.tech/tags/agent.md>), [also](<https://devfeed.tech/tags/also.md>), [approach](<https://devfeed.tech/tags/approach.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [can](<https://devfeed.tech/tags/can.md>), [canon](<https://devfeed.tech/tags/canon.md>), [community](<https://devfeed.tech/tags/community.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [exploration](<https://devfeed.tech/tags/exploration.md>), [features](<https://devfeed.tech/tags/features.md>), [formal](<https://devfeed.tech/tags/formal.md>), [formalized](<https://devfeed.tech/tags/formalized.md>), [i](<https://devfeed.tech/tags/i.md>), [ideas](<https://devfeed.tech/tags/ideas.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [language](<https://devfeed.tech/tags/language.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [large](<https://devfeed.tech/tags/large.md>), [open](<https://devfeed.tech/tags/open.md>)

### AI overview

The study operationalizes theorem interestingness by learning from results mathematicians single out in formal libraries and papers. In formalized mathematics, features available before evaluation--especially statement and proof length and the subfields used in proofs--predict those selections about as well as a large language model judge, and the two approaches complement each other. Most of the signal is shared and transfers partly across formal libraries; remaining differences reflect practices and individual authors more than subfields. The judge's advantage comes from knowledge of the mathematical canon, while neither method relies on remembering the papers. The abstract suggests this way of inferring community preferences could extend to other sciences.

### Source excerpt

arXiv:2611.02905v1 Announce Type: new Abstract: An agent that explores, whether it generates conjectures or research ideas, must decide which of them are worth keeping. This judgment of interestingness is usually delegated to a hand-picked proxy or to a language model, neither of which is known to correspond to what humans actually value. I study it for mathematical theorems, by observing which results mathematicians single out in formal libraries and in papers. I model each way of singling out results as an evaluator that weights features of a result's statement, its proof and dependencies, and split its weights into a shared and a subjective part. In formalized mathematics, ex-ante features predict these selections as well as a large language-model judge, and the two complement each other. Interestingness is also largely shared. One set of weights, carried mostly by structural features such as the length of the statement and of the proof and the subfields the proof draws on, accounts for most of the signal and transfers in part across formal libraries. What remains subjective depends on practices and individual authors more than on subfields. The judge's advantage lies in its knowledge of the canon, and neither the judge nor the features rely on memory of the papers. The approach, which infers what a community finds interesting from what it singles out, can be applied to other sciences.

## Math Foundation Formalization Agent: A General-Purpose Approach to Formalizing Mathematical Foundations

DevFeed: [Math Foundation Formalization Agent: A General-Purpose Approach to Formalizing Mathematical Foundations](<https://devfeed.tech/articles/math-foundation-formalization-agent-a-general-purpose-approach-to-formalizing-mathematical-foundations-115388.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.02843>)

Author: Jiaxin Xie, Guowei Dou, Xiang Ji, Wensheng Yu

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Math and Logic](<https://devfeed.tech/topics/math-and-logic.md>), [Coq](<https://devfeed.tech/topics/coq.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [case-studies](<https://devfeed.tech/tags/case-studies.md>), [classification](<https://devfeed.tech/tags/classification.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [foundations](<https://devfeed.tech/tags/foundations.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [mathematical-formalization](<https://devfeed.tech/tags/mathematical-formalization.md>)

### AI overview

MFF-Agent combines large language models with the Rocq proof assistant to generate, refine, and verify formal proofs across mathematical domains. It uses task classification, tool-assisted execution, verification feedback, and state-based task management. Case studies cover Morse-Kelley set theory, real numbers, propositional logic, and equivalences of the axiom of choice. The paper distinguishes source-level completion, interactive verification, and reproducible compilation, and presents the framework as feasible for heterogeneous foundation-level tasks while noting that it falls short of a fully integrated mathematical foundation.

### Source excerpt

arXiv:2611.02843v1 Announce Type: cross Abstract: Mathematical formalization plays an important role in establishing rigorous and machine-verifiable foundations for mathematical reasoning. With the development of large language models (LLMs) and interactive theorem provers, intelligent agents offer a promising approach to automating the formalization of mathematical theories. This paper presents the Math Foundation Formalization Agent (MFF-Agent), a general-purpose intelligent agent designed to support formalization tasks across multiple mathematical domains. The agent integrates the reasoning capabilities of large language models with the formal verification capabilities of the Rocq proof assistant. It incorporates task classification, tool-assisted execution, verification feedback, and state-based task management to support the generation, refinement, and verification of formal proofs. Unlike an approach focused on a single mathematical theory, the agent is examined through case studies involving Morse--Kelley axiomatic set theory (MK), real numbers, propositional logic, and equivalences of the axiom of choice. These cases investigate its applicability across mathematical foundations and distinguish source-level completion, interactive verification, and reproducible compilation. The results demonstrate the feasibility of a unified operational framework for heterogeneous foundation-level tasks and clarify the gap between such a framework and a fully integrated mathematical foundation.

## A Constructive Proof of Rice's Theorem and the Halting Problem via Hilbert's Tenth Problem

DevFeed: [A Constructive Proof of Rice's Theorem and the Halting Problem via Hilbert's Tenth Problem](<https://devfeed.tech/articles/a-constructive-proof-of-rice-s-theorem-and-the-halting-problem-via-hilbert-s-tenth-problem-108990.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2604.16477>)

Author: Jonathan Brossard

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Coq](<https://devfeed.tech/topics/coq.md>), [polynomials](<https://devfeed.tech/topics/polynomials.md>)

Tags: [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [halting-problem](<https://devfeed.tech/tags/halting-problem.md>)

### AI overview

The paper gives an intuitionistically valid proof of Rice's theorem, assuming only the undecidability of Hilbert's Tenth Problem (MRDP). For each Diophantine polynomial and non-trivial program property, it constructs two programs whose property-decider outputs would distinguish solvable from unsolvable instances, contradicting MRDP. The proof avoids diagonalization, self-reference, excluded-middle case splits, and checking whether the property holds for the always-diverging program. Halting-problem undecidability follows by applying Rice's theorem to the Terminates property. A Rocq formalization verifies both results in a step-indexed computation model, with MRDP as the sole external axiom.

### Source excerpt

arXiv:2604.16477v2 Announce Type: replace-cross Abstract: Rice's theorem states that no non-trivial semantic property of programs is decidable. Classical proofs proceed by reduction from the halting problem, invoking the law of excluded middle (LEM) twice: once through diagonalization, and once through a case split on whether the always-diverging program bot satisfies the property in question. We present a proof that is constructive relative to the undecidability of Hilbert's Tenth Problem (MRDP): valid in intuitionistic logic, requiring neither diagonalization nor self-reference, and adding no classical reasoning beyond the MRDP assumption itself. The key idea is a two-witness construction. Given a non-trivial property P, we attach to each Diophantine polynomial D a pair of programs S^0_D, S^1_D that behave like the negative and positive witnesses for P when D is solvable, and both diverge identically when it is not. A hypothetical decider for P would therefore decide Diophantine solvability via the difference delta_D = DecideP(S^1_D) - DecideP(S^0_D) -- contradicting the MRDP theorem. The argument is structured as two separate implications, never asserting a disjunction about solvability, and never examining P(bot). The undecidability of the halting problem follows as an immediate corollary: a single application of Rice's theorem to the Terminates property. A formalization in the Rocq proof assistant confirms both results within a step-indexed model of computation, with the undecidability of Hilbert's Tenth Problem as the sole external axiom. Both Rice_Theorem and Halting_Problem are closed under the global context.

## DistOptimize: Automatic Optimization of Distributed Protocols

DevFeed: [DistOptimize: Automatic Optimization of Distributed Protocols](<https://devfeed.tech/articles/distoptimize-automatic-optimization-of-distributed-protocols-107578.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.39017>)

Author: David Chu McElroy, Shadaj Laddad, Lucky Katahanas, Mingwei Samuel, Octavio Lomeli, Natacha Crooks, Joseph M. Hellerstein, Mohsen Lesani

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [consistency](<https://devfeed.tech/topics/consistency.md>), [protocols](<https://devfeed.tech/topics/protocols.md>), [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>), [Coq](<https://devfeed.tech/topics/coq.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [languages](<https://devfeed.tech/tags/languages.md>), [latency](<https://devfeed.tech/tags/latency.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [production](<https://devfeed.tech/tags/production.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [safety](<https://devfeed.tech/tags/safety.md>), [search](<https://devfeed.tech/tags/search.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [verification](<https://devfeed.tech/tags/verification.md>)

### AI overview

DistOptimize automates throughput optimization of distributed protocols while checking that rewrites preserve correctness. It adapts optimizations from academic languages to production frameworks, verifies rewrites in Rocq, and uses calibration and ILP-based search to apply them. In evaluations on fundamental protocols and protocols used at AWS, it improved throughput by up to 4x, with latency increases of at most 0.3 ms. The supplied abstract does not detail the protocols, evaluation setup, or individual optimization results.

### Source excerpt

arXiv:2610.39017v1 Announce Type: new Abstract: Distributed consensus and consistency protocols are difficult to reason about yet foundational to the cloud; as such, they often undergo a rigorous proof and formal verification process before deployment. The same level of rigor is rarely applied to protocol modifications, which occur frequently in production and threaten to compromise safety. In this paper, we eliminate the risk of safety violations from manual modifications by presenting an automatic optimizer for distributed protocols: DistOptimize. DistOptimize adapts throughput optimizations from academic languages to frameworks used in production, verifying the correctness of the rewrites in Rocq and automating their application through a combination of calibration and ILP-based search space navigation. Applied to both fundamental distributed protocols and protocols used at AWS, DistOptimize improves throughput by up to 4x and increases latency by at most 0.3ms.

## Peregrine: A Language-Agnostic Packet Processing Intermediate Representation with Formal Guarantees

DevFeed: [Peregrine: A Language-Agnostic Packet Processing Intermediate Representation with Formal Guarantees](<https://devfeed.tech/articles/peregrine-a-language-agnostic-packet-processing-intermediate-representation-with-formal-guarantees-100186.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.32639>)

Author: Sean Rhee, Xiangyu Gao, Srinivas Narayana, Nate Foster, Joseph Tassarotti, Anirudh Sivaraman

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Networking](<https://devfeed.tech/sources/arxiv-networking.md>)

Topics: [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Coq](<https://devfeed.tech/topics/coq.md>), [Automated reasoning](<https://devfeed.tech/topics/automated-reasoning.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [applications](<https://devfeed.tech/tags/applications.md>), [classification](<https://devfeed.tech/tags/classification.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cs-ni](<https://devfeed.tech/tags/cs-ni.md>), [developers](<https://devfeed.tech/tags/developers.md>), [devices](<https://devfeed.tech/tags/devices.md>), [domain-specific-languages](<https://devfeed.tech/tags/domain-specific-languages.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [dsls](<https://devfeed.tech/tags/dsls.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [formal](<https://devfeed.tech/tags/formal.md>), [guarantees](<https://devfeed.tech/tags/guarantees.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [language](<https://devfeed.tech/tags/language.md>), [languages](<https://devfeed.tech/tags/languages.md>), [packet](<https://devfeed.tech/tags/packet.md>), [processing](<https://devfeed.tech/tags/processing.md>)

### AI overview

Peregrine is a proposed shared, language-agnostic intermediate representation for packet-processing compilers, intended to address fragmented infrastructure and unreliable compilation across programmable network DSLs. It includes formal semantics and an equivalence checker implemented and proven correct in Rocq. The abstract reports that Peregrine can express applications from several state-of-the-art network languages, and that its checker can validate untrusted compiler passes and certify packet-classification algorithms within a reasonable amount of time. The supplied evidence does not detail the experiments or performance limits.

### Source excerpt

arXiv:2610.32639v1 Announce Type: new Abstract: Many different programmable network devices and domain-specific languages (DSLs) for programming them have been developed in recent years. However, the affiliated compiler infrastructure for each DSL has not kept up, leading to unreliable compilation results and ultimately a poor experience for developers. In response to this fragmented ecosystem, we propose an intermediate representation, Peregrine, to consolidate the common compiler functionalities within this domain into a shared, open-source infrastructure. We designed Peregrine to provide formal guarantees from the beginning, rather than adding them in a later step. The language comes with a formal semantics, along with an equivalence checker written and proven correct in Rocq. Experimental results show that Peregrine is general enough to express multiple applications written in various state-of-the-art network programming languages. The equivalence checker designed in Peregrine can be used for validating the correctness of a range of untrusted compiler passes, as well as for other surprising use cases such as certifying the correctness of packet classification algorithms within a reasonable amount of time.

## FVQKD: A Formal Verification of Quantum Key Distribution Security in Rocq

DevFeed: [FVQKD: A Formal Verification of Quantum Key Distribution Security in Rocq](<https://devfeed.tech/articles/fvqkd-a-formal-verification-of-quantum-key-distribution-security-in-rocq-96590.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.30645>)

Author: Ruixuan Deng, Zhengfeng Ji, Jiayu Zhang, Li Zhou

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Coq](<https://devfeed.tech/topics/coq.md>), [Mathematical Components](<https://devfeed.tech/topics/mathcomp.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [applications](<https://devfeed.tech/tags/applications.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lo](<https://devfeed.tech/tags/cs-lo.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [errors](<https://devfeed.tech/tags/errors.md>), [execution](<https://devfeed.tech/tags/execution.md>), [formal](<https://devfeed.tech/tags/formal.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [framework](<https://devfeed.tech/tags/framework.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [key](<https://devfeed.tech/tags/key.md>), [library](<https://devfeed.tech/tags/library.md>), [machine](<https://devfeed.tech/tags/machine.md>), [paper](<https://devfeed.tech/tags/paper.md>), [principles](<https://devfeed.tech/tags/principles.md>), [quant-ph](<https://devfeed.tech/tags/quant-ph.md>), [quantum](<https://devfeed.tech/tags/quantum.md>), [security](<https://devfeed.tech/tags/security.md>), [verification](<https://devfeed.tech/tags/verification.md>)

### AI overview

FVQKD presents an admit-free, end-to-end Rocq proof of composable finite-key security for BB84, checked by the Rocq kernel and standard foundational axioms. The development reconstructs the smooth entropy framework, entropic uncertainty relation, and Quantum Leftover Hash Lemma. It identifies unstated side conditions in the published argument, including one that exposes a missing proof branch, and formalizes protocol execution semantics to ground the information-theoretic bound. Built on MathComp, MathComp-Analysis, and CoqQ, its quantum-information infrastructure is intended for reuse across other QKD variants and quantum cryptography. The authors describe this as the first end-to-end formal verification of a QKD security proof.

### Source excerpt

arXiv:2610.30645v1 Announce Type: cross Abstract: Quantum key distribution (QKD), whose security is derived from quantum mechanics rather than computational assumptions, is moving into standardization and commercial deployment. Yet its security guarantees rest on technically delicate proofs checked by hand. Formal verification closes this gap, establishing a two-factor assurance: unconditional security from physical principles, and machine-checked proofs against reasoning errors. We present FVQKD, a Rocq library for machine-checking QKD security proofs. Its first result is a complete, end-to-end machine-checked proof of composable, finite-key security for BB84. The mechanization reconstructs the complete proof infrastructure from first principles, including the smooth entropy framework, the entropic uncertainty relation, and the Quantum Leftover Hash Lemma. It uncovers necessary side conditions that the published argument leaves unstated, one of which reveals a missing proof branch, and it grounds the information-theoretic bound in a formal semantics of protocol execution, which the pen-and-paper analysis lacks. The proof is entirely admit-free, relying only on the Rocq kernel and standard foundational axioms. To our knowledge, this is the first end-to-end formal verification of a QKD security proof. Built on MathComp, MathComp-Analysis, and CoqQ, the development provides quantum-information infrastructure designed for reuse across broader QKD variants and quantum cryptography applications.

## Coq development team is open to renaming the project

DevFeed: [Coq development team is open to renaming the project](<https://devfeed.tech/articles/coq-will-be-renamed-29485.md>)

Original publisher: [Read original article](<http://lambda-the-ultimate.org/node/5629>)

Published: 2021-04-08T13:47:05Z

Content type: release

Language: en

Sources: [Lambda the Ultimate](<https://devfeed.tech/sources/lambda-the-ultimate.md>)

Topics: [Coq](<https://devfeed.tech/topics/coq.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [diversity](<https://devfeed.tech/tags/diversity.md>), [gender](<https://devfeed.tech/tags/gender.md>), [general](<https://devfeed.tech/tags/general.md>)

### AI overview

The Coq development team says it is open to renaming Coq after community discussions about the project's name, logo, and slang meaning in English, including concerns about gender diversity and its effect on participation.

### Source excerpt

From the Coq-club: The Coq development team acknowledges the recent discussions (started on the Coq-Club mailing list) around Coq's logo and name. We wish to thank everyone that participated in these discussions. Testimonies from people who experienced harassment or awkward situations, reports about students (notably women) who ended up not learning / using Coq because of its name, were all very important so that the community could fully recognize the impact of the current name and its slang meaning in English, especially with respect to gender-diversity in the Coq community. For these reasons, the Coq development team is open to a renaming. Suggestions for alternative names go here.

## Dev Update: Formal Methods

DevFeed: [Dev Update: Formal Methods](<https://devfeed.tech/articles/dev-update-formal-methods-16778.md>)

Original publisher: [Read original article](<https://blog.ethereum.org/en/2016/09/01/formal-methods-roadmap>)

Author: Christian Reitwiessner

Published: 2016-09-01T19:55:01Z

Content type: news

Language: en

Sources: [Ethereum Foundation Blog](<https://devfeed.tech/sources/ethereum-foundation-blog.md>)

Topics: [Ethereum](<https://devfeed.tech/topics/ethereum.md>), [Formal verification](<https://devfeed.tech/topics/formal-verification.md>), [Solidity](<https://devfeed.tech/topics/solidity.md>), [Formal methods](<https://devfeed.tech/topics/formal-methods.md>), [Coq](<https://devfeed.tech/topics/coq.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [developers](<https://devfeed.tech/tags/developers.md>), [ethereum](<https://devfeed.tech/tags/ethereum.md>), [formal-methods](<https://devfeed.tech/tags/formal-methods.md>), [formal-verification](<https://devfeed.tech/tags/formal-verification.md>), [language](<https://devfeed.tech/tags/language.md>), [research-development](<https://devfeed.tech/tags/research-development.md>), [university](<https://devfeed.tech/tags/university.md>), [verification](<https://devfeed.tech/tags/verification.md>)

### AI overview

Ethereum announces that Yoichi Hirai is joining the project as a formal verification engineer. The article discusses automatic analysis, manual proof development, and planned formal-methods work for Solidity and Ethereum-related tools.

### Source excerpt

Today, I am delighted to announce that Yoichi Hirai (pirapira on github) is joining the Ethereum project as a formal verification engineer. He holds a PhD from the University of Tokyo on the topic of formalizing communicating parallel processes and created formal verification tools for Ethereum in his spare time....