ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  offveqb GIF version

Theorem offveqb 5730
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 (𝜑 → (𝐻 = (𝐹𝑓 𝑅𝐺) ↔ ∀𝑥𝐴 (𝐻𝑥) = (𝐵𝑅𝐶)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐹   𝑥,𝐺   𝑥,𝐻   𝜑,𝑥   𝑥,𝑅
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)   𝑉(𝑥)

Proof of Theorem offveqb
StepHypRef Expression
1 offveq.4 . . . 4 (𝜑𝐻 Fn 𝐴)
2 dffn5im 5219 . . . 4 (𝐻 Fn 𝐴𝐻 = (𝑥𝐴 ↦ (𝐻𝑥)))
31, 2syl 14 . . 3 (𝜑𝐻 = (𝑥𝐴 ↦ (𝐻𝑥)))
4 offveq.2 . . . 4 (𝜑𝐹 Fn 𝐴)
5 offveq.3 . . . 4 (𝜑𝐺 Fn 𝐴)
6 offveq.1 . . . 4 (𝜑𝐴𝑉)
7 inidm 3146 . . . 4 (𝐴𝐴) = 𝐴
8 offveq.5 . . . 4 ((𝜑𝑥𝐴) → (𝐹𝑥) = 𝐵)
9 offveq.6 . . . 4 ((𝜑𝑥𝐴) → (𝐺𝑥) = 𝐶)
104, 5, 6, 6, 7, 8, 9offval 5719 . . 3 (𝜑 → (𝐹𝑓 𝑅𝐺) = (𝑥𝐴 ↦ (𝐵𝑅𝐶)))
113, 10eqeq12d 2054 . 2 (𝜑 → (𝐻 = (𝐹𝑓 𝑅𝐺) ↔ (𝑥𝐴 ↦ (𝐻𝑥)) = (𝑥𝐴 ↦ (𝐵𝑅𝐶))))
12 funfvex 5192 . . . . . 6 ((Fun 𝐻𝑥 ∈ dom 𝐻) → (𝐻𝑥) ∈ V)
1312funfni 4999 . . . . 5 ((𝐻 Fn 𝐴𝑥𝐴) → (𝐻𝑥) ∈ V)
141, 13sylan 267 . . . 4 ((𝜑𝑥𝐴) → (𝐻𝑥) ∈ V)
1514ralrimiva 2392 . . 3 (𝜑 → ∀𝑥𝐴 (𝐻𝑥) ∈ V)
16 mpteqb 5261 . . 3 (∀𝑥𝐴 (𝐻𝑥) ∈ V → ((𝑥𝐴 ↦ (𝐻𝑥)) = (𝑥𝐴 ↦ (𝐵𝑅𝐶)) ↔ ∀𝑥𝐴 (𝐻𝑥) = (𝐵𝑅𝐶)))
1715, 16syl 14 . 2 (𝜑 → ((𝑥𝐴 ↦ (𝐻𝑥)) = (𝑥𝐴 ↦ (𝐵𝑅𝐶)) ↔ ∀𝑥𝐴 (𝐻𝑥) = (𝐵𝑅𝐶)))
1811, 17bitrd 177 1 (𝜑 → (𝐻 = (𝐹𝑓 𝑅𝐺) ↔ ∀𝑥𝐴 (𝐻𝑥) = (𝐵𝑅𝐶)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wb 98   = wceq 1243  wcel 1393  wral 2306  Vcvv 2557  cmpt 3818   Fn wfn 4897  cfv 4902  (class class class)co 5512  𝑓 cof 5710
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-coll 3872  ax-sep 3875  ax-pow 3927  ax-pr 3944  ax-setind 4262
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-fal 1249  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ne 2206  df-ral 2311  df-rex 2312  df-reu 2313  df-rab 2315  df-v 2559  df-sbc 2765  df-csb 2853  df-dif 2920  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-iun 3659  df-br 3765  df-opab 3819  df-mpt 3820  df-id 4030  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-res 4357  df-ima 4358  df-iota 4867  df-fun 4904  df-fn 4905  df-f 4906  df-f1 4907  df-fo 4908  df-f1o 4909  df-fv 4910  df-ov 5515  df-oprab 5516  df-mpt2 5517  df-of 5712
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator