Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Alethe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
veriT
Alethe
Commits
12a14800
Commit
12a14800
authored
1 year ago
by
Hans-Jörg
Browse files
Options
Downloads
Patches
Plain Diff
More rules
parent
f0de3ce5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
althelf/alethe.smt3
+16
-16
16 additions, 16 deletions
althelf/alethe.smt3
with
16 additions
and
16 deletions
althelf/alethe.smt3
+
16
−
16
View file @
12a14800
...
...
@@ -121,20 +121,21 @@
:match-conclusion (cl (= t1 t2))
)
% TODO
(declare-rule trans ()
:
args ()
:conclusion
true
% TODO
: implement mkTrans
(declare-rule trans (
(Eqs Bool)
)
:
premise-list Eqs and
:conclusion
(cl (mkTrans Eqs))
)
% TODO
(declare-rule cong ()
:args ()
:conclusion true
% TODO: side condition
(declare-rule cong ((Eqs Bool) (CEq))
:premise-list Eqs and
:requires ((check_cong Eqs CEq) true)
:match-conclusion (cl (CEq))
)
(declare-rule eq_reflexive ((T Type) (t T))
:match-conclusion (= t t)
:match-conclusion
(cl
(= t t)
)
)
% TODO: side conditions
...
...
@@ -155,22 +156,21 @@
:match-conclusion CL
)
% TODO
(declare-rule qnt_cnf ()
:args ()
:conclusion true
% TODO: vars
(declare-rule qnt_cnf ((phi Bool) (phi' Bool))
:match-conclusion (cl (or (not (forall xs phi)) (forall xs' phi')))
)
(declare-rule and ((C Bool) (CN Bool :list) (phi Bool))
:premises ((cl (and C CN)))
:requres ((contains (and C CN) phi) true)
:match-conclusion phi
:match-conclusion
(cl
phi
)
)
(declare-rule not_or ((C Bool) (CN Bool :list) (phi Bool))
:premises ((cl (not (or C CN))))
:requres ((contains (or C CN) phi) true)
:match-conclusion (not phi)
:match-conclusion
(cl
(not phi)
)
)
(declare-rule or ((C Bool) (CN Bool :list) (C' Bool) (CN' Bool :list))
...
...
@@ -179,7 +179,7 @@
:match-conclusion (cl C' CN')
)
%
Claim
ed function: clEqual that is true if two clauses
%
TODO: Us
ed function: clEqual that is true if two clauses
% are the same up to permuatation.
(declare-rule not_and ((CL Bool) (C Bool) (CN Bool :list))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment