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

Theorem mpoxopoveq 8055
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. (Contributed by Alexander van der Vekens, 11-Oct-2017.)
Hypothesis
Ref Expression
mpoxopoveq.f 𝐹 = (𝑥 ∈ V, 𝑦 ∈ (1st𝑥) ↦ {𝑛 ∈ (1st𝑥) ∣ 𝜑})
Assertion
Ref Expression
mpoxopoveq (((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
Distinct variable groups:   𝑛,𝐾,𝑥,𝑦   𝑛,𝑉,𝑥,𝑦   𝑛,𝑊,𝑥,𝑦   𝑛,𝑋,𝑥,𝑦   𝑛,𝑌,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑛)   𝐹(𝑥,𝑦,𝑛)

Proof of Theorem mpoxopoveq
StepHypRef Expression
1 mpoxopoveq.f . . 3 𝐹 = (𝑥 ∈ V, 𝑦 ∈ (1st𝑥) ↦ {𝑛 ∈ (1st𝑥) ∣ 𝜑})
21a1i 11 . 2 (((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) → 𝐹 = (𝑥 ∈ V, 𝑦 ∈ (1st𝑥) ↦ {𝑛 ∈ (1st𝑥) ∣ 𝜑}))
3 fveq2 6792 . . . . 5 (𝑥 = ⟨𝑉, 𝑊⟩ → (1st𝑥) = (1st ‘⟨𝑉, 𝑊⟩))
4 op1stg 7863 . . . . . 6 ((𝑉𝑋𝑊𝑌) → (1st ‘⟨𝑉, 𝑊⟩) = 𝑉)
54adantr 480 . . . . 5 (((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) → (1st ‘⟨𝑉, 𝑊⟩) = 𝑉)
63, 5sylan9eqr 2795 . . . 4 ((((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) ∧ 𝑥 = ⟨𝑉, 𝑊⟩) → (1st𝑥) = 𝑉)
76adantrr 713 . . 3 ((((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) ∧ (𝑥 = ⟨𝑉, 𝑊⟩ ∧ 𝑦 = 𝐾)) → (1st𝑥) = 𝑉)
8 sbceq1a 3729 . . . . . 6 (𝑦 = 𝐾 → (𝜑[𝐾 / 𝑦]𝜑))
98adantl 481 . . . . 5 ((𝑥 = ⟨𝑉, 𝑊⟩ ∧ 𝑦 = 𝐾) → (𝜑[𝐾 / 𝑦]𝜑))
109adantl 481 . . . 4 ((((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) ∧ (𝑥 = ⟨𝑉, 𝑊⟩ ∧ 𝑦 = 𝐾)) → (𝜑[𝐾 / 𝑦]𝜑))
11 sbceq1a 3729 . . . . . 6 (𝑥 = ⟨𝑉, 𝑊⟩ → ([𝐾 / 𝑦]𝜑[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑))
1211adantr 480 . . . . 5 ((𝑥 = ⟨𝑉, 𝑊⟩ ∧ 𝑦 = 𝐾) → ([𝐾 / 𝑦]𝜑[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑))
1312adantl 481 . . . 4 ((((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) ∧ (𝑥 = ⟨𝑉, 𝑊⟩ ∧ 𝑦 = 𝐾)) → ([𝐾 / 𝑦]𝜑[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑))
1410, 13bitrd 278 . . 3 ((((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) ∧ (𝑥 = ⟨𝑉, 𝑊⟩ ∧ 𝑦 = 𝐾)) → (𝜑[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑))
157, 14rabeqbidv 3422 . 2 ((((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) ∧ (𝑥 = ⟨𝑉, 𝑊⟩ ∧ 𝑦 = 𝐾)) → {𝑛 ∈ (1st𝑥) ∣ 𝜑} = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
16 opex 5382 . . 3 𝑉, 𝑊⟩ ∈ V
1716a1i 11 . 2 (((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) → ⟨𝑉, 𝑊⟩ ∈ V)
18 simpr 484 . 2 (((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) → 𝐾𝑉)
19 rabexg 5258 . . 3 (𝑉𝑋 → {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑} ∈ V)
2019ad2antrr 722 . 2 (((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) → {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑} ∈ V)
21 equid 2011 . . 3 𝑧 = 𝑧
22 nfvd 1914 . . 3 (𝑧 = 𝑧 → Ⅎ𝑥((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉))
2321, 22ax-mp 5 . 2 𝑥((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉)
24 nfvd 1914 . . 3 (𝑧 = 𝑧 → Ⅎ𝑦((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉))
2521, 24ax-mp 5 . 2 𝑦((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉)
26 nfcv 2902 . 2 𝑦𝑉, 𝑊
27 nfcv 2902 . 2 𝑥𝐾
28 nfsbc1v 3738 . . 3 𝑥[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑
29 nfcv 2902 . . 3 𝑥𝑉
3028, 29nfrabw 3320 . 2 𝑥{𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑}
31 nfsbc1v 3738 . . . 4 𝑦[𝐾 / 𝑦]𝜑
3226, 31nfsbcw 3740 . . 3 𝑦[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑
33 nfcv 2902 . . 3 𝑦𝑉
3432, 33nfrabw 3320 . 2 𝑦{𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑}
352, 15, 6, 17, 18, 20, 23, 25, 26, 27, 30, 34ovmpodxf 7443 1 (((𝑉𝑋𝑊𝑌) ∧ 𝐾𝑉) → (⟨𝑉, 𝑊𝐹𝐾) = {𝑛𝑉[𝑉, 𝑊⟩ / 𝑥][𝐾 / 𝑦]𝜑})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1537  wnf 1781  wcel 2101  {crab 3221  Vcvv 3434  [wsbc 3718  cop 4570  cfv 6447  (class class class)co 7295  cmpo 7297  1st c1st 7849
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2103  ax-9 2111  ax-10 2132  ax-11 2149  ax-12 2166  ax-ext 2704  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-un 7608
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2063  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2884  df-ral 3060  df-rex 3069  df-rab 3224  df-v 3436  df-sbc 3719  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-nul 4260  df-if 4463  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4842  df-br 5078  df-opab 5140  df-mpt 5161  df-id 5491  df-xp 5597  df-rel 5598  df-cnv 5599  df-co 5600  df-dm 5601  df-rn 5602  df-iota 6399  df-fun 6449  df-fv 6455  df-ov 7298  df-oprab 7299  df-mpo 7300  df-1st 7851
This theorem is referenced by:  mpoxopovel  8056  mpoxopoveqd  8057
  Copyright terms: Public domain W3C validator