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

Theorem dfod2 19169
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 13691 . . . . 5 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (0...((𝑂𝐴) − 1)) ∈ Fin)
2 odf1.1 . . . . . . . . . . . . 13 𝑋 = (Base‘𝐺)
3 odf1.3 . . . . . . . . . . . . 13 · = (.g𝐺)
42, 3mulgcl 18719 . . . . . . . . . . . 12 ((𝐺 ∈ Grp ∧ 𝑥 ∈ ℤ ∧ 𝐴𝑋) → (𝑥 · 𝐴) ∈ 𝑋)
543expa 1117 . . . . . . . . . . 11 (((𝐺 ∈ Grp ∧ 𝑥 ∈ ℤ) ∧ 𝐴𝑋) → (𝑥 · 𝐴) ∈ 𝑋)
65an32s 649 . . . . . . . . . 10 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ 𝑥 ∈ ℤ) → (𝑥 · 𝐴) ∈ 𝑋)
76adantlr 712 . . . . . . . . 9 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → (𝑥 · 𝐴) ∈ 𝑋)
8 odf1.4 . . . . . . . . 9 𝐹 = (𝑥 ∈ ℤ ↦ (𝑥 · 𝐴))
97, 8fmptd 6985 . . . . . . . 8 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → 𝐹:ℤ⟶𝑋)
10 frn 6605 . . . . . . . 8 (𝐹:ℤ⟶𝑋 → ran 𝐹𝑋)
112fvexi 6785 . . . . . . . . 9 𝑋 ∈ V
1211ssex 5249 . . . . . . . 8 (ran 𝐹𝑋 → ran 𝐹 ∈ V)
139, 10, 123syl 18 . . . . . . 7 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ran 𝐹 ∈ V)
14 elfzelz 13255 . . . . . . . . . . 11 (𝑦 ∈ (0...((𝑂𝐴) − 1)) → 𝑦 ∈ ℤ)
1514adantl 482 . . . . . . . . . 10 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑦 ∈ ℤ)
16 ovex 7304 . . . . . . . . . 10 (𝑦 · 𝐴) ∈ V
17 oveq1 7278 . . . . . . . . . . 11 (𝑥 = 𝑦 → (𝑥 · 𝐴) = (𝑦 · 𝐴))
188, 17elrnmpt1s 5865 . . . . . . . . . 10 ((𝑦 ∈ ℤ ∧ (𝑦 · 𝐴) ∈ V) → (𝑦 · 𝐴) ∈ ran 𝐹)
1915, 16, 18sylancl 586 . . . . . . . . 9 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑦 · 𝐴) ∈ ran 𝐹)
2019ralrimiva 3110 . . . . . . . 8 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ∀𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑦 · 𝐴) ∈ ran 𝐹)
21 zmodfz 13611 . . . . . . . . . . . . 13 ((𝑥 ∈ ℤ ∧ (𝑂𝐴) ∈ ℕ) → (𝑥 mod (𝑂𝐴)) ∈ (0...((𝑂𝐴) − 1)))
2221ancoms 459 . . . . . . . . . . . 12 (((𝑂𝐴) ∈ ℕ ∧ 𝑥 ∈ ℤ) → (𝑥 mod (𝑂𝐴)) ∈ (0...((𝑂𝐴) − 1)))
2322adantll 711 . . . . . . . . . . 11 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → (𝑥 mod (𝑂𝐴)) ∈ (0...((𝑂𝐴) − 1)))
24 simpllr 773 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑂𝐴) ∈ ℕ)
25 simplr 766 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑥 ∈ ℤ)
2614adantl 482 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑦 ∈ ℤ)
27 moddvds 15972 . . . . . . . . . . . . . 14 (((𝑂𝐴) ∈ ℕ ∧ 𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) → ((𝑥 mod (𝑂𝐴)) = (𝑦 mod (𝑂𝐴)) ↔ (𝑂𝐴) ∥ (𝑥𝑦)))
2824, 25, 26, 27syl3anc 1370 . . . . . . . . . . . . 13 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑥 mod (𝑂𝐴)) = (𝑦 mod (𝑂𝐴)) ↔ (𝑂𝐴) ∥ (𝑥𝑦)))
2926zred 12425 . . . . . . . . . . . . . . . 16 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑦 ∈ ℝ)
3024nnrpd 12769 . . . . . . . . . . . . . . . 16 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑂𝐴) ∈ ℝ+)
31 0z 12330 . . . . . . . . . . . . . . . . . . 19 0 ∈ ℤ
32 nnz 12342 . . . . . . . . . . . . . . . . . . . . 21 ((𝑂𝐴) ∈ ℕ → (𝑂𝐴) ∈ ℤ)
3332adantl 482 . . . . . . . . . . . . . . . . . . . 20 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (𝑂𝐴) ∈ ℤ)
3433adantr 481 . . . . . . . . . . . . . . . . . . 19 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → (𝑂𝐴) ∈ ℤ)
35 elfzm11 13326 . . . . . . . . . . . . . . . . . . 19 ((0 ∈ ℤ ∧ (𝑂𝐴) ∈ ℤ) → (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↔ (𝑦 ∈ ℤ ∧ 0 ≤ 𝑦𝑦 < (𝑂𝐴))))
3631, 34, 35sylancr 587 . . . . . . . . . . . . . . . . . 18 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↔ (𝑦 ∈ ℤ ∧ 0 ≤ 𝑦𝑦 < (𝑂𝐴))))
3736biimpa 477 . . . . . . . . . . . . . . . . 17 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑦 ∈ ℤ ∧ 0 ≤ 𝑦𝑦 < (𝑂𝐴)))
3837simp2d 1142 . . . . . . . . . . . . . . . 16 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 0 ≤ 𝑦)
3937simp3d 1143 . . . . . . . . . . . . . . . 16 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝑦 < (𝑂𝐴))
40 modid 13614 . . . . . . . . . . . . . . . 16 (((𝑦 ∈ ℝ ∧ (𝑂𝐴) ∈ ℝ+) ∧ (0 ≤ 𝑦𝑦 < (𝑂𝐴))) → (𝑦 mod (𝑂𝐴)) = 𝑦)
4129, 30, 38, 39, 40syl22anc 836 . . . . . . . . . . . . . . 15 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → (𝑦 mod (𝑂𝐴)) = 𝑦)
4241eqeq2d 2751 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑥 mod (𝑂𝐴)) = (𝑦 mod (𝑂𝐴)) ↔ (𝑥 mod (𝑂𝐴)) = 𝑦))
43 eqcom 2747 . . . . . . . . . . . . . 14 ((𝑥 mod (𝑂𝐴)) = 𝑦𝑦 = (𝑥 mod (𝑂𝐴)))
4442, 43bitrdi 287 . . . . . . . . . . . . 13 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑥 mod (𝑂𝐴)) = (𝑦 mod (𝑂𝐴)) ↔ 𝑦 = (𝑥 mod (𝑂𝐴))))
45 simp-4l 780 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝐺 ∈ Grp)
46 simp-4r 781 . . . . . . . . . . . . . 14 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → 𝐴𝑋)
47 odf1.2 . . . . . . . . . . . . . . 15 𝑂 = (od‘𝐺)
48 eqid 2740 . . . . . . . . . . . . . . 15 (0g𝐺) = (0g𝐺)
492, 47, 3, 48odcong 19155 . . . . . . . . . . . . . 14 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → ((𝑂𝐴) ∥ (𝑥𝑦) ↔ (𝑥 · 𝐴) = (𝑦 · 𝐴)))
5045, 46, 25, 26, 49syl112anc 1373 . . . . . . . . . . . . 13 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑂𝐴) ∥ (𝑥𝑦) ↔ (𝑥 · 𝐴) = (𝑦 · 𝐴)))
5128, 44, 503bitr3rd 310 . . . . . . . . . . . 12 (((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) ∧ 𝑦 ∈ (0...((𝑂𝐴) − 1))) → ((𝑥 · 𝐴) = (𝑦 · 𝐴) ↔ 𝑦 = (𝑥 mod (𝑂𝐴))))
5251ralrimiva 3110 . . . . . . . . . . 11 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → ∀𝑦 ∈ (0...((𝑂𝐴) − 1))((𝑥 · 𝐴) = (𝑦 · 𝐴) ↔ 𝑦 = (𝑥 mod (𝑂𝐴))))
53 reu6i 3667 . . . . . . . . . . 11 (((𝑥 mod (𝑂𝐴)) ∈ (0...((𝑂𝐴) − 1)) ∧ ∀𝑦 ∈ (0...((𝑂𝐴) − 1))((𝑥 · 𝐴) = (𝑦 · 𝐴) ↔ 𝑦 = (𝑥 mod (𝑂𝐴)))) → ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴))
5423, 52, 53syl2anc 584 . . . . . . . . . 10 ((((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) ∧ 𝑥 ∈ ℤ) → ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴))
5554ralrimiva 3110 . . . . . . . . 9 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ∀𝑥 ∈ ℤ ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴))
56 ovex 7304 . . . . . . . . . . 11 (𝑥 · 𝐴) ∈ V
5756rgenw 3078 . . . . . . . . . 10 𝑥 ∈ ℤ (𝑥 · 𝐴) ∈ V
58 eqeq1 2744 . . . . . . . . . . . 12 (𝑧 = (𝑥 · 𝐴) → (𝑧 = (𝑦 · 𝐴) ↔ (𝑥 · 𝐴) = (𝑦 · 𝐴)))
5958reubidv 3322 . . . . . . . . . . 11 (𝑧 = (𝑥 · 𝐴) → (∃!𝑦 ∈ (0...((𝑂𝐴) − 1))𝑧 = (𝑦 · 𝐴) ↔ ∃!𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑥 · 𝐴) = (𝑦 · 𝐴)))
608, 59ralrnmptw 6967 . . . . . . . . . 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 2740 . . . . . . . . 9 (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴)) = (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴))
6463f1ompt 6982 . . . . . . . 8 ((𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴)):(0...((𝑂𝐴) − 1))–1-1-onto→ran 𝐹 ↔ (∀𝑦 ∈ (0...((𝑂𝐴) − 1))(𝑦 · 𝐴) ∈ ran 𝐹 ∧ ∀𝑧 ∈ ran 𝐹∃!𝑦 ∈ (0...((𝑂𝐴) − 1))𝑧 = (𝑦 · 𝐴)))
6520, 62, 64sylanbrc 583 . . . . . . 7 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴)):(0...((𝑂𝐴) − 1))–1-1-onto→ran 𝐹)
66 f1oen2g 8739 . . . . . . 7 (((0...((𝑂𝐴) − 1)) ∈ Fin ∧ ran 𝐹 ∈ V ∧ (𝑦 ∈ (0...((𝑂𝐴) − 1)) ↦ (𝑦 · 𝐴)):(0...((𝑂𝐴) − 1))–1-1-onto→ran 𝐹) → (0...((𝑂𝐴) − 1)) ≈ ran 𝐹)
671, 13, 65, 66syl3anc 1370 . . . . . 6 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (0...((𝑂𝐴) − 1)) ≈ ran 𝐹)
68 enfi 8955 . . . . . 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 4473 . . 3 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0) = (♯‘ran 𝐹))
72 fz01en 13283 . . . . . 6 ((𝑂𝐴) ∈ ℤ → (0...((𝑂𝐴) − 1)) ≈ (1...(𝑂𝐴)))
73 ensym 8772 . . . . . 6 ((0...((𝑂𝐴) − 1)) ≈ (1...(𝑂𝐴)) → (1...(𝑂𝐴)) ≈ (0...((𝑂𝐴) − 1)))
7433, 72, 733syl 18 . . . . 5 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (1...(𝑂𝐴)) ≈ (0...((𝑂𝐴) − 1)))
75 entr 8775 . . . . 5 (((1...(𝑂𝐴)) ≈ (0...((𝑂𝐴) − 1)) ∧ (0...((𝑂𝐴) − 1)) ≈ ran 𝐹) → (1...(𝑂𝐴)) ≈ ran 𝐹)
7674, 67, 75syl2anc 584 . . . 4 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (1...(𝑂𝐴)) ≈ ran 𝐹)
77 fzfid 13691 . . . . 5 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (1...(𝑂𝐴)) ∈ Fin)
78 hashen 14059 . . . . 5 (((1...(𝑂𝐴)) ∈ Fin ∧ ran 𝐹 ∈ Fin) → ((♯‘(1...(𝑂𝐴))) = (♯‘ran 𝐹) ↔ (1...(𝑂𝐴)) ≈ ran 𝐹))
7977, 70, 78syl2anc 584 . . . 4 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → ((♯‘(1...(𝑂𝐴))) = (♯‘ran 𝐹) ↔ (1...(𝑂𝐴)) ≈ ran 𝐹))
8076, 79mpbird 256 . . 3 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (♯‘(1...(𝑂𝐴))) = (♯‘ran 𝐹))
81 nnnn0 12240 . . . . 5 ((𝑂𝐴) ∈ ℕ → (𝑂𝐴) ∈ ℕ0)
8281adantl 482 . . . 4 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (𝑂𝐴) ∈ ℕ0)
83 hashfz1 14058 . . . 4 ((𝑂𝐴) ∈ ℕ0 → (♯‘(1...(𝑂𝐴))) = (𝑂𝐴))
8482, 83syl 17 . . 3 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (♯‘(1...(𝑂𝐴))) = (𝑂𝐴))
8571, 80, 843eqtr2rd 2787 . 2 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) ∈ ℕ) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
86 simp3 1137 . . . 4 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑂𝐴) = 0) → (𝑂𝐴) = 0)
872, 47, 3, 8odinf 19168 . . . . 5 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑂𝐴) = 0) → ¬ ran 𝐹 ∈ Fin)
8887iffalsed 4476 . . . 4 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑂𝐴) = 0) → if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0) = 0)
8986, 88eqtr4d 2783 . . 3 ((𝐺 ∈ Grp ∧ 𝐴𝑋 ∧ (𝑂𝐴) = 0) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
90893expa 1117 . 2 (((𝐺 ∈ Grp ∧ 𝐴𝑋) ∧ (𝑂𝐴) = 0) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
912, 47odcl 19142 . . . 4 (𝐴𝑋 → (𝑂𝐴) ∈ ℕ0)
9291adantl 482 . . 3 ((𝐺 ∈ Grp ∧ 𝐴𝑋) → (𝑂𝐴) ∈ ℕ0)
93 elnn0 12235 . . 3 ((𝑂𝐴) ∈ ℕ0 ↔ ((𝑂𝐴) ∈ ℕ ∨ (𝑂𝐴) = 0))
9492, 93sylib 217 . 2 ((𝐺 ∈ Grp ∧ 𝐴𝑋) → ((𝑂𝐴) ∈ ℕ ∨ (𝑂𝐴) = 0))
9585, 90, 94mpjaodan 956 1 ((𝐺 ∈ Grp ∧ 𝐴𝑋) → (𝑂𝐴) = if(ran 𝐹 ∈ Fin, (♯‘ran 𝐹), 0))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 844  w3a 1086   = wceq 1542  wcel 2110  wral 3066  ∃!wreu 3068  Vcvv 3431  wss 3892  ifcif 4465   class class class wbr 5079  cmpt 5162  ran crn 5591  wf 6428  1-1-ontowf1o 6431  cfv 6432  (class class class)co 7271  cen 8713  Fincfn 8716  cr 10871  0cc0 10872  1c1 10873   < clt 11010  cle 11011  cmin 11205  cn 11973  0cn0 12233  cz 12319  +crp 12729  ...cfz 13238   mod cmo 13587  chash 14042  cdvds 15961  Basecbs 16910  0gc0g 17148  Grpcgrp 18575  .gcmg 18698  odcod 19130
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-rep 5214  ax-sep 5227  ax-nul 5234  ax-pow 5292  ax-pr 5356  ax-un 7582  ax-inf2 9377  ax-cnex 10928  ax-resscn 10929  ax-1cn 10930  ax-icn 10931  ax-addcl 10932  ax-addrcl 10933  ax-mulcl 10934  ax-mulrcl 10935  ax-mulcom 10936  ax-addass 10937  ax-mulass 10938  ax-distr 10939  ax-i2m1 10940  ax-1ne0 10941  ax-1rid 10942  ax-rnegex 10943  ax-rrecex 10944  ax-cnre 10945  ax-pre-lttri 10946  ax-pre-lttrn 10947  ax-pre-ltadd 10948  ax-pre-mulgt0 10949  ax-pre-sup 10950
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ne 2946  df-nel 3052  df-ral 3071  df-rex 3072  df-reu 3073  df-rmo 3074  df-rab 3075  df-v 3433  df-sbc 3721  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4846  df-int 4886  df-iun 4932  df-br 5080  df-opab 5142  df-mpt 5163  df-tr 5197  df-id 5490  df-eprel 5496  df-po 5504  df-so 5505  df-fr 5545  df-se 5546  df-we 5547  df-xp 5596  df-rel 5597  df-cnv 5598  df-co 5599  df-dm 5600  df-rn 5601  df-res 5602  df-ima 5603  df-pred 6201  df-ord 6268  df-on 6269  df-lim 6270  df-suc 6271  df-iota 6390  df-fun 6434  df-fn 6435  df-f 6436  df-f1 6437  df-fo 6438  df-f1o 6439  df-fv 6440  df-isom 6441  df-riota 7228  df-ov 7274  df-oprab 7275  df-mpo 7276  df-om 7707  df-1st 7824  df-2nd 7825  df-frecs 8088  df-wrecs 8119  df-recs 8193  df-rdg 8232  df-1o 8288  df-oadd 8292  df-omul 8293  df-er 8481  df-map 8600  df-en 8717  df-dom 8718  df-sdom 8719  df-fin 8720  df-sup 9179  df-inf 9180  df-oi 9247  df-card 9698  df-acn 9701  df-pnf 11012  df-mnf 11013  df-xr 11014  df-ltxr 11015  df-le 11016  df-sub 11207  df-neg 11208  df-div 11633  df-nn 11974  df-2 12036  df-3 12037  df-n0 12234  df-z 12320  df-uz 12582  df-rp 12730  df-fz 13239  df-fl 13510  df-mod 13588  df-seq 13720  df-exp 13781  df-hash 14043  df-cj 14808  df-re 14809  df-im 14810  df-sqrt 14944  df-abs 14945  df-dvds 15962  df-0g 17150  df-mgm 18324  df-sgrp 18373  df-mnd 18384  df-grp 18578  df-minusg 18579  df-sbg 18580  df-mulg 18699  df-od 19134
This theorem is referenced by:  oddvds2  19171  cyggenod  19482  cyggenod2  19483  cycsubggenodd  19710
  Copyright terms: Public domain W3C validator