Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

Compile checked core and auxiliary proofs with explicit olean output #14

Compile checked core and auxiliary proofs with explicit olean output

Compile checked core and auxiliary proofs with explicit olean output #14

name: Wave2 Family5 Lean 4.32 Check
on:
push:
branches:
- proof/wave2-family5-lean432-check
workflow_dispatch:
permissions:
contents: read
jobs:
lean-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Install exact Lean toolchain
shell: bash
run: |
set -euo pipefail
curl --proto '=https' --tlsv1.2 -sSf \
https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh \
-o /tmp/elan-init.sh
sh /tmp/elan-init.sh -y \
--default-toolchain leanprover/lean4:v4.32.0
printf '%s\n' "$HOME/.elan/bin" >> "$GITHUB_PATH"
- name: Report exact Lean version
shell: bash
run: lean --version
- name: Compile empty-manifest core and auxiliaries
shell: bash
run: |
set -euo pipefail
rm -rf /tmp/wave2-family5-empty
mkdir -p /tmp/wave2-family5-empty
cp verification/wave2_family5/Wave2Family5.lean \
/tmp/wave2-family5-empty/Main.lean
cd /tmp/wave2-family5-empty
test ! -e lakefile.lean
test ! -e lakefile.toml
test ! -e lean-toolchain
if grep -nE '\b(sorry|admit|axiom|native_decide)\b' Main.lean; then
exit 1
fi
printf 'EMPTY_DEPENDENCY_MANIFEST=1\n'
lean Main.lean
cd "$GITHUB_WORKSPACE"
export LEAN_PATH="$PWD"
lean -o verification/wave2_family5/Wave2Family5.olean \
verification/wave2_family5/Wave2Family5.lean
lean verification/wave2_family5/BoolEnumExplicit.lean
lean verification/wave2_family5/StatefulGeneric.lean
printf 'LEAN_COMPILE_EXIT=0\n'