Metamath Proof Explorer


Theorem lsmmod2

Description: Modular law dual for subgroup sum. Similar to part of Theorem 16.9 of MaedaMaeda p. 70. (Contributed by NM, 8-Jan-2015) (Revised by Mario Carneiro, 21-Apr-2016)

Ref Expression
Hypothesis lsmmod.p = ( LSSum ‘ 𝐺 )
Assertion lsmmod2 ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → ( 𝑆 ∩ ( 𝑇 𝑈 ) ) = ( ( 𝑆𝑇 ) 𝑈 ) )

Proof

Step Hyp Ref Expression
1 lsmmod.p = ( LSSum ‘ 𝐺 )
2 simpl3 ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → 𝑈 ∈ ( SubGrp ‘ 𝐺 ) )
3 eqid ( oppg𝐺 ) = ( oppg𝐺 )
4 3 oppgsubg ( SubGrp ‘ 𝐺 ) = ( SubGrp ‘ ( oppg𝐺 ) )
5 2 4 eleqtrdi ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → 𝑈 ∈ ( SubGrp ‘ ( oppg𝐺 ) ) )
6 simpl2 ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → 𝑇 ∈ ( SubGrp ‘ 𝐺 ) )
7 6 4 eleqtrdi ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → 𝑇 ∈ ( SubGrp ‘ ( oppg𝐺 ) ) )
8 simpl1 ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → 𝑆 ∈ ( SubGrp ‘ 𝐺 ) )
9 8 4 eleqtrdi ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → 𝑆 ∈ ( SubGrp ‘ ( oppg𝐺 ) ) )
10 simpr ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → 𝑈𝑆 )
11 eqid ( LSSum ‘ ( oppg𝐺 ) ) = ( LSSum ‘ ( oppg𝐺 ) )
12 11 lsmmod ( ( ( 𝑈 ∈ ( SubGrp ‘ ( oppg𝐺 ) ) ∧ 𝑇 ∈ ( SubGrp ‘ ( oppg𝐺 ) ) ∧ 𝑆 ∈ ( SubGrp ‘ ( oppg𝐺 ) ) ) ∧ 𝑈𝑆 ) → ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) ( 𝑇𝑆 ) ) = ( ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) 𝑇 ) ∩ 𝑆 ) )
13 5 7 9 10 12 syl31anc ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) ( 𝑇𝑆 ) ) = ( ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) 𝑇 ) ∩ 𝑆 ) )
14 13 eqcomd ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → ( ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) 𝑇 ) ∩ 𝑆 ) = ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) ( 𝑇𝑆 ) ) )
15 incom ( ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) 𝑇 ) ∩ 𝑆 ) = ( 𝑆 ∩ ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) 𝑇 ) )
16 incom ( 𝑇𝑆 ) = ( 𝑆𝑇 )
17 16 oveq2i ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) ( 𝑇𝑆 ) ) = ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) ( 𝑆𝑇 ) )
18 14 15 17 3eqtr3g ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → ( 𝑆 ∩ ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) 𝑇 ) ) = ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) ( 𝑆𝑇 ) ) )
19 3 1 oppglsm ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) 𝑇 ) = ( 𝑇 𝑈 )
20 19 ineq2i ( 𝑆 ∩ ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) 𝑇 ) ) = ( 𝑆 ∩ ( 𝑇 𝑈 ) )
21 3 1 oppglsm ( 𝑈 ( LSSum ‘ ( oppg𝐺 ) ) ( 𝑆𝑇 ) ) = ( ( 𝑆𝑇 ) 𝑈 )
22 18 20 21 3eqtr3g ( ( ( 𝑆 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑇 ∈ ( SubGrp ‘ 𝐺 ) ∧ 𝑈 ∈ ( SubGrp ‘ 𝐺 ) ) ∧ 𝑈𝑆 ) → ( 𝑆 ∩ ( 𝑇 𝑈 ) ) = ( ( 𝑆𝑇 ) 𝑈 ) )