(Q Q)/nonvar(Q) ==> (((P ==> ddmost(Q)))). % NEG chaining /*~ ~*/ % NEG chaining ddmost(~Q)/mpred_positive_literal(Q) ==> (( \+ Q ) ==> ~ Q ). % POS chaining 1 /*~ ~*/ % POS chaining 1 ddmost(Q)/(mpred_positive_literal(Q),if_missing_mask(Q,R,Test)) ==> ( ( ( \+R /Test, (\+ ~Q )) ==> Q )). % POS chaining 2 /*~ ~*/ % POS chaining 2 ddmost(Q)/(mpred_positive_literal(Q),if_missing_mask(Q,R,Test)) ==> ( ((R/( Test, \+(R=Q))) ==> (\+ Q))). % POS chaining 1+2 % ddmost(Q)/(mpred_positive_literal(Q),if_missing_mask(Q,R,Test)) ==> ( ( ( \+R /Test ) ==> Q ) ,((R/( \+(R=Q), Test)) ==> (\+ Q))). /*~ ~*/ % POS chaining 1+2 % ddmost(Q)/(mpred_positive_literal(Q),if_missing_mask(Q,R,Test)) ==> ( ( ( \+R /Test ) ==> Q ) ,((R/( \+(R=Q), Test)) ==> (\+ Q))). :- dynamic(b/1). /*~ ~*/ :- dynamic(c/1). /*~ ~*/ ddmost(c(X)==>b(X)). /*~ ~*/ c(1). /*~ ~*/ :- mpred_test(ddmost(b(1))). /*~ %~ ?-( mpred_test("Test_0001_Line_0000__b_1_in_user",user:ddmost(b(1)))). passed=info(why_was_true(user:ddmost(b(1)))) no_proof_for(ddmost(b(1))). no_proof_for(ddmost(b(1))). no_proof_for(ddmost(b(1))). name='logicmoo.pfc.test.sanity_base.DMOST_02-Test_0001_Line_0000__b_1_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.DMOST_02'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'dmost_02.pfc\']"'. % saving_junit: /var/lib/jenkins/workspace/logicmoo_workspace/test_results/jenkins/Report-logicmoo-pfc-test-sanity_base-vSTARv0vSTARvvDOTvvSTARv-2-1--grep-2-i-WARN-ERROR-_file-00-fail-pass--Units-Logicmoo_pfc_test_sanity_base_DMOST_02_Test_0001_Line_0000_b_1_in_user-junit.xml ~*/ :- mpred_test(b(1)). % to start in correct module (for debugging). /*~ %~ ?-( mpred_test("Test_0002_Line_0000__b_1_in_user",user:b(1))). passed=info(why_was_true(user:b(1))) no_proof_for(b(1)). no_proof_for(b(1)). no_proof_for(b(1)). name='logicmoo.pfc.test.sanity_base.DMOST_02-Test_0002_Line_0000__b_1_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.DMOST_02'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'dmost_02.pfc\']"'. % saving_junit: /var/lib/jenkins/workspace/logicmoo_workspace/test_results/jenkins/Report-logicmoo-pfc-test-sanity_base-vSTARv0vSTARvvDOTvvSTARv-2-1--grep-2-i-WARN-ERROR-_file-00-fail-pass--Units-Logicmoo_pfc_test_sanity_base_DMOST_02_Test_0002_Line_0000_b_1_in_user-junit.xml ~*/ % to start in correct module (for debugging). :- initialization(module(header_sane)). /*~ ~*/ :- mpred_trace. % :- mpred_trace_exec. /*~ ~*/ % :- mpred_trace_exec. :- ain(b(2)). % test breaks here /*~ ~*/ % test breaks here :- listing(b/1). /*~ %~ skipped( listing( b/1)) ~*/ :- (b(1),clause(b(1),_))->break;true. /*~ ~*/ :- mpred_test(\+ b(1)). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/dmost_02.pfc:68 %~ ?-( mpred_test("Test_0003_Line_0000__naf_b_1_in_user",user:(\+b(1)))). failure=info((why_was_true(user:b(1)),nop(ftrace(user:(\+b(1)))))) no_proof_for(b(1)). no_proof_for(b(1)). no_proof_for(b(1)). name='logicmoo.pfc.test.sanity_base.DMOST_02-Test_0003_Line_0000__naf_b_1_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.DMOST_02'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'dmost_02.pfc\']"'. % saving_junit: /var/lib/jenkins/workspace/logicmoo_workspace/test_results/jenkins/Report-logicmoo-pfc-test-sanity_base-vSTARv0vSTARvvDOTvvSTARv-2-1--grep-2-i-WARN-ERROR-_file-00-fail-pass--Units-Logicmoo_pfc_test_sanity_base_DMOST_02_Test_0003_Line_0000_naf_b_1_in_user-junit.xml ~*/ :- mpred_test( b(2)). /*~ %~ ?-( mpred_test("Test_0004_Line_0000__b_2_in_user",user:b(2))). passed=info(why_was_true(user:b(2))) no_proof_for(b(2)). no_proof_for(b(2)). no_proof_for(b(2)). name='logicmoo.pfc.test.sanity_base.DMOST_02-Test_0004_Line_0000__b_2_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.DMOST_02'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'dmost_02.pfc\']"'. % saving_junit: /var/lib/jenkins/workspace/logicmoo_workspace/test_results/jenkins/Report-logicmoo-pfc-test-sanity_base-vSTARv0vSTARvvDOTvvSTARv-2-1--grep-2-i-WARN-ERROR-_file-00-fail-pass--Units-Logicmoo_pfc_test_sanity_base_DMOST_02_Test_0004_Line_0000_b_2_in_user-junit.xml ~*/ \+ b(2). /*~ %~ debugm( baseKB, %~ show_success( baseKB, %~ baseKB : mpred_withdraw( b(2), %~ ( mfl4(User,user,'* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/dmost_02.pfc ',72) , %~ ax)))) ~*/ :- listing(b/1). /*~ %~ skipped( listing( b/1)) ~*/ :- mpred_test(\+ b(2)). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/dmost_02.pfc:76 %~ ?-( mpred_test("Test_0005_Line_0000__naf_b_2_in_user",user:(\+b(2)))). passed=info(why_was_true(user:(\+b(2)))) no_proof_for(\+b(2)). no_proof_for(\+b(2)). no_proof_for(\+b(2)). name='logicmoo.pfc.test.sanity_base.DMOST_02-Test_0005_Line_0000__naf_b_2_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.DMOST_02'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'dmost_02.pfc\']"'. % saving_junit: /var/lib/jenkins/workspace/logicmoo_workspace/test_results/jenkins/Report-logicmoo-pfc-test-sanity_base-vSTARv0vSTARvvDOTvvSTARv-2-1--grep-2-i-WARN-ERROR-_file-00-fail-pass--Units-Logicmoo_pfc_test_sanity_base_DMOST_02_Test_0005_Line_0000_naf_b_2_in_user-junit.xml ~*/ :- mpred_test( b(1)). % ISSUE: https://github.com/logicmoo/logicmoo_workspace/issues/305 % EDIT: https://github.com/logicmoo/logicmoo_workspace/edit/master/packs_sys/pfc/t/sanity_base/dmost_02.pfc % JENKINS: https://jenkins.logicmoo.org/job/logicmoo_workspace/lastBuild/testReport/logicmoo.pfc.test.sanity_base/DMOST_02/ % ISSUE_SEARCH: https://github goal=user:b(1). time=0.00040721893310546875. passed=passed=info(why_was_true(user:b(1))) no_proof_for(b(1)). no_proof_for(b(1)). no_proof_for(b(1)). result=passed. ]]>