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 34712
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 34710 . . . 4 ∘f/c 𝑅 = (𝑓 ∈ V, 𝑐 ∈ V ↦ (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐)))
21a1i 11 . . 3 (𝜑 → ∘f/c 𝑅 = (𝑓 ∈ V, 𝑐 ∈ V ↦ (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐))))
3 simprl 783 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → 𝑓 = 𝐹)
43dmeqd 5887 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → dom 𝑓 = dom 𝐹)
53fveq1d 6879 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → (𝑓‘𝑥) = (𝐹‘𝑥))
6 simprr 785 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → 𝑐 = 𝐶)
75, 6oveq12d 7430 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → ((𝑓‘𝑥)𝑅𝑐) = ((𝐹‘𝑥)𝑅𝐶))
84, 7mpteq12dv 5192 . . 3 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐)) = (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)))
9 ofcfval.1 . . . 4 (𝜑 → 𝐹 Fn 𝐴)
10 ofcfval.2 . . . 4 (𝜑 → 𝐴 ∈ 𝑉)
11 fnex 7215 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐹 ∈ V)
129, 10, 11syl2anc 596 . . 3 (𝜑 → 𝐹 ∈ V)
13 ofcfval.3 . . . 4 (𝜑 → 𝐶 ∈ 𝑊)
1413elexd 3474 . . 3 (𝜑 → 𝐶 ∈ V)
159fndmd 6636 . . . . 5 (𝜑 → dom 𝐹 = 𝐴)
1615, 10eqeltrd 2861 . . . 4 (𝜑 → dom 𝐹 ∈ 𝑉)
1716mptexd 7222 . . 3 (𝜑 → (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)) ∈ V)
182, 8, 12, 14, 17ovmpod 7564 . 2 (𝜑 → (𝐹 ∘f/c 𝑅𝐶) = (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)))
1915eleq2d 2847 . . . . . 6 (𝜑 → (𝑥 ∈ dom 𝐹 ↔ 𝑥 ∈ 𝐴))
2019pm5.32i 585 . . . . 5 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) ↔ (𝜑 ∧ 𝑥 ∈ 𝐴))
21 ofcfval.6 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
2220, 21sylbi 220 . . . 4 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) → (𝐹‘𝑥) = 𝐵)
2322oveq1d 7427 . . 3 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) → ((𝐹‘𝑥)𝑅𝐶) = (𝐵𝑅𝐶))
2415, 23mpteq12dva 5191 . 2 (𝜑 → (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
2518, 24eqtrd 2796 1 (𝜑 → (𝐹 ∘f/c 𝑅𝐶) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451   ↦ cmpt 5186  dom cdm 5651   Fn wfn 6526  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414   ∘f/c cofc 34709
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-ofc 34710
This theorem is used by:  ofcval  34713  ofcfn  34714  ofcfeqd2  34715  ofcf  34717  ofcfval2  34718  ofcc  34720  ofcof  34721
  Copyright terms: Public domain W3C validator