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

Theorem pmtrfval 18091
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 (𝐷𝑉𝑇 = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2𝑜} ↦ (𝑧𝐷 ↦ 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 3353 . . 3 (𝐷𝑉𝐷 ∈ V)
3 pweq 4306 . . . . . 6 (𝑑 = 𝐷 → 𝒫 𝑑 = 𝒫 𝐷)
43rabeqdv 3335 . . . . 5 (𝑑 = 𝐷 → {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜} = {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2𝑜})
5 mpteq1 4890 . . . . 5 (𝑑 = 𝐷 → (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧)) = (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧)))
64, 5mpteq12dv 4886 . . . 4 (𝑑 = 𝐷 → (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))) = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2𝑜} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
7 df-pmtr 18083 . . . 4 pmTrsp = (𝑑 ∈ V ↦ (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
8 vpwex 4999 . . . . 5 𝒫 𝑑 ∈ V
98mptrabex 6654 . . . 4 (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))) ∈ V
106, 7, 9fvmpt3i 6451 . . 3 (𝐷 ∈ V → (pmTrsp‘𝐷) = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2𝑜} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
112, 10syl 17 . 2 (𝐷𝑉 → (pmTrsp‘𝐷) = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2𝑜} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
121, 11syl5eq 2807 1 (𝐷𝑉𝑇 = (𝑝 ∈ {𝑦 ∈ 𝒫 𝐷𝑦 ≈ 2𝑜} ↦ (𝑧𝐷 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1632  wcel 2140  {crab 3055  Vcvv 3341  cdif 3713  ifcif 4231  𝒫 cpw 4303  {csn 4322   cuni 4589   class class class wbr 4805  cmpt 4882  cfv 6050  2𝑜c2o 7725  cen 8121  pmTrspcpmtr 18082
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1989  ax-6 2055  ax-7 2091  ax-9 2149  ax-10 2169  ax-11 2184  ax-12 2197  ax-13 2392  ax-ext 2741  ax-rep 4924  ax-sep 4934  ax-nul 4942  ax-pow 4993  ax-pr 5056
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2048  df-eu 2612  df-mo 2613  df-clab 2748  df-cleq 2754  df-clel 2757  df-nfc 2892  df-ne 2934  df-ral 3056  df-rex 3057  df-reu 3058  df-rab 3060  df-v 3343  df-sbc 3578  df-csb 3676  df-dif 3719  df-un 3721  df-in 3723  df-ss 3730  df-nul 4060  df-if 4232  df-pw 4305  df-sn 4323  df-pr 4325  df-op 4329  df-uni 4590  df-iun 4675  df-br 4806  df-opab 4866  df-mpt 4883  df-id 5175  df-xp 5273  df-rel 5274  df-cnv 5275  df-co 5276  df-dm 5277  df-rn 5278  df-res 5279  df-ima 5280  df-iota 6013  df-fun 6052  df-fn 6053  df-f 6054  df-f1 6055  df-fo 6056  df-f1o 6057  df-fv 6058  df-pmtr 18083
This theorem is referenced by:  pmtrval  18092  pmtrrn  18098  pmtrfrn  18099  pmtrprfval  18128  pmtrsn  18160
  Copyright terms: Public domain W3C validator