Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions PROOF-STATUS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ epistemic-types' `Warrant.agda` is imported (same kernel; pinned commit
| T-2 | *The local frontier is known*: at every world p knows exactly its projected cut, hence every fact about its own frontier — receiving is knowing it was received; synchronously, sending is knowing it was sent | PROVEN (`knows-local-cut`, `knows-local`; `receiver-knows`, `sender-knows`)
| T-3 | p-accessibility is exactly sameness of p's projected cut (both directions) | PROVEN (`knows-local-cut`, `local-cut-determines`)
| T-4 | Party access `p ⊑ q` ("q sees at least what p sees") is a preorder — epistemic-types' `Preorder` record, instantiated — and knowledge is monotone along it | PROVEN (`party-access`, `knows-mono`)
| T-5 | A silent party is below every party; knowledge flows up the preorder only — `1 ⊑ 2` for the witness protocol is refused | PROVEN (`silent-⊑`, `inherited`); TESTED (`tests/reject/AccessWrongWay`). Audit 2026-11-09: the negative half rests only on that fixture, which fails because the view equation is stuck on abstract worlds, not because `1 ⊑ 2` is refuted; no `¬ (1 ⊑ 2)` theorem exists
| T-5 | A silent party is below every party; knowledge flows up the preorder only — `1 ⊑ 2` for the witness protocol is refused | PROVEN (`silent-⊑`, `inherited`, `1-not-⊑-2`); TESTED (`tests/reject/AccessWrongWay`). The negative half is now a theorem: `1-not-⊑-2 : ¬ (1 ⊑ 2)` uses the two witness worlds, which party 2 cannot tell apart and party 1 can. The fixture still fails because the view equation is stuck on abstract worlds, so it tests the type error, not the refutation
| T-6 | epistemic-types' unindexed `AccessibleModality` cannot express this frame directly: its `E : K → Set → Set` has no world index, and world-free knowledge collapses to the proposition itself (reflexivity). With `E : K → (World → Set) → (World → Set)` in the local `IndexedAccessible` record, the choreographic frame is a lawful instance with every law by `refl` | PROVEN (`knowledge`); the current sibling pin (6ce8c74) already contains the upstream Kripke/Indexed module; adapting this local instance to it remains pending
|===

Expand Down Expand Up @@ -420,7 +420,8 @@ proof irrelevance nor choice.
link exists or is claimed. Every MaxPlus discharge above (K-6, W-6, A-2)
inherits that obligation: the Lean theorem is provenance, never an import.
* *Sibling pins.* resource-algebra at
`b2c9f1f6bc7ed7cc83c7573014cdf88d49d2a881`, epistemic-types at
`f211fc1406d345fa6e972bcfc960c0acd57df1cd` (since 2026-11-16, previously
`b2c9f1f6`; the commit its own PWG-1 receipt describes), epistemic-types at
`6ce8c74e8a91e5021cb0c1fb4fc805bdff837178`, echo-types at
`ebde9ac4e1a9f115b441c642c82aced1316c5983` (`scripts/fetch-siblings.sh`,
full SHAs verified after checkout). Correction to the 2026-10-12 entry: the
Expand Down
2 changes: 1 addition & 1 deletion scripts/fetch-siblings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
set -euo pipefail
cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.."

RESOURCE_ALGEBRA_COMMIT="${RESOURCE_ALGEBRA_COMMIT:-b2c9f1f6bc7ed7cc83c7573014cdf88d49d2a881}"
RESOURCE_ALGEBRA_COMMIT="${RESOURCE_ALGEBRA_COMMIT:-f211fc1406d345fa6e972bcfc960c0acd57df1cd}"
EPISTEMIC_TYPES_COMMIT="${EPISTEMIC_TYPES_COMMIT:-6ce8c74e8a91e5021cb0c1fb4fc805bdff837178}"
ECHO_TYPES_COMMIT="${ECHO_TYPES_COMMIT:-ebde9ac4e1a9f115b441c642c82aced1316c5983}"
DEPENDENCIES_DIR="${DEPENDENCIES_DIR:-_build/dependencies}"
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/All.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Checking this module checks the whole development.
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Async.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/AsyncBound.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/AsyncKnowledge.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Base/EchoAdditive.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Base/EchoProjection.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Base/RoleGraded.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Bound.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Global.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/GradingSemantics.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Independent2.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
10 changes: 9 additions & 1 deletion src/Choreographic/Instances.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down Expand Up @@ -202,6 +202,14 @@ module TransportWitness where
inherited : Knows 1 w₂ (λ w' → cutproj 2 (cut w') ≡ cutproj 2 (cut w₂))
inherited = knows-mono w₂ (silent-⊑ 1) (knows-local-cut 2 w₂)

-- The negative half: party 2 does not see at least what party 1 sees.
-- 2 cannot tell w₁ from w₂ (it takes no part), but 1 has received one
-- message at w₁ and two at w₂, so its views differ.
-- Ledger T-5.
1-not-⊑-2 : ¬ (1 ⊑ 2)
1-not-⊑-2 h with h w₁ w₂ Witness.indistinguishable
... | ()

----------------------------------------------------------------------
-- The two-thread diamond (Swap.agda) at the instances. Loss and MaxPlus
-- sequence commutatively, so their global grades swap; the high-water
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/KCut.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Kripke.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Local.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Operational.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/PartialRecovery.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger PR-1.
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Party.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Projection.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Swap.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/Transport.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion src/Choreographic/WarrantClaim.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
--
Expand Down
2 changes: 1 addition & 1 deletion tests/PartialRecoveryBoundary.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger PR-2.
Expand Down
2 changes: 1 addition & 1 deletion tests/minimal-laws/ResourceAlgebra/Core.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- A deliberately impoverished Core used ONLY by scripts/minimal-laws.sh to
-- certify which laws K-CUT-LOSS depends on. Not part of the library.
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/AccessWrongWay.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger T-5.
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/CollidingWholeWorldRecovery.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger PR-2.
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/EmptyDataWarrant.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger WC-4, WC-5.
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/GlobalGradeKnown.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger W-7.
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/InconsistentCut.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger K-7.
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/RevealingResidueCollision.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger PR-2.
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/SenderKnowsReceipt.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger Y-6.
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/UnprojectableChoice.agda
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# OPTIONS --safe --without-K #-}
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}
-- SPDX-License-Identifier: MPL-2.0
-- SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell
-- Ledger K-7.
Expand Down
Loading