Statistics for Extensive categories, commutative semirings and Galois theory