Validation of the core rules.
We show that the core rules:
These validation theorems depend on some grammar operations. Thus, we put them in a separate file, avoiding a dependency of the file that defines the core rules on the grammar operations.
Theorem:
(defthm rulelist-wfp-of-*core-rules* (rulelist-wfp *core-rules*))
Theorem:
(defthm rulelist-closedp-of-*core-rules* (rulelist-closedp *core-rules*))
Theorem:
(defthm octet-only-*core-rules* (rulelist-in-termset-p *core-rules* (integers-from-to 0 255)))
Theorem:
(defthm ascii-only-*core-rules*-without-*octet* (rulelist-in-termset-p (remove-equal *rule_octet* *core-rules*) (integers-from-to 0 127)))