early_aa_H(N). /*~ ~*/ ( aa(N):- B ) ==> early_aa_HB(N,B). %TODO error ( H :- B ) ==> early_HB(H,B). /*~ ~*/ %TODO error ( H :- B ) ==> early_HB(H,B). ( aa(N) ) ==> early_aa(N). /*~ ~*/ ( ~H :- B ) ==> early_not_HB(H,B). /*~ ~*/ ( ~bb(H) :- B ) ==> early_not_bb_HB(H,B). /*~ ~*/ ( ~bb(H) :- _B ) ==> early_not_bb_H(H). %TODO performance ( P ) ==> early_p(P). %TODO performance ( ~P ) ==> early_not_p(P). /*~ ~*/ %TODO performance ( P ) ==> early_p(P). %TODO performance ( ~P ) ==> early_not_p(P). aa(1):- writeln(1+1). /*~ 1+1 ~*/ aa(2). /*~ ~*/ aa(3):- true. /*~ ~*/ aa(N):- member(N,[4,5]). % FWI, not assertable: gg(8):- _G. /*~ ~*/ % FWI, not assertable: gg(8):- _G. gg(9):- call(_G). /*~ ~*/ gg(G):- G. /*~ ~*/ gg(G):- call(G). /*~ ~*/ ~bb(1):- writeln(1+1). /*~ ~*/ ~bb(2). /*~ ~*/ ~bb(3):- true. /*~ ~*/ ~bb(N):- member(N,[4,5]). % FWI, not assertable: ~ng(8):- _G. /*~ ~*/ % FWI, not assertable: ~ng(8):- _G. ~ng(9):- call(_G). /*~ ~*/ ~ng(G):- G. /*~ ~*/ ~ng(G):- call(G). /*~ ~*/ ( aa(N):- _B ) ==> late_aa_H(N). /*~ ~*/ ( aa(N):- B ) ==> late_aa_HB(N,B). %TODO error ( H :- B ) ==> late_HB(H,B). /*~ ~*/ %TODO error ( H :- B ) ==> late_HB(H,B). ( aa(N) ) ==> late_aa(N). /*~ 1+1 ~*/ ( ~H :- B ) ==> late_not_HB(H,B). /*~ ~*/ ( ~bb(H) :- B ) ==> late_not_bb_HB(H,B). /*~ ~*/ ( ~bb(H) :- _B ) ==> late_not_bb_H(H). %TODO performance ( P ) ==> late_p(P). %TODO performance ( ~P ) ==> late_not_p(P). /*~ ~*/ %TODO performance ( P ) ==> late_p(P). %TODO performance ( ~P ) ==> late_not_p(P). :- mpred_test(early_aa(1)). /*~ %~ ?-( mpred_test("Test_0001_Line_0000__early_aa_1_in_user",user:early_aa(1))). passed=info(why_was_true(user:early_aa(1))) no_proof_for(early_aa(1)). no_proof_for(early_aa(1)). no_proof_for(early_aa(1)). name='logicmoo.pfc.test.sanity_base.CLAUSE_FWD_02-Test_0001_Line_0000__early_aa_1_in_user'. JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.CLAUSE_FWD_02'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'clause_fwd_02.pfc.pl\']"'. % 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_CLAUSE_FWD_02_Test_0001_Line_0000_early_aa_1_in_user-junit.xml ~*/ :- mpred_test(early_aa(2)). /*~ %~ ?-( mpred_test("Test_0002_Line_0000__early_aa_2_in_user",user:early_aa(2))). passed=info(why_was_true(u goal=user:early_aa(5). time=0.0008687973022460938. passed=passed=info(why_was_true(user:early_aa(5))) no_proof_for(early_aa(5)). no_proof_for(early_aa(5)). no_proof_for(early_aa(5)). result=passed. ]]>