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

Theorem fpwwe2lem10 10327
Description: Lemma for fpwwe2 10330. (Contributed by Mario Carneiro, 15-May-2015.) (Revised by AV, 20-Jul-2024.)
Hypotheses
Ref Expression
fpwwe2.1 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢𝐹(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦))}
fpwwe2.2 (𝜑𝐴𝑉)
fpwwe2.3 ((𝜑 ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
fpwwe2.4 𝑋 = dom 𝑊
Assertion
Ref Expression
fpwwe2lem10 (𝜑𝑊:dom 𝑊⟶𝒫 (𝑋 × 𝑋))
Distinct variable groups:   𝑦,𝑢,𝑟,𝑥,𝐹   𝑋,𝑟,𝑢,𝑥,𝑦   𝜑,𝑟,𝑢,𝑥,𝑦   𝐴,𝑟,𝑥   𝑊,𝑟,𝑢,𝑥,𝑦
Allowed substitution hints:   𝐴(𝑦,𝑢)   𝑉(𝑥,𝑦,𝑢,𝑟)

Proof of Theorem fpwwe2lem10
Dummy variables 𝑠 𝑡 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fpwwe2.1 . . . . . 6 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢𝐹(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦))}
21relopabiv 5719 . . . . 5 Rel 𝑊
32a1i 11 . . . 4 (𝜑 → Rel 𝑊)
4 simprr 769 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))
5 fpwwe2.2 . . . . . . . . . . . . . . 15 (𝜑𝐴𝑉)
61, 5fpwwe2lem2 10319 . . . . . . . . . . . . . 14 (𝜑 → (𝑤𝑊𝑡 ↔ ((𝑤𝐴𝑡 ⊆ (𝑤 × 𝑤)) ∧ (𝑡 We 𝑤 ∧ ∀𝑦𝑤 [(𝑡 “ {𝑦}) / 𝑢](𝑢𝐹(𝑡 ∩ (𝑢 × 𝑢))) = 𝑦))))
76simprbda 498 . . . . . . . . . . . . 13 ((𝜑𝑤𝑊𝑡) → (𝑤𝐴𝑡 ⊆ (𝑤 × 𝑤)))
87simprd 495 . . . . . . . . . . . 12 ((𝜑𝑤𝑊𝑡) → 𝑡 ⊆ (𝑤 × 𝑤))
98adantrl 712 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑡 ⊆ (𝑤 × 𝑤))
109adantr 480 . . . . . . . . . 10 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑡 ⊆ (𝑤 × 𝑤))
11 df-ss 3900 . . . . . . . . . 10 (𝑡 ⊆ (𝑤 × 𝑤) ↔ (𝑡 ∩ (𝑤 × 𝑤)) = 𝑡)
1210, 11sylib 217 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → (𝑡 ∩ (𝑤 × 𝑤)) = 𝑡)
134, 12eqtrd 2778 . . . . . . . 8 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑠 = 𝑡)
14 simprr 769 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))
151, 5fpwwe2lem2 10319 . . . . . . . . . . . . . 14 (𝜑 → (𝑤𝑊𝑠 ↔ ((𝑤𝐴𝑠 ⊆ (𝑤 × 𝑤)) ∧ (𝑠 We 𝑤 ∧ ∀𝑦𝑤 [(𝑠 “ {𝑦}) / 𝑢](𝑢𝐹(𝑠 ∩ (𝑢 × 𝑢))) = 𝑦))))
1615simprbda 498 . . . . . . . . . . . . 13 ((𝜑𝑤𝑊𝑠) → (𝑤𝐴𝑠 ⊆ (𝑤 × 𝑤)))
1716simprd 495 . . . . . . . . . . . 12 ((𝜑𝑤𝑊𝑠) → 𝑠 ⊆ (𝑤 × 𝑤))
1817adantrr 713 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑠 ⊆ (𝑤 × 𝑤))
1918adantr 480 . . . . . . . . . 10 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑠 ⊆ (𝑤 × 𝑤))
20 df-ss 3900 . . . . . . . . . 10 (𝑠 ⊆ (𝑤 × 𝑤) ↔ (𝑠 ∩ (𝑤 × 𝑤)) = 𝑠)
2119, 20sylib 217 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → (𝑠 ∩ (𝑤 × 𝑤)) = 𝑠)
2214, 21eqtr2d 2779 . . . . . . . 8 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑠 = 𝑡)
235adantr 480 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝐴𝑉)
24 fpwwe2.3 . . . . . . . . . 10 ((𝜑 ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
2524adantlr 711 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
26 simprl 767 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑤𝑊𝑠)
27 simprr 769 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑤𝑊𝑡)
281, 23, 25, 26, 27fpwwe2lem9 10326 . . . . . . . 8 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → ((𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤))) ∨ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))))
2913, 22, 28mpjaodan 955 . . . . . . 7 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑠 = 𝑡)
3029ex 412 . . . . . 6 (𝜑 → ((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
3130alrimiv 1931 . . . . 5 (𝜑 → ∀𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
3231alrimivv 1932 . . . 4 (𝜑 → ∀𝑤𝑠𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
33 dffun2 6428 . . . 4 (Fun 𝑊 ↔ (Rel 𝑊 ∧ ∀𝑤𝑠𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡)))
343, 32, 33sylanbrc 582 . . 3 (𝜑 → Fun 𝑊)
3534funfnd 6449 . 2 (𝜑𝑊 Fn dom 𝑊)
36 vex 3426 . . . . 5 𝑠 ∈ V
3736elrn 5791 . . . 4 (𝑠 ∈ ran 𝑊 ↔ ∃𝑤 𝑤𝑊𝑠)
382releldmi 5846 . . . . . . . . . . . 12 (𝑤𝑊𝑠𝑤 ∈ dom 𝑊)
3938adantl 481 . . . . . . . . . . 11 ((𝜑𝑤𝑊𝑠) → 𝑤 ∈ dom 𝑊)
40 elssuni 4868 . . . . . . . . . . 11 (𝑤 ∈ dom 𝑊𝑤 dom 𝑊)
4139, 40syl 17 . . . . . . . . . 10 ((𝜑𝑤𝑊𝑠) → 𝑤 dom 𝑊)
42 fpwwe2.4 . . . . . . . . . 10 𝑋 = dom 𝑊
4341, 42sseqtrrdi 3968 . . . . . . . . 9 ((𝜑𝑤𝑊𝑠) → 𝑤𝑋)
44 xpss12 5595 . . . . . . . . 9 ((𝑤𝑋𝑤𝑋) → (𝑤 × 𝑤) ⊆ (𝑋 × 𝑋))
4543, 43, 44syl2anc 583 . . . . . . . 8 ((𝜑𝑤𝑊𝑠) → (𝑤 × 𝑤) ⊆ (𝑋 × 𝑋))
4617, 45sstrd 3927 . . . . . . 7 ((𝜑𝑤𝑊𝑠) → 𝑠 ⊆ (𝑋 × 𝑋))
4746ex 412 . . . . . 6 (𝜑 → (𝑤𝑊𝑠𝑠 ⊆ (𝑋 × 𝑋)))
48 velpw 4535 . . . . . 6 (𝑠 ∈ 𝒫 (𝑋 × 𝑋) ↔ 𝑠 ⊆ (𝑋 × 𝑋))
4947, 48syl6ibr 251 . . . . 5 (𝜑 → (𝑤𝑊𝑠𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5049exlimdv 1937 . . . 4 (𝜑 → (∃𝑤 𝑤𝑊𝑠𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5137, 50syl5bi 241 . . 3 (𝜑 → (𝑠 ∈ ran 𝑊𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5251ssrdv 3923 . 2 (𝜑 → ran 𝑊 ⊆ 𝒫 (𝑋 × 𝑋))
53 df-f 6422 . 2 (𝑊:dom 𝑊⟶𝒫 (𝑋 × 𝑋) ↔ (𝑊 Fn dom 𝑊 ∧ ran 𝑊 ⊆ 𝒫 (𝑋 × 𝑋)))
5435, 52, 53sylanbrc 582 1 (𝜑𝑊:dom 𝑊⟶𝒫 (𝑋 × 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085  wal 1537   = wceq 1539  wex 1783  wcel 2108  wral 3063  [wsbc 3711  cin 3882  wss 3883  𝒫 cpw 4530  {csn 4558   cuni 4836   class class class wbr 5070  {copab 5132   We wwe 5534   × cxp 5578  ccnv 5579  dom cdm 5580  ran crn 5581  cima 5583  Rel wrel 5585  Fun wfun 6412   Fn wfn 6413  wf 6414  (class class class)co 7255
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-se 5536  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-isom 6427  df-riota 7212  df-ov 7258  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-oi 9199
This theorem is referenced by:  fpwwe2lem12  10329  fpwwe2  10330
  Copyright terms: Public domain W3C validator