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

Theorem fpwwe2lem10 10396
Description: Lemma for fpwwe2 10399. (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 5730 . . . . 5 Rel 𝑊
32a1i 11 . . . 4 (𝜑 → Rel 𝑊)
4 simprr 770 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))
5 fpwwe2.2 . . . . . . . . . . . . . . 15 (𝜑𝐴𝑉)
61, 5fpwwe2lem2 10388 . . . . . . . . . . . . . 14 (𝜑 → (𝑤𝑊𝑡 ↔ ((𝑤𝐴𝑡 ⊆ (𝑤 × 𝑤)) ∧ (𝑡 We 𝑤 ∧ ∀𝑦𝑤 [(𝑡 “ {𝑦}) / 𝑢](𝑢𝐹(𝑡 ∩ (𝑢 × 𝑢))) = 𝑦))))
76simprbda 499 . . . . . . . . . . . . 13 ((𝜑𝑤𝑊𝑡) → (𝑤𝐴𝑡 ⊆ (𝑤 × 𝑤)))
87simprd 496 . . . . . . . . . . . 12 ((𝜑𝑤𝑊𝑡) → 𝑡 ⊆ (𝑤 × 𝑤))
98adantrl 713 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑡 ⊆ (𝑤 × 𝑤))
109adantr 481 . . . . . . . . . 10 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑡 ⊆ (𝑤 × 𝑤))
11 df-ss 3904 . . . . . . . . . 10 (𝑡 ⊆ (𝑤 × 𝑤) ↔ (𝑡 ∩ (𝑤 × 𝑤)) = 𝑡)
1210, 11sylib 217 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → (𝑡 ∩ (𝑤 × 𝑤)) = 𝑡)
134, 12eqtrd 2778 . . . . . . . 8 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑠 = 𝑡)
14 simprr 770 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))
151, 5fpwwe2lem2 10388 . . . . . . . . . . . . . 14 (𝜑 → (𝑤𝑊𝑠 ↔ ((𝑤𝐴𝑠 ⊆ (𝑤 × 𝑤)) ∧ (𝑠 We 𝑤 ∧ ∀𝑦𝑤 [(𝑠 “ {𝑦}) / 𝑢](𝑢𝐹(𝑠 ∩ (𝑢 × 𝑢))) = 𝑦))))
1615simprbda 499 . . . . . . . . . . . . 13 ((𝜑𝑤𝑊𝑠) → (𝑤𝐴𝑠 ⊆ (𝑤 × 𝑤)))
1716simprd 496 . . . . . . . . . . . 12 ((𝜑𝑤𝑊𝑠) → 𝑠 ⊆ (𝑤 × 𝑤))
1817adantrr 714 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑠 ⊆ (𝑤 × 𝑤))
1918adantr 481 . . . . . . . . . 10 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑠 ⊆ (𝑤 × 𝑤))
20 df-ss 3904 . . . . . . . . . 10 (𝑠 ⊆ (𝑤 × 𝑤) ↔ (𝑠 ∩ (𝑤 × 𝑤)) = 𝑠)
2119, 20sylib 217 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → (𝑠 ∩ (𝑤 × 𝑤)) = 𝑠)
2214, 21eqtr2d 2779 . . . . . . . 8 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑠 = 𝑡)
235adantr 481 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝐴𝑉)
24 fpwwe2.3 . . . . . . . . . 10 ((𝜑 ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
2524adantlr 712 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
26 simprl 768 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑤𝑊𝑠)
27 simprr 770 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑤𝑊𝑡)
281, 23, 25, 26, 27fpwwe2lem9 10395 . . . . . . . 8 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → ((𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤))) ∨ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))))
2913, 22, 28mpjaodan 956 . . . . . . 7 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑠 = 𝑡)
3029ex 413 . . . . . 6 (𝜑 → ((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
3130alrimiv 1930 . . . . 5 (𝜑 → ∀𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
3231alrimivv 1931 . . . 4 (𝜑 → ∀𝑤𝑠𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
33 dffun2 6443 . . . 4 (Fun 𝑊 ↔ (Rel 𝑊 ∧ ∀𝑤𝑠𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡)))
343, 32, 33sylanbrc 583 . . 3 (𝜑 → Fun 𝑊)
3534funfnd 6465 . 2 (𝜑𝑊 Fn dom 𝑊)
36 vex 3436 . . . . 5 𝑠 ∈ V
3736elrn 5802 . . . 4 (𝑠 ∈ ran 𝑊 ↔ ∃𝑤 𝑤𝑊𝑠)
382releldmi 5857 . . . . . . . . . . . 12 (𝑤𝑊𝑠𝑤 ∈ dom 𝑊)
3938adantl 482 . . . . . . . . . . 11 ((𝜑𝑤𝑊𝑠) → 𝑤 ∈ dom 𝑊)
40 elssuni 4871 . . . . . . . . . . 11 (𝑤 ∈ dom 𝑊𝑤 dom 𝑊)
4139, 40syl 17 . . . . . . . . . 10 ((𝜑𝑤𝑊𝑠) → 𝑤 dom 𝑊)
42 fpwwe2.4 . . . . . . . . . 10 𝑋 = dom 𝑊
4341, 42sseqtrrdi 3972 . . . . . . . . 9 ((𝜑𝑤𝑊𝑠) → 𝑤𝑋)
44 xpss12 5604 . . . . . . . . 9 ((𝑤𝑋𝑤𝑋) → (𝑤 × 𝑤) ⊆ (𝑋 × 𝑋))
4543, 43, 44syl2anc 584 . . . . . . . 8 ((𝜑𝑤𝑊𝑠) → (𝑤 × 𝑤) ⊆ (𝑋 × 𝑋))
4617, 45sstrd 3931 . . . . . . 7 ((𝜑𝑤𝑊𝑠) → 𝑠 ⊆ (𝑋 × 𝑋))
4746ex 413 . . . . . 6 (𝜑 → (𝑤𝑊𝑠𝑠 ⊆ (𝑋 × 𝑋)))
48 velpw 4538 . . . . . 6 (𝑠 ∈ 𝒫 (𝑋 × 𝑋) ↔ 𝑠 ⊆ (𝑋 × 𝑋))
4947, 48syl6ibr 251 . . . . 5 (𝜑 → (𝑤𝑊𝑠𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5049exlimdv 1936 . . . 4 (𝜑 → (∃𝑤 𝑤𝑊𝑠𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5137, 50syl5bi 241 . . 3 (𝜑 → (𝑠 ∈ ran 𝑊𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5251ssrdv 3927 . 2 (𝜑 → ran 𝑊 ⊆ 𝒫 (𝑋 × 𝑋))
53 df-f 6437 . 2 (𝑊:dom 𝑊⟶𝒫 (𝑋 × 𝑋) ↔ (𝑊 Fn dom 𝑊 ∧ ran 𝑊 ⊆ 𝒫 (𝑋 × 𝑋)))
5435, 52, 53sylanbrc 583 1 (𝜑𝑊:dom 𝑊⟶𝒫 (𝑋 × 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086  wal 1537   = wceq 1539  wex 1782  wcel 2106  wral 3064  [wsbc 3716  cin 3886  wss 3887  𝒫 cpw 4533  {csn 4561   cuni 4839   class class class wbr 5074  {copab 5136   We wwe 5543   × cxp 5587  ccnv 5588  dom cdm 5589  ran crn 5590  cima 5592  Rel wrel 5594  Fun wfun 6427   Fn wfn 6428  wf 6429  (class class class)co 7275
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-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-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-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-oi 9269
This theorem is referenced by:  fpwwe2lem12  10398  fpwwe2  10399
  Copyright terms: Public domain W3C validator