context: There is almost no chance that Lily is a swan. There is a very good chance that Bernhard is a rhino. It is probably not the case that Jason is tired. There is almost no chance that if 'Bernhard is a rhino' or 'Lily is a swan' or both then Emily is a mouse. There is a very good chance that if 'Jason is tired and Bernhard is a rhino' then Greg is yellow. There is a very good chance that if 'Lily is a swan' or 'Bernhard is a rhino' or both then Brian is white.
hypothesis: It is impossible that 'Emily is a mouse and Lily is a swan'.
valid_hypothesis: It is impossible that 'Emily is a mouse and Lily is a swan'.
invalid_hypothesis: It is highly likely that 'Emily is a mouse and Lily is a swan'.
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.02::factA.
    0.8::factB.
    0.25::factC.
    %hop1
    0.02::factX:-or(factB,factA).
    0.8::factY:-and(factC,factB).
    0.8::factZ:-or(factA,factB).
  
    %hop2
    conclusion:-and(factX,factA).
  
    query(conclusion).
    
hypothesis_assertion: 'Emily is a mouse and Lily is a swan'.