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

Theorem offveqb 7727
Description: Equivalent expressions for equality with a function operation. (Contributed by NM, 9-Oct-2014.) (Proof shortened by Mario Carneiro, 5-Dec-2016.)
Hypotheses
Ref Expression
offveq.1 (𝜑 → 𝐴 ∈ 𝑉)
offveq.2 (𝜑 → 𝐹 Fn 𝐴)
offveq.3 (𝜑 → 𝐺 Fn 𝐴)
offveq.4 (𝜑 → 𝐻 Fn 𝐴)
offveq.5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
offveq.6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥) = 𝐶)
Assertion
Ref Expression
offveqb (𝜑 → (𝐻 = (𝐹 ∘f 𝑅𝐺) ↔ ∀𝑥 ∈ 𝐴 (𝐻‘𝑥) = (𝐵𝑅𝐶)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐹   𝑥,𝐺   𝑥,𝐻   𝜑,𝑥   𝑥,𝑅
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)   𝑉(𝑥)

Proof of Theorem offveqb
StepHypRef Expression
1 offveq.4 . . . 4 (𝜑 → 𝐻 Fn 𝐴)
2 dffn5 6951 . . . 4 (𝐻 Fn 𝐴 ↔ 𝐻 = (𝑥 ∈ 𝐴 ↦ (𝐻‘𝑥)))
31, 2sylib 221 . . 3 (𝜑 → 𝐻 = (𝑥 ∈ 𝐴 ↦ (𝐻‘𝑥)))
4 offveq.2 . . . 4 (𝜑 → 𝐹 Fn 𝐴)
5 offveq.3 . . . 4 (𝜑 → 𝐺 Fn 𝐴)
6 offveq.1 . . . 4 (𝜑 → 𝐴 ∈ 𝑉)
7 inidm 4125 . . . 4 (𝐴 ∩ 𝐴) = 𝐴
8 offveq.5 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
9 offveq.6 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐺‘𝑥) = 𝐶)
104, 5, 6, 6, 7, 8, 9offval 7709 . . 3 (𝜑 → (𝐹 ∘f 𝑅𝐺) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
113, 10eqeq12d 2779 . 2 (𝜑 → (𝐻 = (𝐹 ∘f 𝑅𝐺) ↔ (𝑥 ∈ 𝐴 ↦ (𝐻‘𝑥)) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶))))
12 fvexd 6908 . . . 4 (𝜑 → (𝐻‘𝑥) ∈ V)
1312ralrimivw 3161 . . 3 (𝜑 → ∀𝑥 ∈ 𝐴 (𝐻‘𝑥) ∈ V)
14 mpteqb 7021 . . 3 (∀𝑥 ∈ 𝐴 (𝐻‘𝑥) ∈ V → ((𝑥 ∈ 𝐴 ↦ (𝐻‘𝑥)) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)) ↔ ∀𝑥 ∈ 𝐴 (𝐻‘𝑥) = (𝐵𝑅𝐶)))
1513, 14syl 18 . 2 (𝜑 → ((𝑥 ∈ 𝐴 ↦ (𝐻‘𝑥)) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)) ↔ ∀𝑥 ∈ 𝐴 (𝐻‘𝑥) = (𝐵𝑅𝐶)))
1611, 15bitrd 282 1 (𝜑 → (𝐻 = (𝐹 ∘f 𝑅𝐺) ↔ ∀𝑥 ∈ 𝐴 (𝐻‘𝑥) = (𝐵𝑅𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2146  ∀wral 3079  Vcvv 3453   ↦ cmpt 5188   Fn wfn 6541  ‘cfv 6546  (class class class)co 7427   ∘f cof 7698
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-rep 5234  ax-sep 5251  ax-nul 5262  ax-pr 5394
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 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-of 7700
This theorem is used by:  eqlkr2  40297
  Copyright terms: Public domain W3C validator