MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ablfac1eulem Structured version   Visualization version   GIF version

Theorem ablfac1eulem 20207
Description: Lemma for ablfac1eu 20208. (Contributed by Mario Carneiro, 27-Apr-2016.)
Hypotheses
Ref Expression
ablfac1.b 𝐵 = (Base‘𝐺)
ablfac1.o 𝑂 = (od‘𝐺)
ablfac1.s 𝑆 = (𝑝𝐴 ↦ {𝑥𝐵 ∣ (𝑂𝑥) ∥ (𝑝↑(𝑝 pCnt (♯‘𝐵)))})
ablfac1.g (𝜑𝐺 ∈ Abel)
ablfac1.f (𝜑𝐵 ∈ Fin)
ablfac1.1 (𝜑𝐴 ⊆ ℙ)
ablfac1c.d 𝐷 = {𝑤 ∈ ℙ ∣ 𝑤 ∥ (♯‘𝐵)}
ablfac1.2 (𝜑𝐷𝐴)
ablfac1eu.1 (𝜑 → (𝐺dom DProd 𝑇 ∧ (𝐺 DProd 𝑇) = 𝐵))
ablfac1eu.2 (𝜑 → dom 𝑇 = 𝐴)
ablfac1eu.3 ((𝜑𝑞𝐴) → 𝐶 ∈ ℕ0)
ablfac1eu.4 ((𝜑𝑞𝐴) → (♯‘(𝑇𝑞)) = (𝑞𝐶))
ablfac1eulem.1 (𝜑𝑃 ∈ ℙ)
ablfac1eulem.2 (𝜑𝐴 ∈ Fin)
Assertion
Ref Expression
ablfac1eulem (𝜑 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃})))))
Distinct variable groups:   𝑞,𝑝,𝑤,𝑥,𝐵   𝐷,𝑝,𝑞,𝑥   𝜑,𝑝,𝑞,𝑤,𝑥   𝑆,𝑞   𝐴,𝑝,𝑞,𝑥   𝑂,𝑝,𝑞,𝑥   𝑃,𝑝,𝑞,𝑥   𝑇,𝑞,𝑥   𝐺,𝑝,𝑞,𝑥
Allowed substitution hints:   𝐴(𝑤)   𝐶(𝑥, 𝑤, 𝑞, 𝑝)   𝐷(𝑤)   𝑃(𝑤)   𝑆(𝑥, 𝑤, 𝑝)   𝑇(𝑤, 𝑝)   𝐺(𝑤)   𝑂(𝑤)

Proof of Theorem ablfac1eulem
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssid 3956 . 2 𝐴𝐴
2 ablfac1eulem.2 . . 3 (𝜑𝐴 ∈ Fin)
3 sseq1 3959 . . . . . 6 (𝑦 = ∅ → (𝑦𝐴 ↔ ∅ ⊆ 𝐴))
4 difeq1 4070 . . . . . . . . . . . . 13 (𝑦 = ∅ → (𝑦 ∖ {𝑃}) = (∅ ∖ {𝑃}))
5 0dif 4359 . . . . . . . . . . . . 13 (∅ ∖ {𝑃}) = ∅
64, 5eqtrdi 2813 . . . . . . . . . . . 12 (𝑦 = ∅ → (𝑦 ∖ {𝑃}) = ∅)
76reseq2d 5976 . . . . . . . . . . 11 (𝑦 = ∅ → (𝑇 ↾ (𝑦 ∖ {𝑃})) = (𝑇 ↾ ∅))
8 res0 5980 . . . . . . . . . . 11 (𝑇 ↾ ∅) = ∅
97, 8eqtrdi 2813 . . . . . . . . . 10 (𝑦 = ∅ → (𝑇 ↾ (𝑦 ∖ {𝑃})) = ∅)
109oveq2d 7433 . . . . . . . . 9 (𝑦 = ∅ → (𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))) = (𝐺 DProd ∅))
1110fveq2d 6886 . . . . . . . 8 (𝑦 = ∅ → (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) = (♯‘(𝐺 DProd ∅)))
1211breq2d 5119 . . . . . . 7 (𝑦 = ∅ → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ 𝑃 ∥ (♯‘(𝐺 DProd ∅))))
1312notbid 321 . . . . . 6 (𝑦 = ∅ → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅))))
143, 13imbi12d 347 . . . . 5 (𝑦 = ∅ → ((𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))))) ↔ (∅ ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅)))))
1514imbi2d 343 . . . 4 (𝑦 = ∅ → ((𝜑 → (𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))))) ↔ (𝜑 → (∅ ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅))))))
16 sseq1 3959 . . . . . 6 (𝑦 = 𝑧 → (𝑦𝐴𝑧𝐴))
17 difeq1 4070 . . . . . . . . . . 11 (𝑦 = 𝑧 → (𝑦 ∖ {𝑃}) = (𝑧 ∖ {𝑃}))
1817reseq2d 5976 . . . . . . . . . 10 (𝑦 = 𝑧 → (𝑇 ↾ (𝑦 ∖ {𝑃})) = (𝑇 ↾ (𝑧 ∖ {𝑃})))
1918oveq2d 7433 . . . . . . . . 9 (𝑦 = 𝑧 → (𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))
2019fveq2d 6886 . . . . . . . 8 (𝑦 = 𝑧 → (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))))
2120breq2d 5119 . . . . . . 7 (𝑦 = 𝑧 → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
2221notbid 321 . . . . . 6 (𝑦 = 𝑧 → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
2316, 22imbi12d 347 . . . . 5 (𝑦 = 𝑧 → ((𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))))) ↔ (𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))))))
2423imbi2d 343 . . . 4 (𝑦 = 𝑧 → ((𝜑 → (𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))))) ↔ (𝜑 → (𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))))
25 sseq1 3959 . . . . . 6 (𝑦 = (𝑧 ∪ {𝑞}) → (𝑦𝐴 ↔ (𝑧 ∪ {𝑞}) ⊆ 𝐴))
26 difeq1 4070 . . . . . . . . . . 11 (𝑦 = (𝑧 ∪ {𝑞}) → (𝑦 ∖ {𝑃}) = ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
2726reseq2d 5976 . . . . . . . . . 10 (𝑦 = (𝑧 ∪ {𝑞}) → (𝑇 ↾ (𝑦 ∖ {𝑃})) = (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))
2827oveq2d 7433 . . . . . . . . 9 (𝑦 = (𝑧 ∪ {𝑞}) → (𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))
2928fveq2d 6886 . . . . . . . 8 (𝑦 = (𝑧 ∪ {𝑞}) → (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))
3029breq2d 5119 . . . . . . 7 (𝑦 = (𝑧 ∪ {𝑞}) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))
3130notbid 321 . . . . . 6 (𝑦 = (𝑧 ∪ {𝑞}) → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))
3225, 31imbi12d 347 . . . . 5 (𝑦 = (𝑧 ∪ {𝑞}) → ((𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))))) ↔ ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))))
3332imbi2d 343 . . . 4 (𝑦 = (𝑧 ∪ {𝑞}) → ((𝜑 → (𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))))) ↔ (𝜑 → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))))
34 sseq1 3959 . . . . . 6 (𝑦 = 𝐴 → (𝑦𝐴𝐴𝐴))
35 difeq1 4070 . . . . . . . . . . 11 (𝑦 = 𝐴 → (𝑦 ∖ {𝑃}) = (𝐴 ∖ {𝑃}))
3635reseq2d 5976 . . . . . . . . . 10 (𝑦 = 𝐴 → (𝑇 ↾ (𝑦 ∖ {𝑃})) = (𝑇 ↾ (𝐴 ∖ {𝑃})))
3736oveq2d 7433 . . . . . . . . 9 (𝑦 = 𝐴 → (𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃}))))
3837fveq2d 6886 . . . . . . . 8 (𝑦 = 𝐴 → (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃})))))
3938breq2d 5119 . . . . . . 7 (𝑦 = 𝐴 → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃}))))))
4039notbid 321 . . . . . 6 (𝑦 = 𝐴 → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃}))))))
4134, 40imbi12d 347 . . . . 5 (𝑦 = 𝐴 → ((𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))))) ↔ (𝐴𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃})))))))
4241imbi2d 343 . . . 4 (𝑦 = 𝐴 → ((𝜑 → (𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))))) ↔ (𝜑 → (𝐴𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃}))))))))
43 ablfac1eulem.1 . . . . . . 7 (𝜑𝑃 ∈ ℙ)
44 nprmdvds1 16803 . . . . . . 7 (𝑃 ∈ ℙ → ¬ 𝑃 ∥ 1)
4543, 44syl 18 . . . . . 6 (𝜑 → ¬ 𝑃 ∥ 1)
46 ablfac1.g . . . . . . . . . . 11 (𝜑𝐺 ∈ Abel)
47 ablgrp 19918 . . . . . . . . . . 11 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
48 eqid 2762 . . . . . . . . . . . 12 (0g𝐺) = (0g𝐺)
4948dprd0 20166 . . . . . . . . . . 11 (𝐺 ∈ Grp → (𝐺dom DProd ∅ ∧ (𝐺 DProd ∅) = {(0g𝐺)}))
5046, 47, 493syl 19 . . . . . . . . . 10 (𝜑 → (𝐺dom DProd ∅ ∧ (𝐺 DProd ∅) = {(0g𝐺)}))
5150simprd 501 . . . . . . . . 9 (𝜑 → (𝐺 DProd ∅) = {(0g𝐺)})
5251fveq2d 6886 . . . . . . . 8 (𝜑 → (♯‘(𝐺 DProd ∅)) = (♯‘{(0g𝐺)}))
53 fvex 6895 . . . . . . . . 9 (0g𝐺) ∈ V
54 hashsng 14437 . . . . . . . . 9 ((0g𝐺) ∈ V → (♯‘{(0g𝐺)}) = 1)
5553, 54ax-mp 5 . . . . . . . 8 (♯‘{(0g𝐺)}) = 1
5652, 55eqtrdi 2813 . . . . . . 7 (𝜑 → (♯‘(𝐺 DProd ∅)) = 1)
5756breq2d 5119 . . . . . 6 (𝜑 → (𝑃 ∥ (♯‘(𝐺 DProd ∅)) ↔ 𝑃 ∥ 1))
5845, 57mtbird 328 . . . . 5 (𝜑 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅)))
5958a1d 26 . . . 4 (𝜑 → (∅ ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅))))
60 ssun1 4127 . . . . . . . . . 10 𝑧 ⊆ (𝑧 ∪ {𝑞})
61 sstr 3942 . . . . . . . . . 10 ((𝑧 ⊆ (𝑧 ∪ {𝑞}) ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴) → 𝑧𝐴)
6260, 61mpan 703 . . . . . . . . 9 ((𝑧 ∪ {𝑞}) ⊆ 𝐴𝑧𝐴)
6362imim1i 64 . . . . . . . 8 ((𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
64 ablfac1eu.1 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (𝐺dom DProd 𝑇 ∧ (𝐺 DProd 𝑇) = 𝐵))
6564simpld 500 . . . . . . . . . . . . . . . . . . . 20 (𝜑𝐺dom DProd 𝑇)
66 ablfac1eu.2 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → dom 𝑇 = 𝐴)
6765, 66dprdf2 20142 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑇:𝐴⟶(SubGrp‘𝐺))
6867adantr 486 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝑇:𝐴⟶(SubGrp‘𝐺))
69 simprr 785 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑧 ∪ {𝑞}) ⊆ 𝐴)
7069ssdifssd 4097 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑧 ∪ {𝑞}) ∖ {𝑃}) ⊆ 𝐴)
7168, 70fssresd 6746 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})):((𝑧 ∪ {𝑞}) ∖ {𝑃})⟶(SubGrp‘𝐺))
72 simprl 783 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ¬ 𝑞𝑧)
73 disjsn 4675 . . . . . . . . . . . . . . . . . . . 20 ((𝑧 ∩ {𝑞}) = ∅ ↔ ¬ 𝑞𝑧)
7472, 73sylibr 237 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑧 ∩ {𝑞}) = ∅)
7574difeq1d 4076 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑧 ∩ {𝑞}) ∖ {𝑃}) = (∅ ∖ {𝑃}))
76 difindir 4242 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∩ {𝑞}) ∖ {𝑃}) = ((𝑧 ∖ {𝑃}) ∩ ({𝑞} ∖ {𝑃}))
7775, 76, 53eqtr3g 2820 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑧 ∖ {𝑃}) ∩ ({𝑞} ∖ {𝑃})) = ∅)
78 difundir 4240 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∪ {𝑞}) ∖ {𝑃}) = ((𝑧 ∖ {𝑃}) ∪ ({𝑞} ∖ {𝑃}))
7978a1i 11 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑧 ∪ {𝑞}) ∖ {𝑃}) = ((𝑧 ∖ {𝑃}) ∪ ({𝑞} ∖ {𝑃})))
80 eqid 2762 . . . . . . . . . . . . . . . . 17 (LSSum‘𝐺) = (LSSum‘𝐺)
8165adantr 486 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐺dom DProd 𝑇)
8266adantr 486 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → dom 𝑇 = 𝐴)
8381, 82, 70dprdres 20163 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺dom DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ∧ (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))) ⊆ (𝐺 DProd 𝑇)))
8483simpld 500 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐺dom DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))
8571, 77, 79, 80, 84dprdsplit 20183 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))) = ((𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))(LSSum‘𝐺)(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))))
8685fveq2d 6886 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) = (♯‘((𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))(LSSum‘𝐺)(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))))))
87 eqid 2762 . . . . . . . . . . . . . . . 16 (Cntz‘𝐺) = (Cntz‘𝐺)
8871fdmd 6717 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → dom (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) = ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
89 ssdif 4094 . . . . . . . . . . . . . . . . . . . 20 (𝑧 ⊆ (𝑧 ∪ {𝑞}) → (𝑧 ∖ {𝑃}) ⊆ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
9060, 89mp1i 14 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑧 ∖ {𝑃}) ⊆ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
9184, 88, 90dprdres 20163 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})) ∧ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ⊆ (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))
9291simpld 500 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))
93 dprdsubg 20159 . . . . . . . . . . . . . . . . 17 (𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∈ (SubGrp‘𝐺))
9492, 93syl 18 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∈ (SubGrp‘𝐺))
95 ssun2 4128 . . . . . . . . . . . . . . . . . . . 20 {𝑞} ⊆ (𝑧 ∪ {𝑞})
96 ssdif 4094 . . . . . . . . . . . . . . . . . . . 20 ({𝑞} ⊆ (𝑧 ∪ {𝑞}) → ({𝑞} ∖ {𝑃}) ⊆ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
9795, 96mp1i 14 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ({𝑞} ∖ {𝑃}) ⊆ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
9884, 88, 97dprdres 20163 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})) ∧ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ⊆ (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))
9998simpld 500 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))
100 dprdsubg 20159 . . . . . . . . . . . . . . . . 17 (𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ∈ (SubGrp‘𝐺))
10199, 100syl 18 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ∈ (SubGrp‘𝐺))
10284, 88, 90, 97, 77, 48dprddisj2 20174 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∩ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))) = {(0g𝐺)})
10384, 88, 90, 97, 77, 87dprdcntz2 20173 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ⊆ ((Cntz‘𝐺)‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))))
104 ablfac1.f . . . . . . . . . . . . . . . . . 18 (𝜑𝐵 ∈ Fin)
105104adantr 486 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐵 ∈ Fin)
106 ablfac1.b . . . . . . . . . . . . . . . . . 18 𝐵 = (Base‘𝐺)
107106dprdssv 20151 . . . . . . . . . . . . . . . . 17 (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ⊆ 𝐵
108 ssfi 9171 . . . . . . . . . . . . . . . . 17 ((𝐵 ∈ Fin ∧ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ⊆ 𝐵) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∈ Fin)
109105, 107, 108sylancl 598 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∈ Fin)
110106dprdssv 20151 . . . . . . . . . . . . . . . . 17 (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ⊆ 𝐵
111 ssfi 9171 . . . . . . . . . . . . . . . . 17 ((𝐵 ∈ Fin ∧ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ⊆ 𝐵) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin)
112105, 110, 111sylancl 598 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin)
11380, 48, 87, 94, 101, 102, 103, 109, 112lsmhash 19838 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘((𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))(LSSum‘𝐺)(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))))) = ((♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))))))
11490resabs1d 6005 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})) = (𝑇 ↾ (𝑧 ∖ {𝑃})))
115114oveq2d 7433 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))
116115fveq2d 6886 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))))
11797resabs1d 6005 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})) = (𝑇 ↾ ({𝑞} ∖ {𝑃})))
118117oveq2d 7433 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))
119118fveq2d 6886 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))
120116, 119oveq12d 7435 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))))) = ((♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))))
12186, 113, 1203eqtrd 2801 . . . . . . . . . . . . . 14 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) = ((♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))))
122121breq2d 5119 . . . . . . . . . . . . 13 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) ↔ 𝑃 ∥ ((♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))))
12343adantr 486 . . . . . . . . . . . . . 14 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝑃 ∈ ℙ)
124106dprdssv 20151 . . . . . . . . . . . . . . . . 17 (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ⊆ 𝐵
125 ssfi 9171 . . . . . . . . . . . . . . . . 17 ((𝐵 ∈ Fin ∧ (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ⊆ 𝐵) → (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ∈ Fin)
126105, 124, 125sylancl 598 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ∈ Fin)
127 hashcl 14424 . . . . . . . . . . . . . . . 16 ((𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ∈ Fin → (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∈ ℕ0)
128126, 127syl 18 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∈ ℕ0)
129128nn0zd 12644 . . . . . . . . . . . . . 14 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∈ ℤ)
130106dprdssv 20151 . . . . . . . . . . . . . . . . 17 (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ⊆ 𝐵
131 ssfi 9171 . . . . . . . . . . . . . . . . 17 ((𝐵 ∈ Fin ∧ (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ⊆ 𝐵) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin)
132105, 130, 131sylancl 598 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin)
133 hashcl 14424 . . . . . . . . . . . . . . . 16 ((𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ∈ ℕ0)
134132, 133syl 18 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ∈ ℕ0)
135134nn0zd 12644 . . . . . . . . . . . . . 14 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ∈ ℤ)
136 euclemma 16810 . . . . . . . . . . . . . 14 ((𝑃 ∈ ℙ ∧ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∈ ℤ ∧ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ∈ ℤ) → (𝑃 ∥ ((♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))) ↔ (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∨ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))))
137123, 129, 135, 136syl3anc 1398 . . . . . . . . . . . . 13 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ ((♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))) ↔ (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∨ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))))
138122, 137bitrd 282 . . . . . . . . . . . 12 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) ↔ (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∨ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))))
13945ad2antrr 739 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → ¬ 𝑃 ∥ 1)
140 simpr 490 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → 𝑞 = 𝑃)
141140sneqd 4599 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → {𝑞} = {𝑃})
142141difeq1d 4076 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → ({𝑞} ∖ {𝑃}) = ({𝑃} ∖ {𝑃}))
143 difid 4328 . . . . . . . . . . . . . . . . . . . . . . 23 ({𝑃} ∖ {𝑃}) = ∅
144142, 143eqtrdi 2813 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → ({𝑞} ∖ {𝑃}) = ∅)
145144reseq2d 5976 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝑇 ↾ ({𝑞} ∖ {𝑃})) = (𝑇 ↾ ∅))
146145, 8eqtrdi 2813 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝑇 ↾ ({𝑞} ∖ {𝑃})) = ∅)
147146oveq2d 7433 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) = (𝐺 DProd ∅))
14851ad2antrr 739 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝐺 DProd ∅) = {(0g𝐺)})
149147, 148eqtrd 2797 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) = {(0g𝐺)})
150149fveq2d 6886 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) = (♯‘{(0g𝐺)}))
151150, 55eqtrdi 2813 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) = 1)
152151breq2d 5119 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ↔ 𝑃 ∥ 1))
153139, 152mtbird 328 . . . . . . . . . . . . . 14 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))
154 ablfac1.1 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝐴 ⊆ ℙ)
155154adantr 486 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐴 ⊆ ℙ)
15669unssbd 4143 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → {𝑞} ⊆ 𝐴)
157 vex 3457 . . . . . . . . . . . . . . . . . . . . . 22 𝑞 ∈ V
158157snss 4748 . . . . . . . . . . . . . . . . . . . . 21 (𝑞𝐴 ↔ {𝑞} ⊆ 𝐴)
159156, 158sylibr 237 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝑞𝐴)
160155, 159sseldd 3935 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝑞 ∈ ℙ)
161 ablfac1eu.3 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑞𝐴) → 𝐶 ∈ ℕ0)
162159, 161syldan 603 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐶 ∈ ℕ0)
163 prmdvdsexpr 16814 . . . . . . . . . . . . . . . . . . 19 ((𝑃 ∈ ℙ ∧ 𝑞 ∈ ℙ ∧ 𝐶 ∈ ℕ0) → (𝑃 ∥ (𝑞𝐶) → 𝑃 = 𝑞))
164123, 160, 162, 163syl3anc 1398 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (𝑞𝐶) → 𝑃 = 𝑞))
165 eqcom 2769 . . . . . . . . . . . . . . . . . 18 (𝑃 = 𝑞𝑞 = 𝑃)
166164, 165imbitrdi 254 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (𝑞𝐶) → 𝑞 = 𝑃))
167166necon3ad 2970 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑞𝑃 → ¬ 𝑃 ∥ (𝑞𝐶)))
168167imp 412 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → ¬ 𝑃 ∥ (𝑞𝐶))
169 disjsn2 4676 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑞𝑃 → ({𝑞} ∩ {𝑃}) = ∅)
170169adantl 487 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → ({𝑞} ∩ {𝑃}) = ∅)
171 disj3 4410 . . . . . . . . . . . . . . . . . . . . . 22 (({𝑞} ∩ {𝑃}) = ∅ ↔ {𝑞} = ({𝑞} ∖ {𝑃}))
172170, 171sylib 221 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → {𝑞} = ({𝑞} ∖ {𝑃}))
173172reseq2d 5976 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝑇 ↾ {𝑞}) = (𝑇 ↾ ({𝑞} ∖ {𝑃})))
174173oveq2d 7433 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝐺 DProd (𝑇 ↾ {𝑞})) = (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))
17565ad2antrr 739 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → 𝐺dom DProd 𝑇)
17666ad2antrr 739 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → dom 𝑇 = 𝐴)
177159adantr 486 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → 𝑞𝐴)
178175, 176, 177dpjlem 20186 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝐺 DProd (𝑇 ↾ {𝑞})) = (𝑇𝑞))
179174, 178eqtr3d 2799 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) = (𝑇𝑞))
180179fveq2d 6886 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) = (♯‘(𝑇𝑞)))
181 ablfac1eu.4 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑞𝐴) → (♯‘(𝑇𝑞)) = (𝑞𝐶))
182159, 181syldan 603 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝑇𝑞)) = (𝑞𝐶))
183182adantr 486 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (♯‘(𝑇𝑞)) = (𝑞𝐶))
184180, 183eqtrd 2797 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) = (𝑞𝐶))
185184breq2d 5119 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ↔ 𝑃 ∥ (𝑞𝐶)))
186168, 185mtbird 328 . . . . . . . . . . . . . 14 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))
187153, 186pm2.61dane 3044 . . . . . . . . . . . . 13 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))
188 orel2 904 . . . . . . . . . . . . 13 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) → ((𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∨ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))) → 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
189187, 188syl 18 . . . . . . . . . . . 12 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∨ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))) → 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
190138, 189sylbid 243 . . . . . . . . . . 11 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) → 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
191190con3d 153 . . . . . . . . . 10 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))
192191expr 462 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝑞𝑧) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))))
193192a2d 30 . . . . . . . 8 ((𝜑 ∧ ¬ 𝑞𝑧) → (((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))))
19463, 193syl5 35 . . . . . . 7 ((𝜑 ∧ ¬ 𝑞𝑧) → ((𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))))
195194expcom 419 . . . . . 6 𝑞𝑧 → (𝜑 → ((𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))))
196195adantl 487 . . . . 5 ((𝑧 ∈ Fin ∧ ¬ 𝑞𝑧) → (𝜑 → ((𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))))
197196a2d 30 . . . 4 ((𝑧 ∈ Fin ∧ ¬ 𝑞𝑧) → ((𝜑 → (𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))))) → (𝜑 → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))))
19815, 24, 33, 42, 59, 197findcard2s 9164 . . 3 (𝐴 ∈ Fin → (𝜑 → (𝐴𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃})))))))
1992, 198mpcom 39 . 2 (𝜑 → (𝐴𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃}))))))
2001, 199mpi 21 1 (𝜑 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃})))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 401  wo 861   = wceq 1570  wcel 2145  wne 2957  {crab 3414  Vcvv 3453  cdif 3899  cun 3900  cin 3901  wss 3902  c0 4282  {csn 4587   class class class wbr 5107  cmpt 5190  dom cdm 5659  cres 5661  wf 6533  cfv 6537  (class class class)co 7417  Fincfn 8956  1c1 11129   · cmul 11133  0cn0 12532  cz 12619  cexp 14129  chash 14398  cdvds 16348  cprime 16767   pCnt cpc 16934  Basecbs 17307  0gc0g 17530  Grpcgrp 19063  SubGrpcsubg 19249  Cntzccntz 19448  odcod 19657  LSSumclsm 19767  Abelcabl 19914   DProd cdprd 20128
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2734  ax-rep 5236  ax-sep 5255  ax-nul 5267  ax-pow 5334  ax-pr 5402  ax-un 7740  ax-cnex 11184  ax-resscn 11185  ax-1cn 11186  ax-icn 11187  ax-addcl 11188  ax-addrcl 11189  ax-mulcl 11190  ax-mulrcl 11191  ax-mulcom 11192  ax-addass 11193  ax-mulass 11194  ax-distr 11195  ax-i2m1 11196  ax-1ne0 11197  ax-1rid 11198  ax-rnegex 11199  ax-rrecex 11200  ax-cnre 11201  ax-pre-lttri 11202  ax-pre-lttrn 11203  ax-pre-ltadd 11204  ax-pre-mulgt0 11205  ax-pre-sup 11206
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-nel 3064  df-ral 3079  df-rex 3089  df-rmo 3367  df-reu 3368  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-pss 3922  df-nul 4283  df-if 4486  df-pw 4562  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-int 4911  df-iun 4956  df-iin 4957  df-br 5108  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5554  df-eprel 5559  df-po 5567  df-so 5568  df-fr 5612  df-se 5613  df-we 5614  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-isom 6546  df-riota 7374  df-ov 7420  df-oprab 7421  df-mpo 7422  df-of 7682  df-om 7867  df-1st 7990  df-2nd 7991  df-supp 8163  df-tpos 8228  df-frecs 8284  df-wrecs 8315  df-recs 8364  df-rdg 8403  df-1o 8459  df-2o 8460  df-oadd 8463  df-er 8700  df-map 8832  df-ixp 8909  df-en 8957  df-dom 8958  df-sdom 8959  df-fin 8960  df-fsupp 9336  df-sup 9416  df-inf 9417  df-oi 9486  df-dju 9910  df-card 9948  df-pnf 11273  df-mnf 11274  df-xr 11275  df-ltxr 11276  df-le 11277  df-sub 11471  df-neg 11472  df-div 11900  df-nn 12262  df-2 12331  df-3 12332  df-n0 12533  df-z 12620  df-uz 12892  df-rp 13047  df-fz 13566  df-fzo 13714  df-fl 13857  df-mod 13935  df-seq 14070  df-exp 14130  df-hash 14399  df-cj 15190  df-re 15191  df-im 15192  df-sqrt 15326  df-abs 15327  df-dvds 16349  df-gcd 16591  df-prm 16768  df-sets 17262  df-slot 17280  df-ndx 17292  df-base 17308  df-ress 17329  df-plusg 17361  df-0g 17532  df-gsum 17533  df-mre 17676  df-mrc 17677  df-acs 17679  df-mgm 18736  df-sgrp 18827  df-mnd 18843  df-mhm 18897  df-submnd 18898  df-grp 19066  df-minusg 19067  df-sbg 19068  df-mulg 19197  df-subg 19252  df-ghm 19347  df-gim 19392  df-cntz 19450  df-oppg 19479  df-lsm 19769  df-pj1 19770  df-cmn 19915  df-abl 19916  df-dprd 20130
This theorem is used by:  ablfac1eu  20208
  Copyright terms: Public domain W3C validator