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

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

Proof of Theorem fpwwe2lem11
Dummy variables 𝑠 𝑡 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fpwwe2.1 . . . . . 6 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 [(𝑟 “ {𝑦}) / 𝑢](𝑢𝐹(𝑟 ∩ (𝑢 × 𝑢))) = 𝑦))}
21relopabi 5384 . . . . 5 Rel 𝑊
32a1i 11 . . . 4 (𝜑 → Rel 𝑊)
4 simprr 756 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))
5 fpwwe2.2 . . . . . . . . . . . . . . 15 (𝜑𝐴 ∈ V)
61, 5fpwwe2lem2 9656 . . . . . . . . . . . . . 14 (𝜑 → (𝑤𝑊𝑡 ↔ ((𝑤𝐴𝑡 ⊆ (𝑤 × 𝑤)) ∧ (𝑡 We 𝑤 ∧ ∀𝑦𝑤 [(𝑡 “ {𝑦}) / 𝑢](𝑢𝐹(𝑡 ∩ (𝑢 × 𝑢))) = 𝑦))))
76simprbda 486 . . . . . . . . . . . . 13 ((𝜑𝑤𝑊𝑡) → (𝑤𝐴𝑡 ⊆ (𝑤 × 𝑤)))
87simprd 483 . . . . . . . . . . . 12 ((𝜑𝑤𝑊𝑡) → 𝑡 ⊆ (𝑤 × 𝑤))
98adantrl 695 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑡 ⊆ (𝑤 × 𝑤))
109adantr 466 . . . . . . . . . 10 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑡 ⊆ (𝑤 × 𝑤))
11 df-ss 3737 . . . . . . . . . 10 (𝑡 ⊆ (𝑤 × 𝑤) ↔ (𝑡 ∩ (𝑤 × 𝑤)) = 𝑡)
1210, 11sylib 208 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → (𝑡 ∩ (𝑤 × 𝑤)) = 𝑡)
134, 12eqtrd 2805 . . . . . . . 8 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤)))) → 𝑠 = 𝑡)
14 simprr 756 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))
151, 5fpwwe2lem2 9656 . . . . . . . . . . . . . 14 (𝜑 → (𝑤𝑊𝑠 ↔ ((𝑤𝐴𝑠 ⊆ (𝑤 × 𝑤)) ∧ (𝑠 We 𝑤 ∧ ∀𝑦𝑤 [(𝑠 “ {𝑦}) / 𝑢](𝑢𝐹(𝑠 ∩ (𝑢 × 𝑢))) = 𝑦))))
1615simprbda 486 . . . . . . . . . . . . 13 ((𝜑𝑤𝑊𝑠) → (𝑤𝐴𝑠 ⊆ (𝑤 × 𝑤)))
1716simprd 483 . . . . . . . . . . . 12 ((𝜑𝑤𝑊𝑠) → 𝑠 ⊆ (𝑤 × 𝑤))
1817adantrr 696 . . . . . . . . . . 11 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑠 ⊆ (𝑤 × 𝑤))
1918adantr 466 . . . . . . . . . 10 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑠 ⊆ (𝑤 × 𝑤))
20 df-ss 3737 . . . . . . . . . 10 (𝑠 ⊆ (𝑤 × 𝑤) ↔ (𝑠 ∩ (𝑤 × 𝑤)) = 𝑠)
2119, 20sylib 208 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → (𝑠 ∩ (𝑤 × 𝑤)) = 𝑠)
2214, 21eqtr2d 2806 . . . . . . . 8 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))) → 𝑠 = 𝑡)
235adantr 466 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝐴 ∈ V)
24 fpwwe2.3 . . . . . . . . . 10 ((𝜑 ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
2524adantlr 694 . . . . . . . . 9 (((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) ∧ (𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥) ∧ 𝑟 We 𝑥)) → (𝑥𝐹𝑟) ∈ 𝐴)
26 simprl 754 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑤𝑊𝑠)
27 simprr 756 . . . . . . . . 9 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑤𝑊𝑡)
281, 23, 25, 26, 27fpwwe2lem10 9663 . . . . . . . 8 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → ((𝑤𝑤𝑠 = (𝑡 ∩ (𝑤 × 𝑤))) ∨ (𝑤𝑤𝑡 = (𝑠 ∩ (𝑤 × 𝑤)))))
2913, 22, 28mpjaodan 943 . . . . . . 7 ((𝜑 ∧ (𝑤𝑊𝑠𝑤𝑊𝑡)) → 𝑠 = 𝑡)
3029ex 397 . . . . . 6 (𝜑 → ((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
3130alrimiv 2007 . . . . 5 (𝜑 → ∀𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
3231alrimivv 2008 . . . 4 (𝜑 → ∀𝑤𝑠𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡))
33 dffun2 6041 . . . 4 (Fun 𝑊 ↔ (Rel 𝑊 ∧ ∀𝑤𝑠𝑡((𝑤𝑊𝑠𝑤𝑊𝑡) → 𝑠 = 𝑡)))
343, 32, 33sylanbrc 572 . . 3 (𝜑 → Fun 𝑊)
35 funfn 6061 . . 3 (Fun 𝑊𝑊 Fn dom 𝑊)
3634, 35sylib 208 . 2 (𝜑𝑊 Fn dom 𝑊)
37 vex 3354 . . . . 5 𝑠 ∈ V
3837elrn 5504 . . . 4 (𝑠 ∈ ran 𝑊 ↔ ∃𝑤 𝑤𝑊𝑠)
392releldmi 5500 . . . . . . . . . . . 12 (𝑤𝑊𝑠𝑤 ∈ dom 𝑊)
4039adantl 467 . . . . . . . . . . 11 ((𝜑𝑤𝑊𝑠) → 𝑤 ∈ dom 𝑊)
41 elssuni 4603 . . . . . . . . . . 11 (𝑤 ∈ dom 𝑊𝑤 dom 𝑊)
4240, 41syl 17 . . . . . . . . . 10 ((𝜑𝑤𝑊𝑠) → 𝑤 dom 𝑊)
43 fpwwe2.4 . . . . . . . . . 10 𝑋 = dom 𝑊
4442, 43syl6sseqr 3801 . . . . . . . . 9 ((𝜑𝑤𝑊𝑠) → 𝑤𝑋)
45 xpss12 5264 . . . . . . . . 9 ((𝑤𝑋𝑤𝑋) → (𝑤 × 𝑤) ⊆ (𝑋 × 𝑋))
4644, 44, 45syl2anc 573 . . . . . . . 8 ((𝜑𝑤𝑊𝑠) → (𝑤 × 𝑤) ⊆ (𝑋 × 𝑋))
4717, 46sstrd 3762 . . . . . . 7 ((𝜑𝑤𝑊𝑠) → 𝑠 ⊆ (𝑋 × 𝑋))
4847ex 397 . . . . . 6 (𝜑 → (𝑤𝑊𝑠𝑠 ⊆ (𝑋 × 𝑋)))
49 selpw 4304 . . . . . 6 (𝑠 ∈ 𝒫 (𝑋 × 𝑋) ↔ 𝑠 ⊆ (𝑋 × 𝑋))
5048, 49syl6ibr 242 . . . . 5 (𝜑 → (𝑤𝑊𝑠𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5150exlimdv 2013 . . . 4 (𝜑 → (∃𝑤 𝑤𝑊𝑠𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5238, 51syl5bi 232 . . 3 (𝜑 → (𝑠 ∈ ran 𝑊𝑠 ∈ 𝒫 (𝑋 × 𝑋)))
5352ssrdv 3758 . 2 (𝜑 → ran 𝑊 ⊆ 𝒫 (𝑋 × 𝑋))
54 df-f 6035 . 2 (𝑊:dom 𝑊⟶𝒫 (𝑋 × 𝑋) ↔ (𝑊 Fn dom 𝑊 ∧ ran 𝑊 ⊆ 𝒫 (𝑋 × 𝑋)))
5536, 53, 54sylanbrc 572 1 (𝜑𝑊:dom 𝑊⟶𝒫 (𝑋 × 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382  w3a 1071  wal 1629   = wceq 1631  wex 1852  wcel 2145  wral 3061  Vcvv 3351  [wsbc 3587  cin 3722  wss 3723  𝒫 cpw 4297  {csn 4316   cuni 4574   class class class wbr 4786  {copab 4846   We wwe 5207   × cxp 5247  ccnv 5248  dom cdm 5249  ran crn 5250  cima 5252  Rel wrel 5254  Fun wfun 6025   Fn wfn 6026  wf 6027  (class class class)co 6793
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4904  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7096
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3or 1072  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-pss 3739  df-nul 4064  df-if 4226  df-pw 4299  df-sn 4317  df-pr 4319  df-tp 4321  df-op 4323  df-uni 4575  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-tr 4887  df-id 5157  df-eprel 5162  df-po 5170  df-so 5171  df-fr 5208  df-se 5209  df-we 5210  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-pred 5823  df-ord 5869  df-on 5870  df-lim 5871  df-suc 5872  df-iota 5994  df-fun 6033  df-fn 6034  df-f 6035  df-f1 6036  df-fo 6037  df-f1o 6038  df-fv 6039  df-isom 6040  df-riota 6754  df-ov 6796  df-wrecs 7559  df-recs 7621  df-oi 8571
This theorem is referenced by:  fpwwe2lem13  9666  fpwwe2  9667
  Copyright terms: Public domain W3C validator