Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Access.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 #-}

module EpistemicTypes.Access where

Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/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 #-}

module EpistemicTypes.All where

Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Applications/IntegerModel.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 #-}

-- Applications / IntegerModel
--
Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Applications/OrderedGroup.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 #-}

-- Applications / OrderedGroup
--
Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Applications/QCriterion.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 #-}

-- Applications / QCriterion
--
Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Applications/RapidNJExamples.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 #-}

-- Applications / RapidNJExamples
--
Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Applications/RapidNJSkip.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 #-}

-- Applications / RapidNJSkip
--
Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Applications/SortedRow.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 #-}

-- Applications / SortedRow
--
Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Base.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 #-}

module EpistemicTypes.Base where

Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/ContinuityExamples.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 #-}

module EpistemicTypes.ContinuityExamples where

Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/EchoBridge.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 #-}

module EpistemicTypes.EchoBridge where

Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Examples.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 #-}

module EpistemicTypes.Examples where

Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Kripke/Belief.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/EpistemicTypes/Kripke/Dependence.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/EpistemicTypes/Kripke/Frame.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/EpistemicTypes/Kripke/Indexed.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/EpistemicTypes/Kripke/Residual.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/EpistemicTypes/ProofTransport.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 #-}

-- Proof statuses carry a successful check and entail a caller-supplied meaning.
-- Soundness is relative to Meaning and the verifier's explicit soundness proof.
Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/ProofTransportExample.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 #-}

-- Executable Boolean certificate checks, semantic soundness, and countercases.
-- ArtifactIsTrue means a Boolean equality, not that a physical action occurred.
Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/ReadConsistency.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 #-}

module EpistemicTypes.ReadConsistency where

Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/SurrealBridge.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 #-}

module EpistemicTypes.SurrealBridge where

Expand Down
2 changes: 1 addition & 1 deletion src/EpistemicTypes/Warrant.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 #-}

module EpistemicTypes.Warrant where

Expand Down
2 changes: 1 addition & 1 deletion tests/check-proofs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ mapfile -t modules < <(find src/EpistemicTypes -name '*.agda' | sort)
[[ ${#modules[@]} -gt 0 ]] || { echo 'FAIL: no proof modules'; exit 1; }
for module in "${modules[@]}"; do
agda --no-libraries --safe --without-K --double-check --ignore-interfaces \
-W error -i src "$module"
-W error -W noUnsupportedIndexedMatch -i src "$module"
done
printf 'PASS: %s source modules checked under the required proof discipline\n' "${#modules[@]}"
2 changes: 1 addition & 1 deletion tests/check-rejections.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ actual_files=$(rg --files tests/reject -g '*.agda' | sort)
[[ "$actual_files" == "$expected_files" ]] || { echo 'FAIL: rejection manifest differs from files'; exit 1; }
for fixture in "${fixtures[@]}"; do
status=0
diagnostic=$(agda --no-libraries --safe --without-K --double-check --ignore-interfaces -W error \
diagnostic=$(agda --no-libraries --safe --without-K --double-check --ignore-interfaces -W error -W noUnsupportedIndexedMatch \
-i src -i tests/reject "tests/reject/$fixture.agda" 2>&1) || status=$?
if [[ "$status" -eq 0 ]]; then
printf 'FAIL: %s unexpectedly type-checked\n' "$fixture"
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/BeliefIsKnowledge.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
module BeliefIsKnowledge where
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/FakeFreshness.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 #-}
module FakeFreshness where
open import Agda.Builtin.Equality
open import EpistemicTypes.ReadConsistency
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/ForgedAcceptance.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 #-}
module ForgedAcceptance where
open import Agda.Builtin.Bool using (true; false)
open import Agda.Builtin.Equality using (refl)
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/ForgedResidue.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 #-}
module ForgedResidue where
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/ForkedHistory.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 #-}
module ForkedHistory where
open import EpistemicTypes.ReadConsistency
import EpistemicTypes.ContinuityExamples as Examples
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/InventedMigration.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 #-}
module InventedMigration where
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/LyingVerifier.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 #-}
module LyingVerifier where
open import Agda.Builtin.Bool using (true; false)
open import Agda.Builtin.Equality using (refl)
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/MismatchedSource.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 #-}
module MismatchedSource where
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/ReplayedArtifact.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 #-}
module ReplayedArtifact where
open import Agda.Builtin.Bool using (false)
open import EpistemicTypes.ProofTransportExample using (Agent; Claim; Artifact; Meaning; Payload; Alice; ArtifactIsTrue; aliceProof)
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/ReplayedHolder.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 #-}
module ReplayedHolder where
open import Agda.Builtin.Bool using (true)
open import EpistemicTypes.ProofTransportExample using (Bob; ArtifactIsTrue; module HolderBoundary)
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/StaleSample.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 #-}
module StaleSample where
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/UncheckedSkip.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 #-}
-- Rejection control: a skip whose check was not accepted.
--
-- The four-taxon scan below is unscannable past its cursor. With r = 4
Expand Down
2 changes: 1 addition & 1 deletion tests/reject/UnderstatedBound.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 #-}
module UnderstatedBound where
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
Expand Down
Loading