context: It is almost certain that John got the apple. It is highly unlikely that Greg is a frog. It is almost certain that Bill moved to the office. There is almost no chance that if 'John got the apple and Greg is a frog' then Lily is green. There is little chance that if 'John got the apple' or 'Greg is a frog' or both then Julius is yellow. Chances are about even that if 'Greg is a frog' or 'John got the apple' or both then Mary went to the hallway.
hypothesis: It is impossible that 'Bill moved to the office and Lily is green'.
valid_hypothesis: It is impossible that 'Bill moved to the office and Lily is green'.
invalid_hypothesis: It is certain that 'Bill moved to the office and Lily is green'.
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.95::factA.
    0.05::factB.
    0.95::factC.
    %hop1
    0.02::factX:-and(factA,factB).
    0.1::factY:-or(factA,factB).
    0.5::factZ:-or(factB,factA).
  
    %hop2
    conclusion:-and(factC,factX).
  
    query(conclusion).
    
hypothesis_assertion: 'Bill moved to the office and Lily is green'.