Users' Mathboxes Mathbox for Glauco Siliprandi < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  iuneqfzuzlem Structured version   Visualization version   GIF version

Theorem iuneqfzuzlem 42763
Description: Lemma for iuneqfzuz 42764: here, inclusion is proven; aiuneqfzuz uses this lemma twice, to prove equality. (Contributed by Glauco Siliprandi, 17-Aug-2020.)
Hypothesis
Ref Expression
iuneqfzuzlem.z 𝑍 = (ℤ𝑁)
Assertion
Ref Expression
iuneqfzuzlem (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐴 𝑛𝑍 𝐵)
Distinct variable groups:   𝐴,𝑚   𝐵,𝑚   𝑛,𝑁   𝑚,𝑍,𝑛
Allowed substitution hints:   𝐴(𝑛)   𝐵(𝑛)   𝑁(𝑚)

Proof of Theorem iuneqfzuzlem
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 nfcv 2906 . . . . . . . . 9 𝑚𝐴
2 nfcsb1v 3853 . . . . . . . . 9 𝑛𝑚 / 𝑛𝐴
3 csbeq1a 3842 . . . . . . . . 9 (𝑛 = 𝑚𝐴 = 𝑚 / 𝑛𝐴)
41, 2, 3cbviun 4962 . . . . . . . 8 𝑛𝑍 𝐴 = 𝑚𝑍 𝑚 / 𝑛𝐴
54eleq2i 2830 . . . . . . 7 (𝑥 𝑛𝑍 𝐴𝑥 𝑚𝑍 𝑚 / 𝑛𝐴)
6 eliun 4925 . . . . . . 7 (𝑥 𝑚𝑍 𝑚 / 𝑛𝐴 ↔ ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
75, 6bitri 274 . . . . . 6 (𝑥 𝑛𝑍 𝐴 ↔ ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
87biimpi 215 . . . . 5 (𝑥 𝑛𝑍 𝐴 → ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
98adantl 481 . . . 4 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
10 nfra1 3142 . . . . . 6 𝑚𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵
11 nfv 1918 . . . . . 6 𝑚 𝑥 𝑛𝑍 𝐵
12 simp2 1135 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑚𝑍)
13 rspa 3130 . . . . . . . . 9 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍) → 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
14133adant3 1130 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
15 simp3 1136 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥𝑚 / 𝑛𝐴)
16 id 22 . . . . . . . . . . 11 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
17 fzssuz 13226 . . . . . . . . . . . . 13 (𝑁...𝑚) ⊆ (ℤ𝑁)
18 iuneqfzuzlem.z . . . . . . . . . . . . . 14 𝑍 = (ℤ𝑁)
1918eqcomi 2747 . . . . . . . . . . . . 13 (ℤ𝑁) = 𝑍
2017, 19sseqtri 3953 . . . . . . . . . . . 12 (𝑁...𝑚) ⊆ 𝑍
21 iunss1 4935 . . . . . . . . . . . 12 ((𝑁...𝑚) ⊆ 𝑍 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐵)
2220, 21mp1i 13 . . . . . . . . . . 11 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐵)
2316, 22eqsstrd 3955 . . . . . . . . . 10 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐴 𝑛𝑍 𝐵)
24233ad2ant2 1132 . . . . . . . . 9 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑛 ∈ (𝑁...𝑚)𝐴 𝑛𝑍 𝐵)
2518eleq2i 2830 . . . . . . . . . . . . . . 15 (𝑚𝑍𝑚 ∈ (ℤ𝑁))
2625biimpi 215 . . . . . . . . . . . . . 14 (𝑚𝑍𝑚 ∈ (ℤ𝑁))
27 eluzel2 12516 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑁 ∈ ℤ)
2826, 27syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑁 ∈ ℤ)
29 eluzelz 12521 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑚 ∈ ℤ)
3026, 29syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑚 ∈ ℤ)
31 eluzle 12524 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑁𝑚)
3226, 31syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑁𝑚)
3330zred 12355 . . . . . . . . . . . . . 14 (𝑚𝑍𝑚 ∈ ℝ)
34 leid 11001 . . . . . . . . . . . . . 14 (𝑚 ∈ ℝ → 𝑚𝑚)
3533, 34syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑚𝑚)
3628, 30, 30, 32, 35elfzd 13176 . . . . . . . . . . . 12 (𝑚𝑍𝑚 ∈ (𝑁...𝑚))
37 nfcv 2906 . . . . . . . . . . . . . 14 𝑛𝑥
3837, 2nfel 2920 . . . . . . . . . . . . 13 𝑛 𝑥𝑚 / 𝑛𝐴
393eleq2d 2824 . . . . . . . . . . . . 13 (𝑛 = 𝑚 → (𝑥𝐴𝑥𝑚 / 𝑛𝐴))
4038, 39rspce 3540 . . . . . . . . . . . 12 ((𝑚 ∈ (𝑁...𝑚) ∧ 𝑥𝑚 / 𝑛𝐴) → ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
4136, 40sylan 579 . . . . . . . . . . 11 ((𝑚𝑍𝑥𝑚 / 𝑛𝐴) → ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
42 eliun 4925 . . . . . . . . . . 11 (𝑥 𝑛 ∈ (𝑁...𝑚)𝐴 ↔ ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
4341, 42sylibr 233 . . . . . . . . . 10 ((𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛 ∈ (𝑁...𝑚)𝐴)
44433adant2 1129 . . . . . . . . 9 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛 ∈ (𝑁...𝑚)𝐴)
4524, 44sseldd 3918 . . . . . . . 8 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛𝑍 𝐵)
4612, 14, 15, 45syl3anc 1369 . . . . . . 7 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛𝑍 𝐵)
47463exp 1117 . . . . . 6 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → (𝑚𝑍 → (𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵)))
4810, 11, 47rexlimd 3245 . . . . 5 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → (∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵))
4948adantr 480 . . . 4 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → (∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵))
509, 49mpd 15 . . 3 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → 𝑥 𝑛𝑍 𝐵)
5150ralrimiva 3107 . 2 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → ∀𝑥 𝑛𝑍 𝐴𝑥 𝑛𝑍 𝐵)
52 dfss3 3905 . 2 ( 𝑛𝑍 𝐴 𝑛𝑍 𝐵 ↔ ∀𝑥 𝑛𝑍 𝐴𝑥 𝑛𝑍 𝐵)
5351, 52sylibr 233 1 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐴 𝑛𝑍 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  csb 3828  wss 3883   ciun 4921   class class class wbr 5070  cfv 6418  (class class class)co 7255  cr 10801  cle 10941  cz 12249  cuz 12511  ...cfz 13168
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-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-pre-lttri 10876
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-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  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-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1st 7804  df-2nd 7805  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-neg 11138  df-z 12250  df-uz 12512  df-fz 13169
This theorem is referenced by:  iuneqfzuz  42764
  Copyright terms: Public domain W3C validator