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

Theorem pmtrfval 18875
Description: The function generating transpositions on a set. (Contributed by Stefan O'Rear, 16-Aug-2015.)
Hypothesis
Ref Expression
pmtrfval.t 𝑇 = (pmTrsp‘𝐷)
Assertion
Ref Expression
pmtrfval (𝐷𝑉𝑇 = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
Distinct variable groups:   𝑦,𝑝,𝑧,𝐷   𝑇,𝑝,𝑦,𝑧   𝑧,𝑉
Allowed substitution hints:   𝑉(𝑦,𝑝)

Proof of Theorem pmtrfval
Dummy variable 𝑑 is distinct from all other variables.
StepHypRef Expression
1 pmtrfval.t . 2 𝑇 = (pmTrsp‘𝐷)
2 elex 3441 . . 3 (𝐷𝑉𝐷 ∈ V)
3 pweq 4546 . . . . . 6 (𝑑 = 𝐷 → 𝒫 𝑑 = 𝒫 𝐷)
43rabeqdv 3410 . . . . 5 (𝑑 = 𝐷 → {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2o} = {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2o})
5 mpteq1 5160 . . . . 5 (𝑑 = 𝐷 → (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧)) = (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧)))
64, 5mpteq12dv 5157 . . . 4 (𝑑 = 𝐷 → (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2o} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))) = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
7 df-pmtr 18867 . . . 4 pmTrsp = (𝑑 ∈ V ↦ (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2o} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
8 vpwex 5287 . . . . 5 𝒫 𝑑 ∈ V
98mptrabex 7063 . . . 4 (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2o} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))) ∈ V
106, 7, 9fvmpt3i 6845 . . 3 (𝐷 ∈ V → (pmTrsp‘𝐷) = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
112, 10syl 17 . 2 (𝐷𝑉 → (pmTrsp‘𝐷) = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
121, 11eqtrid 2791 1 (𝐷𝑉𝑇 = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1543  wcel 2112  {crab 3068  Vcvv 3423  cdif 3880  ifcif 4456  𝒫 cpw 4530  {csn 4558   cuni 4836   class class class wbr 5070  cmpt 5152  cfv 6401  2oc2o 8220  cen 8647  pmTrspcpmtr 18866
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2710  ax-rep 5196  ax-sep 5209  ax-nul 5216  ax-pow 5275  ax-pr 5339
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2818  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3071  df-rab 3073  df-v 3425  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4255  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5153  df-id 5472  df-xp 5575  df-rel 5576  df-cnv 5577  df-co 5578  df-dm 5579  df-rn 5580  df-res 5581  df-ima 5582  df-iota 6359  df-fun 6403  df-fn 6404  df-f 6405  df-f1 6406  df-fo 6407  df-f1o 6408  df-fv 6409  df-pmtr 18867
This theorem is referenced by:  pmtrval  18876  pmtrrn  18882  pmtrfrn  18883  pmtrprfval  18912  pmtrsn  18944  trsp2cyc  31141
  Copyright terms: Public domain W3C validator