A semialgebra (or semiring of sets) A⊂2X is a collection of sets such that 1. ∅∈A 2. A,B∈A⟹A∩B∈A 3. For B∈A, there are pairwise disjoint sets S1,…,Sn∈A s.t. j=1⨆nSj=X∖B=Bc
The set {I⊆[0,1]:I is an interval}is a semialgebra.
The set {I1×I2⊆[0,1]2:I1,I2 are intervals in [0,1]}is a semialgebra.