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

Theorem fseqen 10109
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 8986 . 2 ((𝐴 × 𝐴) ≈ 𝐴 ↔ ∃𝑓 𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴)
2 n0 4299 . 2 (𝐴 ≠ ∅ ↔ ∃𝑏 𝑏 ∈ 𝐴)
3 exdistrv 1987 . . 3 (∃𝑓∃𝑏(𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) ↔ (∃𝑓 𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ ∃𝑏 𝑏 ∈ 𝐴))
4 omex 9647 . . . . . . 7 ω ∈ V
5 simpl 488 . . . . . . . . 9 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → 𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴)
6 f1ofo 6832 . . . . . . . . 9 (𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 → 𝑓:(𝐴 × 𝐴)–onto→𝐴)
7 forn 6799 . . . . . . . . 9 (𝑓:(𝐴 × 𝐴)–onto→𝐴 → ran 𝑓 = 𝐴)
85, 6, 73syl 19 . . . . . . . 8 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → ran 𝑓 = 𝐴)
9 vex 3454 . . . . . . . . 9 𝑓 ∈ V
109rnex 7922 . . . . . . . 8 ran 𝑓 ∈ V
118, 10eqeltrrdi 2869 . . . . . . 7 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → 𝐴 ∈ V)
12 xpexg 7764 . . . . . . 7 ((ω ∈ V ∧ 𝐴 ∈ V) → (ω × 𝐴) ∈ V)
134, 11, 12sylancr 599 . . . . . 6 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → (ω × 𝐴) ∈ V)
14 simpr 490 . . . . . . 7 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → 𝑏 ∈ 𝐴)
15 eqid 2760 . . . . . . 7 seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩}) = seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})
16 eqid 2760 . . . . . . 7 (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩) = (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩)
1711, 14, 5, 15, 16fseqenlem2 10107 . . . . . 6 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → (𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩):∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)–1-1→(ω × 𝐴))
18 f1domg 9001 . . . . . 6 ((ω × 𝐴) ∈ V → ((𝑥 ∈ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ↦ ⟨dom 𝑥, ((seqω((𝑘 ∈ V, 𝑔 ∈ V ↦ (𝑦 ∈ (𝐴 ↑m suc 𝑘) ↦ ((𝑔‘(𝑦 ↾ 𝑘))𝑓(𝑦‘𝑘)))), {⟨∅, 𝑏⟩})‘dom 𝑥)‘𝑥)⟩):∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)–1-1→(ω × 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴)))
1913, 17, 18sylc 66 . . . . 5 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴))
20 fseqdom 10108 . . . . . 6 (𝐴 ∈ V → (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛))
2111, 20syl 18 . . . . 5 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛))
22 sbth 9119 . . . . 5 ((∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≼ (ω × 𝐴) ∧ (ω × 𝐴) ≼ ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛)) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
2319, 21, 22syl2anc 596 . . . 4 ((𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
2423exlimivv 1964 . . 3 (∃𝑓∃𝑏(𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
253, 24sylbir 238 . 2 ((∃𝑓 𝑓:(𝐴 × 𝐴)–1-1-onto→𝐴 ∧ ∃𝑏 𝑏 ∈ 𝐴) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
261, 2, 25syl2anb 610 1 (((𝐴 × 𝐴) ≈ 𝐴 ∧ 𝐴 ≠ ∅) → ∪ 𝑛 ∈ ω (𝐴 ↑m 𝑛) ≈ (ω × 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ≠ wne 2955  Vcvv 3450  ∅c0 4278  {csn 4584  ⟨cop 4834  ∪ ciun 4950   class class class wbr 5102   ↦ cmpt 5185   × cxp 5648  dom cdm 5650  ran crn 5651   ↾ cres 5652  suc csuc 6364  –1-1→wf1 6535  –onto→wfo 6536  –1-1-onto→wf1o 6537  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422  ωcom 7877  seqωcseqom 8460   ↑m cmap 8850   ≈ cen 8973   ≼ cdom 8974
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-inf2 9645
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8302  df-wrecs 8333  df-recs 8382  df-rdg 8421  df-seqom 8461  df-1o 8479  df-map 8852  df-en 8977  df-dom 8978
This theorem is used by:  infpwfien  10144
  Copyright terms: Public domain W3C validator