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

Theorem dfod2 19086
Description: An alternative definition of the order of a group element is as the cardinality of the cyclic subgroup generated by the element. (Contributed by Mario Carneiro, 14-Jan-2015.) (Revised by Mario Carneiro, 2-Oct-2015.)
Hypotheses
Ref Expression
odf1.1 𝑋 = (Base‘𝐺)
odf1.2 𝑂 = (od‘𝐺)
odf1.3 · = (.g𝐺)
odf1.4 𝐹 = (𝑥 ∈ ℤ ↦ (𝑥 · 𝐴))
Assertion
Ref Expression
dfod2 ((𝐺 ∈ Grp ∧ 𝐴𝑋) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐺   𝑥,𝑂   𝑥, ·   𝑥,𝑋
Allowed substitution hint:   𝐹(𝑥)

Proof of Theorem dfod2
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fzfid 13621 . . . . 5 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (0...((𝑂𝐴) − 1)) ∈ Fin)
2 odf1.1 . . . . . . . . . . . . 13 𝑋 = (Base‘𝐺)
3 odf1.3 . . . . . . . . . . . . 13 · = (.g𝐺)
42, 3mulgcl 18636 . . . . . . . . . . . 12 ((𝐺 ∈ Grp ∧ 𝑥 ∈ ℤ ∧ 𝐴𝑋) → (𝑥 · 𝐴) ∈ 𝑋)
543expa 1116 . . . . . . . . . . 11 (((𝐺 ∈ Grp ∧ 𝑥 ∈ ℤ) ∧ 𝐴𝑋) → (𝑥 · 𝐴) ∈ 𝑋)
65an32s 648 . . . . . . . . . 10 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ 𝑥 ∈ ℤ) → (𝑥 · 𝐴) ∈ 𝑋)
76adantlr 711 . . . . . . . . 9 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → (𝑥 · 𝐴) ∈ 𝑋)
8 odf1.4 . . . . . . . . 9 𝐹 = (𝑥 ∈ ℤ ↦ (𝑥 · 𝐴))
97, 8fmptd 6970 . . . . . . . 8 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → 𝐹:ℤ⟶𝑋)
10 frn 6591 . . . . . . . 8 (𝐹:ℤ⟶𝑋 → ran 𝐹𝑋)
112fvexi 6770 . . . . . . . . 9 𝑋 ∈ V
1211ssex 5240 . . . . . . . 8 (ran 𝐹𝑋 → ran 𝐹 ∈ V)
139, 10, 123syl 18 . . . . . . 7 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ran 𝐹 ∈ V)
14 elfzelz 13185 . . . . . . . . . . 11 (𝑦 ∈ (0...((𝑂𝐴) − 1)) → 𝑦 ∈ ℤ)
1514adantl 481 . . . . . . . . . 10 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑦 ∈ ℤ)
16 ovex 7288 . . . . . . . . . 10 (𝑦 · 𝐴) ∈ V
17 oveq1 7262 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑥 · 𝐴) = (𝑦 · 𝐴))
188, 17elrnmpt1s 5855 . . . . . . . . . 10 ((𝑦 ∈ ℤ ∧ (𝑦 · 𝐴) ∈ V) → (𝑦 · 𝐴) ∈ ran 𝐹)
1915, 16, 18sylancl 585 . . . . . . . . 9 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑦 · 𝐴) ∈ ran 𝐹)
2019ralrimiva 3107 . . . . . . . 8 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ∀𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑦 · 𝐴) ∈ ran 𝐹)
21 zmodfz 13541 . . . . . . . . . . . . 13 ((𝑥 ∈ ℤ ∧ (𝑂𝐴) ∈ ℕ) → (𝑥 mod (𝑂𝐴)) ∈ (0...((𝑂𝐴) − 1)))
2221ancoms 458 . . . . . . . . . . . 12 (((𝑂𝐴) ∈ ℕ ∧ 𝑥 ∈ ℤ) → (𝑥 mod (𝑂𝐴)) ∈ (0...((𝑂𝐴) − 1)))
2322adantll 710 . . . . . . . . . . 11 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → (𝑥 mod (𝑂𝐴)) ∈ (0...((𝑂𝐴) − 1)))
24 simpllr 772 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑂𝐴) ∈ ℕ)
25 simplr 765 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑥 ∈ ℤ)
2614adantl 481 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑦 ∈ ℤ)
27 moddvds 15902 . . . . . . . . . . . . . 14 (((𝑂𝐴) ∈ ℕ ∧ 𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((𝑥 mod (𝑂𝐴)) = (𝑦 mod (𝑂𝐴)) ↔ (𝑂𝐴) ∥ (𝑥𝑦)))
2824, 25, 26, 27syl3anc 1369 . . . . . . . . . . . . 13 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑥 mod (𝑂𝐴)) = (𝑦 mod (𝑂𝐴)) ↔ (𝑂𝐴) ∥ (𝑥𝑦)))
2926zred 12355 . . . . . . . . . . . . . . . 16 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑦 ∈ ℝ)
3024nnrpd 12699 . . . . . . . . . . . . . . . 16 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑂𝐴) ∈ ℝ+)
31 0z 12260 . . . . . . . . . . . . . . . . . . 19 0 ∈ ℤ
32 nnz 12272 . . . . . . . . . . . . . . . . . . . . 21 ((𝑂𝐴) ∈ ℕ → (𝑂𝐴) ∈ ℤ)
3332adantl 481 . . . . . . . . . . . . . . . . . . . 20 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (𝑂𝐴) ∈ ℤ)
3433adantr 480 . . . . . . . . . . . . . . . . . . 19 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → (𝑂𝐴) ∈ ℤ)
35 elfzm11 13256 . . . . . . . . . . . . . . . . . . 19 ((0 ∈ ℤ ∧ (𝑂𝐴) ∈ ℤ) → (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↔ (𝑦 ∈ ℤ ∧ 0 ≤ 𝑦𝑦 < (𝑂𝐴))))
3631, 34, 35sylancr 586 . . . . . . . . . . . . . . . . . 18 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↔ (𝑦 ∈ ℤ ∧ 0 ≤ 𝑦𝑦 < (𝑂𝐴))))
3736biimpa 476 . . . . . . . . . . . . . . . . 17 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑦 ∈ ℤ ∧ 0 ≤ 𝑦𝑦 < (𝑂𝐴)))
3837simp2d 1141 . . . . . . . . . . . . . . . 16 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 0 ≤ 𝑦)
3937simp3d 1142 . . . . . . . . . . . . . . . 16 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑦 < (𝑂𝐴))
40 modid 13544 . . . . . . . . . . . . . . . 16 (((𝑦 ∈ ℝ ∧ (𝑂𝐴) ∈ ℝ+) ∧ (0 ≤ 𝑦𝑦 < (𝑂𝐴))) → (𝑦 mod (𝑂𝐴)) = 𝑦)
4129, 30, 38, 39, 40syl22anc 835 . . . . . . . . . . . . . . 15 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑦 mod (𝑂𝐴)) = 𝑦)
4241eqeq2d 2749 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑥 mod (𝑂𝐴)) = (𝑦 mod (𝑂𝐴)) ↔ (𝑥 mod (𝑂𝐴)) = 𝑦))
43 eqcom 2745 . . . . . . . . . . . . . 14 ((𝑥 mod (𝑂𝐴)) = 𝑦𝑦 = (𝑥 mod (𝑂𝐴)))
4442, 43bitrdi 286 . . . . . . . . . . . . 13 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑥 mod (𝑂𝐴)) = (𝑦 mod (𝑂𝐴)) ↔ 𝑦 = (𝑥 mod (𝑂𝐴))))
45 simp-4l 779 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝐺 ∈ Grp)
46 simp-4r 780 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝐴𝑋)
47 odf1.2 . . . . . . . . . . . . . . 15 𝑂 = (od‘𝐺)
48 eqid 2738 . . . . . . . . . . . . . . 15 (0g𝐺) = (0g𝐺)
492, 47, 3, 48odcong 19072 . . . . . . . . . . . . . 14 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑂𝐴) ∥ (𝑥𝑦) ↔ (𝑥 · 𝐴) = (𝑦 · 𝐴)))
5045, 46, 25, 26, 49syl112anc 1372 . . . . . . . . . . . . 13 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑂𝐴) ∥ (𝑥𝑦) ↔ (𝑥 · 𝐴) = (𝑦 · 𝐴)))
5128, 44, 503bitr3rd 309 . . . . . . . . . . . 12 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑥 · 𝐴) = (𝑦 · 𝐴) ↔ 𝑦 = (𝑥 mod (𝑂𝐴))))
5251ralrimiva 3107 . . . . . . . . . . 11 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → ∀𝑦 ∈ (0...((𝑂𝐴) − 1))((𝑥 · 𝐴) = (𝑦 · 𝐴) ↔ 𝑦 = (𝑥 mod (𝑂𝐴))))
53 reu6i 3658 . . . . . . . . . . 11 (((𝑥 mod (𝑂𝐴)) ∈ (0...((𝑂𝐴) − 1)) ∧ ∀𝑦 ∈ (0...((𝑂𝐴) − 1))((𝑥 · 𝐴) = (𝑦 · 𝐴) ↔ 𝑦 = (𝑥 mod (𝑂𝐴)))) → ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴))
5423, 52, 53syl2anc 583 . . . . . . . . . 10 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴))
5554ralrimiva 3107 . . . . . . . . 9 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ∀𝑥 ∈ ℤ ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴))
56 ovex 7288 . . . . . . . . . . 11 (𝑥 · 𝐴) ∈ V
5756rgenw 3075 . . . . . . . . . 10 𝑥 ∈ ℤ (𝑥 · 𝐴) ∈ V
58 eqeq1 2742 . . . . . . . . . . . 12 (𝑧 = (𝑥 · 𝐴) → (𝑧 = (𝑦 · 𝐴) ↔ (𝑥 · 𝐴) = (𝑦 · 𝐴)))
5958reubidv 3315 . . . . . . . . . . 11 (𝑧 = (𝑥 · 𝐴) → (∃!𝑦 ∈ (0...((𝑂𝐴) − 1))𝑧 = (𝑦 · 𝐴) ↔ ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴)))
608, 59ralrnmptw 6952 . . . . . . . . . 10 (∀𝑥 ∈ ℤ (𝑥 · 𝐴) ∈ V → (∀𝑧 ∈ ran 𝐹∃!𝑦 ∈ (0...((𝑂𝐴) − 1))𝑧 = (𝑦 · 𝐴) ↔ ∀𝑥 ∈ ℤ ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴)))
6157, 60ax-mp 5 . . . . . . . . 9 (∀𝑧 ∈ ran 𝐹∃!𝑦 ∈ (0...((𝑂𝐴) − 1))𝑧 = (𝑦 · 𝐴) ↔ ∀𝑥 ∈ ℤ ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴))
6255, 61sylibr 233 . . . . . . . 8 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ∀𝑧 ∈ ran 𝐹∃!𝑦 ∈ (0...((𝑂𝐴) − 1))𝑧 = (𝑦 · 𝐴))
63 eqid 2738 . . . . . . . . 9 (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴)) = (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴))
6463f1ompt 6967 . . . . . . . 8 ((𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴)):(0...((𝑂𝐴) − 1))–1-1-onto→ran 𝐹 ↔ (∀𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑦 · 𝐴) ∈ ran 𝐹 ∧ ∀𝑧 ∈ ran 𝐹∃!𝑦 ∈ (0...((𝑂𝐴) − 1))𝑧 = (𝑦 · 𝐴)))
6520, 62, 64sylanbrc 582 . . . . . . 7 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴)):(0...((𝑂𝐴) − 1))–1-1-onto→ran 𝐹)
66 f1oen2g 8711 . . . . . . 7 (((0...((𝑂𝐴) − 1)) ∈ Fin ∧ ran 𝐹 ∈ V ∧ (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴)):(0...((𝑂𝐴) − 1))–1-1-onto→ran 𝐹) → (0...((𝑂𝐴) − 1)) ≈ ran 𝐹)
671, 13, 65, 66syl3anc 1369 . . . . . 6 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (0...((𝑂𝐴) − 1)) ≈ ran 𝐹)
68 enfi 8933 . . . . . 6 ((0...((𝑂𝐴) − 1)) ≈ ran 𝐹 → ((0...((𝑂𝐴) − 1)) ∈ Fin ↔ ran 𝐹 ∈ Fin))
6967, 68syl 17 . . . . 5 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ((0...((𝑂𝐴) − 1)) ∈ Fin ↔ ran 𝐹 ∈ Fin))
701, 69mpbid 231 . . . 4 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ran 𝐹 ∈ Fin)
7170iftrued 4464 . . 3 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0) = (♯‘ran 𝐹))
72 fz01en 13213 . . . . . 6 ((𝑂𝐴) ∈ ℤ → (0...((𝑂𝐴) − 1)) ≈ (1...(𝑂𝐴)))
73 ensym 8744 . . . . . 6 ((0...((𝑂𝐴) − 1)) ≈ (1...(𝑂𝐴)) → (1...(𝑂𝐴)) ≈ (0...((𝑂𝐴) − 1)))
7433, 72, 733syl 18 . . . . 5 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (1...(𝑂𝐴)) ≈ (0...((𝑂𝐴) − 1)))
75 entr 8747 . . . . 5 (((1...(𝑂𝐴)) ≈ (0...((𝑂𝐴) − 1)) ∧ (0...((𝑂𝐴) − 1)) ≈ ran 𝐹) → (1...(𝑂𝐴)) ≈ ran 𝐹)
7674, 67, 75syl2anc 583 . . . 4 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (1...(𝑂𝐴)) ≈ ran 𝐹)
77 fzfid 13621 . . . . 5 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (1...(𝑂𝐴)) ∈ Fin)
78 hashen 13989 . . . . 5 (((1...(𝑂𝐴)) ∈ Fin ∧ ran 𝐹 ∈ Fin) → ((♯‘(1...(𝑂𝐴))) = (♯‘ran 𝐹) ↔ (1...(𝑂𝐴)) ≈ ran 𝐹))
7977, 70, 78syl2anc 583 . . . 4 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ((♯‘(1...(𝑂𝐴))) = (♯‘ran 𝐹) ↔ (1...(𝑂𝐴)) ≈ ran 𝐹))
8076, 79mpbird 256 . . 3 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (♯‘(1...(𝑂𝐴))) = (♯‘ran 𝐹))
81 nnnn0 12170 . . . . 5 ((𝑂𝐴) ∈ ℕ → (𝑂𝐴) ∈ ℕ0)
8281adantl 481 . . . 4 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (𝑂𝐴) ∈ ℕ0)
83 hashfz1 13988 . . . 4 ((𝑂𝐴) ∈ ℕ0 → (♯‘(1...(𝑂𝐴))) = (𝑂𝐴))
8482, 83syl 17 . . 3 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (♯‘(1...(𝑂𝐴))) = (𝑂𝐴))
8571, 80, 843eqtr2rd 2785 . 2 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
86 simp3 1136 . . . 4 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑂𝐴) = 0) → (𝑂𝐴) = 0)
872, 47, 3, 8odinf 19085 . . . . 5 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑂𝐴) = 0) → ¬ ran 𝐹 ∈ Fin)
8887iffalsed 4467 . . . 4 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑂𝐴) = 0) → if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0) = 0)
8986, 88eqtr4d 2781 . . 3 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑂𝐴) = 0) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
90893expa 1116 . 2 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) = 0) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
912, 47odcl 19059 . . . 4 (𝐴𝑋 → (𝑂𝐴) ∈ ℕ0)
9291adantl 481 . . 3 ((𝐺 ∈ Grp ∧ 𝐴𝑋) → (𝑂𝐴) ∈ ℕ0)
93 elnn0 12165 . . 3 ((𝑂𝐴) ∈ ℕ0 ↔ ((𝑂𝐴) ∈ ℕ ∨ (𝑂𝐴) = 0))
9492, 93sylib 217 . 2 ((𝐺 ∈ Grp ∧ 𝐴𝑋) → ((𝑂𝐴) ∈ ℕ ∨ (𝑂𝐴) = 0))
9585, 90, 94mpjaodan 955 1 ((𝐺 ∈ Grp ∧ 𝐴𝑋) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wo 843  w3a 1085   = wceq 1539  wcel 2108  wral 3063  ∃!wreu 3065  Vcvv 3422  wss 3883  ifcif 4456   class class class wbr 5070  cmpt 5153  ran crn 5581  wf 6414  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  cen 8688  Fincfn 8691  cr 10801  0cc0 10802  1c1 10803   < clt 10940  cle 10941  cmin 11135  cn 11903  0cn0 12163  cz 12249  +crp 12659  ...cfz 13168   mod cmo 13517  chash 13972  cdvds 15891  Basecbs 16840  0gc0g 17067  Grpcgrp 18492  .gcmg 18615  odcod 19047
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-inf2 9329  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879  ax-pre-sup 10880
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-oadd 8271  df-omul 8272  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-sup 9131  df-inf 9132  df-oi 9199  df-card 9628  df-acn 9631  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-div 11563  df-nn 11904  df-2 11966  df-3 11967  df-n0 12164  df-z 12250  df-uz 12512  df-rp 12660  df-fz 13169  df-fl 13440  df-mod 13518  df-seq 13650  df-exp 13711  df-hash 13973  df-cj 14738  df-re 14739  df-im 14740  df-sqrt 14874  df-abs 14875  df-dvds 15892  df-0g 17069  df-mgm 18241  df-sgrp 18290  df-mnd 18301  df-grp 18495  df-minusg 18496  df-sbg 18497  df-mulg 18616  df-od 19051
This theorem is referenced by:  oddvds2  19088  cyggenod  19399  cyggenod2  19400  cycsubggenodd  19627
  Copyright terms: Public domain W3C validator