src/HOL/Nunchaku.thy
author blanchet
Fri, 08 Sep 2017 00:01:36 +0200
changeset 66614 1f1c5d85d232
parent 66163 src/HOL/Nunchaku/Nunchaku.thy@45d3d43abee7
child 66637 809d40cfa4de
permissions -rw-r--r--
moved Nunchaku to Main; the goal is to move Nitpick out in the next 1-2 years

(*  Title:      HOL/Nunchaku.thy
    Author:     Jasmin Blanchette, VU Amsterdam
    Copyright   2015, 2016, 2017

Nunchaku: Yet another counterexample generator for Isabelle/HOL.

Nunchaku relies on an external program of the same name. The sources are
available at

    https://github.com/nunchaku-inria

The "$NUNCHAKU_HOME" environment variable must be set to the absolute path to
the directory containing the "nunchaku" executable. The Isabelle components
for CVC4 and Kodkodi are necessary to use these backend solvers.
*)

theory Nunchaku
imports Nitpick
keywords
  "nunchaku" :: diag and
  "nunchaku_params" :: thy_decl
begin

consts unreachable :: 'a

definition The_unsafe :: "('a \<Rightarrow> bool) \<Rightarrow> 'a" where
  "The_unsafe = The"

definition rmember :: "'a set \<Rightarrow> 'a \<Rightarrow> bool" where
  "rmember A x \<longleftrightarrow> x \<in> A"

ML_file "Tools/Nunchaku/nunchaku_util.ML"
ML_file "Tools/Nunchaku/nunchaku_collect.ML"
ML_file "Tools/Nunchaku/nunchaku_problem.ML"
ML_file "Tools/Nunchaku/nunchaku_translate.ML"
ML_file "Tools/Nunchaku/nunchaku_model.ML"
ML_file "Tools/Nunchaku/nunchaku_reconstruct.ML"
ML_file "Tools/Nunchaku/nunchaku_display.ML"
ML_file "Tools/Nunchaku/nunchaku_tool.ML"
ML_file "Tools/Nunchaku/nunchaku.ML"
ML_file "Tools/Nunchaku/nunchaku_commands.ML"

hide_const (open) unreachable The_unsafe rmember

end