#!/usr/bin/env bash # Taken from the FStar repository for i in 8 16 32 64; do f=Hacl.UInt$i.fst cat > $f <> $f if [ $i -eq 8 ]; then echo "type byte = t" >> $f fi # if [ $i -eq 128 ]; then # cat >> $f < b:Hacl.UInt64.t -> Pure t (requires True) (ensures (fun c -> v c = Hacl.UInt64.v a * Hacl.UInt64.v b)) EOF fi done