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

Theorem fzsplit2 13596
Description: Split a finite interval of integers into two parts. (Contributed by Mario Carneiro, 13-Apr-2016.)
Assertion
Ref Expression
fzsplit2 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → (𝑀...𝑁) = ((𝑀...𝐾) ∪ ((𝐾 + 1)...𝑁)))

Proof of Theorem fzsplit2
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 elfzelz 13570 . . . . . . 7 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ∈ ℤ)
21zred 12718 . . . . . 6 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ∈ ℝ)
3 eluzel2 12885 . . . . . . . 8 (𝑁 ∈ (ℤ𝐾) → 𝐾 ∈ ℤ)
43adantl 487 . . . . . . 7 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → 𝐾 ∈ ℤ)
54zred 12718 . . . . . 6 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → 𝐾 ∈ ℝ)
6 lelttric 11335 . . . . . 6 ((𝑥 ∈ ℝ ∧ 𝐾 ∈ ℝ) → (𝑥𝐾𝐾 < 𝑥))
72, 5, 6syl2anr 609 . . . . 5 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝑥𝐾𝐾 < 𝑥))
8 elfzuz 13566 . . . . . . 7 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ∈ (ℤ𝑀))
9 elfz5 13562 . . . . . . 7 ((𝑥 ∈ (ℤ𝑀) ∧ 𝐾 ∈ ℤ) → (𝑥 ∈ (𝑀...𝐾) ↔ 𝑥𝐾))
108, 4, 9syl2anr 609 . . . . . 6 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝑥 ∈ (𝑀...𝐾) ↔ 𝑥𝐾))
11 simpl 488 . . . . . . . . 9 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → (𝐾 + 1) ∈ (ℤ𝑀))
12 eluzelz 12890 . . . . . . . . 9 ((𝐾 + 1) ∈ (ℤ𝑀) → (𝐾 + 1) ∈ ℤ)
1311, 12syl 18 . . . . . . . 8 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → (𝐾 + 1) ∈ ℤ)
14 eluz 12894 . . . . . . . 8 (((𝐾 + 1) ∈ ℤ ∧ 𝑥 ∈ ℤ) → (𝑥 ∈ (ℤ‘(𝐾 + 1)) ↔ (𝐾 + 1) ≤ 𝑥))
1513, 1, 14syl2an 608 . . . . . . 7 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝑥 ∈ (ℤ‘(𝐾 + 1)) ↔ (𝐾 + 1) ≤ 𝑥))
16 elfzuz3 13567 . . . . . . . . 9 (𝑥 ∈ (𝑀...𝑁) → 𝑁 ∈ (ℤ𝑥))
1716adantl 487 . . . . . . . 8 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → 𝑁 ∈ (ℤ𝑥))
18 elfzuzb 13564 . . . . . . . . 9 (𝑥 ∈ ((𝐾 + 1)...𝑁) ↔ (𝑥 ∈ (ℤ‘(𝐾 + 1)) ∧ 𝑁 ∈ (ℤ𝑥)))
1918rbaib 548 . . . . . . . 8 (𝑁 ∈ (ℤ𝑥) → (𝑥 ∈ ((𝐾 + 1)...𝑁) ↔ 𝑥 ∈ (ℤ‘(𝐾 + 1))))
2017, 19syl 18 . . . . . . 7 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝑥 ∈ ((𝐾 + 1)...𝑁) ↔ 𝑥 ∈ (ℤ‘(𝐾 + 1))))
21 zltp1le 12662 . . . . . . . 8 ((𝐾 ∈ ℤ ∧ 𝑥 ∈ ℤ) → (𝐾 < 𝑥 ↔ (𝐾 + 1) ≤ 𝑥))
224, 1, 21syl2an 608 . . . . . . 7 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝐾 < 𝑥 ↔ (𝐾 + 1) ≤ 𝑥))
2315, 20, 223bitr4d 314 . . . . . 6 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝑥 ∈ ((𝐾 + 1)...𝑁) ↔ 𝐾 < 𝑥))
2410, 23orbi12d 932 . . . . 5 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → ((𝑥 ∈ (𝑀...𝐾) ∨ 𝑥 ∈ ((𝐾 + 1)...𝑁)) ↔ (𝑥𝐾𝐾 < 𝑥)))
257, 24mpbird 260 . . . 4 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝑥 ∈ (𝑀...𝐾) ∨ 𝑥 ∈ ((𝐾 + 1)...𝑁)))
26 elfzuz 13566 . . . . . . 7 (𝑥 ∈ (𝑀...𝐾) → 𝑥 ∈ (ℤ𝑀))
2726adantl 487 . . . . . 6 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝐾)) → 𝑥 ∈ (ℤ𝑀))
28 simpr 490 . . . . . . 7 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → 𝑁 ∈ (ℤ𝐾))
29 elfzuz3 13567 . . . . . . 7 (𝑥 ∈ (𝑀...𝐾) → 𝐾 ∈ (ℤ𝑥))
30 uztrn 12898 . . . . . . 7 ((𝑁 ∈ (ℤ𝐾) ∧ 𝐾 ∈ (ℤ𝑥)) → 𝑁 ∈ (ℤ𝑥))
3128, 29, 30syl2an 608 . . . . . 6 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝐾)) → 𝑁 ∈ (ℤ𝑥))
32 elfzuzb 13564 . . . . . 6 (𝑥 ∈ (𝑀...𝑁) ↔ (𝑥 ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝑥)))
3327, 31, 32sylanbrc 595 . . . . 5 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ (𝑀...𝐾)) → 𝑥 ∈ (𝑀...𝑁))
34 elfzuz 13566 . . . . . . 7 (𝑥 ∈ ((𝐾 + 1)...𝑁) → 𝑥 ∈ (ℤ‘(𝐾 + 1)))
35 uztrn 12898 . . . . . . 7 ((𝑥 ∈ (ℤ‘(𝐾 + 1)) ∧ (𝐾 + 1) ∈ (ℤ𝑀)) → 𝑥 ∈ (ℤ𝑀))
3634, 11, 35syl2anr 609 . . . . . 6 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ ((𝐾 + 1)...𝑁)) → 𝑥 ∈ (ℤ𝑀))
37 elfzuz3 13567 . . . . . . 7 (𝑥 ∈ ((𝐾 + 1)...𝑁) → 𝑁 ∈ (ℤ𝑥))
3837adantl 487 . . . . . 6 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ ((𝐾 + 1)...𝑁)) → 𝑁 ∈ (ℤ𝑥))
3936, 38, 32sylanbrc 595 . . . . 5 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ 𝑥 ∈ ((𝐾 + 1)...𝑁)) → 𝑥 ∈ (𝑀...𝑁))
4033, 39jaodan 972 . . . 4 ((((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) ∧ (𝑥 ∈ (𝑀...𝐾) ∨ 𝑥 ∈ ((𝐾 + 1)...𝑁))) → 𝑥 ∈ (𝑀...𝑁))
4125, 40impbida 813 . . 3 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → (𝑥 ∈ (𝑀...𝑁) ↔ (𝑥 ∈ (𝑀...𝐾) ∨ 𝑥 ∈ ((𝐾 + 1)...𝑁))))
42 elun 4110 . . 3 (𝑥 ∈ ((𝑀...𝐾) ∪ ((𝐾 + 1)...𝑁)) ↔ (𝑥 ∈ (𝑀...𝐾) ∨ 𝑥 ∈ ((𝐾 + 1)...𝑁)))
4341, 42bitr4di 292 . 2 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → (𝑥 ∈ (𝑀...𝑁) ↔ 𝑥 ∈ ((𝑀...𝐾) ∪ ((𝐾 + 1)...𝑁))))
4443eqrdv 2764 1 (((𝐾 + 1) ∈ (ℤ𝑀) ∧ 𝑁 ∈ (ℤ𝐾)) → (𝑀...𝑁) = ((𝑀...𝐾) ∪ ((𝐾 + 1)...𝑁)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401  wo 861   = wceq 1570  wcel 2146  cun 3906   class class class wbr 5114  cfv 6543  (class class class)co 7423  cr 11117  1c1 11119   + caddc 11121   < clt 11261  cle 11262  cz 12609  cuz 12880  ...cfz 13553
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pow 5341  ax-pr 5409  ax-un 7745  ax-cnex 11174  ax-resscn 11175  ax-1cn 11176  ax-icn 11177  ax-addcl 11178  ax-addrcl 11179  ax-mulcl 11180  ax-mulrcl 11181  ax-mulcom 11182  ax-addass 11183  ax-mulass 11184  ax-distr 11185  ax-i2m1 11186  ax-1ne0 11187  ax-1rid 11188  ax-rnegex 11189  ax-rrecex 11190  ax-cnre 11191  ax-pre-lttri 11192  ax-pre-lttrn 11193  ax-pre-ltadd 11194  ax-pre-mulgt0 11195
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 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-nel 3068  df-ral 3083  df-rex 3093  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3928  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-iun 4963  df-br 5115  df-opab 5179  df-mpt 5198  df-tr 5224  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6309  df-ord 6370  df-on 6371  df-lim 6372  df-suc 6373  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7380  df-ov 7426  df-oprab 7427  df-mpo 7428  df-om 7872  df-1st 7995  df-2nd 7996  df-frecs 8287  df-wrecs 8318  df-recs 8367  df-rdg 8406  df-er 8703  df-en 8953  df-dom 8954  df-sdom 8955  df-pnf 11263  df-mnf 11264  df-xr 11265  df-ltxr 11266  df-le 11267  df-sub 11461  df-neg 11462  df-nn 12252  df-n0 12523  df-z 12610  df-uz 12881  df-fz 13554
This theorem is used by:  fzsplit  13597  fzpred  13619  fz0to4untppr  13677  fz0to5un2tp  13678  fallfacval4  16122  fsumharmonic  27213  gausslemma2dlem6  27573  dchrisum0lem1b  27716  dchrisum0lem1  27717  dchrisum0lem3  27720  pntrsumbnd2  27768  pntrlog2bndlem6a  27783  pntlemf  27806  fzspl  33171  poimirlem1  38313  poimirlem2  38314  poimirlem3  38315  poimirlem4  38316  poimirlem6  38318  poimirlem7  38319  poimirlem8  38320  poimirlem12  38324  poimirlem13  38325  poimirlem14  38326  poimirlem16  38328  poimirlem17  38329  poimirlem18  38330  poimirlem19  38331  poimirlem20  38332  poimirlem21  38333  poimirlem22  38334  poimirlem23  38335  poimirlem24  38336  poimirlem25  38337  poimirlem26  38338  poimirlem28  38340  poimirlem29  38341  poimirlem31  38343  poimirlem32  38344  fzsplitnd  42790  sumcubes  43115
  Copyright terms: Public domain W3C validator