You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. +a(A, B) :- a(A, B) , b(B, GENV5) , not -v(A, B, GENV5) , not a(A, B).
2. +a(A, B) :- A = 4 , a(GENV9, B) , b(B, GENV5) , GENV5 = 3 , GENV9 <> 4 , not a(A, B).
3. +b(B, C) :- a(GENV6, B) , b(B, C) , not -v(GENV6, B, C) , not b(B, C).
4. +b(B, C) :- GENV6 = 4 , a(GENV8, B) , b(B, C) , C = 3 , GENV8 <> 4 , not b(B, C).
CREATE TEMPORARY TABLE temp1 AS SELECT 4 AS A, a_0.B AS B FROM a AS a_0, b AS b_1 WHERE b_1.B = a_0.B AND b_1.C = 3 AND a_0.A <> 4 AND NOT EXISTS ( SELECT * FROM a AS t WHERE t.A = 4 AND t.B = a_0.B );
INSERT INTO a SELECT * FROM temp1;
ただよく見ると1には a(A, B) , not a(A, B), 2, 3 には b(B, C) , not b(B, C) が部分式として含まれていてこれは充足不能です。
よって、出力がないのは simplification が正しく機能した結果だと思われます。
#49 (comment)
#49 (comment)
The text was updated successfully, but these errors were encountered: