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 42873
Description: Lemma for iuneqfzuz 42874: 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 2907 . . . . . . . . 9 𝑚𝐴
2 nfcsb1v 3857 . . . . . . . . 9 𝑛𝑚 / 𝑛𝐴
3 csbeq1a 3846 . . . . . . . . 9 (𝑛 = 𝑚𝐴 = 𝑚 / 𝑛𝐴)
41, 2, 3cbviun 4966 . . . . . . . 8 𝑛𝑍 𝐴 = 𝑚𝑍 𝑚 / 𝑛𝐴
54eleq2i 2830 . . . . . . 7 (𝑥 𝑛𝑍 𝐴𝑥 𝑚𝑍 𝑚 / 𝑛𝐴)
6 eliun 4928 . . . . . . 7 (𝑥 𝑚𝑍 𝑚 / 𝑛𝐴 ↔ ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
75, 6bitri 274 . . . . . 6 (𝑥 𝑛𝑍 𝐴 ↔ ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
87biimpi 215 . . . . 5 (𝑥 𝑛𝑍 𝐴 → ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
98adantl 482 . . . 4 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
10 nfra1 3144 . . . . . 6 𝑚𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵
11 nfv 1917 . . . . . 6 𝑚 𝑥 𝑛𝑍 𝐵
12 simp2 1136 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑚𝑍)
13 rspa 3132 . . . . . . . . 9 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍) → 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
14133adant3 1131 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
15 simp3 1137 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥𝑚 / 𝑛𝐴)
16 id 22 . . . . . . . . . . 11 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
17 fzssuz 13297 . . . . . . . . . . . . 13 (𝑁...𝑚) ⊆ (ℤ𝑁)
18 iuneqfzuzlem.z . . . . . . . . . . . . . 14 𝑍 = (ℤ𝑁)
1918eqcomi 2747 . . . . . . . . . . . . 13 (ℤ𝑁) = 𝑍
2017, 19sseqtri 3957 . . . . . . . . . . . 12 (𝑁...𝑚) ⊆ 𝑍
21 iunss1 4938 . . . . . . . . . . . 12 ((𝑁...𝑚) ⊆ 𝑍 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐵)
2220, 21mp1i 13 . . . . . . . . . . 11 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐵)
2316, 22eqsstrd 3959 . . . . . . . . . 10 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐴 𝑛𝑍 𝐵)
24233ad2ant2 1133 . . . . . . . . 9 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑛 ∈ (𝑁...𝑚)𝐴 𝑛𝑍 𝐵)
2518eleq2i 2830 . . . . . . . . . . . . . . 15 (𝑚𝑍𝑚 ∈ (ℤ𝑁))
2625biimpi 215 . . . . . . . . . . . . . 14 (𝑚𝑍𝑚 ∈ (ℤ𝑁))
27 eluzel2 12587 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑁 ∈ ℤ)
2826, 27syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑁 ∈ ℤ)
29 eluzelz 12592 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑚 ∈ ℤ)
3026, 29syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑚 ∈ ℤ)
31 eluzle 12595 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑁𝑚)
3226, 31syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑁𝑚)
3330zred 12426 . . . . . . . . . . . . . 14 (𝑚𝑍𝑚 ∈ ℝ)
34 leid 11071 . . . . . . . . . . . . . 14 (𝑚 ∈ ℝ → 𝑚𝑚)
3533, 34syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑚𝑚)
3628, 30, 30, 32, 35elfzd 13247 . . . . . . . . . . . 12 (𝑚𝑍𝑚 ∈ (𝑁...𝑚))
37 nfcv 2907 . . . . . . . . . . . . . 14 𝑛𝑥
3837, 2nfel 2921 . . . . . . . . . . . . 13 𝑛 𝑥𝑚 / 𝑛𝐴
393eleq2d 2824 . . . . . . . . . . . . 13 (𝑛 = 𝑚 → (𝑥𝐴𝑥𝑚 / 𝑛𝐴))
4038, 39rspce 3550 . . . . . . . . . . . 12 ((𝑚 ∈ (𝑁...𝑚) ∧ 𝑥𝑚 / 𝑛𝐴) → ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
4136, 40sylan 580 . . . . . . . . . . 11 ((𝑚𝑍𝑥𝑚 / 𝑛𝐴) → ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
42 eliun 4928 . . . . . . . . . . 11 (𝑥 𝑛 ∈ (𝑁...𝑚)𝐴 ↔ ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
4341, 42sylibr 233 . . . . . . . . . 10 ((𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛 ∈ (𝑁...𝑚)𝐴)
44433adant2 1130 . . . . . . . . 9 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛 ∈ (𝑁...𝑚)𝐴)
4524, 44sseldd 3922 . . . . . . . 8 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛𝑍 𝐵)
4612, 14, 15, 45syl3anc 1370 . . . . . . 7 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛𝑍 𝐵)
47463exp 1118 . . . . . 6 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → (𝑚𝑍 → (𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵)))
4810, 11, 47rexlimd 3250 . . . . 5 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → (∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵))
4948adantr 481 . . . 4 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → (∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵))
509, 49mpd 15 . . 3 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → 𝑥 𝑛𝑍 𝐵)
5150ralrimiva 3103 . 2 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → ∀𝑥 𝑛𝑍 𝐴𝑥 𝑛𝑍 𝐵)
52 dfss3 3909 . 2 ( 𝑛𝑍 𝐴 𝑛𝑍 𝐵 ↔ ∀𝑥 𝑛𝑍 𝐴𝑥 𝑛𝑍 𝐵)
5351, 52sylibr 233 1 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐴 𝑛𝑍 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  wrex 3065  csb 3832  wss 3887   ciun 4924   class class class wbr 5074  cfv 6433  (class class class)co 7275  cr 10870  cle 11010  cz 12319  cuz 12582  ...cfz 13239
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-pre-lttri 10945
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-nel 3050  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-neg 11208  df-z 12320  df-uz 12583  df-fz 13240
This theorem is referenced by:  iuneqfzuz  42874
  Copyright terms: Public domain W3C validator