Infinite and finite Gleason’s theorems and the logic of indeterminacy