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

Theorem offveqb 7415
 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 6703 . . . 4 (𝐻 Fn 𝐴𝐻 = (𝑥𝐴 ↦ (𝐻𝑥)))
31, 2sylib 221 . . 3 (𝜑𝐻 = (𝑥𝐴 ↦ (𝐻𝑥)))
4 offveq.2 . . . 4 (𝜑𝐹 Fn 𝐴)
5 offveq.3 . . . 4 (𝜑𝐺 Fn 𝐴)
6 offveq.1 . . . 4 (𝜑𝐴𝑉)
7 inidm 4148 . . . 4 (𝐴𝐴) = 𝐴
8 offveq.5 . . . 4 ((𝜑𝑥𝐴) → (𝐹𝑥) = 𝐵)
9 offveq.6 . . . 4 ((𝜑𝑥𝐴) → (𝐺𝑥) = 𝐶)
104, 5, 6, 6, 7, 8, 9offval 7400 . . 3 (𝜑 → (𝐹f 𝑅𝐺) = (𝑥𝐴 ↦ (𝐵𝑅𝐶)))
113, 10eqeq12d 2817 . 2 (𝜑 → (𝐻 = (𝐹f 𝑅𝐺) ↔ (𝑥𝐴 ↦ (𝐻𝑥)) = (𝑥𝐴 ↦ (𝐵𝑅𝐶))))
12 fvexd 6664 . . . 4 (𝜑 → (𝐻𝑥) ∈ V)
1312ralrimivw 3153 . . 3 (𝜑 → ∀𝑥𝐴 (𝐻𝑥) ∈ V)
14 mpteqb 6768 . . 3 (∀𝑥𝐴 (𝐻𝑥) ∈ V → ((𝑥𝐴 ↦ (𝐻𝑥)) = (𝑥𝐴 ↦ (𝐵𝑅𝐶)) ↔ ∀𝑥𝐴 (𝐻𝑥) = (𝐵𝑅𝐶)))
1513, 14syl 17 . 2 (𝜑 → ((𝑥𝐴 ↦ (𝐻𝑥)) = (𝑥𝐴 ↦ (𝐵𝑅𝐶)) ↔ ∀𝑥𝐴 (𝐻𝑥) = (𝐵𝑅𝐶)))
1611, 15bitrd 282 1 (𝜑 → (𝐻 = (𝐹f 𝑅𝐺) ↔ ∀𝑥𝐴 (𝐻𝑥) = (𝐵𝑅𝐶)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538   ∈ wcel 2112  ∀wral 3109  Vcvv 3444   ↦ cmpt 5113   Fn wfn 6323  ‘cfv 6328  (class class class)co 7139   ∘f cof 7391 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-rep 5157  ax-sep 5170  ax-nul 5177  ax-pow 5234  ax-pr 5298 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2601  df-eu 2632  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ne 2991  df-ral 3114  df-rex 3115  df-reu 3116  df-rab 3118  df-v 3446  df-sbc 3724  df-csb 3832  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-nul 4247  df-if 4429  df-sn 4529  df-pr 4531  df-op 4535  df-uni 4804  df-iun 4886  df-br 5034  df-opab 5096  df-mpt 5114  df-id 5428  df-xp 5529  df-rel 5530  df-cnv 5531  df-co 5532  df-dm 5533  df-rn 5534  df-res 5535  df-ima 5536  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-f1 6333  df-fo 6334  df-f1o 6335  df-fv 6336  df-ov 7142  df-oprab 7143  df-mpo 7144  df-of 7393 This theorem is referenced by:  eqlkr2  36389
 Copyright terms: Public domain W3C validator