Skip to content
Merged
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
37 changes: 29 additions & 8 deletions .github/workflows/proofs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,35 @@ jobs:
make -f Makefile.all -j"$(nproc)"
echo "✓ Coq: 14/14 theories compiled (CNO + OND)"

# NOTE: an Agda job was attempted but removed. Ubuntu's `agda-stdlib` package
# ships the sources without a usable library manifest, and the apt Agda/stdlib
# pairing on the runner would not resolve `standard-library` reliably across
# four different setups (register / -i include path / synthesized .agda-lib).
# Rather than ship a flaky red job, Agda is verified via the local/container
# gate `proofs/verify-all-provers.sh` (which type-checks CNO.agda + OND.agda).
# To re-add it, a pinned Agda toolchain (e.g. a Nix/setup-agda action with a
# matching agda-stdlib) is the reliable route — not apt.
agda:
name: Agda — CNO + OND
runs-on: ubuntu-24.04
timeout-minutes: 25
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v4
- name: Install Agda (binary only)
# Install just the `agda` binary (2.6.3 on 24.04). NOT `agda-stdlib` —
# the Ubuntu stdlib package ships no usable library manifest; we fetch a
# version-matched stdlib from git instead (validated locally).
run: sudo apt-get update && sudo apt-get install -y agda
- name: Fetch + register agda-stdlib v1.7.3 (matches Agda 2.6.3)
run: |
git clone -q --depth 1 --branch v1.7.3 \
https://github.com/agda/agda-stdlib.git "$HOME/agda-stdlib"
# The upstream manifest is named `standard-library-1.7.3`; the repo's
# absolute-zero.agda-lib depends on `standard-library`, so align it.
sed -i 's/^name: .*/name: standard-library/' \
"$HOME/agda-stdlib/standard-library.agda-lib"
mkdir -p "$HOME/.agda"
echo "$HOME/agda-stdlib/standard-library.agda-lib" > "$HOME/.agda/libraries"
echo "standard-library" > "$HOME/.agda/defaults"
- name: Type-check CNO + OND (--safe --without-K)
working-directory: proofs/agda
run: |
agda --version
agda --safe --without-K CNO.agda
agda --safe --without-K OND.agda
echo "✓ Agda: CNO + OND type-check"

z3:
name: Z3 — CNO + OND bounded checks
Expand Down