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 42546
Description: Lemma for iuneqfzuz 42547: 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 2904 . . . . . . . . 9 𝑚𝐴
2 nfcsb1v 3836 . . . . . . . . 9 𝑛𝑚 / 𝑛𝐴
3 csbeq1a 3825 . . . . . . . . 9 (𝑛 = 𝑚𝐴 = 𝑚 / 𝑛𝐴)
41, 2, 3cbviun 4945 . . . . . . . 8 𝑛𝑍 𝐴 = 𝑚𝑍 𝑚 / 𝑛𝐴
54eleq2i 2829 . . . . . . 7 (𝑥 𝑛𝑍 𝐴𝑥 𝑚𝑍 𝑚 / 𝑛𝐴)
6 eliun 4908 . . . . . . 7 (𝑥 𝑚𝑍 𝑚 / 𝑛𝐴 ↔ ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
75, 6bitri 278 . . . . . 6 (𝑥 𝑛𝑍 𝐴 ↔ ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
87biimpi 219 . . . . 5 (𝑥 𝑛𝑍 𝐴 → ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
98adantl 485 . . . 4 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → ∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴)
10 nfra1 3140 . . . . . 6 𝑚𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵
11 nfv 1922 . . . . . 6 𝑚 𝑥 𝑛𝑍 𝐵
12 simp2 1139 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑚𝑍)
13 rspa 3128 . . . . . . . . 9 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍) → 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
14133adant3 1134 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
15 simp3 1140 . . . . . . . 8 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥𝑚 / 𝑛𝐴)
16 id 22 . . . . . . . . . . 11 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵)
17 fzssuz 13153 . . . . . . . . . . . . 13 (𝑁...𝑚) ⊆ (ℤ𝑁)
18 iuneqfzuzlem.z . . . . . . . . . . . . . 14 𝑍 = (ℤ𝑁)
1918eqcomi 2746 . . . . . . . . . . . . 13 (ℤ𝑁) = 𝑍
2017, 19sseqtri 3937 . . . . . . . . . . . 12 (𝑁...𝑚) ⊆ 𝑍
21 iunss1 4918 . . . . . . . . . . . 12 ((𝑁...𝑚) ⊆ 𝑍 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐵)
2220, 21mp1i 13 . . . . . . . . . . 11 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐵)
2316, 22eqsstrd 3939 . . . . . . . . . 10 ( 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛 ∈ (𝑁...𝑚)𝐴 𝑛𝑍 𝐵)
24233ad2ant2 1136 . . . . . . . . 9 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑛 ∈ (𝑁...𝑚)𝐴 𝑛𝑍 𝐵)
2518eleq2i 2829 . . . . . . . . . . . . . . 15 (𝑚𝑍𝑚 ∈ (ℤ𝑁))
2625biimpi 219 . . . . . . . . . . . . . 14 (𝑚𝑍𝑚 ∈ (ℤ𝑁))
27 eluzel2 12443 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑁 ∈ ℤ)
2826, 27syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑁 ∈ ℤ)
29 eluzelz 12448 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑚 ∈ ℤ)
3026, 29syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑚 ∈ ℤ)
31 eluzle 12451 . . . . . . . . . . . . . 14 (𝑚 ∈ (ℤ𝑁) → 𝑁𝑚)
3226, 31syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑁𝑚)
3330zred 12282 . . . . . . . . . . . . . 14 (𝑚𝑍𝑚 ∈ ℝ)
34 leid 10928 . . . . . . . . . . . . . 14 (𝑚 ∈ ℝ → 𝑚𝑚)
3533, 34syl 17 . . . . . . . . . . . . 13 (𝑚𝑍𝑚𝑚)
3628, 30, 30, 32, 35elfzd 13103 . . . . . . . . . . . 12 (𝑚𝑍𝑚 ∈ (𝑁...𝑚))
37 nfcv 2904 . . . . . . . . . . . . . 14 𝑛𝑥
3837, 2nfel 2918 . . . . . . . . . . . . 13 𝑛 𝑥𝑚 / 𝑛𝐴
393eleq2d 2823 . . . . . . . . . . . . 13 (𝑛 = 𝑚 → (𝑥𝐴𝑥𝑚 / 𝑛𝐴))
4038, 39rspce 3526 . . . . . . . . . . . 12 ((𝑚 ∈ (𝑁...𝑚) ∧ 𝑥𝑚 / 𝑛𝐴) → ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
4136, 40sylan 583 . . . . . . . . . . 11 ((𝑚𝑍𝑥𝑚 / 𝑛𝐴) → ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
42 eliun 4908 . . . . . . . . . . 11 (𝑥 𝑛 ∈ (𝑁...𝑚)𝐴 ↔ ∃𝑛 ∈ (𝑁...𝑚)𝑥𝐴)
4341, 42sylibr 237 . . . . . . . . . 10 ((𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛 ∈ (𝑁...𝑚)𝐴)
44433adant2 1133 . . . . . . . . 9 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛 ∈ (𝑁...𝑚)𝐴)
4524, 44sseldd 3902 . . . . . . . 8 ((𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛𝑍 𝐵)
4612, 14, 15, 45syl3anc 1373 . . . . . . 7 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑚𝑍𝑥𝑚 / 𝑛𝐴) → 𝑥 𝑛𝑍 𝐵)
47463exp 1121 . . . . . 6 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → (𝑚𝑍 → (𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵)))
4810, 11, 47rexlimd 3236 . . . . 5 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → (∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵))
4948adantr 484 . . . 4 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → (∃𝑚𝑍 𝑥𝑚 / 𝑛𝐴𝑥 𝑛𝑍 𝐵))
509, 49mpd 15 . . 3 ((∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵𝑥 𝑛𝑍 𝐴) → 𝑥 𝑛𝑍 𝐵)
5150ralrimiva 3105 . 2 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 → ∀𝑥 𝑛𝑍 𝐴𝑥 𝑛𝑍 𝐵)
52 dfss3 3888 . 2 ( 𝑛𝑍 𝐴 𝑛𝑍 𝐵 ↔ ∀𝑥 𝑛𝑍 𝐴𝑥 𝑛𝑍 𝐵)
5351, 52sylibr 237 1 (∀𝑚𝑍 𝑛 ∈ (𝑁...𝑚)𝐴 = 𝑛 ∈ (𝑁...𝑚)𝐵 𝑛𝑍 𝐴 𝑛𝑍 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1089   = wceq 1543  wcel 2110  wral 3061  wrex 3062  csb 3811  wss 3866   ciun 4904   class class class wbr 5053  cfv 6380  (class class class)co 7213  cr 10728  cle 10868  cz 12176  cuz 12438  ...cfz 13095
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786  ax-pre-lttri 10803
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-id 5455  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-ov 7216  df-oprab 7217  df-mpo 7218  df-1st 7761  df-2nd 7762  df-er 8391  df-en 8627  df-dom 8628  df-sdom 8629  df-pnf 10869  df-mnf 10870  df-xr 10871  df-ltxr 10872  df-le 10873  df-neg 11065  df-z 12177  df-uz 12439  df-fz 13096
This theorem is referenced by:  iuneqfzuz  42547
  Copyright terms: Public domain W3C validator