diff options
author | Josh Chen | 2020-07-16 16:46:09 +0200 |
---|---|---|
committer | Josh Chen | 2020-07-16 16:46:09 +0200 |
commit | 3bcaf5d1c40b513f8e4590f7d38d3eef8393092e (patch) | |
tree | 020b56710e1f1cd86c1b97a0c5ca6c689c30fb55 /spartan/core/lib.ML | |
parent | 2a2fa1e4c643b73165af030dc3b6128886f7b654 (diff) |
Checkpoint. THIS BUILD WILL FAIL
Diffstat (limited to '')
-rw-r--r-- | spartan/core/lib.ML | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spartan/core/lib.ML b/spartan/core/lib.ML index 615f601..7b93a08 100644 --- a/spartan/core/lib.ML +++ b/spartan/core/lib.ML @@ -7,6 +7,7 @@ val maxint: int list -> int (*Terms*) val is_rigid: term -> bool +val no_vars: term -> bool val dest_eq: term -> term * term val mk_Var: string -> int -> typ -> term val lambda_var: term -> term -> term @@ -50,6 +51,8 @@ val maxint = max (op >) val is_rigid = not o is_Var o head_of +val no_vars = not o exists_subterm is_Var + fun dest_eq (Const (\<^const_name>\<open>Pure.eq\<close>, _) $ t $ def) = (t, def) | dest_eq _ = error "dest_eq" |