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

Theorem pwfseqlem4a 10417
Description: Lemma for pwfseqlem4 10418. (Contributed by Mario Carneiro, 7-Jun-2016.)
Hypotheses
Ref Expression
pwfseqlem4.g (𝜑𝐺:𝒫 𝐴1-1 𝑛 ∈ ω (𝐴m 𝑛))
pwfseqlem4.x (𝜑𝑋𝐴)
pwfseqlem4.h (𝜑𝐻:ω–1-1-onto𝑋)
pwfseqlem4.ps (𝜓 ↔ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) ∧ ω ≼ 𝑥))
pwfseqlem4.k ((𝜑𝜓) → 𝐾: 𝑛 ∈ ω (𝑥m 𝑛)–1-1𝑥)
pwfseqlem4.d 𝐷 = (𝐺‘{𝑤𝑥 ∣ ((𝐾𝑤) ∈ ran 𝐺 ∧ ¬ 𝑤 ∈ (𝐺‘(𝐾𝑤)))})
pwfseqlem4.f 𝐹 = (𝑥 ∈ V, 𝑟 ∈ V ↦ if(𝑥 ∈ Fin, (𝐻‘(card‘𝑥)), (𝐷 {𝑧 ∈ ω ∣ ¬ (𝐷𝑧) ∈ 𝑥})))
Assertion
Ref Expression
pwfseqlem4a ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → (𝑎𝐹𝑠) ∈ 𝐴)
Distinct variable groups:   𝑛,𝑟,𝑤,𝑥,𝑧   𝐷,𝑛,𝑧   𝑠,𝑎,𝐹   𝑤,𝐺   𝑤,𝐾   𝑟,𝑎,𝑥,𝑧,𝐻,𝑠   𝑛,𝑎,𝜑,𝑠,𝑟,𝑥,𝑧   𝜓,𝑛,𝑧   𝐴,𝑎,𝑛,𝑟,𝑠,𝑥,𝑧
Allowed substitution hints:   𝜑(𝑤)   𝜓(𝑥,𝑤,𝑠,𝑟,𝑎)   𝐴(𝑤)   𝐷(𝑥,𝑤,𝑠,𝑟,𝑎)   𝐹(𝑥,𝑧,𝑤,𝑛,𝑟)   𝐺(𝑥,𝑧,𝑛,𝑠,𝑟,𝑎)   𝐻(𝑤,𝑛)   𝐾(𝑥,𝑧,𝑛,𝑠,𝑟,𝑎)   𝑋(𝑥,𝑧,𝑤,𝑛,𝑠,𝑟,𝑎)

Proof of Theorem pwfseqlem4a
StepHypRef Expression
1 isfinite 9410 . . 3 (𝑎 ∈ Fin ↔ 𝑎 ≺ ω)
2 simpr 485 . . . . . . 7 ((𝜑𝑎 ∈ Fin) → 𝑎 ∈ Fin)
3 vex 3436 . . . . . . 7 𝑠 ∈ V
4 pwfseqlem4.g . . . . . . . 8 (𝜑𝐺:𝒫 𝐴1-1 𝑛 ∈ ω (𝐴m 𝑛))
5 pwfseqlem4.x . . . . . . . 8 (𝜑𝑋𝐴)
6 pwfseqlem4.h . . . . . . . 8 (𝜑𝐻:ω–1-1-onto𝑋)
7 pwfseqlem4.ps . . . . . . . 8 (𝜓 ↔ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) ∧ ω ≼ 𝑥))
8 pwfseqlem4.k . . . . . . . 8 ((𝜑𝜓) → 𝐾: 𝑛 ∈ ω (𝑥m 𝑛)–1-1𝑥)
9 pwfseqlem4.d . . . . . . . 8 𝐷 = (𝐺‘{𝑤𝑥 ∣ ((𝐾𝑤) ∈ ran 𝐺 ∧ ¬ 𝑤 ∈ (𝐺‘(𝐾𝑤)))})
10 pwfseqlem4.f . . . . . . . 8 𝐹 = (𝑥 ∈ V, 𝑟 ∈ V ↦ if(𝑥 ∈ Fin, (𝐻‘(card‘𝑥)), (𝐷 {𝑧 ∈ ω ∣ ¬ (𝐷𝑧) ∈ 𝑥})))
114, 5, 6, 7, 8, 9, 10pwfseqlem2 10415 . . . . . . 7 ((𝑎 ∈ Fin ∧ 𝑠 ∈ V) → (𝑎𝐹𝑠) = (𝐻‘(card‘𝑎)))
122, 3, 11sylancl 586 . . . . . 6 ((𝜑𝑎 ∈ Fin) → (𝑎𝐹𝑠) = (𝐻‘(card‘𝑎)))
13 f1of 6716 . . . . . . . . 9 (𝐻:ω–1-1-onto𝑋𝐻:ω⟶𝑋)
146, 13syl 17 . . . . . . . 8 (𝜑𝐻:ω⟶𝑋)
1514, 5fssd 6618 . . . . . . 7 (𝜑𝐻:ω⟶𝐴)
16 ficardom 9719 . . . . . . 7 (𝑎 ∈ Fin → (card‘𝑎) ∈ ω)
17 ffvelrn 6959 . . . . . . 7 ((𝐻:ω⟶𝐴 ∧ (card‘𝑎) ∈ ω) → (𝐻‘(card‘𝑎)) ∈ 𝐴)
1815, 16, 17syl2an 596 . . . . . 6 ((𝜑𝑎 ∈ Fin) → (𝐻‘(card‘𝑎)) ∈ 𝐴)
1912, 18eqeltrd 2839 . . . . 5 ((𝜑𝑎 ∈ Fin) → (𝑎𝐹𝑠) ∈ 𝐴)
2019ex 413 . . . 4 (𝜑 → (𝑎 ∈ Fin → (𝑎𝐹𝑠) ∈ 𝐴))
2120adantr 481 . . 3 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → (𝑎 ∈ Fin → (𝑎𝐹𝑠) ∈ 𝐴))
221, 21syl5bir 242 . 2 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → (𝑎 ≺ ω → (𝑎𝐹𝑠) ∈ 𝐴))
23 omelon 9404 . . . . 5 ω ∈ On
24 onenon 9707 . . . . 5 (ω ∈ On → ω ∈ dom card)
2523, 24ax-mp 5 . . . 4 ω ∈ dom card
26 simpr3 1195 . . . . . 6 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → 𝑠 We 𝑎)
272619.8ad 2175 . . . . 5 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → ∃𝑠 𝑠 We 𝑎)
28 ween 9791 . . . . 5 (𝑎 ∈ dom card ↔ ∃𝑠 𝑠 We 𝑎)
2927, 28sylibr 233 . . . 4 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → 𝑎 ∈ dom card)
30 domtri2 9747 . . . 4 ((ω ∈ dom card ∧ 𝑎 ∈ dom card) → (ω ≼ 𝑎 ↔ ¬ 𝑎 ≺ ω))
3125, 29, 30sylancr 587 . . 3 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → (ω ≼ 𝑎 ↔ ¬ 𝑎 ≺ ω))
32 nfv 1917 . . . . . . 7 𝑟(𝜑 ∧ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎) ∧ ω ≼ 𝑎))
33 nfcv 2907 . . . . . . . . 9 𝑟𝑎
34 nfmpo2 7356 . . . . . . . . . 10 𝑟(𝑥 ∈ V, 𝑟 ∈ V ↦ if(𝑥 ∈ Fin, (𝐻‘(card‘𝑥)), (𝐷 {𝑧 ∈ ω ∣ ¬ (𝐷𝑧) ∈ 𝑥})))
3510, 34nfcxfr 2905 . . . . . . . . 9 𝑟𝐹
36 nfcv 2907 . . . . . . . . 9 𝑟𝑠
3733, 35, 36nfov 7305 . . . . . . . 8 𝑟(𝑎𝐹𝑠)
3837nfel1 2923 . . . . . . 7 𝑟(𝑎𝐹𝑠) ∈ (𝐴𝑎)
3932, 38nfim 1899 . . . . . 6 𝑟((𝜑 ∧ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎) ∧ ω ≼ 𝑎)) → (𝑎𝐹𝑠) ∈ (𝐴𝑎))
40 sseq1 3946 . . . . . . . . . 10 (𝑟 = 𝑠 → (𝑟 ⊆ (𝑎 × 𝑎) ↔ 𝑠 ⊆ (𝑎 × 𝑎)))
41 weeq1 5577 . . . . . . . . . 10 (𝑟 = 𝑠 → (𝑟 We 𝑎𝑠 We 𝑎))
4240, 413anbi23d 1438 . . . . . . . . 9 (𝑟 = 𝑠 → ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ↔ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)))
4342anbi1d 630 . . . . . . . 8 (𝑟 = 𝑠 → (((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎) ↔ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎) ∧ ω ≼ 𝑎)))
4443anbi2d 629 . . . . . . 7 (𝑟 = 𝑠 → ((𝜑 ∧ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎)) ↔ (𝜑 ∧ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎) ∧ ω ≼ 𝑎))))
45 oveq2 7283 . . . . . . . 8 (𝑟 = 𝑠 → (𝑎𝐹𝑟) = (𝑎𝐹𝑠))
4645eleq1d 2823 . . . . . . 7 (𝑟 = 𝑠 → ((𝑎𝐹𝑟) ∈ (𝐴𝑎) ↔ (𝑎𝐹𝑠) ∈ (𝐴𝑎)))
4744, 46imbi12d 345 . . . . . 6 (𝑟 = 𝑠 → (((𝜑 ∧ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎)) → (𝑎𝐹𝑟) ∈ (𝐴𝑎)) ↔ ((𝜑 ∧ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎) ∧ ω ≼ 𝑎)) → (𝑎𝐹𝑠) ∈ (𝐴𝑎))))
48 nfv 1917 . . . . . . . 8 𝑥(𝜑 ∧ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎))
49 nfcv 2907 . . . . . . . . . 10 𝑥𝑎
50 nfmpo1 7355 . . . . . . . . . . 11 𝑥(𝑥 ∈ V, 𝑟 ∈ V ↦ if(𝑥 ∈ Fin, (𝐻‘(card‘𝑥)), (𝐷 {𝑧 ∈ ω ∣ ¬ (𝐷𝑧) ∈ 𝑥})))
5110, 50nfcxfr 2905 . . . . . . . . . 10 𝑥𝐹
52 nfcv 2907 . . . . . . . . . 10 𝑥𝑟
5349, 51, 52nfov 7305 . . . . . . . . 9 𝑥(𝑎𝐹𝑟)
5453nfel1 2923 . . . . . . . 8 𝑥(𝑎𝐹𝑟) ∈ (𝐴𝑎)
5548, 54nfim 1899 . . . . . . 7 𝑥((𝜑 ∧ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎)) → (𝑎𝐹𝑟) ∈ (𝐴𝑎))
56 sseq1 3946 . . . . . . . . . . . 12 (𝑥 = 𝑎 → (𝑥𝐴𝑎𝐴))
57 xpeq12 5614 . . . . . . . . . . . . . 14 ((𝑥 = 𝑎𝑥 = 𝑎) → (𝑥 × 𝑥) = (𝑎 × 𝑎))
5857anidms 567 . . . . . . . . . . . . 13 (𝑥 = 𝑎 → (𝑥 × 𝑥) = (𝑎 × 𝑎))
5958sseq2d 3953 . . . . . . . . . . . 12 (𝑥 = 𝑎 → (𝑟 ⊆ (𝑥 × 𝑥) ↔ 𝑟 ⊆ (𝑎 × 𝑎)))
60 weeq2 5578 . . . . . . . . . . . 12 (𝑥 = 𝑎 → (𝑟 We 𝑥𝑟 We 𝑎))
6156, 59, 603anbi123d 1435 . . . . . . . . . . 11 (𝑥 = 𝑎 → ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) ↔ (𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎)))
62 breq2 5078 . . . . . . . . . . 11 (𝑥 = 𝑎 → (ω ≼ 𝑥 ↔ ω ≼ 𝑎))
6361, 62anbi12d 631 . . . . . . . . . 10 (𝑥 = 𝑎 → (((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥) ∧ ω ≼ 𝑥) ↔ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎)))
647, 63bitrid 282 . . . . . . . . 9 (𝑥 = 𝑎 → (𝜓 ↔ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎)))
6564anbi2d 629 . . . . . . . 8 (𝑥 = 𝑎 → ((𝜑𝜓) ↔ (𝜑 ∧ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎))))
66 oveq1 7282 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑥𝐹𝑟) = (𝑎𝐹𝑟))
67 difeq2 4051 . . . . . . . . 9 (𝑥 = 𝑎 → (𝐴𝑥) = (𝐴𝑎))
6866, 67eleq12d 2833 . . . . . . . 8 (𝑥 = 𝑎 → ((𝑥𝐹𝑟) ∈ (𝐴𝑥) ↔ (𝑎𝐹𝑟) ∈ (𝐴𝑎)))
6965, 68imbi12d 345 . . . . . . 7 (𝑥 = 𝑎 → (((𝜑𝜓) → (𝑥𝐹𝑟) ∈ (𝐴𝑥)) ↔ ((𝜑 ∧ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎)) → (𝑎𝐹𝑟) ∈ (𝐴𝑎))))
704, 5, 6, 7, 8, 9, 10pwfseqlem3 10416 . . . . . . 7 ((𝜑𝜓) → (𝑥𝐹𝑟) ∈ (𝐴𝑥))
7155, 69, 70chvarfv 2233 . . . . . 6 ((𝜑 ∧ ((𝑎𝐴𝑟 ⊆ (𝑎 × 𝑎) ∧ 𝑟 We 𝑎) ∧ ω ≼ 𝑎)) → (𝑎𝐹𝑟) ∈ (𝐴𝑎))
7239, 47, 71chvarfv 2233 . . . . 5 ((𝜑 ∧ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎) ∧ ω ≼ 𝑎)) → (𝑎𝐹𝑠) ∈ (𝐴𝑎))
7372eldifad 3899 . . . 4 ((𝜑 ∧ ((𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎) ∧ ω ≼ 𝑎)) → (𝑎𝐹𝑠) ∈ 𝐴)
7473expr 457 . . 3 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → (ω ≼ 𝑎 → (𝑎𝐹𝑠) ∈ 𝐴))
7531, 74sylbird 259 . 2 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → (¬ 𝑎 ≺ ω → (𝑎𝐹𝑠) ∈ 𝐴))
7622, 75pm2.61d 179 1 ((𝜑 ∧ (𝑎𝐴𝑠 ⊆ (𝑎 × 𝑎) ∧ 𝑠 We 𝑎)) → (𝑎𝐹𝑠) ∈ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wex 1782  wcel 2106  {crab 3068  Vcvv 3432  cdif 3884  wss 3887  ifcif 4459  𝒫 cpw 4533   cint 4879   ciun 4924   class class class wbr 5074   We wwe 5543   × cxp 5587  ccnv 5588  dom cdm 5589  ran crn 5590  Oncon0 6266  wf 6429  1-1wf1 6430  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275  cmpo 7277  ωcom 7712  m cmap 8615  cdom 8731  csdm 8732  Fincfn 8733  cardccrd 9693
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  ax-inf2 9399
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-rmo 3071  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-int 4880  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-se 5545  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-isom 6442  df-riota 7232  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-1o 8297  df-er 8498  df-map 8617  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-card 9697
This theorem is referenced by:  pwfseqlem4  10418
  Copyright terms: Public domain W3C validator