#!/bin/bash set -e name=${1%.*} DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo "Running CVC4..." cvc4 --proof --dump-proof --no-simplification --fewer-preprocessing-holes --no-bv-eq --no-bv-ineq --no-bv-algebraic $1 > $name.lfsc # sed -i -e '1d' $name.lfsc # echo "Convert LFSC proof to SMTCoq..." $DIR/../lfsctosmtcoq.native $name.lfsc | grep "^1:" -A 9999999 > $name.log echo "Creating Coq file..." cat > $name.v < ${name}_debug.v < (@Euf_Checker.step_checker t_i t_func t_atom t_form) s a ) s t in let s'' := PArray.mapi (fun i c => (to_Z i, List.map to_Z c)) s' in (PArray.to_list s'', to_Z confl)). End File2. *) EOF cat > ${name}_debug.sh <