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

Theorem ovmpt3rabdm 7680
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 3750 . . . . . 6 (𝑦 = 𝑌 → (𝜑 ↔ [𝑌 / 𝑦]𝜑))
5 sbceq1a 3750 . . . . . 6 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑 ↔ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
64, 5sylan9bbr 520 . . . . 5 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝜑 ↔ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
7 nfsbc1v 3759 . . . . 5 Ⅎ𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
8 nfcv 2923 . . . . . 6 Ⅎ𝑦𝑋
9 nfsbc1v 3759 . . . . . 6 Ⅎ𝑦[𝑌 / 𝑦]𝜑
108, 9nfsbcw 3761 . . . . 5 Ⅎ𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
111, 2, 3, 6, 7, 10ovmpt3rab1 7679 . . . 4 ((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊 ∧ 𝐾 ∈ 𝑈) → (𝑋𝑂𝑌) = (𝑧 ∈ 𝐾 ↦ {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
1211adantr 486 . . 3 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊 ∧ 𝐾 ∈ 𝑈) ∧ 𝐿 ∈ 𝑇) → (𝑋𝑂𝑌) = (𝑧 ∈ 𝐾 ↦ {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
1312dmeqd 5887 . 2 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊 ∧ 𝐾 ∈ 𝑈) ∧ 𝐿 ∈ 𝑇) → dom (𝑋𝑂𝑌) = dom (𝑧 ∈ 𝐾 ↦ {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
14 rabexg 5299 . . . . 5 (𝐿 ∈ 𝑇 → {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
1514adantl 487 . . . 4 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊 ∧ 𝐾 ∈ 𝑈) ∧ 𝐿 ∈ 𝑇) → {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
1615ralrimivw 3159 . . 3 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊 ∧ 𝐾 ∈ 𝑈) ∧ 𝐿 ∈ 𝑇) → ∀𝑧 ∈ 𝐾 {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
17 dmmptg 6243 . . 3 (∀𝑧 ∈ 𝐾 {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V → dom (𝑧 ∈ 𝐾 ↦ {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑}) = 𝐾)
1816, 17syl 18 . 2 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊 ∧ 𝐾 ∈ 𝑈) ∧ 𝐿 ∈ 𝑇) → dom (𝑧 ∈ 𝐾 ↦ {𝑎 ∈ 𝐿 ∣ [𝑋 / 𝑥][𝑌 / 𝑦]𝜑}) = 𝐾)
1913, 18eqtrd 2796 1 (((𝑋 ∈ 𝑉 ∧ 𝑌 ∈ 𝑊 ∧ 𝐾 ∈ 𝑈) ∧ 𝐿 ∈ 𝑇) → dom (𝑋𝑂𝑌) = 𝐾)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  ∀wral 3077  {crab 3413  Vcvv 3451  [wsbc 3739   ↦ cmpt 5186  dom cdm 5651  (class class class)co 7420   ∈ cmpo 7422
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425
This theorem is used by:  elovmpt3rab1  7681
  Copyright terms: Public domain W3C validator