')). /*~ ~*/ :- op(1050,xfx,''). /*~ ~*/ :- op(1050,xfx,('')). /*~ ~*/ :- op(1150,xfx,('::::')). /*~ ~*/ :- dynamic((foob/1,if_missing/2,good/1)). /*~ ~*/ :- mpred_trace. /*~ ~*/ :- mpred_watch. /*~ ~*/ :- dynamic((foob/1,if_missing/2)). % :- expects_dialect(pfc). % this should have been ok % (if_missing(Missing,Create) ==> ((\+ Missing/(Missing\==Create), \+ Create , \+ ~(Create)) ==> Create)). /*~ ~*/ % :- expects_dialect(pfc). % this should have been ok % (if_missing(Missing,Create) ==> ((\+ Missing/(Missing\==Create), \+ Create , \+ ~(Create)) ==> Create)). :- mpred_ain((if_missing(Missing,Create) ==> ( ( \+ Missing/(Missing\=@=Create)) ==> Create))). /*~ ~*/ :- mpred_ain((good(X) ==> if_missing(foob(_),foob(X)))). /*~ ~*/ :- mpred_ain(good(az)). /*~ ~*/ :- mpred_why(foob(az)). /*~ %~ ?-( mpred_test("Test_0001_Line_0000__Az_in_user",user:foob(az))). passed=info(why_was_true(user:foob(az))) no_proof_for(foob(az)). no_proof_for(foob(az)). no_proof_for(foob(az)). name='logicmoo.pfc.test.sanity_base.IF_MISSING_05-Test_0001_Line_0000__Az_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.IF_MISSING_05'. 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_05.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_05_Test_0001_Line_0000_Az_in_user-junit.xml ~*/ :- ain(foob(b)). /*~ ~*/ :- call(\+foob(az)). /*~ ~*/ :- ain(==> (\+ foob(b))). /*~ %~ /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/if_missing_05.pfc:51 %~ debugm( baseKB, %~ show_success( baseKB, %~ baseKB : mpred_withdraw( foob(b), %~ ( mfl4(User,user,'* https://logicmoo.org:2082/gitlab/logicmoo/logicmoo_workspace/-/edit/master/packs_sys/pfc/t/sanity_base/if_missing_05.pfc ',51) , %~ ax)))) ~*/ :- mpred_why(foob(az)). /*~ %~ ?-( mpred_test("Test_0002_Line_0000__Az_in_user",user:foob(az))). passed=info(why_was_true(user:foob(az))) no_proof_for(foob(az)). no_proof_for(foob(az)). no_proof_for(foob(az)). name='logicmoo.pfc.test.sanity_base.IF_MISSING_05-Test_0002_Line_0000__Az_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.IF_MIS goal=user: ~foob(b). time=0.0005407333374023438. failure=failure=info((why_was_true(user:(\+ ~foob(b))),nop(ftrace(user: ~foob(b))))) no_proof_for(\+ ~foob(b)). no_proof_for(\+ ~foob(b)). no_proof_for(\+ ~foob(b)). result=failure. ]]>