context: It is likely that Jeff put down the milk. It is improbable that Lily is green. It is highly unlikely that Greg is a rhino. We doubt that if 'Lily is green and Jeff put down the milk' then Jessica is a wolf. It is certain that if 'Jeff put down the milk and Greg is a rhino' then Mary went to the bedroom. It is certain that if 'Greg is a rhino' or 'Jeff put down the milk' or both then Julius is a swan.
hypothesis: It is almost certain that 'Lily is green and Mary went to the bedroom'.
valid_hypothesis: It is impossible that 'Lily is green and Mary went to the bedroom'.
invalid_hypothesis: It is almost certain that 'Lily is green and Mary went to the bedroom'.
problog: 
    and(A,B) :- A,B.
    or(A,B) :- A;B.
    nand(A,B) :- not(and(A,B)).
    nor(A,B) :- not(or(A,B)).
    xor(A,B) :- or(A,B), nand(A,B).
  
    %hop0
    0.7::factA.
    0.1::factB.
    0.05::factC.
    %hop1
    0.2::factX:-and(factB,factA).
    1.0::factY:-and(factA,factC).
    1.0::factZ:-or(factC,factA).
  
    %hop2
    conclusion:-and(factB,factY).
  
    query(conclusion).
    
hypothesis_assertion: 'Lily is green and Mary went to the bedroom'.