Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fimgmcyclem Structured version   Visualization version   GIF version

Theorem fimgmcyclem 43597
Description: Lemma for fimgmcyc 43598. (Contributed by SN, 7-Jul-2025.)
Hypothesis
Ref Expression
fimgmcyclem.s (𝜑 → ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 ≠ 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)))
Assertion
Ref Expression
fimgmcyclem (𝜑 → ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)))
Distinct variable groups:   · ,𝑜,𝑞   𝐴,𝑜,𝑞   𝜑,𝑜,𝑞

Proof of Theorem fimgmcyclem
Dummy variables 𝑝 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 490 . 2 ((𝜑 ∧ ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))) → ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)))
2 rexcom 3292 . . . . . 6 (∃𝑟 ∈ ℕ ∃𝑝 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑟 · 𝐴) = (𝑝 · 𝐴)) ↔ ∃𝑝 ∈ ℕ ∃𝑟 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑟 · 𝐴) = (𝑝 · 𝐴)))
3 eqcom 2768 . . . . . . . 8 ((𝑟 · 𝐴) = (𝑝 · 𝐴) ↔ (𝑝 · 𝐴) = (𝑟 · 𝐴))
43anbi2i 635 . . . . . . 7 ((𝑝 < 𝑟 ∧ (𝑟 · 𝐴) = (𝑝 · 𝐴)) ↔ (𝑝 < 𝑟 ∧ (𝑝 · 𝐴) = (𝑟 · 𝐴)))
542rexbii 3139 . . . . . 6 (∃𝑝 ∈ ℕ ∃𝑟 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑟 · 𝐴) = (𝑝 · 𝐴)) ↔ ∃𝑝 ∈ ℕ ∃𝑟 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑝 · 𝐴) = (𝑟 · 𝐴)))
62, 5sylbb 222 . . . . 5 (∃𝑟 ∈ ℕ ∃𝑝 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑟 · 𝐴) = (𝑝 · 𝐴)) → ∃𝑝 ∈ ℕ ∃𝑟 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑝 · 𝐴) = (𝑟 · 𝐴)))
7 breq2 5107 . . . . . . . 8 (𝑜 = 𝑟 → (𝑝 < 𝑜 ↔ 𝑝 < 𝑟))
8 oveq1 7427 . . . . . . . . 9 (𝑜 = 𝑟 → (𝑜 · 𝐴) = (𝑟 · 𝐴))
98eqeq1d 2763 . . . . . . . 8 (𝑜 = 𝑟 → ((𝑜 · 𝐴) = (𝑝 · 𝐴) ↔ (𝑟 · 𝐴) = (𝑝 · 𝐴)))
107, 9anbi12d 644 . . . . . . 7 (𝑜 = 𝑟 → ((𝑝 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑝 · 𝐴)) ↔ (𝑝 < 𝑟 ∧ (𝑟 · 𝐴) = (𝑝 · 𝐴))))
1110rexbidv 3187 . . . . . 6 (𝑜 = 𝑟 → (∃𝑝 ∈ ℕ (𝑝 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑝 · 𝐴)) ↔ ∃𝑝 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑟 · 𝐴) = (𝑝 · 𝐴))))
1211cbvrexvw 3242 . . . . 5 (∃𝑜 ∈ ℕ ∃𝑝 ∈ ℕ (𝑝 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑝 · 𝐴)) ↔ ∃𝑟 ∈ ℕ ∃𝑝 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑟 · 𝐴) = (𝑝 · 𝐴)))
13 breq1 5106 . . . . . . . 8 (𝑜 = 𝑝 → (𝑜 < 𝑟 ↔ 𝑝 < 𝑟))
14 oveq1 7427 . . . . . . . . 9 (𝑜 = 𝑝 → (𝑜 · 𝐴) = (𝑝 · 𝐴))
1514eqeq1d 2763 . . . . . . . 8 (𝑜 = 𝑝 → ((𝑜 · 𝐴) = (𝑟 · 𝐴) ↔ (𝑝 · 𝐴) = (𝑟 · 𝐴)))
1613, 15anbi12d 644 . . . . . . 7 (𝑜 = 𝑝 → ((𝑜 < 𝑟 ∧ (𝑜 · 𝐴) = (𝑟 · 𝐴)) ↔ (𝑝 < 𝑟 ∧ (𝑝 · 𝐴) = (𝑟 · 𝐴))))
1716rexbidv 3187 . . . . . 6 (𝑜 = 𝑝 → (∃𝑟 ∈ ℕ (𝑜 < 𝑟 ∧ (𝑜 · 𝐴) = (𝑟 · 𝐴)) ↔ ∃𝑟 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑝 · 𝐴) = (𝑟 · 𝐴))))
1817cbvrexvw 3242 . . . . 5 (∃𝑜 ∈ ℕ ∃𝑟 ∈ ℕ (𝑜 < 𝑟 ∧ (𝑜 · 𝐴) = (𝑟 · 𝐴)) ↔ ∃𝑝 ∈ ℕ ∃𝑟 ∈ ℕ (𝑝 < 𝑟 ∧ (𝑝 · 𝐴) = (𝑟 · 𝐴)))
196, 12, 183imtr4i 295 . . . 4 (∃𝑜 ∈ ℕ ∃𝑝 ∈ ℕ (𝑝 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑝 · 𝐴)) → ∃𝑜 ∈ ℕ ∃𝑟 ∈ ℕ (𝑜 < 𝑟 ∧ (𝑜 · 𝐴) = (𝑟 · 𝐴)))
20 breq1 5106 . . . . . . 7 (𝑞 = 𝑝 → (𝑞 < 𝑜 ↔ 𝑝 < 𝑜))
21 oveq1 7427 . . . . . . . 8 (𝑞 = 𝑝 → (𝑞 · 𝐴) = (𝑝 · 𝐴))
2221eqeq2d 2772 . . . . . . 7 (𝑞 = 𝑝 → ((𝑜 · 𝐴) = (𝑞 · 𝐴) ↔ (𝑜 · 𝐴) = (𝑝 · 𝐴)))
2320, 22anbi12d 644 . . . . . 6 (𝑞 = 𝑝 → ((𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ (𝑝 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑝 · 𝐴))))
2423cbvrexvw 3242 . . . . 5 (∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ ∃𝑝 ∈ ℕ (𝑝 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑝 · 𝐴)))
2524rexbii 3110 . . . 4 (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ ∃𝑜 ∈ ℕ ∃𝑝 ∈ ℕ (𝑝 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑝 · 𝐴)))
26 breq2 5107 . . . . . . 7 (𝑞 = 𝑟 → (𝑜 < 𝑞 ↔ 𝑜 < 𝑟))
27 oveq1 7427 . . . . . . . 8 (𝑞 = 𝑟 → (𝑞 · 𝐴) = (𝑟 · 𝐴))
2827eqeq2d 2772 . . . . . . 7 (𝑞 = 𝑟 → ((𝑜 · 𝐴) = (𝑞 · 𝐴) ↔ (𝑜 · 𝐴) = (𝑟 · 𝐴)))
2926, 28anbi12d 644 . . . . . 6 (𝑞 = 𝑟 → ((𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ (𝑜 < 𝑟 ∧ (𝑜 · 𝐴) = (𝑟 · 𝐴))))
3029cbvrexvw 3242 . . . . 5 (∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ ∃𝑟 ∈ ℕ (𝑜 < 𝑟 ∧ (𝑜 · 𝐴) = (𝑟 · 𝐴)))
3130rexbii 3110 . . . 4 (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ ∃𝑜 ∈ ℕ ∃𝑟 ∈ ℕ (𝑜 < 𝑟 ∧ (𝑜 · 𝐴) = (𝑟 · 𝐴)))
3219, 25, 313imtr4i 295 . . 3 (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) → ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)))
3332adantl 487 . 2 ((𝜑 ∧ ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))) → ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)))
34 fimgmcyclem.s . . 3 (𝜑 → ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 ≠ 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)))
35 simpl 488 . . . . . . . . 9 ((𝑜 ∈ ℕ ∧ 𝑞 ∈ ℕ) → 𝑜 ∈ ℕ)
3635nnred 12350 . . . . . . . 8 ((𝑜 ∈ ℕ ∧ 𝑞 ∈ ℕ) → 𝑜 ∈ ℝ)
37 simpr 490 . . . . . . . . 9 ((𝑜 ∈ ℕ ∧ 𝑞 ∈ ℕ) → 𝑞 ∈ ℕ)
3837nnred 12350 . . . . . . . 8 ((𝑜 ∈ ℕ ∧ 𝑞 ∈ ℕ) → 𝑞 ∈ ℝ)
3936, 38lttri2d 11449 . . . . . . 7 ((𝑜 ∈ ℕ ∧ 𝑞 ∈ ℕ) → (𝑜 ≠ 𝑞 ↔ (𝑜 < 𝑞 ∨ 𝑞 < 𝑜)))
4039anbi1d 643 . . . . . 6 ((𝑜 ∈ ℕ ∧ 𝑞 ∈ ℕ) → ((𝑜 ≠ 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ ((𝑜 < 𝑞 ∨ 𝑞 < 𝑜) ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))))
41 andir 1026 . . . . . 6 (((𝑜 < 𝑞 ∨ 𝑞 < 𝑜) ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ ((𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))))
4240, 41bitrdi 290 . . . . 5 ((𝑜 ∈ ℕ ∧ 𝑞 ∈ ℕ) → ((𝑜 ≠ 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ ((𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)))))
43422rexbiia 3224 . . . 4 (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 ≠ 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ ((𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))))
44 r19.43 3131 . . . . 5 (∃𝑞 ∈ ℕ ((𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))) ↔ (∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))))
4544rexbii 3110 . . . 4 (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ ((𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))) ↔ ∃𝑜 ∈ ℕ (∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))))
46 r19.43 3131 . . . 4 (∃𝑜 ∈ ℕ (∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))) ↔ (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))))
4743, 45, 463bitri 300 . . 3 (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 ≠ 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ↔ (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))))
4834, 47sylib 221 . 2 (𝜑 → (∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)) ∨ ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑞 < 𝑜 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴))))
491, 33, 48mpjaodan 973 1 (𝜑 → ∃𝑜 ∈ ℕ ∃𝑞 ∈ ℕ (𝑜 < 𝑞 ∧ (𝑜 · 𝐴) = (𝑞 · 𝐴)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∃wrex 3087   class class class wbr 5103  (class class class)co 7420   < clt 11343  ℕcn 12335
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 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-i2m1 11268  ax-1ne0 11269  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  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-ov 7423  df-om 7878  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-pnf 11345  df-mnf 11346  df-ltxr 11348  df-nn 12336
This theorem is used by:  fimgmcyc  43598
  Copyright terms: Public domain W3C validator