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

Theorem ovmpt3rabdm 7519
Description: If the value of a function which is the result of an operation defined by the maps-to notation is not empty, the operands and the argument of the function must be sets. (Contributed by AV, 16-May-2019.)
Hypotheses
Ref Expression
ovmpt3rab1.o 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑧𝑀 ↦ {𝑎𝑁𝜑}))
ovmpt3rab1.m ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑀 = 𝐾)
ovmpt3rab1.n ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑁 = 𝐿)
Assertion
Ref Expression
ovmpt3rabdm (((𝑋𝑉𝑌𝑊𝐾𝑈) ∧ 𝐿𝑇) → dom (𝑋𝑂𝑌) = 𝐾)
Distinct variable groups:   𝑥,𝐾,𝑦,𝑧   𝐿,𝑎,𝑥,𝑦   𝑁,𝑎   𝑥,𝑉,𝑦   𝑥,𝑊,𝑦   𝑥,𝑈,𝑦   𝑋,𝑎,𝑥,𝑦,𝑧   𝑌,𝑎,𝑥,𝑦,𝑧   𝑧,𝐿   𝑧,𝑇   𝑧,𝑈   𝑧,𝑉   𝑧,𝑊
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑎)   𝑇(𝑥,𝑦,𝑎)   𝑈(𝑎)   𝐾(𝑎)   𝑀(𝑥,𝑦,𝑧,𝑎)   𝑁(𝑥,𝑦,𝑧)   𝑂(𝑥,𝑦,𝑧,𝑎)   𝑉(𝑎)   𝑊(𝑎)

Proof of Theorem ovmpt3rabdm
StepHypRef Expression
1 ovmpt3rab1.o . . . . 5 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ (𝑧𝑀 ↦ {𝑎𝑁𝜑}))
2 ovmpt3rab1.m . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑀 = 𝐾)
3 ovmpt3rab1.n . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → 𝑁 = 𝐿)
4 sbceq1a 3730 . . . . . 6 (𝑦 = 𝑌 → (𝜑[𝑌 / 𝑦]𝜑))
5 sbceq1a 3730 . . . . . 6 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
64, 5sylan9bbr 510 . . . . 5 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
7 nfsbc1v 3739 . . . . 5 𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
8 nfcv 2908 . . . . . 6 𝑦𝑋
9 nfsbc1v 3739 . . . . . 6 𝑦[𝑌 / 𝑦]𝜑
108, 9nfsbcw 3741 . . . . 5 𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
111, 2, 3, 6, 7, 10ovmpt3rab1 7518 . . . 4 ((𝑋𝑉𝑌𝑊𝐾𝑈) → (𝑋𝑂𝑌) = (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
1211adantr 480 . . 3 (((𝑋𝑉𝑌𝑊𝐾𝑈) ∧ 𝐿𝑇) → (𝑋𝑂𝑌) = (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
1312dmeqd 5811 . 2 (((𝑋𝑉𝑌𝑊𝐾𝑈) ∧ 𝐿𝑇) → dom (𝑋𝑂𝑌) = dom (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
14 rabexg 5258 . . . . 5 (𝐿𝑇 → {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
1514adantl 481 . . . 4 (((𝑋𝑉𝑌𝑊𝐾𝑈) ∧ 𝐿𝑇) → {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
1615ralrimivw 3110 . . 3 (((𝑋𝑉𝑌𝑊𝐾𝑈) ∧ 𝐿𝑇) → ∀𝑧𝐾 {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
17 dmmptg 6142 . . 3 (∀𝑧𝐾 {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V → dom (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}) = 𝐾)
1816, 17syl 17 . 2 (((𝑋𝑉𝑌𝑊𝐾𝑈) ∧ 𝐿𝑇) → dom (𝑧𝐾 ↦ {𝑎𝐿[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}) = 𝐾)
1913, 18eqtrd 2779 1 (((𝑋𝑉𝑌𝑊𝐾𝑈) ∧ 𝐿𝑇) → dom (𝑋𝑂𝑌) = 𝐾)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1541  wcel 2109  wral 3065  {crab 3069  Vcvv 3430  [wsbc 3719  cmpt 5161  dom cdm 5588  (class class class)co 7268  cmpo 7270
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pr 5355
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-reu 3072  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-id 5488  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-ov 7271  df-oprab 7272  df-mpo 7273
This theorem is referenced by:  elovmpt3rab1  7520
  Copyright terms: Public domain W3C validator