-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a basic implementation of BDDs as a HOL derived rule, in the new
file Library/bdd.ml, together with some examples of usage in the other new file Examples/bdd_examples.ml The style of implementation follows Brace, Rudell and Bryant's paper "Efficient implementation of a BDD package" (DAC 1990). This implementation is distantly descended from the hol90 implementation in "Binary Decision Diagrams as a HOL Derived Rule", but greatly simplified since HOL Light handles pointer-eq subterms more efficiently and so we can avoid introducing any additional variables. Also added an extra utility function "atoms" for returning the set of propositional atomic formulas in a Boolean term. Made a number of explicit type variable choices in theorems (and occasionally fixed up or added quantifiers), just so things look tidier with the new default print_types_of_subterms=1. Added miscelleneous theorems, in particular quite a few connected with the concept of "square-free": CARD_IMAGE_LE2 CARD_IMAGE_LT2 FORALL_PRIME_INDEX IMAGE_EQ ISOMORPHIC_PROD_INTEGER_MOD_RING RING_CARRIER_INTEGER_MOD_RING RING_HOMOMORPHISM_PROD_INTEGER_MOD_RING RING_ISOMORPHISM_PROD_INTEGER_MOD_RING RING_OF_INT_PROD_RING RING_OF_NUM_PROD_RING SQUAREFREE,SQUAREFREE_ALT SQUAREFREE_DIVEXP SQUAREFREE_DIVEXP_EQ SQUAREFREE_DIVIDES SQUAREFREE_GCD SQUAREFREE_GCD_SQUARE VNREGULAR_INTEGER_MOD_RING
- Loading branch information
Showing
36 changed files
with
2,022 additions
and
683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.