I am trying to figure out how types and variables can work together to represent something in the real world but i am getting stuck. This is how i'm trying to define variables that have normal mathematical types at the moment.
Let F be an Integer that represents the force on a ball" (Here I'm saying that F is an integer, and that F represents the force on a ball.)
But when I try to introduce types and sets i'm getting stuck, for example if I try to define a new type called Card Suit.
"Let the type Card Suit be a set {1...4}" where 1 represents Diamonds, 2 represents Hearts, 3 represents Spades and 4 represents Clubs."
Then if I introduce a variable with that type the logic starts getting funny for example
"Let S be of type Card Suit that represents a Card Suit".
In the end i end up duplicating what i'm saying, doesn't "let S be of type Card Suit" makes the next phrase "... that represents a Card Suit" redundant?
Can anyone help get my logic unstuck here, thanks.