Skip to content

Commit

Permalink
generating fewer implications for --blogic
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Jan 31, 2023
1 parent fe2e4a8 commit 044543e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
1 change: 1 addition & 0 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
EYE release

[v2.5.0] generating fewer implications for --blogic
[v2.4.0] refactoring --blogic and removing --no-erase
[v2.3.10] fixing output of inference fuse
[v2.3.9] refining --blogic model generation
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.0
2.5.0
14 changes: 10 additions & 4 deletions eye.pl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
:- use_module(library(semweb/turtle)).
:- catch(use_module(library(http/http_open)), _, true).

version_info('EYE v2.4.0 josd').
version_info('EYE v2.5.0 josd').

license_info('MIT License

Expand Down Expand Up @@ -742,8 +742,10 @@
sort(I, H),
H \= J
), (modelo(Z, R, J), model(Z, T, H)), '<>')),
assertz(implies((implies(D, C, _),
implies('<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(_, D), C, _),
assertz(implies((implies('<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(_, D), C, _),
D \= implies(_, _, _),
D \= (implies(_, _, _), _),
implies(D, C, _),
labelvars(C, 0, _, some),
findvars(C, V, beta),
domain(V, true, P),
Expand Down Expand Up @@ -783,7 +785,11 @@
-> E = F
; E = '<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(W, T)
),
makevars('<http://www.w3.org/2000/10/swap/log#implies>'((D, R), E), B, beta(V))
( R = true
-> P = D
; P = (D, R)
),
makevars('<http://www.w3.org/2000/10/swap/log#implies>'(P, E), B, beta(V))
), B, '<>')),
assertz(implies(('<http://www.w3.org/2000/10/swap/log#onNegativeSurface>'(V, G),
conj_list(G, L),
Expand Down
Binary file modified eye.zip
Binary file not shown.

0 comments on commit 044543e

Please sign in to comment.