(Q Q)/nonvar(Q) ==> (((P ==> most(Q)))). % NEG chaining /*~ ~*/ % NEG chaining most(~Q)/mpred_positive_literal(Q) ==> (( \+ Q ) ==> ~ Q ). % POS chaining 1 /*~ ~*/ % POS chaining 1 most(Q)/(mpred_positive_literal(Q),if_missing_mask(Q,R,Test)) ==> ( ( ( \+R /Test , (\+ ~ Q)) ==> Q )). % POS chaining 2 /*~ ~*/ % POS chaining 2 most(Q)/(mpred_positive_literal(Q),if_missing_mask(Q,R,Test)) ==> ( ((R/( \+(R=Q), Test)) ==> (\+ Q))). % POS chaining 1+2 % most(Q)/(mpred_positive_literal(Q),if_missing_mask(Q,R,Test)) ==> ( ( ( \+R /Test ) ==> Q ) ,((R/( \+(R=Q), Test)) ==> (\+ Q))). % most(Q) ==> if_missing(Q,Q). %(most(P=>Q)/(mpred_literal_nv(Q),if_missing_mask(Q,R,Test))) ==> ((P, \+ R/Test) => Q). %(most(P=>Q)/nonvar(Q)) ==> (P => most(Q)). /*~ ~*/ % POS chaining 1+2 % most(Q)/(mpred_positive_literal(Q),if_missing_mask(Q,R,Test)) ==> ( ( ( \+R /Test ) ==> Q ) ,((R/( \+(R=Q), Test)) ==> (\+ Q))). % most(Q) ==> if_missing(Q,Q). %(most(P=>Q)/(mpred_literal_nv(Q),if_missing_mask(Q,R,Test))) ==> ((P, \+ R/Test) => Q). %(most(P=>Q)/nonvar(Q)) ==> (P => most(Q)). :-ain(most(t(test1_2_3,1,2,3))). /*~ ~*/ most(t(test1_2_3,1,2,3)). /*~ ~*/ ?- listing(test1_2_3). /*~ :- dynamic baseKB:test1_2_3/3. :- multifile baseKB:test1_2_3/3. :- public baseKB:test1_2_3/3. :- module_transparent baseKB:test1_2_3/3. :- dynamic test1_2_3/3. ~*/ :- mpred_test(test1_2_3(1,2,3)). % ISSUE: https://github.com/logicmoo/logicmoo_workspace/issues/306 % EDIT: https://github.com/logicmoo/logicmoo_workspace/edit/master/packs_sys/pfc/t/sanity_base/df_05.pfc % JENKINS: https://jenkins.logicmoo.org/job/logicmoo_workspace/lastBuild/testReport/logicmoo.pfc.test.sanity_base/DF_05/ % ISSUE_SEARCH: https://github.com/logicmoo/logicmoo_workspace/issues?q=is%3Aissue+label%3ADF_05 /*~ %~ ?-( mpred_test goal=user:test1_2_3(1,2,3). time=0.00046539306640625. failure=failure=info((why_was_true(user:(\+test1_2_3(1,2,3))),nop(ftrace(user:test1_2_3(1,2,3))))) no_proof_for(\+test1_2_3(1,2,3)). no_proof_for(\+test1_2_3(1,2,3)). no_proof_for(\+test1_2_3(1,2,3)). result=failure. ]]>