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

Theorem fseqen 10155
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 9031 . 2 ((𝐴 × 𝐴) ≈ 𝐴 ↔ ∃𝑓 𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴)
2 n0 4305 . 2 (𝐴 ≠ ∅ ↔ ∃𝑏 𝑏 ∈ 𝐴)
3 exdistrv 1992 . . 3 (∃𝑓∃𝑏(𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) ↔ (∃𝑓 𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ ∃𝑏 𝑏 ∈ 𝐴))
4 omex 9691 . . . . . . 7 ω ∈ V
5 simpl 488 . . . . . . . . 9 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → 𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴)
6 f1ofo 6872 . . . . . . . . 9 (𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 → 𝑓:(𝐴 × 𝐴)⟶onto𝐴)
7 forn 6839 . . . . . . . . 9 (𝑓:(𝐴 × 𝐴)⟶onto𝐴 → ran 𝑓 = 𝐴)
85, 6, 73syl 19 . . . . . . . 8 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → ran 𝑓 = 𝐴)
9 vex 3460 . . . . . . . . 9 𝑓 ∈ V
109rnex 7966 . . . . . . . 8 ran 𝑓 ∈ V
118, 10eqeltrrdi 2879 . . . . . . 7 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → 𝐴 ∈ V)
12 xpexg 7806 . . . . . . 7 ((ω ∈ V ∧ 𝐴 ∈ V) → (ω × 𝐴) ∈ V)
134, 11, 12sylancr 599 . . . . . 6 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → (ω × 𝐴) ∈ V)
14 simpr 490 . . . . . . 7 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → 𝑏 ∈ 𝐴)
15 eqid 2769 . . . . . . 7 seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩}) = seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})
16 eqid 2769 . . . . . . 7 (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩) = (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩)
1711, 14, 5, 15, 16fseqenlem2 10153 . . . . . 6 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩):∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)⟶1-1(ω × 𝐴))
18 f1domg 9046 . . . . . 6 ((ω × 𝐴) ∈ V → ((𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩):∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)⟶1-1(ω × 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴)))
1913, 17, 18sylc 66 . . . . 5 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴))
20 fseqdom 10154 . . . . . 6 (𝐴 ∈ V → (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛))
2111, 20syl 18 . . . . 5 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛))
22 sbth 9164 . . . . 5 ((∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴) ∧ (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
2319, 21, 22syl2anc 596 . . . 4 ((𝑓:(𝐴 × 𝐴)⟶1-1onto𝐴 ∧ 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
2423exlimivv 1969 . . 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 1572  ∃wex 1814   ∈ wcel 2151   ≠ wne 2965  Vcvv 3456  ∅c0 4283  {csn 4590  ⟨cop 4843  ∪ ciun 4959   class class class wbr 5111   ↦ cmpt 5195   × cxp 5659  dom cdm 5661  ran crn 5662   ↾ cres 5663  suc csuc 6397  ⟶1-1wf1 6570  ⟶ontowfo 6571  ⟶1-1ontowf1o 6572  ‘cfv 6573  (class class class)co 7461   ∈ cmpo 7463  ωcom 7921  seqωcseqom 8505   ↑m cmap 8895   ≈ cen 9018   ≼ cdom 9019
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793  ax-inf2 9689
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7464  df-oprab 7465  df-mpo 7466  df-om 7922  df-1st 8045  df-2nd 8046  df-frecs 8347  df-wrecs 8378  df-recs 8427  df-rdg 8466  df-seqom 8506  df-1o 8524  df-map 8897  df-en 9022  df-dom 9023
This theorem is used by:  infpwfien  10190
  Copyright terms: Public domain W3C validator