Code
Code
Results
Results
In[]:=
MultiwayOperatorSystem[{And[a_,b_]And[b,a],Or[a_,b_]Or[b,a],And[a_,Or[b_,Not[b_]]]a,Or[a_,And[b_,Not[b_]]]a,a_Module[{b=Unique[]},And[a,Or[b,Not[b]]]],a_Module[{b=Unique[]},Or[a,And[b,Not[b]]]],And[a_,Or[b_,c_]]Or[And[a,b],And[a,c]],Or[And[a_,b_],And[a_,c_]]And[a,Or[b,c]],Or[a_,And[b_,c_]]And[Or[a,b],Or[a,c]],And[Or[a_,b_],Or[a_,c_]]Or[a,And[b,c]]},{And[a,b]},1,"StatesGraph"]
Out[]=
In[]:=
MultiwayOperatorSystem[{And[a_,b_]And[b,a],Or[a_,b_]Or[b,a],And[a_,Or[b_,Not[b_]]]a,Or[a_,And[b_,Not[b_]]]a,a_Module[{b=Unique[]},And[a,Or[b,Not[b]]]],a_Module[{b=Unique[]},Or[a,And[b,Not[b]]]],And[a_,Or[b_,c_]]Or[And[a,b],And[a,c]],Or[And[a_,b_],And[a_,c_]]And[a,Or[b,c]],Or[a_,And[b_,c_]]And[Or[a,b],Or[a,c]],And[Or[a_,b_],Or[a_,c_]]Or[a,And[b,c]]},{And[a,b]},3,"StatesGraphStructure"]
Out[]=
"A#B""#AB#"
In[]:=
MultiwayOperatorSystem[{CircleDot[a_,CircleDot[b_,c_]]CircleDot[CircleDot[a,b],c],CircleDot[CircleDot[a_,b_],c_]CircleDot[a,CircleDot[b,c]],CircleDot[a,CircleDot[x_,b]]CircleDot[x,CircleDot[a,CircleDot[b,x]]]},{CircleDot[a,CircleDot[CircleDot[x,y],b]]},3,"StatesGraph"]
Out[]=
In[]:=
MultiwayOperatorSystem[{Equal[a_,b_]Equal[b,a],CircleDot[a_,CircleDot[b_,c_]]CircleDot[CircleDot[a,b],c],CircleDot[CircleDot[a_,b_],c_]CircleDot[a,CircleDot[b,c]],aCircleDot[a,b]},{CircleDot[a,a]CircleDot[a,CircleDot[CircleDot[a,b],b]]},1,"StatesGraph"]
Out[]=
In[]:=
MultiwayOperatorSystem[{Equal[a_,b_]Equal[b,a],CircleDot[a_,CircleDot[b_,c_]]CircleDot[CircleDot[a,b],c],CircleDot[CircleDot[a_,b_],c_]CircleDot[a,CircleDot[b,c]],aCircleDot[a,b]},{CircleDot[a,a]CircleDot[a,CircleDot[CircleDot[a,b],b]]},2,"StatesGraph"]
Out[]=
Boolean algebra
Boolean algebra