Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  lzunuz Structured version   Visualization version   GIF version

Theorem lzunuz 39709
Description: The union of a lower set of integers and an upper set of integers which abut or overlap is all of the integers. (Contributed by Stefan O'Rear, 9-Oct-2014.)
Assertion
Ref Expression
lzunuz ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → ((ℤ ∖ (ℤ‘(𝐴 + 1))) ∪ (ℤ𝐵)) = ℤ)

Proof of Theorem lzunuz
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 elun 4076 . . 3 (𝑎 ∈ ((ℤ ∖ (ℤ‘(𝐴 + 1))) ∪ (ℤ𝐵)) ↔ (𝑎 ∈ (ℤ ∖ (ℤ‘(𝐴 + 1))) ∨ 𝑎 ∈ (ℤ𝐵)))
2 ellz1 39708 . . . . . 6 (𝐴 ∈ ℤ → (𝑎 ∈ (ℤ ∖ (ℤ‘(𝐴 + 1))) ↔ (𝑎 ∈ ℤ ∧ 𝑎𝐴)))
323ad2ant1 1130 . . . . 5 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → (𝑎 ∈ (ℤ ∖ (ℤ‘(𝐴 + 1))) ↔ (𝑎 ∈ ℤ ∧ 𝑎𝐴)))
4 eluz1 12235 . . . . . 6 (𝐵 ∈ ℤ → (𝑎 ∈ (ℤ𝐵) ↔ (𝑎 ∈ ℤ ∧ 𝐵𝑎)))
543ad2ant2 1131 . . . . 5 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → (𝑎 ∈ (ℤ𝐵) ↔ (𝑎 ∈ ℤ ∧ 𝐵𝑎)))
63, 5orbi12d 916 . . . 4 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → ((𝑎 ∈ (ℤ ∖ (ℤ‘(𝐴 + 1))) ∨ 𝑎 ∈ (ℤ𝐵)) ↔ ((𝑎 ∈ ℤ ∧ 𝑎𝐴) ∨ (𝑎 ∈ ℤ ∧ 𝐵𝑎))))
7 zre 11973 . . . . . . . . . 10 (𝑎 ∈ ℤ → 𝑎 ∈ ℝ)
87adantl 485 . . . . . . . . 9 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) → 𝑎 ∈ ℝ)
9 simpl1 1188 . . . . . . . . . 10 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) → 𝐴 ∈ ℤ)
109zred 12075 . . . . . . . . 9 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) → 𝐴 ∈ ℝ)
11 lelttric 10736 . . . . . . . . 9 ((𝑎 ∈ ℝ ∧ 𝐴 ∈ ℝ) → (𝑎𝐴𝐴 < 𝑎))
128, 10, 11syl2anc 587 . . . . . . . 8 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) → (𝑎𝐴𝐴 < 𝑎))
13 simpll2 1210 . . . . . . . . . . . 12 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → 𝐵 ∈ ℤ)
1413zred 12075 . . . . . . . . . . 11 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → 𝐵 ∈ ℝ)
15 simpll1 1209 . . . . . . . . . . . . 13 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → 𝐴 ∈ ℤ)
1615peano2zd 12078 . . . . . . . . . . . 12 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → (𝐴 + 1) ∈ ℤ)
1716zred 12075 . . . . . . . . . . 11 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → (𝐴 + 1) ∈ ℝ)
187ad2antlr 726 . . . . . . . . . . 11 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → 𝑎 ∈ ℝ)
19 simpll3 1211 . . . . . . . . . . 11 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → 𝐵 ≤ (𝐴 + 1))
20 zltp1le 12020 . . . . . . . . . . . . 13 ((𝐴 ∈ ℤ ∧ 𝑎 ∈ ℤ) → (𝐴 < 𝑎 ↔ (𝐴 + 1) ≤ 𝑎))
21203ad2antl1 1182 . . . . . . . . . . . 12 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) → (𝐴 < 𝑎 ↔ (𝐴 + 1) ≤ 𝑎))
2221biimpa 480 . . . . . . . . . . 11 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → (𝐴 + 1) ≤ 𝑎)
2314, 17, 18, 19, 22letrd 10786 . . . . . . . . . 10 ((((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) ∧ 𝐴 < 𝑎) → 𝐵𝑎)
2423ex 416 . . . . . . . . 9 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) → (𝐴 < 𝑎𝐵𝑎))
2524orim2d 964 . . . . . . . 8 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) → ((𝑎𝐴𝐴 < 𝑎) → (𝑎𝐴𝐵𝑎)))
2612, 25mpd 15 . . . . . . 7 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) ∧ 𝑎 ∈ ℤ) → (𝑎𝐴𝐵𝑎))
2726ex 416 . . . . . 6 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → (𝑎 ∈ ℤ → (𝑎𝐴𝐵𝑎)))
2827pm4.71d 565 . . . . 5 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → (𝑎 ∈ ℤ ↔ (𝑎 ∈ ℤ ∧ (𝑎𝐴𝐵𝑎))))
29 andi 1005 . . . . 5 ((𝑎 ∈ ℤ ∧ (𝑎𝐴𝐵𝑎)) ↔ ((𝑎 ∈ ℤ ∧ 𝑎𝐴) ∨ (𝑎 ∈ ℤ ∧ 𝐵𝑎)))
3028, 29syl6rbb 291 . . . 4 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → (((𝑎 ∈ ℤ ∧ 𝑎𝐴) ∨ (𝑎 ∈ ℤ ∧ 𝐵𝑎)) ↔ 𝑎 ∈ ℤ))
316, 30bitrd 282 . . 3 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → ((𝑎 ∈ (ℤ ∖ (ℤ‘(𝐴 + 1))) ∨ 𝑎 ∈ (ℤ𝐵)) ↔ 𝑎 ∈ ℤ))
321, 31syl5bb 286 . 2 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → (𝑎 ∈ ((ℤ ∖ (ℤ‘(𝐴 + 1))) ∪ (ℤ𝐵)) ↔ 𝑎 ∈ ℤ))
3332eqrdv 2796 1 ((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐵 ≤ (𝐴 + 1)) → ((ℤ ∖ (ℤ‘(𝐴 + 1))) ∪ (ℤ𝐵)) = ℤ)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2111  cdif 3878  cun 3879   class class class wbr 5030  cfv 6324  (class class class)co 7135  cr 10525  1c1 10527   + caddc 10529   < clt 10664  cle 10665  cz 11969  cuz 12231
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11626  df-n0 11886  df-z 11970  df-uz 12232
This theorem is referenced by:  diophin  39713
  Copyright terms: Public domain W3C validator