From 66ea7b1010bdbb3a9805d0bb425ac05aa62c9b8d Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 22:16:33 +0000 Subject: [PATCH] fix(proofs): run Agda with --without-K --cubical-compatible PROOF-POLICY 2.1: the proof-check-agda recipes in rattlescript and affinescript-vite ran plain --safe, and their template Properties.agda had no OPTIONS pragma. PROOF-POLICY 8.4: report 0 of 7 instead of 0%. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_0165rGu3tsKmJtevmrdMVyfJ --- .../.machine_readable/compliance/PROOF-STATUS.adoc | 2 +- affinescript-ecosystem/affinescript-vite/Justfile | 2 +- .../affinescript-vite/verification/proofs/agda/Properties.agda | 2 ++ affinescript-ecosystem/rattlescript/Justfile | 2 +- affinescript-ecosystem/rattlescript/PROOF-STATUS.adoc | 2 +- .../rattlescript/verification/proofs/agda/Properties.agda | 2 ++ 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/affinescript-ecosystem/affinescript-vite/.machine_readable/compliance/PROOF-STATUS.adoc b/affinescript-ecosystem/affinescript-vite/.machine_readable/compliance/PROOF-STATUS.adoc index 2f531bda0..99548def7 100644 --- a/affinescript-ecosystem/affinescript-vite/.machine_readable/compliance/PROOF-STATUS.adoc +++ b/affinescript-ecosystem/affinescript-vite/.machine_readable/compliance/PROOF-STATUS.adoc @@ -15,7 +15,7 @@ |*Total* |*7* |*0* |*0* |*0* |*7* |=== -*Overall*: 0% proven +*Overall*: 0 of 7 obligations proven === Proofs Done diff --git a/affinescript-ecosystem/affinescript-vite/Justfile b/affinescript-ecosystem/affinescript-vite/Justfile index cd51f3304..303fcaba4 100644 --- a/affinescript-ecosystem/affinescript-vite/Justfile +++ b/affinescript-ecosystem/affinescript-vite/Justfile @@ -1403,7 +1403,7 @@ proof-check-agda: ERRORS=0 for f in "$(find verification/proofs/agda -name '*.agda' 2>/dev/null)"; do echo -n " Checking "$f" ... " - if agda --safe "$f" 2>/dev/null; then + if agda --safe --without-K --cubical-compatible "$f" 2>/dev/null; then echo "OK" else echo "FAIL" diff --git a/affinescript-ecosystem/affinescript-vite/verification/proofs/agda/Properties.agda b/affinescript-ecosystem/affinescript-vite/verification/proofs/agda/Properties.agda index d78d9d0f7..4c5aa9e78 100644 --- a/affinescript-ecosystem/affinescript-vite/verification/proofs/agda/Properties.agda +++ b/affinescript-ecosystem/affinescript-vite/verification/proofs/agda/Properties.agda @@ -5,6 +5,8 @@ -- Replace with your project's domain-specific proofs. -- All proofs must be total (no postulate, no {-# TERMINATING #-}). +{-# OPTIONS --safe --without-K --cubical-compatible #-} + module Properties where open import Data.Nat using (ℕ; zero; suc; _+_; _≤_; z≤n; s≤s; _<_) diff --git a/affinescript-ecosystem/rattlescript/Justfile b/affinescript-ecosystem/rattlescript/Justfile index 5d85b2b9c..837db9acc 100644 --- a/affinescript-ecosystem/rattlescript/Justfile +++ b/affinescript-ecosystem/rattlescript/Justfile @@ -1410,7 +1410,7 @@ proof-check-agda: ERRORS=0 for f in $(find verification/proofs/agda -name '*.agda' 2>/dev/null); do echo -n " Checking $f ... " - if agda --safe "$f" 2>/dev/null; then + if agda --safe --without-K --cubical-compatible "$f" 2>/dev/null; then echo "OK" else echo "FAIL" diff --git a/affinescript-ecosystem/rattlescript/PROOF-STATUS.adoc b/affinescript-ecosystem/rattlescript/PROOF-STATUS.adoc index 2f531bda0..99548def7 100644 --- a/affinescript-ecosystem/rattlescript/PROOF-STATUS.adoc +++ b/affinescript-ecosystem/rattlescript/PROOF-STATUS.adoc @@ -15,7 +15,7 @@ |*Total* |*7* |*0* |*0* |*0* |*7* |=== -*Overall*: 0% proven +*Overall*: 0 of 7 obligations proven === Proofs Done diff --git a/affinescript-ecosystem/rattlescript/verification/proofs/agda/Properties.agda b/affinescript-ecosystem/rattlescript/verification/proofs/agda/Properties.agda index d78d9d0f7..4c5aa9e78 100644 --- a/affinescript-ecosystem/rattlescript/verification/proofs/agda/Properties.agda +++ b/affinescript-ecosystem/rattlescript/verification/proofs/agda/Properties.agda @@ -5,6 +5,8 @@ -- Replace with your project's domain-specific proofs. -- All proofs must be total (no postulate, no {-# TERMINATING #-}). +{-# OPTIONS --safe --without-K --cubical-compatible #-} + module Properties where open import Data.Nat using (ℕ; zero; suc; _+_; _≤_; z≤n; s≤s; _<_)