summaryrefslogtreecommitdiff
path: root/src/expr/proof_rule.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-08-15 06:06:28 -0500
committerGitHub <noreply@github.com>2020-08-15 06:06:28 -0500
commit3b230077d51c8445328f0b5d5ff94bbd988d1c83 (patch)
tree70d9eb305857c3c36d71cf42382bee7a6633b908 /src/expr/proof_rule.h
parent42cd0a7bcbe993870d76d8cc9db7acc0a9ae70f9 (diff)
(proof-new) Add the strings proof checker (#4858)
It also adds enumeration for two new rules that have been recently added.
Diffstat (limited to 'src/expr/proof_rule.h')
-rw-r--r--src/expr/proof_rule.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/expr/proof_rule.h b/src/expr/proof_rule.h
index 364598cf4..a83e043bf 100644
--- a/src/expr/proof_rule.h
+++ b/src/expr/proof_rule.h
@@ -766,6 +766,22 @@ enum class PfRule : uint32_t
// (not (= (str.code t) (str.code s)))
// (not (= t s)))
STRING_CODE_INJ,
+ //======================== Sequence unit
+ // Children: (P:(= (seq.unit x) (seq.unit y)))
+ // Arguments: none
+ // ---------------------
+ // Conclusion:(= x y)
+ // Also applies to the case where (seq.unit y) is a constant sequence
+ // of length one.
+ STRING_SEQ_UNIT_INJ,
+ // ======== String Trust
+ // Children: none
+ // Arguments: (Q)
+ // ---------------------
+ // Conclusion: (Q)
+ STRING_TRUST,
+
+ //================================================= Arithmetic rules
// ======== Adding Inequalities
// Note: an ArithLiteral is a term of the form (>< poly const)
// where
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback