Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ofcfval Structured version   Visualization version   GIF version

Theorem ofcfval 34858
Description: Value of an operation applied to a function and a constant. (Contributed by Thierry Arnoux, 30-Jan-2017.)
Hypotheses
Ref Expression
ofcfval.1 (𝜑 → 𝐹 Fn 𝐴)
ofcfval.2 (𝜑 → 𝐴 ∈ 𝑉)
ofcfval.3 (𝜑 → 𝐶 ∈ 𝑊)
ofcfval.6 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
Assertion
Ref Expression
ofcfval (𝜑 → (𝐹 ∘f/c 𝑅𝐶) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
Distinct variable groups:   𝑥,𝐶   𝑥,𝐹   𝑥,𝑅   𝜑,𝑥
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem ofcfval
Dummy variables 𝑓 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ofc 34856 . . . 4 ∘f/c 𝑅 = (𝑓 ∈ V, 𝑐 ∈ V ↦ (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐)))
21a1i 11 . . 3 (𝜑 → ∘f/c 𝑅 = (𝑓 ∈ V, 𝑐 ∈ V ↦ (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐))))
3 simprl 783 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → 𝑓 = 𝐹)
43dmeqd 5902 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → dom 𝑓 = dom 𝐹)
53fveq1d 6928 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → (𝑓‘𝑥) = (𝐹‘𝑥))
6 simprr 785 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → 𝑐 = 𝐶)
75, 6oveq12d 7479 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → ((𝑓‘𝑥)𝑅𝑐) = ((𝐹‘𝑥)𝑅𝐶))
84, 7mpteq12dv 5201 . . 3 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐)) = (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)))
9 ofcfval.1 . . . 4 (𝜑 → 𝐹 Fn 𝐴)
10 ofcfval.2 . . . 4 (𝜑 → 𝐴 ∈ 𝑉)
11 fnex 7264 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐹 ∈ V)
129, 10, 11syl2anc 596 . . 3 (𝜑 → 𝐹 ∈ V)
13 ofcfval.3 . . . 4 (𝜑 → 𝐶 ∈ 𝑊)
1413elexd 3479 . . 3 (𝜑 → 𝐶 ∈ V)
159fndmd 6684 . . . . 5 (𝜑 → dom 𝐹 = 𝐴)
1615, 10eqeltrd 2870 . . . 4 (𝜑 → dom 𝐹 ∈ 𝑉)
1716mptexd 7271 . . 3 (𝜑 → (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)) ∈ V)
182, 8, 12, 14, 17ovmpod 7614 . 2 (𝜑 → (𝐹 ∘f/c 𝑅𝐶) = (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)))
1915eleq2d 2856 . . . . . 6 (𝜑 → (𝑥 ∈ dom 𝐹 ↔ 𝑥 ∈ 𝐴))
2019pm5.32i 585 . . . . 5 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) ↔ (𝜑 ∧ 𝑥 ∈ 𝐴))
21 ofcfval.6 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
2220, 21sylbi 220 . . . 4 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) → (𝐹‘𝑥) = 𝐵)
2322oveq1d 7476 . . 3 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) → ((𝐹‘𝑥)𝑅𝐶) = (𝐵𝑅𝐶))
2415, 23mpteq12dva 5200 . 2 (𝜑 → (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
2518, 24eqtrd 2804 1 (𝜑 → (𝐹 ∘f/c 𝑅𝐶) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  Vcvv 3456   ↦ cmpt 5195  dom cdm 5661   Fn wfn 6568  ‘cfv 6573  (class class class)co 7461   ∈ cmpo 7463   ∘f/c cofc 34855
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7464  df-oprab 7465  df-mpo 7466  df-ofc 34856
This theorem is used by:  ofcval  34859  ofcfn  34860  ofcfeqd2  34861  ofcf  34863  ofcfval2  34864  ofcc  34866  ofcof  34867
  Copyright terms: Public domain W3C validator