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

Theorem ablfac1eulem 20145
Description: Lemma for ablfac1eu 20146. (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 3960 . 2 𝐴𝐴
2 ablfac1eulem.2 . . 3 (𝜑𝐴 ∈ Fin)
3 sseq1 3963 . . . . . 6 (𝑦 = ∅ → (𝑦𝐴 ↔ ∅ ⊆ 𝐴))
4 difeq1 4075 . . . . . . . . . . . . 13 (𝑦 = ∅ → (𝑦 ∖ {𝑃}) = (∅ ∖ {𝑃}))
5 0dif 4364 . . . . . . . . . . . . 13 (∅ ∖ {𝑃}) = ∅
64, 5eqtrdi 2814 . . . . . . . . . . . 12 (𝑦 = ∅ → (𝑦 ∖ {𝑃}) = ∅)
76reseq2d 5980 . . . . . . . . . . 11 (𝑦 = ∅ → (𝑇 ↾ (𝑦 ∖ {𝑃})) = (𝑇 ↾ ∅))
8 res0 5984 . . . . . . . . . . 11 (𝑇 ↾ ∅) = ∅
97, 8eqtrdi 2814 . . . . . . . . . 10 (𝑦 = ∅ → (𝑇 ↾ (𝑦 ∖ {𝑃})) = ∅)
109oveq2d 7428 . . . . . . . . 9 (𝑦 = ∅ → (𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))) = (𝐺 DProd ∅))
1110fveq2d 6887 . . . . . . . 8 (𝑦 = ∅ → (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) = (♯‘(𝐺 DProd ∅)))
1211breq2d 5122 . . . . . . 7 (𝑦 = ∅ → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ 𝑃 ∥ (♯‘(𝐺 DProd ∅))))
1312notbid 321 . . . . . 6 (𝑦 = ∅ → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅))))
143, 13imbi12d 347 . . . . 5 (𝑦 = ∅ → ((𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))))) ↔ (∅ ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅)))))
1514imbi2d 343 . . . 4 (𝑦 = ∅ → ((𝜑 → (𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))))) ↔ (𝜑 → (∅ ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅))))))
16 sseq1 3963 . . . . . 6 (𝑦 = 𝑧 → (𝑦𝐴𝑧𝐴))
17 difeq1 4075 . . . . . . . . . . 11 (𝑦 = 𝑧 → (𝑦 ∖ {𝑃}) = (𝑧 ∖ {𝑃}))
1817reseq2d 5980 . . . . . . . . . 10 (𝑦 = 𝑧 → (𝑇 ↾ (𝑦 ∖ {𝑃})) = (𝑇 ↾ (𝑧 ∖ {𝑃})))
1918oveq2d 7428 . . . . . . . . 9 (𝑦 = 𝑧 → (𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))
2019fveq2d 6887 . . . . . . . 8 (𝑦 = 𝑧 → (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))))
2120breq2d 5122 . . . . . . 7 (𝑦 = 𝑧 → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
2221notbid 321 . . . . . 6 (𝑦 = 𝑧 → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
2316, 22imbi12d 347 . . . . 5 (𝑦 = 𝑧 → ((𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))))) ↔ (𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))))))
2423imbi2d 343 . . . 4 (𝑦 = 𝑧 → ((𝜑 → (𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))))) ↔ (𝜑 → (𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))))
25 sseq1 3963 . . . . . 6 (𝑦 = (𝑧 ∪ {𝑞}) → (𝑦𝐴 ↔ (𝑧 ∪ {𝑞}) ⊆ 𝐴))
26 difeq1 4075 . . . . . . . . . . 11 (𝑦 = (𝑧 ∪ {𝑞}) → (𝑦 ∖ {𝑃}) = ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
2726reseq2d 5980 . . . . . . . . . 10 (𝑦 = (𝑧 ∪ {𝑞}) → (𝑇 ↾ (𝑦 ∖ {𝑃})) = (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))
2827oveq2d 7428 . . . . . . . . 9 (𝑦 = (𝑧 ∪ {𝑞}) → (𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))
2928fveq2d 6887 . . . . . . . 8 (𝑦 = (𝑧 ∪ {𝑞}) → (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))
3029breq2d 5122 . . . . . . 7 (𝑦 = (𝑧 ∪ {𝑞}) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))
3130notbid 321 . . . . . 6 (𝑦 = (𝑧 ∪ {𝑞}) → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) ↔ ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))
3225, 31imbi12d 347 . . . . 5 (𝑦 = (𝑧 ∪ {𝑞}) → ((𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))))) ↔ ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))))
3332imbi2d 343 . . . 4 (𝑦 = (𝑧 ∪ {𝑞}) → ((𝜑 → (𝑦𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))))) ↔ (𝜑 → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))))
34 sseq1 3963 . . . . . 6 (𝑦 = 𝐴 → (𝑦𝐴𝐴𝐴))
35 difeq1 4075 . . . . . . . . . . 11 (𝑦 = 𝐴 → (𝑦 ∖ {𝑃}) = (𝐴 ∖ {𝑃}))
3635reseq2d 5980 . . . . . . . . . 10 (𝑦 = 𝐴 → (𝑇 ↾ (𝑦 ∖ {𝑃})) = (𝑇 ↾ (𝐴 ∖ {𝑃})))
3736oveq2d 7428 . . . . . . . . 9 (𝑦 = 𝐴 → (𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃}))))
3837fveq2d 6887 . . . . . . . 8 (𝑦 = 𝐴 → (♯‘(𝐺 DProd (𝑇 ↾ (𝑦 ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃})))))
3938breq2d 5122 . . . . . . 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 16766 . . . . . . 7 (𝑃 ∈ ℙ → ¬ 𝑃 ∥ 1)
4543, 44syl 18 . . . . . 6 (𝜑 → ¬ 𝑃 ∥ 1)
46 ablfac1.g . . . . . . . . . . 11 (𝜑𝐺 ∈ Abel)
47 ablgrp 19856 . . . . . . . . . . 11 (𝐺 ∈ Abel → 𝐺 ∈ Grp)
48 eqid 2763 . . . . . . . . . . . 12 (0g𝐺) = (0g𝐺)
4948dprd0 20104 . . . . . . . . . . 11 (𝐺 ∈ Grp → (𝐺dom DProd ∅ ∧ (𝐺 DProd ∅) = {(0g𝐺)}))
5046, 47, 493syl 19 . . . . . . . . . 10 (𝜑 → (𝐺dom DProd ∅ ∧ (𝐺 DProd ∅) = {(0g𝐺)}))
5150simprd 500 . . . . . . . . 9 (𝜑 → (𝐺 DProd ∅) = {(0g𝐺)})
5251fveq2d 6887 . . . . . . . 8 (𝜑 → (♯‘(𝐺 DProd ∅)) = (♯‘{(0g𝐺)}))
53 fvex 6896 . . . . . . . . 9 (0g𝐺) ∈ V
54 hashsng 14407 . . . . . . . . 9 ((0g𝐺) ∈ V → (♯‘{(0g𝐺)}) = 1)
5553, 54ax-mp 5 . . . . . . . 8 (♯‘{(0g𝐺)}) = 1
5652, 55eqtrdi 2814 . . . . . . 7 (𝜑 → (♯‘(𝐺 DProd ∅)) = 1)
5756breq2d 5122 . . . . . 6 (𝜑 → (𝑃 ∥ (♯‘(𝐺 DProd ∅)) ↔ 𝑃 ∥ 1))
5845, 57mtbird 328 . . . . 5 (𝜑 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅)))
5958a1d 26 . . . 4 (𝜑 → (∅ ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd ∅))))
60 ssun1 4132 . . . . . . . . . 10 𝑧 ⊆ (𝑧 ∪ {𝑞})
61 sstr 3946 . . . . . . . . . 10 ((𝑧 ⊆ (𝑧 ∪ {𝑞}) ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴) → 𝑧𝐴)
6260, 61mpan 702 . . . . . . . . 9 ((𝑧 ∪ {𝑞}) ⊆ 𝐴𝑧𝐴)
6362imim1i 64 . . . . . . . 8 ((𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
64 ablfac1eu.1 . . . . . . . . . . . . . . . . . . . . 21 (𝜑 → (𝐺dom DProd 𝑇 ∧ (𝐺 DProd 𝑇) = 𝐵))
6564simpld 499 . . . . . . . . . . . . . . . . . . . 20 (𝜑𝐺dom DProd 𝑇)
66 ablfac1eu.2 . . . . . . . . . . . . . . . . . . . 20 (𝜑 → dom 𝑇 = 𝐴)
6765, 66dprdf2 20080 . . . . . . . . . . . . . . . . . . 19 (𝜑𝑇:𝐴⟶(SubGrp‘𝐺))
6867adantr 485 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝑇:𝐴⟶(SubGrp‘𝐺))
69 simprr 784 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑧 ∪ {𝑞}) ⊆ 𝐴)
7069ssdifssd 4102 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑧 ∪ {𝑞}) ∖ {𝑃}) ⊆ 𝐴)
7168, 70fssresd 6747 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})):((𝑧 ∪ {𝑞}) ∖ {𝑃})⟶(SubGrp‘𝐺))
72 simprl 782 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ¬ 𝑞𝑧)
73 disjsn 4678 . . . . . . . . . . . . . . . . . . . 20 ((𝑧 ∩ {𝑞}) = ∅ ↔ ¬ 𝑞𝑧)
7472, 73sylibr 237 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑧 ∩ {𝑞}) = ∅)
7574difeq1d 4081 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑧 ∩ {𝑞}) ∖ {𝑃}) = (∅ ∖ {𝑃}))
76 difindir 4247 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∩ {𝑞}) ∖ {𝑃}) = ((𝑧 ∖ {𝑃}) ∩ ({𝑞} ∖ {𝑃}))
7775, 76, 53eqtr3g 2821 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑧 ∖ {𝑃}) ∩ ({𝑞} ∖ {𝑃})) = ∅)
78 difundir 4245 . . . . . . . . . . . . . . . . . 18 ((𝑧 ∪ {𝑞}) ∖ {𝑃}) = ((𝑧 ∖ {𝑃}) ∪ ({𝑞} ∖ {𝑃}))
7978a1i 11 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑧 ∪ {𝑞}) ∖ {𝑃}) = ((𝑧 ∖ {𝑃}) ∪ ({𝑞} ∖ {𝑃})))
80 eqid 2763 . . . . . . . . . . . . . . . . 17 (LSSum‘𝐺) = (LSSum‘𝐺)
8165adantr 485 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐺dom DProd 𝑇)
8266adantr 485 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → dom 𝑇 = 𝐴)
8381, 82, 70dprdres 20101 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺dom DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ∧ (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))) ⊆ (𝐺 DProd 𝑇)))
8483simpld 499 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐺dom DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))
8571, 77, 79, 80, 84dprdsplit 20121 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))) = ((𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))(LSSum‘𝐺)(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))))
8685fveq2d 6887 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) = (♯‘((𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))(LSSum‘𝐺)(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))))))
87 eqid 2763 . . . . . . . . . . . . . . . 16 (Cntz‘𝐺) = (Cntz‘𝐺)
8871fdmd 6718 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → dom (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) = ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
89 ssdif 4099 . . . . . . . . . . . . . . . . . . . 20 (𝑧 ⊆ (𝑧 ∪ {𝑞}) → (𝑧 ∖ {𝑃}) ⊆ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
9060, 89mp1i 14 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑧 ∖ {𝑃}) ⊆ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
9184, 88, 90dprdres 20101 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})) ∧ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ⊆ (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))
9291simpld 499 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))
93 dprdsubg 20097 . . . . . . . . . . . . . . . . 17 (𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∈ (SubGrp‘𝐺))
9492, 93syl 18 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∈ (SubGrp‘𝐺))
95 ssun2 4133 . . . . . . . . . . . . . . . . . . . 20 {𝑞} ⊆ (𝑧 ∪ {𝑞})
96 ssdif 4099 . . . . . . . . . . . . . . . . . . . 20 ({𝑞} ⊆ (𝑧 ∪ {𝑞}) → ({𝑞} ∖ {𝑃}) ⊆ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
9795, 96mp1i 14 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ({𝑞} ∖ {𝑃}) ⊆ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))
9884, 88, 97dprdres 20101 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})) ∧ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ⊆ (𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))
9998simpld 499 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))
100 dprdsubg 20097 . . . . . . . . . . . . . . . . 17 (𝐺dom DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ∈ (SubGrp‘𝐺))
10199, 100syl 18 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ∈ (SubGrp‘𝐺))
10284, 88, 90, 97, 77, 48dprddisj2 20112 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∩ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))) = {(0g𝐺)})
10384, 88, 90, 97, 77, 87dprdcntz2 20111 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ⊆ ((Cntz‘𝐺)‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))))
104 ablfac1.f . . . . . . . . . . . . . . . . . 18 (𝜑𝐵 ∈ Fin)
105104adantr 485 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐵 ∈ Fin)
106 ablfac1.b . . . . . . . . . . . . . . . . . 18 𝐵 = (Base‘𝐺)
107106dprdssv 20089 . . . . . . . . . . . . . . . . 17 (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ⊆ 𝐵
108 ssfi 9158 . . . . . . . . . . . . . . . . 17 ((𝐵 ∈ Fin ∧ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ⊆ 𝐵) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∈ Fin)
109105, 107, 108sylancl 597 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) ∈ Fin)
110106dprdssv 20089 . . . . . . . . . . . . . . . . 17 (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ⊆ 𝐵
111 ssfi 9158 . . . . . . . . . . . . . . . . 17 ((𝐵 ∈ Fin ∧ (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ⊆ 𝐵) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin)
112105, 110, 111sylancl 597 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin)
11380, 48, 87, 94, 101, 102, 103, 109, 112lsmhash 19776 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘((𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))(LSSum‘𝐺)(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))))) = ((♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))))))
11490resabs1d 6009 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})) = (𝑇 ↾ (𝑧 ∖ {𝑃})))
115114oveq2d 7428 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))
116115fveq2d 6887 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))))
11797resabs1d 6009 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})) = (𝑇 ↾ ({𝑞} ∖ {𝑃})))
118117oveq2d 7428 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))) = (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))
119118fveq2d 6887 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃})))) = (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))
120116, 119oveq12d 7430 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd ((𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})) ↾ ({𝑞} ∖ {𝑃}))))) = ((♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))))
12186, 113, 1203eqtrd 2802 . . . . . . . . . . . . . 14 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) = ((♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))))
122121breq2d 5122 . . . . . . . . . . . . 13 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) ↔ 𝑃 ∥ ((♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) · (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))))
12343adantr 485 . . . . . . . . . . . . . 14 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝑃 ∈ ℙ)
124106dprdssv 20089 . . . . . . . . . . . . . . . . 17 (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ⊆ 𝐵
125 ssfi 9158 . . . . . . . . . . . . . . . . 17 ((𝐵 ∈ Fin ∧ (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ⊆ 𝐵) → (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ∈ Fin)
126105, 124, 125sylancl 597 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ∈ Fin)
127 hashcl 14394 . . . . . . . . . . . . . . . 16 ((𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))) ∈ Fin → (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∈ ℕ0)
128126, 127syl 18 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∈ ℕ0)
129128nn0zd 12617 . . . . . . . . . . . . . 14 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∈ ℤ)
130106dprdssv 20089 . . . . . . . . . . . . . . . . 17 (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ⊆ 𝐵
131 ssfi 9158 . . . . . . . . . . . . . . . . 17 ((𝐵 ∈ Fin ∧ (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ⊆ 𝐵) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin)
132105, 130, 131sylancl 597 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin)
133 hashcl 14394 . . . . . . . . . . . . . . . 16 ((𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) ∈ Fin → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ∈ ℕ0)
134132, 133syl 18 . . . . . . . . . . . . . . 15 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ∈ ℕ0)
135134nn0zd 12617 . . . . . . . . . . . . . 14 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ∈ ℤ)
136 euclemma 16773 . . . . . . . . . . . . . 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 738 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → ¬ 𝑃 ∥ 1)
140 simpr 489 . . . . . . . . . . . . . . . . . . . . . . . . 25 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → 𝑞 = 𝑃)
141140sneqd 4602 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → {𝑞} = {𝑃})
142141difeq1d 4081 . . . . . . . . . . . . . . . . . . . . . . 23 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → ({𝑞} ∖ {𝑃}) = ({𝑃} ∖ {𝑃}))
143 difid 4333 . . . . . . . . . . . . . . . . . . . . . . 23 ({𝑃} ∖ {𝑃}) = ∅
144142, 143eqtrdi 2814 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → ({𝑞} ∖ {𝑃}) = ∅)
145144reseq2d 5980 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝑇 ↾ ({𝑞} ∖ {𝑃})) = (𝑇 ↾ ∅))
146145, 8eqtrdi 2814 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝑇 ↾ ({𝑞} ∖ {𝑃})) = ∅)
147146oveq2d 7428 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) = (𝐺 DProd ∅))
14851ad2antrr 738 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝐺 DProd ∅) = {(0g𝐺)})
149147, 148eqtrd 2798 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) = {(0g𝐺)})
150149fveq2d 6887 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) = (♯‘{(0g𝐺)}))
151150, 55eqtrdi 2814 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) = 1)
152151breq2d 5122 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ↔ 𝑃 ∥ 1))
153139, 152mtbird 328 . . . . . . . . . . . . . 14 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞 = 𝑃) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))
154 ablfac1.1 . . . . . . . . . . . . . . . . . . . . 21 (𝜑𝐴 ⊆ ℙ)
155154adantr 485 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐴 ⊆ ℙ)
15669unssbd 4148 . . . . . . . . . . . . . . . . . . . . 21 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → {𝑞} ⊆ 𝐴)
157 vex 3459 . . . . . . . . . . . . . . . . . . . . . 22 𝑞 ∈ V
158157snss 4751 . . . . . . . . . . . . . . . . . . . . 21 (𝑞𝐴 ↔ {𝑞} ⊆ 𝐴)
159156, 158sylibr 237 . . . . . . . . . . . . . . . . . . . 20 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝑞𝐴)
160155, 159sseldd 3939 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝑞 ∈ ℙ)
161 ablfac1eu.3 . . . . . . . . . . . . . . . . . . . 20 ((𝜑𝑞𝐴) → 𝐶 ∈ ℕ0)
162159, 161syldan 602 . . . . . . . . . . . . . . . . . . 19 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → 𝐶 ∈ ℕ0)
163 prmdvdsexpr 16777 . . . . . . . . . . . . . . . . . . 19 ((𝑃 ∈ ℙ ∧ 𝑞 ∈ ℙ ∧ 𝐶 ∈ ℕ0) → (𝑃 ∥ (𝑞𝐶) → 𝑃 = 𝑞))
164123, 160, 162, 163syl3anc 1398 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (𝑞𝐶) → 𝑃 = 𝑞))
165 eqcom 2770 . . . . . . . . . . . . . . . . . 18 (𝑃 = 𝑞𝑞 = 𝑃)
166164, 165imbitrdi 254 . . . . . . . . . . . . . . . . 17 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (𝑞𝐶) → 𝑞 = 𝑃))
167166necon3ad 2971 . . . . . . . . . . . . . . . 16 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑞𝑃 → ¬ 𝑃 ∥ (𝑞𝐶)))
168167imp 411 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → ¬ 𝑃 ∥ (𝑞𝐶))
169 disjsn2 4679 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑞𝑃 → ({𝑞} ∩ {𝑃}) = ∅)
170169adantl 486 . . . . . . . . . . . . . . . . . . . . . 22 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → ({𝑞} ∩ {𝑃}) = ∅)
171 disj3 4415 . . . . . . . . . . . . . . . . . . . . . 22 (({𝑞} ∩ {𝑃}) = ∅ ↔ {𝑞} = ({𝑞} ∖ {𝑃}))
172170, 171sylib 221 . . . . . . . . . . . . . . . . . . . . 21 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → {𝑞} = ({𝑞} ∖ {𝑃}))
173172reseq2d 5980 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝑇 ↾ {𝑞}) = (𝑇 ↾ ({𝑞} ∖ {𝑃})))
174173oveq2d 7428 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝐺 DProd (𝑇 ↾ {𝑞})) = (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))
17565ad2antrr 738 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → 𝐺dom DProd 𝑇)
17666ad2antrr 738 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → dom 𝑇 = 𝐴)
177159adantr 485 . . . . . . . . . . . . . . . . . . . 20 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → 𝑞𝐴)
178175, 176, 177dpjlem 20124 . . . . . . . . . . . . . . . . . . 19 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝐺 DProd (𝑇 ↾ {𝑞})) = (𝑇𝑞))
179174, 178eqtr3d 2800 . . . . . . . . . . . . . . . . . 18 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))) = (𝑇𝑞))
180179fveq2d 6887 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) = (♯‘(𝑇𝑞)))
181 ablfac1eu.4 . . . . . . . . . . . . . . . . . . 19 ((𝜑𝑞𝐴) → (♯‘(𝑇𝑞)) = (𝑞𝐶))
182159, 181syldan 602 . . . . . . . . . . . . . . . . . 18 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (♯‘(𝑇𝑞)) = (𝑞𝐶))
183182adantr 485 . . . . . . . . . . . . . . . . 17 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (♯‘(𝑇𝑞)) = (𝑞𝐶))
184180, 183eqtrd 2798 . . . . . . . . . . . . . . . 16 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) = (𝑞𝐶))
185184breq2d 5122 . . . . . . . . . . . . . . 15 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) ↔ 𝑃 ∥ (𝑞𝐶)))
186168, 185mtbird 328 . . . . . . . . . . . . . 14 (((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) ∧ 𝑞𝑃) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))
187153, 186pm2.61dane 3045 . . . . . . . . . . . . 13 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))))
188 orel2 903 . . . . . . . . . . . . 13 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃})))) → ((𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∨ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))) → 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
189187, 188syl 18 . . . . . . . . . . . 12 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → ((𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) ∨ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ({𝑞} ∖ {𝑃}))))) → 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
190138, 189sylbid 243 . . . . . . . . . . 11 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))) → 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))))
191190con3d 153 . . . . . . . . . 10 ((𝜑 ∧ (¬ 𝑞𝑧 ∧ (𝑧 ∪ {𝑞}) ⊆ 𝐴)) → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))
192191expr 461 . . . . . . . . 9 ((𝜑 ∧ ¬ 𝑞𝑧) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → (¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))) → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))))
193192a2d 30 . . . . . . . 8 ((𝜑 ∧ ¬ 𝑞𝑧) → (((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))))
19463, 193syl5 35 . . . . . . 7 ((𝜑 ∧ ¬ 𝑞𝑧) → ((𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃})))))))
195194expcom 418 . . . . . 6 𝑞𝑧 → (𝜑 → ((𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))))
196195adantl 486 . . . . 5 ((𝑧 ∈ Fin ∧ ¬ 𝑞𝑧) → (𝜑 → ((𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃}))))) → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))))
197196a2d 30 . . . 4 ((𝑧 ∈ Fin ∧ ¬ 𝑞𝑧) → ((𝜑 → (𝑧𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝑧 ∖ {𝑃})))))) → (𝜑 → ((𝑧 ∪ {𝑞}) ⊆ 𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ ((𝑧 ∪ {𝑞}) ∖ {𝑃}))))))))
19815, 24, 33, 42, 59, 197findcard2s 9151 . . 3 (𝐴 ∈ Fin → (𝜑 → (𝐴𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃})))))))
1992, 198mpcom 39 . 2 (𝜑 → (𝐴𝐴 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃}))))))
2001, 199mpi 21 1 (𝜑 → ¬ 𝑃 ∥ (♯‘(𝐺 DProd (𝑇 ↾ (𝐴 ∖ {𝑃})))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 400  wo 860   = wceq 1570  wcel 2143  wne 2958  {crab 3416  Vcvv 3455  cdif 3903  cun 3904  cin 3905  wss 3906  c0 4287  {csn 4590   class class class wbr 5110  cmpt 5193  dom cdm 5663  cres 5665  wf 6534  cfv 6538  (class class class)co 7412  Fincfn 8944  1c1 11102   · cmul 11106  0cn0 12505  cz 12592  cexp 14099  chash 14368  cdvds 16311  cprime 16730   pCnt cpc 16897  Basecbs 17270  0gc0g 17493  Grpcgrp 19001  SubGrpcsubg 19187  Cntzccntz 19386  odcod 19595  LSSumclsm 19705  Abelcabl 19852   DProd cdprd 20066
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-10 2176  ax-11 2192  ax-12 2213  ax-ext 2735  ax-rep 5239  ax-sep 5258  ax-nul 5270  ax-pow 5338  ax-pr 5406  ax-un 7734  ax-cnex 11157  ax-resscn 11158  ax-1cn 11159  ax-icn 11160  ax-addcl 11161  ax-addrcl 11162  ax-mulcl 11163  ax-mulrcl 11164  ax-mulcom 11165  ax-addass 11166  ax-mulass 11167  ax-distr 11168  ax-i2m1 11169  ax-1ne0 11170  ax-1rid 11171  ax-rnegex 11172  ax-rrecex 11173  ax-cnre 11174  ax-pre-lttri 11175  ax-pre-lttrn 11176  ax-pre-ltadd 11177  ax-pre-mulgt0 11178  ax-pre-sup 11179
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1810  df-nf 1814  df-sb 2097  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3065  df-ral 3080  df-rex 3090  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3457  df-sbc 3746  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-pss 3926  df-nul 4288  df-if 4489  df-pw 4565  df-sn 4591  df-pr 4593  df-op 4597  df-uni 4874  df-int 4914  df-iun 4959  df-iin 4960  df-br 5111  df-opab 5175  df-mpt 5194  df-tr 5220  df-id 5558  df-eprel 5563  df-po 5571  df-so 5572  df-fr 5616  df-se 5617  df-we 5618  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-isom 6547  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-of 7676  df-om 7864  df-1st 7987  df-2nd 7988  df-supp 8158  df-tpos 8223  df-frecs 8279  df-wrecs 8310  df-recs 8359  df-rdg 8398  df-1o 8454  df-2o 8455  df-oadd 8458  df-er 8695  df-map 8827  df-ixp 8897  df-en 8945  df-dom 8946  df-sdom 8947  df-fin 8948  df-fsupp 9323  df-sup 9403  df-inf 9404  df-oi 9473  df-dju 9888  df-card 9926  df-pnf 11246  df-mnf 11247  df-xr 11248  df-ltxr 11249  df-le 11250  df-sub 11444  df-neg 11445  df-div 11873  df-nn 12235  df-2 12304  df-3 12305  df-n0 12506  df-z 12593  df-uz 12864  df-rp 13018  df-fz 13537  df-fzo 13685  df-fl 13827  df-mod 13905  df-seq 14040  df-exp 14100  df-hash 14369  df-cj 15152  df-re 15153  df-im 15154  df-sqrt 15288  df-abs 15289  df-dvds 16312  df-gcd 16554  df-prm 16731  df-sets 17225  df-slot 17243  df-ndx 17255  df-base 17271  df-ress 17292  df-plusg 17324  df-0g 17495  df-gsum 17496  df-mre 17639  df-mrc 17640  df-acs 17642  df-mgm 18699  df-sgrp 18778  df-mnd 18794  df-mhm 18842  df-submnd 18843  df-grp 19004  df-minusg 19005  df-sbg 19006  df-mulg 19135  df-subg 19190  df-ghm 19285  df-gim 19330  df-cntz 19388  df-oppg 19417  df-lsm 19707  df-pj1 19708  df-cmn 19853  df-abl 19854  df-dprd 20068
This theorem is referenced by:  ablfac1eu  20146
  Copyright terms: Public domain W3C validator