mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
This commit is contained in:
commit
d3df473279
|
@ -1,3 +1,5 @@
|
||||||
|
# Copyright (c) Microsoft Corporation 2015
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include<vector>
|
#include<vector>
|
||||||
#include"z3++.h"
|
#include"z3++.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include<stdio.h>
|
#include<stdio.h>
|
||||||
#include<stdlib.h>
|
#include<stdlib.h>
|
||||||
#include<stdarg.h>
|
#include<stdarg.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Simple MAXSAT solver on top of the Z3 API.
|
Simple MAXSAT solver on top of the Z3 API.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# Copyright (c) Microsoft Corporation 2015
|
||||||
|
|
||||||
from z3 import *
|
from z3 import *
|
||||||
|
|
||||||
x = Real('x')
|
x = Real('x')
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifndef TPTP5_H_
|
#ifndef TPTP5_H_
|
||||||
#define TPTP5_H_
|
#define TPTP5_H_
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#line 2 "tptp5.lex.cpp"
|
#line 2 "tptp5.lex.cpp"
|
||||||
|
|
||||||
#line 4 "tptp5.lex.cpp"
|
#line 4 "tptp5.lex.cpp"
|
||||||
|
|
57
scripts/mk_copyright.py
Normal file
57
scripts/mk_copyright.py
Normal file
|
@ -0,0 +1,57 @@
|
||||||
|
# Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
|
||||||
|
cr = re.compile("Copyright")
|
||||||
|
aut = re.compile("Automatically generated")
|
||||||
|
|
||||||
|
cr_notice = """
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
def has_cr(file):
|
||||||
|
ins = open(file)
|
||||||
|
lines = 0
|
||||||
|
line = ins.readline()
|
||||||
|
while line and lines < 20:
|
||||||
|
m = cr.search(line)
|
||||||
|
if m:
|
||||||
|
ins.close()
|
||||||
|
return True
|
||||||
|
m = aut.search(line)
|
||||||
|
if m:
|
||||||
|
ins.close()
|
||||||
|
return True
|
||||||
|
line = ins.readline()
|
||||||
|
ins.close()
|
||||||
|
return False
|
||||||
|
|
||||||
|
def add_cr(file):
|
||||||
|
tmp = "%s.tmp" % file
|
||||||
|
ins = open(file)
|
||||||
|
ous = open(tmp,'w')
|
||||||
|
ous.write(cr_notice)
|
||||||
|
line = ins.readline()
|
||||||
|
while line:
|
||||||
|
ous.write(line)
|
||||||
|
line = ins.readline()
|
||||||
|
ins.close()
|
||||||
|
ous.close()
|
||||||
|
os.system("move %s %s" % (tmp, file))
|
||||||
|
|
||||||
|
def add_missing_cr(dir):
|
||||||
|
for root, dirs, files in os.walk(dir):
|
||||||
|
for f in files:
|
||||||
|
if f.endswith('.cpp') or f.endswith('.h') or f.endswith('.c'):
|
||||||
|
path = "%s\\%s" % (root, f)
|
||||||
|
if not has_cr(path):
|
||||||
|
print "Missing CR for %s" % path
|
||||||
|
add_cr(path)
|
||||||
|
|
||||||
|
add_missing_cr('src')
|
||||||
|
add_missing_cr('examples')
|
|
@ -1,7 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Copyright (c) 2015 Microsoft Corporation
|
||||||
# Script for "cloning" (and tracking) all branches at codeplex.
|
# Script for "cloning" (and tracking) all branches at codeplex.
|
||||||
# On Windows, this script must be executed in the "git Bash" console.
|
# On Windows, this script must be executed in the "git Bash" console.
|
||||||
|
|
||||||
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
|
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
|
||||||
git branch --track ${branch##*/} $branch
|
git branch --track ${branch##*/} $branch
|
||||||
done
|
done
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
|
|
||||||
#include<windows.h>
|
#include<windows.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
/* File generated from z3.idl */
|
/* File generated from z3.idl */
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifndef _Z3_API_H_
|
#ifndef _Z3_API_H_
|
||||||
#define _Z3_API_H_
|
#define _Z3_API_H_
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifndef __in
|
#ifndef __in
|
||||||
#define __in
|
#define __in
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "proof_checker.h"
|
#include "proof_checker.h"
|
||||||
#include "ast_ll_pp.h"
|
#include "ast_ll_pp.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "bv_elim.h"
|
#include "bv_elim.h"
|
||||||
#include "bv_decl_plugin.h"
|
#include "bv_decl_plugin.h"
|
||||||
#include "var_subst.h"
|
#include "var_subst.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
Example from Boogie:
|
Example from Boogie:
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
output :: derivation model
|
output :: derivation model
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
/*--
|
/*--
|
||||||
Module Name:
|
Module Name:
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "dl_util.h"
|
#include "dl_util.h"
|
||||||
#include "proof_utils.h"
|
#include "proof_utils.h"
|
||||||
#include "ast_smt2_pp.h"
|
#include "ast_smt2_pp.h"
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include"datalog_parser.h"
|
#include"datalog_parser.h"
|
||||||
#include"string_buffer.h"
|
#include"string_buffer.h"
|
||||||
#include"str_hashtable.h"
|
#include"str_hashtable.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "check_relation.h"
|
#include "check_relation.h"
|
||||||
#include "dl_relation_manager.h"
|
#include "dl_relation_manager.h"
|
||||||
#include "qe_util.h"
|
#include "qe_util.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "karr_relation.h"
|
#include "karr_relation.h"
|
||||||
#include "bool_rewriter.h"
|
#include "bool_rewriter.h"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include"smtlib.h"
|
#include"smtlib.h"
|
||||||
#include"ast_pp.h"
|
#include"ast_pp.h"
|
||||||
#include"ast_smt2_pp.h"
|
#include"ast_smt2_pp.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "ast.h"
|
#include "ast.h"
|
||||||
#include "nlarith_util.h"
|
#include "nlarith_util.h"
|
||||||
#include "arith_decl_plugin.h"
|
#include "arith_decl_plugin.h"
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef __QE_ARITH_H_
|
#ifndef __QE_ARITH_H_
|
||||||
#define __QE_ARITH_H_
|
#define __QE_ARITH_H_
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include "qe.h"
|
#include "qe.h"
|
||||||
#include "array_decl_plugin.h"
|
#include "array_decl_plugin.h"
|
||||||
#include "expr_safe_replace.h"
|
#include "expr_safe_replace.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "qe_cmd.h"
|
#include "qe_cmd.h"
|
||||||
#include "qe.h"
|
#include "qe.h"
|
||||||
#include "cmd_context.h"
|
#include "cmd_context.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
// ---------------------
|
// ---------------------
|
||||||
// datatypes
|
// datatypes
|
||||||
// Quantifier elimination routine for recursive data-types.
|
// Quantifier elimination routine for recursive data-types.
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include "qe.h"
|
#include "qe.h"
|
||||||
#include "expr_safe_replace.h"
|
#include "expr_safe_replace.h"
|
||||||
#include "dl_decl_plugin.h"
|
#include "dl_decl_plugin.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "qe_util.h"
|
#include "qe_util.h"
|
||||||
#include "bool_rewriter.h"
|
#include "bool_rewriter.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include<fstream>
|
#include<fstream>
|
||||||
#include<signal.h>
|
#include<signal.h>
|
||||||
#include<time.h>
|
#include<time.h>
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\page cmdline Command line options
|
\page cmdline Command line options
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
static char const g_pattern_database[] =
|
static char const g_pattern_database[] =
|
||||||
"(benchmark patterns \n"
|
"(benchmark patterns \n"
|
||||||
" :status unknown \n"
|
" :status unknown \n"
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include"arith_bounds_tactic.h"
|
#include"arith_bounds_tactic.h"
|
||||||
#include"arith_decl_plugin.h"
|
#include"arith_decl_plugin.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include "z3.h"
|
#include "z3.h"
|
||||||
#include "z3_private.h"
|
#include "z3_private.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include<stdio.h>
|
#include<stdio.h>
|
||||||
#include"z3.h"
|
#include"z3.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "arith_rewriter.h"
|
#include "arith_rewriter.h"
|
||||||
#include "bv_decl_plugin.h"
|
#include "bv_decl_plugin.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "arith_eq_solver.h"
|
#include "arith_eq_solver.h"
|
||||||
#include "smt_params.h"
|
#include "smt_params.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
// Test some bit hacks
|
// Test some bit hacks
|
||||||
#include"util.h"
|
#include"util.h"
|
||||||
#include"debug.h"
|
#include"debug.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "bv_simplifier_plugin.h"
|
#include "bv_simplifier_plugin.h"
|
||||||
#include "arith_decl_plugin.h"
|
#include "arith_decl_plugin.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "memory_manager.h"
|
#include "memory_manager.h"
|
||||||
#include "smt_params.h"
|
#include "smt_params.h"
|
||||||
#include "ast.h"
|
#include "ast.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "datalog_parser.h"
|
#include "datalog_parser.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
#include "arith_decl_plugin.h"
|
#include "arith_decl_plugin.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "ddnf.h"
|
#include "ddnf.h"
|
||||||
#include "tbv.h"
|
#include "tbv.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "datalog_parser.h"
|
#include "datalog_parser.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
#include "arith_decl_plugin.h"
|
#include "arith_decl_plugin.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include "dl_context.h"
|
#include "dl_context.h"
|
||||||
#include "dl_register_engine.h"
|
#include "dl_register_engine.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "datalog_parser.h"
|
#include "datalog_parser.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
#include "dl_table_relation.h"
|
#include "dl_table_relation.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include "dl_context.h"
|
#include "dl_context.h"
|
||||||
#include "dl_register_engine.h"
|
#include "dl_register_engine.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include "dl_context.h"
|
#include "dl_context.h"
|
||||||
#include "dl_table.h"
|
#include "dl_table.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "dl_util.h"
|
#include "dl_util.h"
|
||||||
|
|
||||||
using namespace datalog;
|
using namespace datalog;
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "doc.h"
|
#include "doc.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "expr_rand.h"
|
#include "expr_rand.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
#include "bv_decl_plugin.h"
|
#include "bv_decl_plugin.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "expr_substitution.h"
|
#include "expr_substitution.h"
|
||||||
#include "smt_params.h"
|
#include "smt_params.h"
|
||||||
#include "substitution.h"
|
#include "substitution.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "factor_rewriter.h"
|
#include "factor_rewriter.h"
|
||||||
#include "bv_decl_plugin.h"
|
#include "bv_decl_plugin.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "expr_delta.h"
|
#include "expr_delta.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "expr_rand.h"
|
#include "expr_rand.h"
|
||||||
#include "bv_decl_plugin.h"
|
#include "bv_decl_plugin.h"
|
||||||
#include "array_decl_plugin.h"
|
#include "array_decl_plugin.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "z3.h"
|
#include "z3.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "heap_trie.h"
|
#include "heap_trie.h"
|
||||||
|
|
||||||
struct unsigned_le {
|
struct unsigned_le {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "hilbert_basis.h"
|
#include "hilbert_basis.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
#include "reg_decl_plugins.h"
|
#include "reg_decl_plugins.h"
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include "horn_subsume_model_converter.h"
|
#include "horn_subsume_model_converter.h"
|
||||||
#include "arith_decl_plugin.h"
|
#include "arith_decl_plugin.h"
|
||||||
#include "model_smt2_pp.h"
|
#include "model_smt2_pp.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "hilbert_basis.h"
|
#include "hilbert_basis.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include "z3.h"
|
#include "z3.h"
|
||||||
#include "z3_private.h"
|
#include "z3_private.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "model2expr.h"
|
#include "model2expr.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
#include "arith_decl_plugin.h"
|
#include "arith_decl_plugin.h"
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include "ast.h"
|
#include "ast.h"
|
||||||
#include "smt_params.h"
|
#include "smt_params.h"
|
||||||
#include "smt_context.h"
|
#include "smt_context.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "nlarith_util.h"
|
#include "nlarith_util.h"
|
||||||
#include "arith_decl_plugin.h"
|
#include "arith_decl_plugin.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "pdr_context.h"
|
#include "pdr_context.h"
|
||||||
#include "reg_decl_plugins.h"
|
#include "reg_decl_plugins.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "th_rewriter.h"
|
#include "th_rewriter.h"
|
||||||
#include "smt2parser.h"
|
#include "smt2parser.h"
|
||||||
#include "arith_decl_plugin.h"
|
#include "arith_decl_plugin.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "proof_checker.h"
|
#include "proof_checker.h"
|
||||||
#include "ast_ll_pp.h"
|
#include "ast_ll_pp.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "qe_arith.h"
|
#include "qe_arith.h"
|
||||||
#include "qe.h"
|
#include "qe.h"
|
||||||
#include "th_rewriter.h"
|
#include "th_rewriter.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "ast.h"
|
#include "ast.h"
|
||||||
#include "smt_params.h"
|
#include "smt_params.h"
|
||||||
#include "simplifier.h"
|
#include "simplifier.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "ast.h"
|
#include "ast.h"
|
||||||
#include "smt_params.h"
|
#include "smt_params.h"
|
||||||
#include "qe.h"
|
#include "qe.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "sat_solver.h"
|
#include "sat_solver.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "sparse_matrix.h"
|
#include "sparse_matrix.h"
|
||||||
#include "sparse_matrix_def.h"
|
#include "sparse_matrix_def.h"
|
||||||
#include "simplex.h"
|
#include "simplex.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include "z3.h"
|
#include "z3.h"
|
||||||
#include "z3_private.h"
|
#include "z3_private.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include<iostream>
|
#include<iostream>
|
||||||
#include"util.h"
|
#include"util.h"
|
||||||
#include"trace.h"
|
#include"trace.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
// This is to test the print-parse facilities over the API
|
// This is to test the print-parse facilities over the API
|
||||||
// for SMT-LIB2.
|
// for SMT-LIB2.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "smt_context.h"
|
#include "smt_context.h"
|
||||||
#include "reg_decl_plugins.h"
|
#include "reg_decl_plugins.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
#include "ast.h"
|
#include "ast.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "expr_substitution.h"
|
#include "expr_substitution.h"
|
||||||
#include "smt_params.h"
|
#include "smt_params.h"
|
||||||
#include "substitution.h"
|
#include "substitution.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "tbv.h"
|
#include "tbv.h"
|
||||||
|
|
||||||
static void tst1(unsigned num_bits) {
|
static void tst1(unsigned num_bits) {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "stopwatch.h"
|
#include "stopwatch.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "smt_context.h"
|
#include "smt_context.h"
|
||||||
#include "dl_decl_plugin.h"
|
#include "dl_decl_plugin.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "smt_context.h"
|
#include "smt_context.h"
|
||||||
#include "ast_pp.h"
|
#include "ast_pp.h"
|
||||||
#include "model_v2_pp.h"
|
#include "model_v2_pp.h"
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include "timeout.h"
|
#include "timeout.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include "udoc_relation.h"
|
#include "udoc_relation.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
|
||||||
|
/*++
|
||||||
|
Copyright (c) 2015 Microsoft Corporation
|
||||||
|
|
||||||
|
--*/
|
||||||
|
|
||||||
#include<iostream>
|
#include<iostream>
|
||||||
#include<stdlib.h>
|
#include<stdlib.h>
|
||||||
#include<limits.h>
|
#include<limits.h>
|
||||||
|
|
Loading…
Reference in a new issue