#!/usr/bin/perl -w

print ';; emacs lisp file for typechecking/proving this context
;; generated by prove.pl - do not edit !

(setq files \'(
 "';

print join '"
 "', map { /([\w\d]+)\.pvs$/ } @ARGV;

print '"
))

(setq current-prefix-arg t)
(mapcar (lambda (f)
;  (pvs-message (concat "\n--> Typechecking " f))
  (typecheck f)
  ;  (prove-pvs-file f)
  )
  files)
  (save-context)
  (message "Leaving...")
  (exit-pvs)
  (message "Killing...")
  (kill-emacs)
';
