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

Theorem fseqen 10022
Description: A set that is equinumerous to its Cartesian product is equinumerous to the set of finite sequences on it. (This can be proven more easily using some choice but this proof avoids it.) (Contributed by Mario Carneiro, 18-Nov-2014.)
Assertion
Ref Expression
fseqen (((𝐴 × 𝐴) ≈ 𝐴𝐴 ≠ ∅) → 𝑛 ∈ ω (𝐴m 𝑛) ≈ (ω × 𝐴))
Distinct variable group:   𝐴,𝑛

Proof of Theorem fseqen
Dummy variables 𝑓 𝑏 𝑔 𝑘 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 bren 8949 . 2 ((𝐴 × 𝐴) ≈ 𝐴 ↔ ∃𝑓 𝑓:(𝐴 × 𝐴)–1-1-onto𝐴)
2 n0 4347 . 2 (𝐴 ≠ ∅ ↔ ∃𝑏 𝑏𝐴)
3 exdistrv 1960 . . 3 (∃𝑓𝑏(𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) ↔ (∃𝑓 𝑓:(𝐴 × 𝐴)–1-1-onto𝐴 ∧ ∃𝑏 𝑏𝐴))
4 omex 9638 . . . . . . 7 ω ∈ V
5 simpl 484 . . . . . . . . 9 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → 𝑓:(𝐴 × 𝐴)–1-1-onto𝐴)
6 f1ofo 6841 . . . . . . . . 9 (𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑓:(𝐴 × 𝐴)–onto𝐴)
7 forn 6809 . . . . . . . . 9 (𝑓:(𝐴 × 𝐴)–onto𝐴 → ran 𝑓 = 𝐴)
85, 6, 73syl 18 . . . . . . . 8 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → ran 𝑓 = 𝐴)
9 vex 3479 . . . . . . . . 9 𝑓 ∈ V
109rnex 7903 . . . . . . . 8 ran 𝑓 ∈ V
118, 10eqeltrrdi 2843 . . . . . . 7 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → 𝐴 ∈ V)
12 xpexg 7737 . . . . . . 7 ((ω ∈ V ∧ 𝐴 ∈ V) → (ω × 𝐴) ∈ V)
134, 11, 12sylancr 588 . . . . . 6 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → (ω × 𝐴) ∈ V)
14 simpr 486 . . . . . . 7 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → 𝑏𝐴)
15 eqid 2733 . . . . . . 7 seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴m suc 𝑘) ↦ ((𝑔‘(𝑦𝑘))𝑓(𝑦𝑘)))), {⟨∅, 𝑏⟩}) = seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴m suc 𝑘) ↦ ((𝑔‘(𝑦𝑘))𝑓(𝑦𝑘)))), {⟨∅, 𝑏⟩})
16 eqid 2733 . . . . . . 7 (𝑥 𝑛 ∈ ω (𝐴m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴m suc 𝑘) ↦ ((𝑔‘(𝑦𝑘))𝑓(𝑦𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩) = (𝑥 𝑛 ∈ ω (𝐴m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴m suc 𝑘) ↦ ((𝑔‘(𝑦𝑘))𝑓(𝑦𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩)
1711, 14, 5, 15, 16fseqenlem2 10020 . . . . . 6 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → (𝑥 𝑛 ∈ ω (𝐴m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴m suc 𝑘) ↦ ((𝑔‘(𝑦𝑘))𝑓(𝑦𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩): 𝑛 ∈ ω (𝐴m 𝑛)–1-1→(ω × 𝐴))
18 f1domg 8968 . . . . . 6 ((ω × 𝐴) ∈ V → ((𝑥 𝑛 ∈ ω (𝐴m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴m suc 𝑘) ↦ ((𝑔‘(𝑦𝑘))𝑓(𝑦𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩): 𝑛 ∈ ω (𝐴m 𝑛)–1-1→(ω × 𝐴) → 𝑛 ∈ ω (𝐴m 𝑛) ≼ (ω × 𝐴)))
1913, 17, 18sylc 65 . . . . 5 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → 𝑛 ∈ ω (𝐴m 𝑛) ≼ (ω × 𝐴))
20 fseqdom 10021 . . . . . 6 (𝐴 ∈ V → (ω × 𝐴) ≼ 𝑛 ∈ ω (𝐴m 𝑛))
2111, 20syl 17 . . . . 5 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → (ω × 𝐴) ≼ 𝑛 ∈ ω (𝐴m 𝑛))
22 sbth 9093 . . . . 5 (( 𝑛 ∈ ω (𝐴m 𝑛) ≼ (ω × 𝐴) ∧ (ω × 𝐴) ≼ 𝑛 ∈ ω (𝐴m 𝑛)) → 𝑛 ∈ ω (𝐴m 𝑛) ≈ (ω × 𝐴))
2319, 21, 22syl2anc 585 . . . 4 ((𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → 𝑛 ∈ ω (𝐴m 𝑛) ≈ (ω × 𝐴))
2423exlimivv 1936 . . 3 (∃𝑓𝑏(𝑓:(𝐴 × 𝐴)–1-1-onto𝐴𝑏𝐴) → 𝑛 ∈ ω (𝐴m 𝑛) ≈ (ω × 𝐴))
253, 24sylbir 234 . 2 ((∃𝑓 𝑓:(𝐴 × 𝐴)–1-1-onto𝐴 ∧ ∃𝑏 𝑏𝐴) → 𝑛 ∈ ω (𝐴m 𝑛) ≈ (ω × 𝐴))
261, 2, 25syl2anb 599 1 (((𝐴 × 𝐴) ≈ 𝐴𝐴 ≠ ∅) → 𝑛 ∈ ω (𝐴m 𝑛) ≈ (ω × 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1542  wex 1782  wcel 2107  wne 2941  Vcvv 3475  c0 4323  {csn 4629  cop 4635   ciun 4998   class class class wbr 5149  cmpt 5232   × cxp 5675  dom cdm 5677  ran crn 5678  cres 5679  suc csuc 6367  1-1wf1 6541  ontowfo 6542  1-1-ontowf1o 6543  cfv 6544  (class class class)co 7409  cmpo 7411  ωcom 7855  seqωcseqom 8447  m cmap 8820  cen 8936  cdom 8937
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5364  ax-pr 5428  ax-un 7725  ax-inf2 9636
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3378  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-pss 3968  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5575  df-eprel 5581  df-po 5589  df-so 5590  df-fr 5632  df-we 5634  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-pred 6301  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-f1 6549  df-fo 6550  df-f1o 6551  df-fv 6552  df-ov 7412  df-oprab 7413  df-mpo 7414  df-om 7856  df-1st 7975  df-2nd 7976  df-frecs 8266  df-wrecs 8297  df-recs 8371  df-rdg 8410  df-seqom 8448  df-1o 8466  df-map 8822  df-en 8940  df-dom 8941
This theorem is referenced by:  infpwfien  10057
  Copyright terms: Public domain W3C validator