arXiv

ZX-Calculus:Trace-Indexed Dependent Types and Epistemic Semantics

Title: ZX-Calculus: Trace-Indexed Dependent Types and Epistemic Semantics

Abstract:

This paper introduces ZX-Calculus (Knowledge Evolution Calculus), a conservative extension of Martin-Löf Dependent Type Theory (MLTT). This framework synthesizes trace-indexed types, presheaf-based non-monotone semantics, and constructive AGM belief revision. The work is supported by a Coq mechanization featuring 34 fully completed proofs, with no admitted statements regarding the two central results.

(I) Trace Types. We define FinTrace(s0,sn) as an inductive family of typed execution traces. While FinTrace and Star(Step) are isomorphic as path types, they are not judgementally equal. The TraceElim constructor explicitly exposes the event label e:Event, providing a more ergonomic interface for event-driven induction. We establish the Trace-Reachability Correspondence, Deterministic Replay, and a canonicity framework utilizing reducibility candidates and a Transport Lemma. Note that RC-elim is deferred; however, all other Core results are verified in Coq.

(II) Sheaf Semantics. Propositions indexed by traces are modeled as contravariant sheaves over the free trace partial-order category Tf. A Separation Theorem, supported by an explicit countermodel, differentiates proof-theoretic monotonicity from semantic non-monotonicity. The term model serves as an initial CwF, characterized by a syntactic universal property rather than classical completeness.

(III) AGM Belief Revision. We present a constructive partial meet contraction algorithm, verified against conditions (C1)-(C4). All eight AGM postulates (R1)-(R8) are proven as theorems. Specifically, the proofs for R7 and R8 rely on the Disjunctive Entrenchment Lemma, which is derived constructively and self-containedly within this work.

(IV) Integration. We demonstrate that B^AGM fails the sheaf composition law BP-comp for sequential revision, a fact confirmed by an explicit countermodel and Coq verification. To address this, we introduce Single-Step Revision Systems (SSRS), proving that B^AGM constitutes a valid SSRS (also Coq-verified). This validity is sufficient to support trace morphisms, retraction characterization, and revision witnesses. The failure of BP-comp highlights a fundamental, previously unidentified tension between path-dependent belief revision and functor consistency.


Source: arXiv Generated at: 2026-06-03 00:00:00 UTC

Related Articles

TechCrunch

The world’s largest privately owned laser just turned on

Xcimer Energy activated the Phoenix laser, the world’s largest privately owned laser, aiming to commercialize fusion pow...

Uber Targets Doubling Its Fleet of Electric Motorcycles in Kenya
Bloomberg

Uber Targets Doubling Its Fleet of Electric Motorcycles in Kenya

Uber plans to double its electric motorcycle fleet in Kenya. This expansion aims to enhance sustainable transport option...

AI Saves Time But Most Companies Waste the Gain, Study Shows
Bloomberg

AI Saves Time But Most Companies Waste the Gain, Study Shows

A study reveals that while AI saves employee time, most companies fail to capitalize on these gains, squandering potenti...

JPMorgan Lifts S&P Target on Earnings 'Supercycle'
Bloomberg

JPMorgan Lifts S&P Target on Earnings 'Supercycle'

JPMorgan raised its S&P 500 target, citing an earnings “supercycle” that reflects heightened confidence in corporate pro...

Europe Sleepwalking Into Economic Ruin, Serb Leader Says
Bloomberg

Europe Sleepwalking Into Economic Ruin, Serb Leader Says

Serbian leader warns Europe is sleepwalking into economic ruin.

Delta Electronics Flags Power Crunch
Bloomberg

Delta Electronics Flags Power Crunch

Delta Electronics warns of a looming power deficit due to surging demand and constrained production, predicting serious ...