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

Theorem fseqenlem2 9781
Description: Lemma for fseqen 9783. (Contributed by Mario Carneiro, 17-May-2015.)
Hypotheses
Ref Expression
fseqenlem.a (𝜑𝐴𝑉)
fseqenlem.b (𝜑𝐵𝐴)
fseqenlem.f (𝜑𝐹:(𝐴 × 𝐴)–1-1-onto𝐴)
fseqenlem.g 𝐺 = seqω((𝑛 ∈ V, 𝑓 ∈ V ↦ (𝑥 ∈ (𝐴m suc 𝑛) ↦ ((𝑓‘(𝑥𝑛))𝐹(𝑥𝑛)))), {⟨∅, 𝐵⟩})
fseqenlem.k 𝐾 = (𝑦 𝑘 ∈ ω (𝐴m 𝑘) ↦ ⟨dom 𝑦, ((𝐺‘dom 𝑦)‘𝑦)⟩)
Assertion
Ref Expression
fseqenlem2 (𝜑𝐾: 𝑘 ∈ ω (𝐴m 𝑘)–1-1→(ω × 𝐴))
Distinct variable groups:   𝑦,𝐵   𝑓,𝑛,𝑥,𝐹   𝑦,𝑘,𝐺   𝑓,𝑘,𝑦,𝐴,𝑛,𝑥   𝜑,𝑘,𝑛,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑓)   𝐵(𝑥,𝑓,𝑘,𝑛)   𝐹(𝑦,𝑘)   𝐺(𝑥,𝑓,𝑛)   𝐾(𝑥,𝑦,𝑓,𝑘,𝑛)   𝑉(𝑥,𝑦,𝑓,𝑘,𝑛)

Proof of Theorem fseqenlem2
Dummy variables 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eliun 4928 . . . . 5 (𝑦 𝑘 ∈ ω (𝐴m 𝑘) ↔ ∃𝑘 ∈ ω 𝑦 ∈ (𝐴m 𝑘))
2 elmapi 8637 . . . . . . . . . 10 (𝑦 ∈ (𝐴m 𝑘) → 𝑦:𝑘𝐴)
32ad2antll 726 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → 𝑦:𝑘𝐴)
43fdmd 6611 . . . . . . . 8 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → dom 𝑦 = 𝑘)
5 simprl 768 . . . . . . . 8 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → 𝑘 ∈ ω)
64, 5eqeltrd 2839 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → dom 𝑦 ∈ ω)
74fveq2d 6778 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → (𝐺‘dom 𝑦) = (𝐺𝑘))
87fveq1d 6776 . . . . . . . 8 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → ((𝐺‘dom 𝑦)‘𝑦) = ((𝐺𝑘)‘𝑦))
9 fseqenlem.a . . . . . . . . . . . 12 (𝜑𝐴𝑉)
10 fseqenlem.b . . . . . . . . . . . 12 (𝜑𝐵𝐴)
11 fseqenlem.f . . . . . . . . . . . 12 (𝜑𝐹:(𝐴 × 𝐴)–1-1-onto𝐴)
12 fseqenlem.g . . . . . . . . . . . 12 𝐺 = seqω((𝑛 ∈ V, 𝑓 ∈ V ↦ (𝑥 ∈ (𝐴m suc 𝑛) ↦ ((𝑓‘(𝑥𝑛))𝐹(𝑥𝑛)))), {⟨∅, 𝐵⟩})
139, 10, 11, 12fseqenlem1 9780 . . . . . . . . . . 11 ((𝜑𝑘 ∈ ω) → (𝐺𝑘):(𝐴m 𝑘)–1-1𝐴)
1413adantrr 714 . . . . . . . . . 10 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → (𝐺𝑘):(𝐴m 𝑘)–1-1𝐴)
15 f1f 6670 . . . . . . . . . 10 ((𝐺𝑘):(𝐴m 𝑘)–1-1𝐴 → (𝐺𝑘):(𝐴m 𝑘)⟶𝐴)
1614, 15syl 17 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → (𝐺𝑘):(𝐴m 𝑘)⟶𝐴)
17 simprr 770 . . . . . . . . 9 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → 𝑦 ∈ (𝐴m 𝑘))
1816, 17ffvelrnd 6962 . . . . . . . 8 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → ((𝐺𝑘)‘𝑦) ∈ 𝐴)
198, 18eqeltrd 2839 . . . . . . 7 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → ((𝐺‘dom 𝑦)‘𝑦) ∈ 𝐴)
206, 19opelxpd 5627 . . . . . 6 ((𝜑 ∧ (𝑘 ∈ ω ∧ 𝑦 ∈ (𝐴m 𝑘))) → ⟨dom 𝑦, ((𝐺‘dom 𝑦)‘𝑦)⟩ ∈ (ω × 𝐴))
2120rexlimdvaa 3214 . . . . 5 (𝜑 → (∃𝑘 ∈ ω 𝑦 ∈ (𝐴m 𝑘) → ⟨dom 𝑦, ((𝐺‘dom 𝑦)‘𝑦)⟩ ∈ (ω × 𝐴)))
221, 21syl5bi 241 . . . 4 (𝜑 → (𝑦 𝑘 ∈ ω (𝐴m 𝑘) → ⟨dom 𝑦, ((𝐺‘dom 𝑦)‘𝑦)⟩ ∈ (ω × 𝐴)))
2322imp 407 . . 3 ((𝜑𝑦 𝑘 ∈ ω (𝐴m 𝑘)) → ⟨dom 𝑦, ((𝐺‘dom 𝑦)‘𝑦)⟩ ∈ (ω × 𝐴))
24 fseqenlem.k . . 3 𝐾 = (𝑦 𝑘 ∈ ω (𝐴m 𝑘) ↦ ⟨dom 𝑦, ((𝐺‘dom 𝑦)‘𝑦)⟩)
2523, 24fmptd 6988 . 2 (𝜑𝐾: 𝑘 ∈ ω (𝐴m 𝑘)⟶(ω × 𝐴))
26 ffun 6603 . . . . . . . . . . . . . . 15 (𝐾: 𝑘 ∈ ω (𝐴m 𝑘)⟶(ω × 𝐴) → Fun 𝐾)
27 funbrfv2b 6827 . . . . . . . . . . . . . . 15 (Fun 𝐾 → (𝑧𝐾𝑤 ↔ (𝑧 ∈ dom 𝐾 ∧ (𝐾𝑧) = 𝑤)))
2825, 26, 273syl 18 . . . . . . . . . . . . . 14 (𝜑 → (𝑧𝐾𝑤 ↔ (𝑧 ∈ dom 𝐾 ∧ (𝐾𝑧) = 𝑤)))
2928simplbda 500 . . . . . . . . . . . . 13 ((𝜑𝑧𝐾𝑤) → (𝐾𝑧) = 𝑤)
3028simprbda 499 . . . . . . . . . . . . . . 15 ((𝜑𝑧𝐾𝑤) → 𝑧 ∈ dom 𝐾)
3125fdmd 6611 . . . . . . . . . . . . . . . 16 (𝜑 → dom 𝐾 = 𝑘 ∈ ω (𝐴m 𝑘))
3231adantr 481 . . . . . . . . . . . . . . 15 ((𝜑𝑧𝐾𝑤) → dom 𝐾 = 𝑘 ∈ ω (𝐴m 𝑘))
3330, 32eleqtrd 2841 . . . . . . . . . . . . . 14 ((𝜑𝑧𝐾𝑤) → 𝑧 𝑘 ∈ ω (𝐴m 𝑘))
34 dmeq 5812 . . . . . . . . . . . . . . . 16 (𝑦 = 𝑧 → dom 𝑦 = dom 𝑧)
3534fveq2d 6778 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑧 → (𝐺‘dom 𝑦) = (𝐺‘dom 𝑧))
36 id 22 . . . . . . . . . . . . . . . . 17 (𝑦 = 𝑧𝑦 = 𝑧)
3735, 36fveq12d 6781 . . . . . . . . . . . . . . . 16 (𝑦 = 𝑧 → ((𝐺‘dom 𝑦)‘𝑦) = ((𝐺‘dom 𝑧)‘𝑧))
3834, 37opeq12d 4812 . . . . . . . . . . . . . . 15 (𝑦 = 𝑧 → ⟨dom 𝑦, ((𝐺‘dom 𝑦)‘𝑦)⟩ = ⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩)
39 opex 5379 . . . . . . . . . . . . . . 15 ⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩ ∈ V
4038, 24, 39fvmpt 6875 . . . . . . . . . . . . . 14 (𝑧 𝑘 ∈ ω (𝐴m 𝑘) → (𝐾𝑧) = ⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩)
4133, 40syl 17 . . . . . . . . . . . . 13 ((𝜑𝑧𝐾𝑤) → (𝐾𝑧) = ⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩)
4229, 41eqtr3d 2780 . . . . . . . . . . . 12 ((𝜑𝑧𝐾𝑤) → 𝑤 = ⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩)
4342fveq2d 6778 . . . . . . . . . . 11 ((𝜑𝑧𝐾𝑤) → (1st𝑤) = (1st ‘⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩))
44 vex 3436 . . . . . . . . . . . . 13 𝑧 ∈ V
4544dmex 7758 . . . . . . . . . . . 12 dom 𝑧 ∈ V
46 fvex 6787 . . . . . . . . . . . 12 ((𝐺‘dom 𝑧)‘𝑧) ∈ V
4745, 46op1st 7839 . . . . . . . . . . 11 (1st ‘⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩) = dom 𝑧
4843, 47eqtrdi 2794 . . . . . . . . . 10 ((𝜑𝑧𝐾𝑤) → (1st𝑤) = dom 𝑧)
4948fveq2d 6778 . . . . . . . . 9 ((𝜑𝑧𝐾𝑤) → (𝐺‘(1st𝑤)) = (𝐺‘dom 𝑧))
5049cnveqd 5784 . . . . . . . 8 ((𝜑𝑧𝐾𝑤) → (𝐺‘(1st𝑤)) = (𝐺‘dom 𝑧))
5142fveq2d 6778 . . . . . . . . 9 ((𝜑𝑧𝐾𝑤) → (2nd𝑤) = (2nd ‘⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩))
5245, 46op2nd 7840 . . . . . . . . 9 (2nd ‘⟨dom 𝑧, ((𝐺‘dom 𝑧)‘𝑧)⟩) = ((𝐺‘dom 𝑧)‘𝑧)
5351, 52eqtrdi 2794 . . . . . . . 8 ((𝜑𝑧𝐾𝑤) → (2nd𝑤) = ((𝐺‘dom 𝑧)‘𝑧))
5450, 53fveq12d 6781 . . . . . . 7 ((𝜑𝑧𝐾𝑤) → ((𝐺‘(1st𝑤))‘(2nd𝑤)) = ((𝐺‘dom 𝑧)‘((𝐺‘dom 𝑧)‘𝑧)))
55 eliun 4928 . . . . . . . . . . . . 13 (𝑧 𝑘 ∈ ω (𝐴m 𝑘) ↔ ∃𝑘 ∈ ω 𝑧 ∈ (𝐴m 𝑘))
56 elmapi 8637 . . . . . . . . . . . . . . . . . 18 (𝑧 ∈ (𝐴m 𝑘) → 𝑧:𝑘𝐴)
5756adantl 482 . . . . . . . . . . . . . . . . 17 ((𝑘 ∈ ω ∧ 𝑧 ∈ (𝐴m 𝑘)) → 𝑧:𝑘𝐴)
5857fdmd 6611 . . . . . . . . . . . . . . . 16 ((𝑘 ∈ ω ∧ 𝑧 ∈ (𝐴m 𝑘)) → dom 𝑧 = 𝑘)
59 simpl 483 . . . . . . . . . . . . . . . 16 ((𝑘 ∈ ω ∧ 𝑧 ∈ (𝐴m 𝑘)) → 𝑘 ∈ ω)
6058, 59eqeltrd 2839 . . . . . . . . . . . . . . 15 ((𝑘 ∈ ω ∧ 𝑧 ∈ (𝐴m 𝑘)) → dom 𝑧 ∈ ω)
61 simpr 485 . . . . . . . . . . . . . . . 16 ((𝑘 ∈ ω ∧ 𝑧 ∈ (𝐴m 𝑘)) → 𝑧 ∈ (𝐴m 𝑘))
6258oveq2d 7291 . . . . . . . . . . . . . . . 16 ((𝑘 ∈ ω ∧ 𝑧 ∈ (𝐴m 𝑘)) → (𝐴m dom 𝑧) = (𝐴m 𝑘))
6361, 62eleqtrrd 2842 . . . . . . . . . . . . . . 15 ((𝑘 ∈ ω ∧ 𝑧 ∈ (𝐴m 𝑘)) → 𝑧 ∈ (𝐴m dom 𝑧))
6460, 63jca 512 . . . . . . . . . . . . . 14 ((𝑘 ∈ ω ∧ 𝑧 ∈ (𝐴m 𝑘)) → (dom 𝑧 ∈ ω ∧ 𝑧 ∈ (𝐴m dom 𝑧)))
6564rexlimiva 3210 . . . . . . . . . . . . 13 (∃𝑘 ∈ ω 𝑧 ∈ (𝐴m 𝑘) → (dom 𝑧 ∈ ω ∧ 𝑧 ∈ (𝐴m dom 𝑧)))
6655, 65sylbi 216 . . . . . . . . . . . 12 (𝑧 𝑘 ∈ ω (𝐴m 𝑘) → (dom 𝑧 ∈ ω ∧ 𝑧 ∈ (𝐴m dom 𝑧)))
6733, 66syl 17 . . . . . . . . . . 11 ((𝜑𝑧𝐾𝑤) → (dom 𝑧 ∈ ω ∧ 𝑧 ∈ (𝐴m dom 𝑧)))
6867simpld 495 . . . . . . . . . 10 ((𝜑𝑧𝐾𝑤) → dom 𝑧 ∈ ω)
699, 10, 11, 12fseqenlem1 9780 . . . . . . . . . 10 ((𝜑 ∧ dom 𝑧 ∈ ω) → (𝐺‘dom 𝑧):(𝐴m dom 𝑧)–1-1𝐴)
7068, 69syldan 591 . . . . . . . . 9 ((𝜑𝑧𝐾𝑤) → (𝐺‘dom 𝑧):(𝐴m dom 𝑧)–1-1𝐴)
71 f1f1orn 6727 . . . . . . . . 9 ((𝐺‘dom 𝑧):(𝐴m dom 𝑧)–1-1𝐴 → (𝐺‘dom 𝑧):(𝐴m dom 𝑧)–1-1-onto→ran (𝐺‘dom 𝑧))
7270, 71syl 17 . . . . . . . 8 ((𝜑𝑧𝐾𝑤) → (𝐺‘dom 𝑧):(𝐴m dom 𝑧)–1-1-onto→ran (𝐺‘dom 𝑧))
7367simprd 496 . . . . . . . 8 ((𝜑𝑧𝐾𝑤) → 𝑧 ∈ (𝐴m dom 𝑧))
74 f1ocnvfv1 7148 . . . . . . . 8 (((𝐺‘dom 𝑧):(𝐴m dom 𝑧)–1-1-onto→ran (𝐺‘dom 𝑧) ∧ 𝑧 ∈ (𝐴m dom 𝑧)) → ((𝐺‘dom 𝑧)‘((𝐺‘dom 𝑧)‘𝑧)) = 𝑧)
7572, 73, 74syl2anc 584 . . . . . . 7 ((𝜑𝑧𝐾𝑤) → ((𝐺‘dom 𝑧)‘((𝐺‘dom 𝑧)‘𝑧)) = 𝑧)
7654, 75eqtr2d 2779 . . . . . 6 ((𝜑𝑧𝐾𝑤) → 𝑧 = ((𝐺‘(1st𝑤))‘(2nd𝑤)))
7776ex 413 . . . . 5 (𝜑 → (𝑧𝐾𝑤𝑧 = ((𝐺‘(1st𝑤))‘(2nd𝑤))))
7877alrimiv 1930 . . . 4 (𝜑 → ∀𝑧(𝑧𝐾𝑤𝑧 = ((𝐺‘(1st𝑤))‘(2nd𝑤))))
79 mo2icl 3649 . . . 4 (∀𝑧(𝑧𝐾𝑤𝑧 = ((𝐺‘(1st𝑤))‘(2nd𝑤))) → ∃*𝑧 𝑧𝐾𝑤)
8078, 79syl 17 . . 3 (𝜑 → ∃*𝑧 𝑧𝐾𝑤)
8180alrimiv 1930 . 2 (𝜑 → ∀𝑤∃*𝑧 𝑧𝐾𝑤)
82 dff12 6669 . 2 (𝐾: 𝑘 ∈ ω (𝐴m 𝑘)–1-1→(ω × 𝐴) ↔ (𝐾: 𝑘 ∈ ω (𝐴m 𝑘)⟶(ω × 𝐴) ∧ ∀𝑤∃*𝑧 𝑧𝐾𝑤))
8325, 81, 82sylanbrc 583 1 (𝜑𝐾: 𝑘 ∈ ω (𝐴m 𝑘)–1-1→(ω × 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1537   = wceq 1539  wcel 2106  ∃*wmo 2538  wrex 3065  Vcvv 3432  c0 4256  {csn 4561  cop 4567   ciun 4924   class class class wbr 5074  cmpt 5157   × cxp 5587  ccnv 5588  dom cdm 5589  ran crn 5590  cres 5591  suc csuc 6268  Fun wfun 6427  wf 6429  1-1wf1 6430  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275  cmpo 7277  ωcom 7712  1st c1st 7829  2nd c2nd 7830  seqωcseqom 8278  m cmap 8615
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-seqom 8279  df-1o 8297  df-map 8617
This theorem is referenced by:  fseqen  9783  pwfseqlem5  10419
  Copyright terms: Public domain W3C validator