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

Theorem oprabco 8119
Description: Composition of a function with an operator abstraction. (Contributed by Jeff Madsen, 2-Sep-2009.) (Proof shortened by Mario Carneiro, 26-Sep-2015.)
Hypotheses
Ref Expression
oprabco.1 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ 𝐷)
oprabco.2 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶)
oprabco.3 𝐺 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐻‘𝐶))
Assertion
Ref Expression
oprabco (𝐻 Fn 𝐷 → 𝐺 = (𝐻 ∘ 𝐹))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐷,𝑦   𝑥,𝐻,𝑦
Allowed substitution hints:   𝐶(𝑥, 𝑦)   𝐹(𝑥, 𝑦)   𝐺(𝑥, 𝑦)

Proof of Theorem oprabco
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 oprabco.3 . 2 𝐺 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐻‘𝐶))
2 oprabco.1 . . . 4 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → 𝐶 ∈ 𝐷)
32adantl 487 . . 3 ((𝐻 Fn 𝐷 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵)) → 𝐶 ∈ 𝐷)
4 oprabco.2 . . . 4 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶)
54a1i 11 . . 3 (𝐻 Fn 𝐷 → 𝐹 = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶))
6 dffn5 6954 . . . 4 (𝐻 Fn 𝐷 ↔ 𝐻 = (𝑧 ∈ 𝐷 ↦ (𝐻‘𝑧)))
76biimpi 219 . . 3 (𝐻 Fn 𝐷 → 𝐻 = (𝑧 ∈ 𝐷 ↦ (𝐻‘𝑧)))
8 fveq2 6896 . . 3 (𝑧 = 𝐶 → (𝐻‘𝑧) = (𝐻‘𝐶))
93, 5, 7, 8fmpoco 8118 . 2 (𝐻 Fn 𝐷 → (𝐻 ∘ 𝐹) = (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ (𝐻‘𝐶)))
101, 9eqtr4id 2817 1 (𝐻 Fn 𝐷 → 𝐺 = (𝐻 ∘ 𝐹))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146   ↦ cmpt 5189   ∘ ccom 5659   Fn wfn 6542  ‘cfv 6547   ∈ cmpo 7432
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7761
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 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-fv 6555  df-oprab 7434  df-mpo 7435  df-1st 8011  df-2nd 8012
This theorem is used by:  oprab2co  8120
  Copyright terms: Public domain W3C validator