mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 14:25:46 +00:00
Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3f9edad676
commit
e9eab22e5c
1186 changed files with 381859 additions and 0 deletions
47
lib/dl_cmds.h
Normal file
47
lib/dl_cmds.h
Normal file
|
@ -0,0 +1,47 @@
|
|||
/*++
|
||||
Copyright (c) 2011 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
dl_cmds.h
|
||||
|
||||
Abstract:
|
||||
Datalog commands for SMT2 front-end.
|
||||
|
||||
Author:
|
||||
|
||||
Leonardo (leonardo) 2011-03-28
|
||||
|
||||
Notes:
|
||||
|
||||
--*/
|
||||
#ifndef _DL_CMDS_H_
|
||||
#define _DL_CMDS_H_
|
||||
|
||||
class cmd;
|
||||
class cmd_context;
|
||||
|
||||
void install_dl_cmds(cmd_context & ctx);
|
||||
|
||||
namespace datalog {
|
||||
|
||||
class context;
|
||||
|
||||
/**
|
||||
Create a command for declaring relations which is connected to
|
||||
a particular datalog context.
|
||||
|
||||
Caller must ensure the returned object is deallocated (e.g. by passing it to a cmd_context).
|
||||
*/
|
||||
cmd * mk_declare_rel_cmd(context& dctx);
|
||||
|
||||
/**
|
||||
Declare a constant as a universal/existential variable.
|
||||
It is implicitly existentially or universally quantified
|
||||
by the rules.
|
||||
*/
|
||||
cmd * mk_declare_var_cmd(context& dctx);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue