MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  caofid0r Structured version   Visualization version   GIF version

Theorem caofid0r 7721
Description: Transfer a right identity law to the function operation. (Contributed by NM, 21-Oct-2014.)
Hypotheses
Ref Expression
caofref.1 (𝜑𝐴𝑉)
caofref.2 (𝜑𝐹:𝐴𝑆)
caofid0.3 (𝜑𝐵𝑊)
caofid0r.5 ((𝜑𝑥𝑆) → (𝑥𝑅𝐵) = 𝑥)
Assertion
Ref Expression
caofid0r (𝜑 → (𝐹f 𝑅(𝐴 × {𝐵})) = 𝐹)
Distinct variable groups:   𝑥,𝐵   𝑥,𝐹   𝜑,𝑥   𝑥,𝑅   𝑥,𝑆
Allowed substitution hints:   𝐴(𝑥)   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem caofid0r
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 caofref.1 . 2 (𝜑𝐴𝑉)
2 caofref.2 . . 3 (𝜑𝐹:𝐴𝑆)
32ffnd 6713 . 2 (𝜑𝐹 Fn 𝐴)
4 caofid0.3 . . 3 (𝜑𝐵𝑊)
5 fnconstg 6773 . . 3 (𝐵𝑊 → (𝐴 × {𝐵}) Fn 𝐴)
64, 5syl 18 . 2 (𝜑 → (𝐴 × {𝐵}) Fn 𝐴)
7 eqidd 2767 . 2 ((𝜑𝑤𝐴) → (𝐹𝑤) = (𝐹𝑤))
8 fvconst2g 7207 . . 3 ((𝐵𝑊𝑤𝐴) → ((𝐴 × {𝐵})‘𝑤) = 𝐵)
94, 8sylan 592 . 2 ((𝜑𝑤𝐴) → ((𝐴 × {𝐵})‘𝑤) = 𝐵)
10 caofid0r.5 . . . 4 ((𝜑𝑥𝑆) → (𝑥𝑅𝐵) = 𝑥)
1110ralrimiva 3160 . . 3 (𝜑 → ∀𝑥𝑆 (𝑥𝑅𝐵) = 𝑥)
122ffvelcdmda 7086 . . 3 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝑆)
13 oveq1 7430 . . . . 5 (𝑥 = (𝐹𝑤) → (𝑥𝑅𝐵) = ((𝐹𝑤)𝑅𝐵))
14 id 23 . . . . 5 (𝑥 = (𝐹𝑤) → 𝑥 = (𝐹𝑤))
1513, 14eqeq12d 2782 . . . 4 (𝑥 = (𝐹𝑤) → ((𝑥𝑅𝐵) = 𝑥 ↔ ((𝐹𝑤)𝑅𝐵) = (𝐹𝑤)))
1615rspccva 3583 . . 3 ((∀𝑥𝑆 (𝑥𝑅𝐵) = 𝑥 ∧ (𝐹𝑤) ∈ 𝑆) → ((𝐹𝑤)𝑅𝐵) = (𝐹𝑤))
1711, 12, 16syl2an2r 698 . 2 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑅𝐵) = (𝐹𝑤))
181, 3, 6, 3, 7, 9, 17offveq 7713 1 (𝜑 → (𝐹f 𝑅(𝐴 × {𝐵})) = 𝐹)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2146  wral 3082  {csn 4594   × cxp 5664   Fn wfn 6538  wf 6539  cfv 6543  (class class class)co 7423  f cof 7685
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 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-rep 5243  ax-sep 5262  ax-nul 5274  ax-pr 5409
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 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-ral 3083  df-rex 3093  df-reu 3373  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-iun 4963  df-br 5115  df-opab 5179  df-mpt 5198  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7426  df-oprab 7427  df-mpo 7428  df-of 7687
This theorem is used by:  mndvrid  18889  psrlidm  22148  psdmul  22366  lfl1sc  39899
  Copyright terms: Public domain W3C validator