Failed

logicmoo.pfc.test.sanity_base.DF_02.logicmoo.pfc.test.sanity_base.DF_02@Test_0001_Line_0000__b_1_in_user: user: ~b(1) (from logicmoo.pfc.test.sanity_base.logicmoo.pfc.test.sanity_base.DF_02)

Failing for the past 1 build (Since #9 )
Took 1 ms.
Failed with 0 retries

Run 1:

Error Message

failure = "failure=info((why_was_true(user:(\\+ ~b(1))),nop(ftrace(user: ~b(1)))))\nno_proof_for(\\+ ~b(1)).\n\nno_proof_for(\\+ ~b(1)).\n\nno_proof_for(\\+ ~b(1)).\n\n". failure = []. 

Standard Error

name=Test_0001_Line_0000__b_1_in_user
JUNIT_CLASSNAME='logicmoo.pfc.test.sanity_base.DF_02'.
JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "[\'df_02.pfc\']"'.
 (cd /var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base ; timeout --foreground --preserve-status -s SIGKILL -k 10s 10s swipl -x /var/lib/jenkins/workspace/logicmoo_workspace/bin/lmoo-clif -t "['df_02.pfc']")

```
%~ init_phase(after_load)
%~ init_phase(restore_state)
%
%~ init_why(after_boot,program)
%~ after_boot.
%~ Dont forget to ?- logicmoo_i_cyc_xform.
running('/var/lib/jenkins/workspace/logicmoo_workspace/packs_sys/pfc/t/sanity_base/df_02.pfc'),
%~ this_test_might_need( :-( use_module( library(logicmoo_plarkc))))
%~ message_hook(
%~    error( permission_error(redefine,module,logicmoo_test),
%~      context(module/2,'Already loaded from /root/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test.pl')),
%~    error,
%~    [ '~q/~w: '-[module,2],
%~      'No permission to ~w ~w `~p\''-[redefine,module,logicmoo_test],
%~      ' (~w)'-['Already loaded from /root/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test.pl']])
%~ /var/lib/jenkins/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test_header.pl:98
%~ source_location('/var/lib/jenkins/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test_header.pl',98)
module/2: No permission to redefine module `logicmoo_test' (Already loaded from /root/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test.pl)
ERROR: /var/lib/jenkins/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test_header.pl:98:
ERROR:    module/2: No permission to redefine module `logicmoo_test' (Already loaded from /root/.local/share/swi-prolog/pack/logicmoo_utils/prolog/logicmoo_test.pl)

:- expects_dialect(pfc).

/*~
~*/

:- dynamic(meta_argtypes/1).

%
%  PFC is a language extension for prolog.. there is so much that can be done in this language extension to Prolog
%
% Dec 13, 2035
% Douglas Miles
%  cls ; kill -9 %1 ; fg ; swipl -g "ensure_loaded(pack(logicmoo_base/t/examples/base/'sanity_abc.pfc'))."

/*~
~*/

%
%  PFC is a language extension for prolog.. there is so much that can be done in this language extension to Prolog
%
% Dec 13, 2035
% Douglas Miles
%  cls ; kill -9 %1 ; fg ; swipl -g "ensure_loaded(pack(logicmoo_base/t/examples/base/'sanity_abc.pfc'))."

:- dynamic(most/1).

/*~
~*/

:- expects_dialect(pfc).

/*~
~*/

meta_argtypes(most(ftAssertable)).

% BWD chaining
/*~
~*/

% BWD chaining
most((Q <gt;- P))/mpred_literal(Q) ==> (Q <gt;-(P, \+ ~(Q))).

% FWD chaining
/*~
~*/

% FWD chaining
most(P==>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)).

:-dynamic((a/1,b/1,c/1)).

/*~
~*/

a(X) ==> c(X).
/*~
~*/

most(c(X) ==> ~b(X)) .
/*~
~*/

a(1).

/*~
~*/


:- listing([a/1,b/1,c/1,(==>)/2,most/1,pt,nt,bct]).

/*~
%~ skipped( listing( [ a/1, b/1,c/1,(==>)/2,most/1,pt,
%~                     nt,bct]))
~*/

:- mpred_test(~b(1)).



% ISSUE: https://github.com/logicmoo/logicmoo_workspace/issues/373
% EDIT: https://github.com/logicmoo/logicmoo_workspace/edit/master/packs_sys/pfc/t/sanity_base/df_02.pfc
% JENKINS: https://jenkins.logicmoo.org/job/logicmoo_workspace/lastBuild/testReport/logicmoo.pfc.test.sanity_base/DF_02/
% ISSUE_SEARCH: https://github.com/logicmoo/logicmoo_workspace/issues?q=is%3Aissue+label%3ADF_02

/*~
%~ ?-( mpred_test("Test_0001_Line_0000__b_1_in_user",user: ~b(1))).
failure=info(
goal=user: ~b(1).
time=0.0005571842193603516.
failure=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)).

result=failure.