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 31352
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 31350 . . . 4 f/c 𝑅 = (𝑓 ∈ V, 𝑐 ∈ V ↦ (𝑥 ∈ dom 𝑓 ↦ ((𝑓𝑥)𝑅𝑐)))
21a1i 11 . . 3 (𝜑 → ∘f/c 𝑅 = (𝑓 ∈ V, 𝑐 ∈ V ↦ (𝑥 ∈ dom 𝑓 ↦ ((𝑓𝑥)𝑅𝑐))))
3 simprl 769 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹𝑐 = 𝐶)) → 𝑓 = 𝐹)
43dmeqd 5769 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹𝑐 = 𝐶)) → dom 𝑓 = dom 𝐹)
53fveq1d 6667 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹𝑐 = 𝐶)) → (𝑓𝑥) = (𝐹𝑥))
6 simprr 771 . . . . 5 ((𝜑 ∧ (𝑓 = 𝐹𝑐 = 𝐶)) → 𝑐 = 𝐶)
75, 6oveq12d 7168 . . . 4 ((𝜑 ∧ (𝑓 = 𝐹𝑐 = 𝐶)) → ((𝑓𝑥)𝑅𝑐) = ((𝐹𝑥)𝑅𝐶))
84, 7mpteq12dv 5144 . . 3 ((𝜑 ∧ (𝑓 = 𝐹𝑐 = 𝐶)) → (𝑥 ∈ dom 𝑓 ↦ ((𝑓𝑥)𝑅𝑐)) = (𝑥 ∈ dom 𝐹 ↦ ((𝐹𝑥)𝑅𝐶)))
9 ofcfval.1 . . . 4 (𝜑𝐹 Fn 𝐴)
10 ofcfval.2 . . . 4 (𝜑𝐴𝑉)
11 fnex 6974 . . . 4 ((𝐹 Fn 𝐴𝐴𝑉) → 𝐹 ∈ V)
129, 10, 11syl2anc 586 . . 3 (𝜑𝐹 ∈ V)
13 ofcfval.3 . . . 4 (𝜑𝐶𝑊)
1413elexd 3515 . . 3 (𝜑𝐶 ∈ V)
159fndmd 6451 . . . . 5 (𝜑 → dom 𝐹 = 𝐴)
1615, 10eqeltrd 2913 . . . 4 (𝜑 → dom 𝐹𝑉)
1716mptexd 6981 . . 3 (𝜑 → (𝑥 ∈ dom 𝐹 ↦ ((𝐹𝑥)𝑅𝐶)) ∈ V)
182, 8, 12, 14, 17ovmpod 7296 . 2 (𝜑 → (𝐹f/c 𝑅𝐶) = (𝑥 ∈ dom 𝐹 ↦ ((𝐹𝑥)𝑅𝐶)))
1915eleq2d 2898 . . . . . 6 (𝜑 → (𝑥 ∈ dom 𝐹𝑥𝐴))
2019pm5.32i 577 . . . . 5 ((𝜑𝑥 ∈ dom 𝐹) ↔ (𝜑𝑥𝐴))
21 ofcfval.6 . . . . 5 ((𝜑𝑥𝐴) → (𝐹𝑥) = 𝐵)
2220, 21sylbi 219 . . . 4 ((𝜑𝑥 ∈ dom 𝐹) → (𝐹𝑥) = 𝐵)
2322oveq1d 7165 . . 3 ((𝜑𝑥 ∈ dom 𝐹) → ((𝐹𝑥)𝑅𝐶) = (𝐵𝑅𝐶))
2415, 23mpteq12dva 5143 . 2 (𝜑 → (𝑥 ∈ dom 𝐹 ↦ ((𝐹𝑥)𝑅𝐶)) = (𝑥𝐴 ↦ (𝐵𝑅𝐶)))
2518, 24eqtrd 2856 1 (𝜑 → (𝐹f/c 𝑅𝐶) = (𝑥𝐴 ↦ (𝐵𝑅𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wcel 2110  Vcvv 3495  cmpt 5139  dom cdm 5550   Fn wfn 6345  cfv 6350  (class class class)co 7150  cmpo 7152  f/c cofc 31349
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-rep 5183  ax-sep 5196  ax-nul 5203  ax-pr 5322
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-ov 7153  df-oprab 7154  df-mpo 7155  df-ofc 31350
This theorem is referenced by:  ofcval  31353  ofcfn  31354  ofcfeqd2  31355  ofcf  31357  ofcfval2  31358  ofcc  31360  ofcof  31361
  Copyright terms: Public domain W3C validator