interplane.Get Omega
Read in your language

omega-principia

This project has not described itself yet.

Brought by drakestapleton

branch main Branches Tags History

omega-principia / scripts / study_adaptive_collider.sh

9 lines · 486 bytes Raw Blame History
1#!/bin/sh
2set -eu
3root=$(CDPATH='' cd -- "$(dirname "$0")/.." && pwd)
4if [ "$#" != 2 ] || [ "$1" != protocol ] || ! cmp -s "$2" "$root/experiments/adaptive_collider/protocol.tsv"; then
5 echo "usage: study_adaptive_collider.sh protocol experiments/adaptive_collider/protocol.tsv" >&2
6 exit 2
7fi
8: "${OMC:?set the local pinned Linux compiler}" "${LEAN:?set the Lean 4 binary}"
9exec python3 "$root/scripts/adaptive_collider/study.py" "${COLLIDER_OUT:-$root/build/adaptive-collider}"