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

Theorem mpt2xopoveqd 7497
Description: Value of an operation given by a maps-to rule, where the first argument is a pair and the base set of the second argument is the first component of the first argument, deduction version. (Contributed by Alexander van der Vekens, 11-Oct-2017.)
Hypotheses
Ref Expression
mpt2xopoveq.f 𝐹 = (𝑥 ∈ V, 𝑦 ∈ (1st𝑥) ↦ {𝑛 ∈ (1st𝑥) ∣ 𝜑})
mpt2xopoveqd.1 (𝜓 → (𝑉𝑋𝑊𝑌))
mpt2xopoveqd.2 ((𝜓 ∧ ¬ 𝐾𝑉) → {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑} = ∅)
Assertion
Ref Expression
mpt2xopoveqd (𝜓 → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
Distinct variable groups:   𝑛,𝐾,𝑥,𝑦   𝑛,𝑉,𝑥,𝑦   𝑛,𝑊,𝑥,𝑦   𝑛,𝑋,𝑥,𝑦   𝑛,𝑌,𝑥,𝑦   𝑥,𝐹
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑛)   𝜓(𝑥,𝑦,𝑛)   𝐹(𝑦,𝑛)

Proof of Theorem mpt2xopoveqd
StepHypRef Expression
1 mpt2xopoveq.f . . . . 5 𝐹 = (𝑥 ∈ V, 𝑦 ∈ (1st𝑥) ↦ {𝑛 ∈ (1st𝑥) ∣ 𝜑})
21mpt2xopoveq 7495 . . . 4 (((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
32ex 397 . . 3 ((𝑉𝑋𝑊𝑌) → (𝐾𝑉 → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑}))
4 mpt2xopoveqd.1 . . 3 (𝜓 → (𝑉𝑋𝑊𝑌))
53, 4syl11 33 . 2 (𝐾𝑉 → (𝜓 → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑}))
6 df-nel 3047 . . . . . 6 (𝐾𝑉 ↔ ¬ 𝐾𝑉)
71mpt2xopynvov0 7494 . . . . . 6 (𝐾𝑉 → (⟨𝑉, 𝑊𝐹𝐾) = ∅)
86, 7sylbir 225 . . . . 5 𝐾𝑉 → (⟨𝑉, 𝑊𝐹𝐾) = ∅)
98adantr 466 . . . 4 ((¬ 𝐾𝑉𝜓) → (⟨𝑉, 𝑊𝐹𝐾) = ∅)
10 mpt2xopoveqd.2 . . . . . 6 ((𝜓 ∧ ¬ 𝐾𝑉) → {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑} = ∅)
1110eqcomd 2777 . . . . 5 ((𝜓 ∧ ¬ 𝐾𝑉) → ∅ = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
1211ancoms 446 . . . 4 ((¬ 𝐾𝑉𝜓) → ∅ = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
139, 12eqtrd 2805 . . 3 ((¬ 𝐾𝑉𝜓) → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
1413ex 397 . 2 𝐾𝑉 → (𝜓 → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑}))
155, 14pm2.61i 176 1 (𝜓 → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 382   = wceq 1631  wcel 2145  wnel 3046  {crab 3065  Vcvv 3351  [wsbc 3587  c0 4063  cop 4322  cfv 6029  (class class class)co 6791  cmpt2 6793  1st c1st 7311
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-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034  ax-un 7094
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  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-nel 3047  df-ral 3066  df-rex 3067  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-nul 4064  df-if 4226  df-sn 4317  df-pr 4319  df-op 4323  df-uni 4575  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-id 5157  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-iota 5992  df-fun 6031  df-fv 6037  df-ov 6794  df-oprab 6795  df-mpt2 6796  df-1st 7313  df-2nd 7314
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator