I just started undergrad math, so I only have a fuzzy idea of what a model is. I'm learning about modal logic in one of my classes. Our text describes modal logic as operating in a model defined as an ordered set < W, R, v> (correct me if I'm wrong), such that W is the set of all possible worlds (every possible world is a set of positive literals), R is a subset of the Cartesian product of the worlds that W comprises, and v is a binary function that assigns takes a world and a given literal and assigns 'true' to the literal if the literal is an element of that world.
Why are these three things in an ordered set? Moreover, why are they even in a set at all?
Thank you. -Hal
See in SEP Modal Logic, Ch.6 : Possible Worlds Semantics :
In order to correctly describe the properties of various "modalities" (temporal, deontic, etc.) it is necessary to "give a structure" to the set $W$ of possible worlds; to do this, it is used a binary relation $R$ defined on the set $W$.
According to the properties of $R$ (symmetry, reflexivity, transitivity) it is possible to characterize different modal logics.
Summing up, we have that a model is a (ordered) triple :
There is no "magic" here : we have only to recall that in set-theory the pair $\{ x,y \}$ and the ordered pair $\langle x,y \rangle$ are different, because $\{ x,y \} = \{ y,x \}$ while, in general : $\langle x,y \rangle \ne \langle y,x \rangle$.
This is a simple way to track the different roles played in the semantics by the set of worlds $W$, the relation between them $R$, and the function $v : L \times W$, where $L$ is the set of propositional variables of the language.