Where should I look to get inspiration for writing sympy code implementing rules, such, from the book(Andrews/stafford):"Symbolic Computation for Statistical Inference":
Chap 2: Union(A) = A inter(A)= A Union(Union[A,..._1],..._2]=Union[A,..._1,..._2] inter(inter(A,..._1=,..._2)=inter(A,..._1,..._2) Union(A,A,---)=Union(A,...) inter(A,A,...)=inter(A,...) Union(A,A^c,...)=Omega, inter(A,A^c,...)=emptyset Union(Omega,...)=Omega inter(Omega,...)=inter(...) Union(emptyset,...)Union(...), inter(emptyset,...)=emptyset ,... (page 7-8) and for probability P(Omega(=1 P(emptyset)=0 P(union(A,..._1), ..._2) = P(A, ..._2)+P(union(..._1), ..._2) -P(inter(A,union(..._1)), ..._2) .... Kjetil -- "If you want a picture of the future - imagine a boot stamping on the human face - forever." George Orwell (1984) -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
