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

Theorem fseqen 10133
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 9011 . 2 ((𝐴 × 𝐴) ≈ 𝐴 ↔ ∃𝑓 𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴)
2 n0 4303 . 2 (𝐴 ≠ ∅ ↔ ∃𝑏 𝑏 ∈ 𝐴)
3 exdistrv 1990 . . 3 (∃𝑓∃𝑏(𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) ↔ (∃𝑓 𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ ∃𝑏 𝑏 ∈ 𝐴))
4 omex 9671 . . . . . . 7 ω ∈ V
5 simpl 488 . . . . . . . . 9 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → 𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴)
6 f1ofo 6854 . . . . . . . . 9 (𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 → 𝑓:(𝐴 × 𝐴)⟶onto𝐴)
7 forn 6821 . . . . . . . . 9 (𝑓:(𝐴 × 𝐴)⟶onto𝐴 → ran 𝑓 = 𝐴)
85, 6, 73syl 19 . . . . . . . 8 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → ran 𝑓 = 𝐴)
9 vex 3458 . . . . . . . . 9 𝑓 ∈ V
109rnex 7946 . . . . . . . 8 ran 𝑓 ∈ V
118, 10eqeltrrdi 2873 . . . . . . 7 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → 𝐴 ∈ V)
12 xpexg 7788 . . . . . . 7 ((ω ∈ V ∧ 𝐴 ∈ V) → (ω × 𝐴) ∈ V)
134, 11, 12sylancr 599 . . . . . 6 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → (ω × 𝐴) ∈ V)
14 simpr 490 . . . . . . 7 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → 𝑏 ∈ 𝐴)
15 eqid 2763 . . . . . . 7 seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩}) = seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})
16 eqid 2763 . . . . . . 7 (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩) = (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩)
1711, 14, 5, 15, 16fseqenlem2 10131 . . . . . 6 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩):∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)⟶1-1(ω × 𝐴))
18 f1domg 9026 . . . . . 6 ((ω × 𝐴) ∈ V → ((𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩):∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)⟶1-1(ω × 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴)))
1913, 17, 18sylc 66 . . . . 5 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴))
20 fseqdom 10132 . . . . . 6 (𝐴 ∈ V → (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛))
2111, 20syl 18 . . . . 5 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛))
22 sbth 9144 . . . . 5 ((∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴) ∧ (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
2319, 21, 22syl2anc 596 . . . 4 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
2423exlimivv 1967 . . 3 (∃𝑓∃𝑏(𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
253, 24sylbir 238 . 2 ((∃𝑓 𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ ∃𝑏 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
261, 2, 25syl2anb 610 1 (((𝐴 × 𝐴) ≈ 𝐴 ∧ 𝐴 ≠ ∅) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147   ≠ wne 2959  Vcvv 3454  ∅c0 4281  {csn 4588  ⟨cop 4838  ∪ ciun 4954   class class class wbr 5106   ↦ cmpt 5189   × cxp 5653  dom cdm 5655  ran crn 5656   ↾ cres 5657  suc csuc 6382  ⟶1-1wf1 6555  ⟶ontowfo 6556  ⟶1-1ontowf1o 6557  ‘cfv 6558  (class class class)co 7443   ∈ cmpo 7445  ωcom 7901  seqωcseqom 8485   ↑m cmap 8875   ≈ cen 8998   ≼ cdom 8999
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775  ax-inf2 9669
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6322  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-ov 7446  df-oprab 7447  df-mpo 7448  df-om 7902  df-1st 8025  df-2nd 8026  df-frecs 8327  df-wrecs 8358  df-recs 8407  df-rdg 8446  df-seqom 8486  df-1o 8504  df-map 8877  df-en 9002  df-dom 9003
This theorem is used by:  infpwfien  10168
  Copyright terms: Public domain W3C validator