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

Theorem fin1a2lem6 10161
Description: Lemma for fin1a2 10171. Establish that ω can be broken into two equipollent pieces. (Contributed by Stefan O'Rear, 7-Nov-2014.)
Hypotheses
Ref Expression
fin1a2lem.b 𝐸 = (𝑥 ∈ ω ↦ (2o ·o 𝑥))
fin1a2lem.aa 𝑆 = (𝑥 ∈ On ↦ suc 𝑥)
Assertion
Ref Expression
fin1a2lem6 (𝑆 ↾ ran 𝐸):ran 𝐸1-1-onto→(ω ∖ ran 𝐸)

Proof of Theorem fin1a2lem6
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fin1a2lem.aa . . . 4 𝑆 = (𝑥 ∈ On ↦ suc 𝑥)
21fin1a2lem2 10157 . . 3 𝑆:On–1-1→On
3 fin1a2lem.b . . . . 5 𝐸 = (𝑥 ∈ ω ↦ (2o ·o 𝑥))
43fin1a2lem4 10159 . . . 4 𝐸:ω–1-1→ω
5 f1f 6670 . . . 4 (𝐸:ω–1-1→ω → 𝐸:ω⟶ω)
6 frn 6607 . . . . 5 (𝐸:ω⟶ω → ran 𝐸 ⊆ ω)
7 omsson 7716 . . . . 5 ω ⊆ On
86, 7sstrdi 3933 . . . 4 (𝐸:ω⟶ω → ran 𝐸 ⊆ On)
94, 5, 8mp2b 10 . . 3 ran 𝐸 ⊆ On
10 f1ores 6730 . . 3 ((𝑆:On–1-1→On ∧ ran 𝐸 ⊆ On) → (𝑆 ↾ ran 𝐸):ran 𝐸1-1-onto→(𝑆 “ ran 𝐸))
112, 9, 10mp2an 689 . 2 (𝑆 ↾ ran 𝐸):ran 𝐸1-1-onto→(𝑆 “ ran 𝐸)
129sseli 3917 . . . . . . . . 9 (𝑏 ∈ ran 𝐸𝑏 ∈ On)
131fin1a2lem1 10156 . . . . . . . . 9 (𝑏 ∈ On → (𝑆𝑏) = suc 𝑏)
1412, 13syl 17 . . . . . . . 8 (𝑏 ∈ ran 𝐸 → (𝑆𝑏) = suc 𝑏)
1514eqeq1d 2740 . . . . . . 7 (𝑏 ∈ ran 𝐸 → ((𝑆𝑏) = 𝑎 ↔ suc 𝑏 = 𝑎))
1615rexbiia 3180 . . . . . 6 (∃𝑏 ∈ ran 𝐸(𝑆𝑏) = 𝑎 ↔ ∃𝑏 ∈ ran 𝐸 suc 𝑏 = 𝑎)
174, 5, 6mp2b 10 . . . . . . . . . . . 12 ran 𝐸 ⊆ ω
1817sseli 3917 . . . . . . . . . . 11 (𝑏 ∈ ran 𝐸𝑏 ∈ ω)
19 peano2 7737 . . . . . . . . . . 11 (𝑏 ∈ ω → suc 𝑏 ∈ ω)
2018, 19syl 17 . . . . . . . . . 10 (𝑏 ∈ ran 𝐸 → suc 𝑏 ∈ ω)
213fin1a2lem5 10160 . . . . . . . . . . . 12 (𝑏 ∈ ω → (𝑏 ∈ ran 𝐸 ↔ ¬ suc 𝑏 ∈ ran 𝐸))
2221biimpd 228 . . . . . . . . . . 11 (𝑏 ∈ ω → (𝑏 ∈ ran 𝐸 → ¬ suc 𝑏 ∈ ran 𝐸))
2318, 22mpcom 38 . . . . . . . . . 10 (𝑏 ∈ ran 𝐸 → ¬ suc 𝑏 ∈ ran 𝐸)
2420, 23jca 512 . . . . . . . . 9 (𝑏 ∈ ran 𝐸 → (suc 𝑏 ∈ ω ∧ ¬ suc 𝑏 ∈ ran 𝐸))
25 eleq1 2826 . . . . . . . . . 10 (suc 𝑏 = 𝑎 → (suc 𝑏 ∈ ω ↔ 𝑎 ∈ ω))
26 eleq1 2826 . . . . . . . . . . 11 (suc 𝑏 = 𝑎 → (suc 𝑏 ∈ ran 𝐸𝑎 ∈ ran 𝐸))
2726notbid 318 . . . . . . . . . 10 (suc 𝑏 = 𝑎 → (¬ suc 𝑏 ∈ ran 𝐸 ↔ ¬ 𝑎 ∈ ran 𝐸))
2825, 27anbi12d 631 . . . . . . . . 9 (suc 𝑏 = 𝑎 → ((suc 𝑏 ∈ ω ∧ ¬ suc 𝑏 ∈ ran 𝐸) ↔ (𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸)))
2924, 28syl5ibcom 244 . . . . . . . 8 (𝑏 ∈ ran 𝐸 → (suc 𝑏 = 𝑎 → (𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸)))
3029rexlimiv 3209 . . . . . . 7 (∃𝑏 ∈ ran 𝐸 suc 𝑏 = 𝑎 → (𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸))
31 peano1 7735 . . . . . . . . . . . . . 14 ∅ ∈ ω
323fin1a2lem3 10158 . . . . . . . . . . . . . 14 (∅ ∈ ω → (𝐸‘∅) = (2o ·o ∅))
3331, 32ax-mp 5 . . . . . . . . . . . . 13 (𝐸‘∅) = (2o ·o ∅)
34 2on 8311 . . . . . . . . . . . . . 14 2o ∈ On
35 om0 8347 . . . . . . . . . . . . . 14 (2o ∈ On → (2o ·o ∅) = ∅)
3634, 35ax-mp 5 . . . . . . . . . . . . 13 (2o ·o ∅) = ∅
3733, 36eqtri 2766 . . . . . . . . . . . 12 (𝐸‘∅) = ∅
38 f1fun 6672 . . . . . . . . . . . . . 14 (𝐸:ω–1-1→ω → Fun 𝐸)
394, 38ax-mp 5 . . . . . . . . . . . . 13 Fun 𝐸
40 f1dm 6674 . . . . . . . . . . . . . . 15 (𝐸:ω–1-1→ω → dom 𝐸 = ω)
414, 40ax-mp 5 . . . . . . . . . . . . . 14 dom 𝐸 = ω
4231, 41eleqtrri 2838 . . . . . . . . . . . . 13 ∅ ∈ dom 𝐸
43 fvelrn 6954 . . . . . . . . . . . . 13 ((Fun 𝐸 ∧ ∅ ∈ dom 𝐸) → (𝐸‘∅) ∈ ran 𝐸)
4439, 42, 43mp2an 689 . . . . . . . . . . . 12 (𝐸‘∅) ∈ ran 𝐸
4537, 44eqeltrri 2836 . . . . . . . . . . 11 ∅ ∈ ran 𝐸
46 eleq1 2826 . . . . . . . . . . 11 (𝑎 = ∅ → (𝑎 ∈ ran 𝐸 ↔ ∅ ∈ ran 𝐸))
4745, 46mpbiri 257 . . . . . . . . . 10 (𝑎 = ∅ → 𝑎 ∈ ran 𝐸)
4847necon3bi 2970 . . . . . . . . 9 𝑎 ∈ ran 𝐸𝑎 ≠ ∅)
49 nnsuc 7730 . . . . . . . . 9 ((𝑎 ∈ ω ∧ 𝑎 ≠ ∅) → ∃𝑏 ∈ ω 𝑎 = suc 𝑏)
5048, 49sylan2 593 . . . . . . . 8 ((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) → ∃𝑏 ∈ ω 𝑎 = suc 𝑏)
51 eleq1 2826 . . . . . . . . . . . . 13 (𝑎 = suc 𝑏 → (𝑎 ∈ ω ↔ suc 𝑏 ∈ ω))
52 eleq1 2826 . . . . . . . . . . . . . 14 (𝑎 = suc 𝑏 → (𝑎 ∈ ran 𝐸 ↔ suc 𝑏 ∈ ran 𝐸))
5352notbid 318 . . . . . . . . . . . . 13 (𝑎 = suc 𝑏 → (¬ 𝑎 ∈ ran 𝐸 ↔ ¬ suc 𝑏 ∈ ran 𝐸))
5451, 53anbi12d 631 . . . . . . . . . . . 12 (𝑎 = suc 𝑏 → ((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) ↔ (suc 𝑏 ∈ ω ∧ ¬ suc 𝑏 ∈ ran 𝐸)))
5554anbi1d 630 . . . . . . . . . . 11 (𝑎 = suc 𝑏 → (((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) ∧ 𝑏 ∈ ω) ↔ ((suc 𝑏 ∈ ω ∧ ¬ suc 𝑏 ∈ ran 𝐸) ∧ 𝑏 ∈ ω)))
56 simplr 766 . . . . . . . . . . . 12 (((suc 𝑏 ∈ ω ∧ ¬ suc 𝑏 ∈ ran 𝐸) ∧ 𝑏 ∈ ω) → ¬ suc 𝑏 ∈ ran 𝐸)
5721adantl 482 . . . . . . . . . . . 12 (((suc 𝑏 ∈ ω ∧ ¬ suc 𝑏 ∈ ran 𝐸) ∧ 𝑏 ∈ ω) → (𝑏 ∈ ran 𝐸 ↔ ¬ suc 𝑏 ∈ ran 𝐸))
5856, 57mpbird 256 . . . . . . . . . . 11 (((suc 𝑏 ∈ ω ∧ ¬ suc 𝑏 ∈ ran 𝐸) ∧ 𝑏 ∈ ω) → 𝑏 ∈ ran 𝐸)
5955, 58syl6bi 252 . . . . . . . . . 10 (𝑎 = suc 𝑏 → (((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) ∧ 𝑏 ∈ ω) → 𝑏 ∈ ran 𝐸))
6059com12 32 . . . . . . . . 9 (((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) ∧ 𝑏 ∈ ω) → (𝑎 = suc 𝑏𝑏 ∈ ran 𝐸))
6160impr 455 . . . . . . . 8 (((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) ∧ (𝑏 ∈ ω ∧ 𝑎 = suc 𝑏)) → 𝑏 ∈ ran 𝐸)
62 simprr 770 . . . . . . . . 9 (((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) ∧ (𝑏 ∈ ω ∧ 𝑎 = suc 𝑏)) → 𝑎 = suc 𝑏)
6362eqcomd 2744 . . . . . . . 8 (((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) ∧ (𝑏 ∈ ω ∧ 𝑎 = suc 𝑏)) → suc 𝑏 = 𝑎)
6450, 61, 63reximssdv 3205 . . . . . . 7 ((𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸) → ∃𝑏 ∈ ran 𝐸 suc 𝑏 = 𝑎)
6530, 64impbii 208 . . . . . 6 (∃𝑏 ∈ ran 𝐸 suc 𝑏 = 𝑎 ↔ (𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸))
6616, 65bitri 274 . . . . 5 (∃𝑏 ∈ ran 𝐸(𝑆𝑏) = 𝑎 ↔ (𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸))
67 f1fn 6671 . . . . . . 7 (𝑆:On–1-1→On → 𝑆 Fn On)
682, 67ax-mp 5 . . . . . 6 𝑆 Fn On
69 fvelimab 6841 . . . . . 6 ((𝑆 Fn On ∧ ran 𝐸 ⊆ On) → (𝑎 ∈ (𝑆 “ ran 𝐸) ↔ ∃𝑏 ∈ ran 𝐸(𝑆𝑏) = 𝑎))
7068, 9, 69mp2an 689 . . . . 5 (𝑎 ∈ (𝑆 “ ran 𝐸) ↔ ∃𝑏 ∈ ran 𝐸(𝑆𝑏) = 𝑎)
71 eldif 3897 . . . . 5 (𝑎 ∈ (ω ∖ ran 𝐸) ↔ (𝑎 ∈ ω ∧ ¬ 𝑎 ∈ ran 𝐸))
7266, 70, 713bitr4i 303 . . . 4 (𝑎 ∈ (𝑆 “ ran 𝐸) ↔ 𝑎 ∈ (ω ∖ ran 𝐸))
7372eqriv 2735 . . 3 (𝑆 “ ran 𝐸) = (ω ∖ ran 𝐸)
74 f1oeq3 6706 . . 3 ((𝑆 “ ran 𝐸) = (ω ∖ ran 𝐸) → ((𝑆 ↾ ran 𝐸):ran 𝐸1-1-onto→(𝑆 “ ran 𝐸) ↔ (𝑆 ↾ ran 𝐸):ran 𝐸1-1-onto→(ω ∖ ran 𝐸)))
7573, 74ax-mp 5 . 2 ((𝑆 ↾ ran 𝐸):ran 𝐸1-1-onto→(𝑆 “ ran 𝐸) ↔ (𝑆 ↾ ran 𝐸):ran 𝐸1-1-onto→(ω ∖ ran 𝐸))
7611, 75mpbi 229 1 (𝑆 ↾ ran 𝐸):ran 𝐸1-1-onto→(ω ∖ ran 𝐸)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wb 205  wa 396   = wceq 1539  wcel 2106  wne 2943  wrex 3065  cdif 3884  wss 3887  c0 4256  cmpt 5157  dom cdm 5589  ran crn 5590  cres 5591  cima 5592  Oncon0 6266  suc csuc 6268  Fun wfun 6427   Fn wfn 6428  wf 6429  1-1wf1 6430  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275  ωcom 7712  2oc2o 8291   ·o comu 8295
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-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
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-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  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-pss 3906  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-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  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-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  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-om 7713  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-2o 8298  df-oadd 8301  df-omul 8302
This theorem is referenced by:  fin1a2lem7  10162
  Copyright terms: Public domain W3C validator