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

Theorem mptmpoopabbrd 8095
Description: The operation value of a function value of a collection of ordered pairs of elements related in two ways. (Contributed by Alexander van Vekens, 8-Nov-2017.) (Revised by AV, 15-Jan-2021.) Add disjoint variable condition on 𝐷, 𝑓, ℎ to remove hypotheses; avoid ax-rep 5231. (Revised by SN, 7-Apr-2025.)
Hypotheses
Ref Expression
mptmpoopabbrd.g (𝜑 → 𝐺 ∈ 𝑊)
mptmpoopabbrd.x (𝜑 → 𝑋 ∈ (𝐴‘𝐺))
mptmpoopabbrd.y (𝜑 → 𝑌 ∈ (𝐵‘𝐺))
mptmpoopabbrd.1 ((𝑎 = 𝑋 ∧ 𝑏 = 𝑌) → (𝜏 ↔ 𝜃))
mptmpoopabbrd.2 (𝑔 = 𝐺 → (𝜒 ↔ 𝜏))
mptmpoopabbrd.m 𝑀 = (𝑔 ∈ V ↦ (𝑎 ∈ (𝐴‘𝑔), 𝑏 ∈ (𝐵‘𝑔) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜒 ∧ 𝑓(𝐷‘𝑔)ℎ)}))
Assertion
Ref Expression
mptmpoopabbrd (𝜑 → (𝑋(𝑀‘𝐺)𝑌) = {⟨𝑓, ℎ⟩ ∣ (𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ)})
Distinct variable groups:   𝐴,𝑎,𝑏,𝑔   𝐵,𝑎,𝑏,𝑔   𝐷,𝑎,𝑏,𝑓,𝑔,ℎ   𝐺,𝑎,𝑏,𝑓,𝑔,ℎ   𝑔,𝑊   𝑋,𝑎,𝑏,𝑓,𝑔,ℎ   𝑌,𝑎,𝑏,𝑓,𝑔,ℎ   𝜑,𝑓,ℎ   𝜏,𝑔   𝜃,𝑎,𝑏
Allowed substitution hints:   𝜑(𝑔, 𝑎, 𝑏)   𝜒(𝑓, 𝑔, ℎ, 𝑎, 𝑏)   𝜃(𝑓, 𝑔, ℎ)   𝜏(𝑓, ℎ, 𝑎, 𝑏)   𝐴(𝑓, ℎ)   𝐵(𝑓, ℎ)   𝑀(𝑓, 𝑔, ℎ, 𝑎, 𝑏)   𝑊(𝑓, ℎ, 𝑎, 𝑏)

Proof of Theorem mptmpoopabbrd
StepHypRef Expression
1 mptmpoopabbrd.m . . . 4 𝑀 = (𝑔 ∈ V ↦ (𝑎 ∈ (𝐴‘𝑔), 𝑏 ∈ (𝐵‘𝑔) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜒 ∧ 𝑓(𝐷‘𝑔)ℎ)}))
2 fveq2 6886 . . . . 5 (𝑔 = 𝐺 → (𝐴‘𝑔) = (𝐴‘𝐺))
3 fveq2 6886 . . . . 5 (𝑔 = 𝐺 → (𝐵‘𝑔) = (𝐵‘𝐺))
4 mptmpoopabbrd.2 . . . . . . 7 (𝑔 = 𝐺 → (𝜒 ↔ 𝜏))
5 fveq2 6886 . . . . . . . 8 (𝑔 = 𝐺 → (𝐷‘𝑔) = (𝐷‘𝐺))
65breqd 5113 . . . . . . 7 (𝑔 = 𝐺 → (𝑓(𝐷‘𝑔)ℎ ↔ 𝑓(𝐷‘𝐺)ℎ))
74, 6anbi12d 644 . . . . . 6 (𝑔 = 𝐺 → ((𝜒 ∧ 𝑓(𝐷‘𝑔)ℎ) ↔ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)))
87opabbidv 5170 . . . . 5 (𝑔 = 𝐺 → {⟨𝑓, ℎ⟩ ∣ (𝜒 ∧ 𝑓(𝐷‘𝑔)ℎ)} = {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)})
92, 3, 8mpoeq123dv 7496 . . . 4 (𝑔 = 𝐺 → (𝑎 ∈ (𝐴‘𝑔), 𝑏 ∈ (𝐵‘𝑔) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜒 ∧ 𝑓(𝐷‘𝑔)ℎ)}) = (𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)}))
10 mptmpoopabbrd.g . . . . 5 (𝜑 → 𝐺 ∈ 𝑊)
1110elexd 3473 . . . 4 (𝜑 → 𝐺 ∈ V)
12 fvex 6899 . . . . . 6 (𝐴‘𝐺) ∈ V
13 fvex 6899 . . . . . 6 (𝐵‘𝐺) ∈ V
14 fvex 6899 . . . . . . 7 (𝐷‘𝐺) ∈ V
1514pwex 5341 . . . . . 6 𝒫 (𝐷‘𝐺) ∈ V
16 simpr 490 . . . . . . . . . 10 ((𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ) → 𝑓(𝐷‘𝐺)ℎ)
1716ssopab2i 5524 . . . . . . . . 9 {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)} ⊆ {⟨𝑓, ℎ⟩ ∣ 𝑓(𝐷‘𝐺)ℎ}
18 opabss 5168 . . . . . . . . 9 {⟨𝑓, ℎ⟩ ∣ 𝑓(𝐷‘𝐺)ℎ} ⊆ (𝐷‘𝐺)
1917, 18sstri 3917 . . . . . . . 8 {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)} ⊆ (𝐷‘𝐺)
2014, 19elpwi2 5296 . . . . . . 7 {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)} ∈ 𝒫 (𝐷‘𝐺)
2120rgen2w 3081 . . . . . 6 ∀𝑎 ∈ (𝐴‘𝐺)∀𝑏 ∈ (𝐵‘𝐺){⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)} ∈ 𝒫 (𝐷‘𝐺)
2212, 13, 15, 21mpoexw 8092 . . . . 5 (𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)}) ∈ V
2322a1i 11 . . . 4 (𝜑 → (𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)}) ∈ V)
241, 9, 11, 23fvmptd3 7018 . . 3 (𝜑 → (𝑀‘𝐺) = (𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)}))
2524oveqd 7438 . 2 (𝜑 → (𝑋(𝑀‘𝐺)𝑌) = (𝑋(𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)})𝑌))
26 mptmpoopabbrd.x . . 3 (𝜑 → 𝑋 ∈ (𝐴‘𝐺))
27 mptmpoopabbrd.y . . 3 (𝜑 → 𝑌 ∈ (𝐵‘𝐺))
28 mptmpoopabbrd.1 . . . . . 6 ((𝑎 = 𝑋 ∧ 𝑏 = 𝑌) → (𝜏 ↔ 𝜃))
2928anbi1d 643 . . . . 5 ((𝑎 = 𝑋 ∧ 𝑏 = 𝑌) → ((𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ) ↔ (𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ)))
3029opabbidv 5170 . . . 4 ((𝑎 = 𝑋 ∧ 𝑏 = 𝑌) → {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)} = {⟨𝑓, ℎ⟩ ∣ (𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ)})
31 eqid 2760 . . . 4 (𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)}) = (𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)})
32 ancom 466 . . . . . 6 ((𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ) ↔ (𝑓(𝐷‘𝐺)ℎ ∧ 𝜃))
3332opabbii 5171 . . . . 5 {⟨𝑓, ℎ⟩ ∣ (𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ)} = {⟨𝑓, ℎ⟩ ∣ (𝑓(𝐷‘𝐺)ℎ ∧ 𝜃)}
34 opabresex2 7475 . . . . 5 {⟨𝑓, ℎ⟩ ∣ (𝑓(𝐷‘𝐺)ℎ ∧ 𝜃)} ∈ V
3533, 34eqeltri 2856 . . . 4 {⟨𝑓, ℎ⟩ ∣ (𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ)} ∈ V
3630, 31, 35ovmpoa 7576 . . 3 ((𝑋 ∈ (𝐴‘𝐺) ∧ 𝑌 ∈ (𝐵‘𝐺)) → (𝑋(𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)})𝑌) = {⟨𝑓, ℎ⟩ ∣ (𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ)})
3726, 27, 36syl2anc 596 . 2 (𝜑 → (𝑋(𝑎 ∈ (𝐴‘𝐺), 𝑏 ∈ (𝐵‘𝐺) ↦ {⟨𝑓, ℎ⟩ ∣ (𝜏 ∧ 𝑓(𝐷‘𝐺)ℎ)})𝑌) = {⟨𝑓, ℎ⟩ ∣ (𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ)})
3825, 37eqtrd 2795 1 (𝜑 → (𝑋(𝑀‘𝐺)𝑌) = {⟨𝑓, ℎ⟩ ∣ (𝜃 ∧ 𝑓(𝐷‘𝐺)ℎ)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  𝒫 cpw 4556   class class class wbr 5102  {copab 5166   ↦ cmpt 5185  ‘cfv 6539  (class class class)co 7421   ∈ cmpo 7423
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-1st 8002  df-2nd 8003
This theorem is used by:  mptmpoopabovd  8096  wlkson  30241
  Copyright terms: Public domain W3C validator