stevendaryl said:
it seems notoriously difficult to formulate mathematically.
I believe I have it:
##T_n## represents the statement that there are ##n## blue-eyed monks on the island.
##M_m## represents the Monk number ##m##.
##M_b## represents every other blue-eyed monk. More specifically, for the 1st person monk ##M_m## given in the context of the ##M_b## usage, it is the set of all blue-eyed monks except ##M_m##.
##B_m## represents the statement that ##M_m## is blue-eyed.
##B## represents the statement "I am blue-eyed". More specifically, for each ##m## given in the context of where ##B## is used, ##M_m## knows ##B_m##.
##Q_{0,0}## represents what a blue-eyed monk knows who sees no blue-eyed monks and has no guru clue.
##Q_{0,0} = (B\Rightarrow T_1)\wedge(\overline{B}\Rightarrow T_0)##
##Q_{n,0}## represents what a blue-eyed monk knows who sees ##n## blue-eyed monks where ##n>0## and has no guru clue.
##Q_{n,0} = (B\Rightarrow (T_{n+1}\wedge(M_b## knows ##Q_{n,0})))\wedge(\overline{B}\Rightarrow (T_n\wedge(M_b## knows ##Q_{n-1,0})))##
##Q_{0,0.5}## represents what a blue-eyed monk knows who sees no blue-eyed monks and has received the ##\overline{T_0}## public announcement from the guru and has not had a suicide opportunity.
##Q_{0,0.5} = B \wedge T_1##
##Q_{n,0.5}## represents what a blue-eyed monk knows who sees ##n## blue-eyed monks where ##n>0## and has received the ##\overline{T_0}## public announcement from the guru but there has not been a suicide opportunity since then.
##Q_{n,0.5} = (B\Rightarrow (T_{n+1}\wedge(M_b## knows ##Q_{n,0.5})))\wedge(\overline{B}\Rightarrow (T_n\wedge(M_b## knows ##Q_{n-1,0.5})))##
##Q_{1,1}## represents what a blue-eyed monk knows who sees 1 blue-eyed monks and there has been 1 suicide opportunity since the ##\overline{T_0}## public announcement.
##Q_{1,1} = B\wedge T_2\wedge(M_b## knows ##Q_{1,1})##
The other term to that, ##\overline{B}\Rightarrow(T_1\wedge(M_b## knows ##Q_{0,1}))##, is dropped because ##(T_1\wedge(M_b## knows ##Q_{0,1}))##, translated roughly as "there is only one blue-eyed monk and he knows he is dead", is demonstrated as false.
##Q_{n,1}## represents what a blue-eyed monk knows who sees ##n## blue-eyed monks where ##n>1## and has received the ##\overline{T_0}## public announcement from the guru and there has been 1 suicide opportunity since then.
##Q_{n,1} = (B\Rightarrow (T_{n+1}\wedge(M_b## knows ##Q_{n,1})))\wedge(\overline{B}\Rightarrow (T_n\wedge(M_b## knows ##Q_{n-1,1})))##
These can be used to demonstrate that you need the declaration and that you need as many suicide opportunities as blue=eyed monks.
But more importantly, it shows the correct recursive statements.