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

Theorem fin23lem22 9312
Description: Lemma for fin23 9374 but could be used elsewhere if we find a good name for it. Explicit construction of a bijection (actually an isomorphism, see fin23lem27 9313) between an infinite subset of ω and ω itself. (Contributed by Stefan O'Rear, 1-Nov-2014.)
Hypothesis
Ref Expression
fin23lem22.b 𝐶 = (𝑖 ∈ ω ↦ (𝑗𝑆 (𝑗𝑆) ≈ 𝑖))
Assertion
Ref Expression
fin23lem22 ((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) → 𝐶:ω–1-1-onto𝑆)
Distinct variable group:   𝑖,𝑗,𝑆
Allowed substitution hints:   𝐶(𝑖,𝑗)

Proof of Theorem fin23lem22
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 fin23lem22.b . 2 𝐶 = (𝑖 ∈ ω ↦ (𝑗𝑆 (𝑗𝑆) ≈ 𝑖))
2 fin23lem23 9311 . . 3 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ 𝑖 ∈ ω) → ∃!𝑗𝑆 (𝑗𝑆) ≈ 𝑖)
3 riotacl 6776 . . 3 (∃!𝑗𝑆 (𝑗𝑆) ≈ 𝑖 → (𝑗𝑆 (𝑗𝑆) ≈ 𝑖) ∈ 𝑆)
42, 3syl 17 . 2 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ 𝑖 ∈ ω) → (𝑗𝑆 (𝑗𝑆) ≈ 𝑖) ∈ 𝑆)
5 simpll 807 . . . 4 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ 𝑎𝑆) → 𝑆 ⊆ ω)
6 simpr 479 . . . 4 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ 𝑎𝑆) → 𝑎𝑆)
75, 6sseldd 3733 . . 3 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ 𝑎𝑆) → 𝑎 ∈ ω)
8 nnfi 8306 . . 3 (𝑎 ∈ ω → 𝑎 ∈ Fin)
9 infi 8337 . . 3 (𝑎 ∈ Fin → (𝑎𝑆) ∈ Fin)
10 ficardom 8948 . . 3 ((𝑎𝑆) ∈ Fin → (card‘(𝑎𝑆)) ∈ ω)
117, 8, 9, 104syl 19 . 2 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ 𝑎𝑆) → (card‘(𝑎𝑆)) ∈ ω)
12 cardnn 8950 . . . . . . 7 (𝑖 ∈ ω → (card‘𝑖) = 𝑖)
1312eqcomd 2754 . . . . . 6 (𝑖 ∈ ω → 𝑖 = (card‘𝑖))
1413eqeq1d 2750 . . . . 5 (𝑖 ∈ ω → (𝑖 = (card‘(𝑎𝑆)) ↔ (card‘𝑖) = (card‘(𝑎𝑆))))
15 eqcom 2755 . . . . 5 ((card‘𝑖) = (card‘(𝑎𝑆)) ↔ (card‘(𝑎𝑆)) = (card‘𝑖))
1614, 15syl6bb 276 . . . 4 (𝑖 ∈ ω → (𝑖 = (card‘(𝑎𝑆)) ↔ (card‘(𝑎𝑆)) = (card‘𝑖)))
1716ad2antrl 766 . . 3 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → (𝑖 = (card‘(𝑎𝑆)) ↔ (card‘(𝑎𝑆)) = (card‘𝑖)))
18 simpll 807 . . . . . . 7 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → 𝑆 ⊆ ω)
19 simprr 813 . . . . . . 7 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → 𝑎𝑆)
2018, 19sseldd 3733 . . . . . 6 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → 𝑎 ∈ ω)
21 nnon 7224 . . . . . 6 (𝑎 ∈ ω → 𝑎 ∈ On)
22 onenon 8936 . . . . . 6 (𝑎 ∈ On → 𝑎 ∈ dom card)
2320, 21, 223syl 18 . . . . 5 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → 𝑎 ∈ dom card)
24 inss1 3964 . . . . 5 (𝑎𝑆) ⊆ 𝑎
25 ssnum 9023 . . . . 5 ((𝑎 ∈ dom card ∧ (𝑎𝑆) ⊆ 𝑎) → (𝑎𝑆) ∈ dom card)
2623, 24, 25sylancl 697 . . . 4 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → (𝑎𝑆) ∈ dom card)
27 nnon 7224 . . . . . 6 (𝑖 ∈ ω → 𝑖 ∈ On)
2827ad2antrl 766 . . . . 5 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → 𝑖 ∈ On)
29 onenon 8936 . . . . 5 (𝑖 ∈ On → 𝑖 ∈ dom card)
3028, 29syl 17 . . . 4 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → 𝑖 ∈ dom card)
31 carden2 8974 . . . 4 (((𝑎𝑆) ∈ dom card ∧ 𝑖 ∈ dom card) → ((card‘(𝑎𝑆)) = (card‘𝑖) ↔ (𝑎𝑆) ≈ 𝑖))
3226, 30, 31syl2anc 696 . . 3 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → ((card‘(𝑎𝑆)) = (card‘𝑖) ↔ (𝑎𝑆) ≈ 𝑖))
332adantrr 755 . . . . 5 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → ∃!𝑗𝑆 (𝑗𝑆) ≈ 𝑖)
34 ineq1 3938 . . . . . . 7 (𝑗 = 𝑎 → (𝑗𝑆) = (𝑎𝑆))
3534breq1d 4802 . . . . . 6 (𝑗 = 𝑎 → ((𝑗𝑆) ≈ 𝑖 ↔ (𝑎𝑆) ≈ 𝑖))
3635riota2 6784 . . . . 5 ((𝑎𝑆 ∧ ∃!𝑗𝑆 (𝑗𝑆) ≈ 𝑖) → ((𝑎𝑆) ≈ 𝑖 ↔ (𝑗𝑆 (𝑗𝑆) ≈ 𝑖) = 𝑎))
3719, 33, 36syl2anc 696 . . . 4 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → ((𝑎𝑆) ≈ 𝑖 ↔ (𝑗𝑆 (𝑗𝑆) ≈ 𝑖) = 𝑎))
38 eqcom 2755 . . . 4 ((𝑗𝑆 (𝑗𝑆) ≈ 𝑖) = 𝑎𝑎 = (𝑗𝑆 (𝑗𝑆) ≈ 𝑖))
3937, 38syl6bb 276 . . 3 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → ((𝑎𝑆) ≈ 𝑖𝑎 = (𝑗𝑆 (𝑗𝑆) ≈ 𝑖)))
4017, 32, 393bitrd 294 . 2 (((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) ∧ (𝑖 ∈ ω ∧ 𝑎𝑆)) → (𝑖 = (card‘(𝑎𝑆)) ↔ 𝑎 = (𝑗𝑆 (𝑗𝑆) ≈ 𝑖)))
411, 4, 11, 40f1o2d 7040 1 ((𝑆 ⊆ ω ∧ ¬ 𝑆 ∈ Fin) → 𝐶:ω–1-1-onto𝑆)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 383   = wceq 1620  wcel 2127  ∃!wreu 3040  cin 3702  wss 3703   class class class wbr 4792  cmpt 4869  dom cdm 5254  Oncon0 5872  1-1-ontowf1o 6036  cfv 6037  crio 6761  ωcom 7218  cen 8106  Fincfn 8109  cardccrd 8922
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1859  ax-4 1874  ax-5 1976  ax-6 2042  ax-7 2078  ax-8 2129  ax-9 2136  ax-10 2156  ax-11 2171  ax-12 2184  ax-13 2379  ax-ext 2728  ax-rep 4911  ax-sep 4921  ax-nul 4929  ax-pow 4980  ax-pr 5043  ax-un 7102
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1623  df-ex 1842  df-nf 1847  df-sb 2035  df-eu 2599  df-mo 2600  df-clab 2735  df-cleq 2741  df-clel 2744  df-nfc 2879  df-ne 2921  df-ral 3043  df-rex 3044  df-reu 3045  df-rmo 3046  df-rab 3047  df-v 3330  df-sbc 3565  df-csb 3663  df-dif 3706  df-un 3708  df-in 3710  df-ss 3717  df-pss 3719  df-nul 4047  df-if 4219  df-pw 4292  df-sn 4310  df-pr 4312  df-tp 4314  df-op 4316  df-uni 4577  df-int 4616  df-iun 4662  df-br 4793  df-opab 4853  df-mpt 4870  df-tr 4893  df-id 5162  df-eprel 5167  df-po 5175  df-so 5176  df-fr 5213  df-se 5214  df-we 5215  df-xp 5260  df-rel 5261  df-cnv 5262  df-co 5263  df-dm 5264  df-rn 5265  df-res 5266  df-ima 5267  df-pred 5829  df-ord 5875  df-on 5876  df-lim 5877  df-suc 5878  df-iota 6000  df-fun 6039  df-fn 6040  df-f 6041  df-f1 6042  df-fo 6043  df-f1o 6044  df-fv 6045  df-isom 6046  df-riota 6762  df-om 7219  df-wrecs 7564  df-recs 7625  df-1o 7717  df-er 7899  df-en 8110  df-dom 8111  df-sdom 8112  df-fin 8113  df-card 8926
This theorem is referenced by:  fin23lem27  9313  fin23lem28  9325  fin23lem30  9327  isf32lem6  9343  isf32lem7  9344  isf32lem8  9345
  Copyright terms: Public domain W3C validator