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 34776
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 34774 . . . 4 ∘f/c 𝑅 = (𝑓 ∈ V, 𝑐 ∈ V ↦ (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐)))
21a1i 11 . . 3 (𝜑 → ∘f/c 𝑅 = (𝑓 ∈ V, 𝑐 ∈ V ↦ (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐))))
3 simprl 783 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → 𝑓 = 𝐹)
43dmeqd 5886 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → dom 𝑓 = dom 𝐹)
53fveq1d 6887 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → (𝑓‘𝑥) = (𝐹‘𝑥))
6 simprr 785 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → 𝑐 = 𝐶)
75, 6oveq12d 7438 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → ((𝑓‘𝑥)𝑅𝑐) = ((𝐹‘𝑥)𝑅𝐶))
84, 7mpteq12dv 5191 . . 3 ((𝜑 ∧ (𝑓 = 𝐹 ∧ 𝑐 = 𝐶)) → (𝑥 ∈ dom 𝑓 ↦ ((𝑓‘𝑥)𝑅𝑐)) = (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)))
9 ofcfval.1 . . . 4 (𝜑 → 𝐹 Fn 𝐴)
10 ofcfval.2 . . . 4 (𝜑 → 𝐴 ∈ 𝑉)
11 fnex 7223 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐹 ∈ V)
129, 10, 11syl2anc 596 . . 3 (𝜑 → 𝐹 ∈ V)
13 ofcfval.3 . . . 4 (𝜑 → 𝐶 ∈ 𝑊)
1413elexd 3473 . . 3 (𝜑 → 𝐶 ∈ V)
159fndmd 6644 . . . . 5 (𝜑 → dom 𝐹 = 𝐴)
1615, 10eqeltrd 2860 . . . 4 (𝜑 → dom 𝐹 ∈ 𝑉)
1716mptexd 7230 . . 3 (𝜑 → (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)) ∈ V)
182, 8, 12, 14, 17ovmpod 7572 . 2 (𝜑 → (𝐹 ∘f/c 𝑅𝐶) = (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)))
1915eleq2d 2846 . . . . . 6 (𝜑 → (𝑥 ∈ dom 𝐹 ↔ 𝑥 ∈ 𝐴))
2019pm5.32i 585 . . . . 5 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) ↔ (𝜑 ∧ 𝑥 ∈ 𝐴))
21 ofcfval.6 . . . . 5 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐹‘𝑥) = 𝐵)
2220, 21sylbi 220 . . . 4 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) → (𝐹‘𝑥) = 𝐵)
2322oveq1d 7435 . . 3 ((𝜑 ∧ 𝑥 ∈ dom 𝐹) → ((𝐹‘𝑥)𝑅𝐶) = (𝐵𝑅𝐶))
2415, 23mpteq12dva 5190 . 2 (𝜑 → (𝑥 ∈ dom 𝐹 ↦ ((𝐹‘𝑥)𝑅𝐶)) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
2518, 24eqtrd 2795 1 (𝜑 → (𝐹 ∘f/c 𝑅𝐶) = (𝑥 ∈ 𝐴 ↦ (𝐵𝑅𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ↦ cmpt 5185  dom cdm 5650   Fn wfn 6533  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422   ∘f/c cofc 34773
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390
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 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-ofc 34774
This theorem is used by:  ofcval  34777  ofcfn  34778  ofcfeqd2  34779  ofcf  34781  ofcfval2  34782  ofcc  34784  ofcof  34785
  Copyright terms: Public domain W3C validator