Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sarah.grebing
ProofScriptParser
Commits
b44624c5
Commit
b44624c5
authored
Apr 06, 2018
by
Sarah Grebing
Browse files
Added new key jars with bugfix for matcher
parent
e0deb8e1
Pipeline
#20949
failed with stages
in 0 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
keydeps/lib/components/key.core.jar
View file @
b44624c5
No preview for this file type
keydeps/lib/components/key.ui.jar
View file @
b44624c5
No preview for this file type
keydeps/lib/components/key.util.jar
View file @
b44624c5
No preview for this file type
rt-key/src/test/java/edu/kit/iti/formal/psdbg/interpreter/matcher/KeyMatcherFacadeTest.java
View file @
b44624c5
...
...
@@ -60,6 +60,8 @@ public class KeyMatcherFacadeTest {
public
void
matchSeq
()
throws
Exception
{
//atm missing is catching the toplevel formula
//shouldMatch("==> pred(a)", "==> pred(?)", "[]");
shouldMatch
(
"p, q ==> !p, !q"
,
"==> ?Z"
,
"[{?Z=not(p)}, {?Z=not(q)}]"
);
shouldMatch
(
"2 >= 1, h2(1,2) = h2(2,3), h2(2,3) = 0 ==> p, !p"
,
"?X=0 ==>"
,
"[{?X=h2(Z(2(#)),Z(3(#)))}]"
);
...
...
@@ -106,7 +108,7 @@ public class KeyMatcherFacadeTest {
@Test
public
void
testQuantMatch
()
throws
Exception
{
shouldMatchT
(
"fint2(1,i)"
,
"fint2(1,i)"
);
shouldMatchT
(
"fint2(1,i)"
,
"fint2(1,i)"
,
"[{}]"
);
shouldMatch
(
"\\exists int i, int j; fint2(j,i) ==> "
,
"(\\exists ?Y, ?X; ?Term) ==> "
,
"[{?Term=fint2(j,i), ?X=j:int, ?Y=i:int}]"
);
...
...
ui/src/main/resources/edu/kit/iti/formal/psdbg/examples/contraposition/script.kps
View file @
b44624c5
...
...
@@ -26,7 +26,7 @@ impRight;
impRight;
impLeft;
cases{
case match `==>
not
(?Z), ?Z`:
case match `==>
!
(?Z), ?Z`:
notRight;
default:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment