((\+ Missing/(Missing\==Create), \+ Create , \+ ~(Create)) ==> Create)). /*~ ~*/ % this should have been ok % (if_missing(Missing,Create) ==> ((\+ Missing/(Missing\==Create), \+ Create , \+ ~(Create)) ==> Create)). if_missing(Missing,Create) ==> ( ( \+ Missing/(nonvar(Missing),nonvar(Create), Missing\=@=Create)) ==> Create). /*~ ~*/ (good ==> if_missing(foob(_),foob(a))). /*~ ~*/ (good ==> aa). /*~ ~*/ :- mpred_test(\+ foob(a)). /*~ %~ ?-( mpred_test("Test_0001_Line_0000__naf_A_in_user",user:(\+foob(a)))). passed=info(why_was_true(user:(\+foob(a)))) no_proof_for(\+foob(a)). no_proof_for(\+foob(a)). no_proof_for(\+foob(a)). name='logicmoo.pfc.test.sanity_base.IF_MISSING_01A-Test_0001_Line_0000__naf_A_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.IF_MISSING_01A'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'if_missing_01a.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_IF_MISSING_01A_Test_0001_Line_0000_naf_A_in_user-junit.xml ~*/ good. /*~ ~*/ :- mpred_test(foob(a)). /*~ %~ ?-( mpred_test("Test_0002_Line_0000__A_in_user",user:foob(a))). passed=info(why_was_true(user:foob(a))) no_proof_for(foob(a)). no_proof_for(foob(a)). no_proof_for(foob(a)). name='logicmoo.pfc.test.sanity_base.IF_MISSING_01A-Test_0002_Line_0000__A_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.IF_MISSING_01A'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'if_missing_01a.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_IF_MISSING_01A_Test_0002_Line_0000_A_in_user-junit.xml ~*/ :- ain(foob(b)). /*~ ~*/ :- mpred_test(\+foob(a)). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/if_missing_01a.pfc:43 %~ ?-( mpred_test("Test_0003_Line_0000__naf_A_in_user",user:(\+foob(a)))). failure=info((why_was_true(user:foob(a)),nop(ftrace(user:(\+foob(a)))))) no_proof_for(foob(a)). no_proof_for(foob(a)). no_proof_for(foob(a)). name='logicmoo.pfc.test.sanity_base.IF_MISSING_01A-Test_0003_Line_0000__naf_A_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.IF_MISSING_01A'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'if_missing_01a.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_IF_MISSING_01A_Test_0003_Line_0000_naf_A_in_user-junit.xml ~*/ :- mpred_test(foob(b)). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/if_missing_01a.pfc:45 %~ ?-( mpred_test("Test_0004_Line_0000__B_in_user",user:foob(b))). passed=info(why_was_true(user:foob(b))) no_proof_for(foob(b)). no_proof_for(foob(b)). no_proof_for(foob(b)). name='logicmoo.pfc.test.sanity_base.IF_MISSING_01A-Test_0004_Line_0000__B_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.IF_MISSING_01A'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'if_missing_01a.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_IF_MISSING_01A_Test_0004_Line_0000_B_in_user-junit.xml ~*/ :- ain(~foob(b)). /*~ ~*/ :- mpred_test(\+foob(b)). /*~ %~ ?-( mpred_test("Test_0005_Line_0000__naf_B_in_user",user:(\+foob(b)))). passed=info(why_was_true(user:(\+foob(b)))) no_proof_for(\+foob(b)). no_proof_for(\+foob(b)). no_proof_for(\+foob(b)). name='logicmoo.pfc.test.sanity_base.IF_MISSING_01A-Test_0005_Line_0000__naf_B_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.IF_MISSING_01A'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'if_missing_01a.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_IF_MISSING_01A_Test_0005_Line_0000_naf_B_in_user-junit.xml ~*/ :- mpred_test(foob(a)). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/if_missing_01a.pfc:51 %~ ?-( mpred_test("Test_0006_Line_0000__A_in_user",user:foob(a))). passed=info(why_was_true(user:foob(a))) no_proof_for(foob(a)). no_proof_for(foob(a)). no_proof_for(foob(a)). name='logicmoo.pfc.test.sanity_base.IF_MISSING_01A-Test_0006_Line_0000__A_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.IF_MISSING_01A'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'if_missing_01a.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_IF_MISSING_01A_Test_0006_Line_0000_A_in_user-junit.xml ~*/ (\+ good). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/if_missing_01a.pfc:54 %~ mpred_undo1( '$nt'( foob(Foob), %~ ( call_u_no_bc( foob(Foob1)) , %~ nonvar( foob(Foob1)) , %~ nonvar( foob(a)) , %~ foob(Foob1)\=@=foob(a)), %~ rhs([foob(a)]))) %~ debugm( baseKB, %~ show_success( baseKB, %~ baseKB : mpred_withdraw( good, %~ ( mfl4(User,user,'* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/if_missing_01a.pfc ',54) , %~ ax)))) ~*/ :- mpred_test(\+ ~good). /*~ %~ ?-( mpred_test("Test_0007_Line_0000__naf_Good_in_user",user:(\+ ~good))). passed=info(why_ goal=user:(\+ ~good). time=0.0005116462707519531. passed=passed=info(why_was_true(user:(\+ ~good))) no_proof_for(\+ ~good). no_proof_for(\+ ~good). no_proof_for(\+ ~good). result=passed. ]]>