diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-04-25 23:44:00 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-04-25 23:44:00 +0000 |
commit | 97111ecb8681838f2d201420cda12ca9fc7184ed (patch) | |
tree | eee78a3ff75c1c9535b1db89ed273116a6ef3542 /src/theory/arith/kinds | |
parent | de164c9308f6461472b95c23aae68d9d9686d8ae (diff) |
Monday tasks:
* new "well-foundedness" type property (like cardinality) specified in
Theory kinds files; specifies well-foundedness and a ground term
* well-foundedness / finite checks in Datatypes now superseded by type
system isFinite(), isWellFounded(), mkGroundTerm().
* new "RecursionBreaker" template class, a convenient class that keeps
a "seen" trail without you having to pass it around (which is
difficult in cases of mutual recursion) of the idea of passing
around a "seen" trail
Diffstat (limited to 'src/theory/arith/kinds')
-rw-r--r-- | src/theory/arith/kinds | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/theory/arith/kinds b/src/theory/arith/kinds index a0fc71ab4..1871e897a 100644 --- a/src/theory/arith/kinds +++ b/src/theory/arith/kinds @@ -18,8 +18,18 @@ operator MINUS 2 "arithmetic binary subtraction operator" operator UMINUS 1 "arithmetic unary negation" operator DIVISION 2 "arithmetic division" -sort REAL_TYPE Cardinality::REALS "Real type" -sort INTEGER_TYPE Cardinality::INTEGERS "Integer type" +sort REAL_TYPE \ + Cardinality::REALS \ + well-founded \ + "NodeManager::currentNM()->mkConst(Rational(0))" \ + "expr/node_manager.h" \ + "Real type" +sort INTEGER_TYPE \ + Cardinality::INTEGERS \ + well-founded \ + "NodeManager::currentNM()->mkConst(Integer(0))" \ + "expr/node_manager.h" \ + "Integer type" constant CONST_RATIONAL \ ::CVC4::Rational \ |