Metamath Proof Explorer


Theorem unundi

Description: Union distributes over itself. (Contributed by NM, 17-Aug-2004)

Ref Expression
Assertion unundi ( 𝐴 ∪ ( 𝐵 ∪ 𝐶 ) ) = ( ( 𝐴 ∪ 𝐵 ) ∪ ( 𝐴 ∪ 𝐶 ) )

Proof

Step Hyp Ref Expression
1 unidm ⊢ ( 𝐴 ∪ 𝐴 ) = 𝐴
2 1 uneq1i ⊢ ( ( 𝐴 ∪ 𝐴 ) ∪ ( 𝐵 ∪ 𝐶 ) ) = ( 𝐴 ∪ ( 𝐵 ∪ 𝐶 ) )
3 un4 ⊢ ( ( 𝐴 ∪ 𝐴 ) ∪ ( 𝐵 ∪ 𝐶 ) ) = ( ( 𝐴 ∪ 𝐵 ) ∪ ( 𝐴 ∪ 𝐶 ) )
4 2 3 eqtr3i ⊢ ( 𝐴 ∪ ( 𝐵 ∪ 𝐶 ) ) = ( ( 𝐴 ∪ 𝐵 ) ∪ ( 𝐴 ∪ 𝐶 ) )