Equivalence of the Potts model or Whitney polynomial with an ice-type model | Synapse