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

Definition df-pmtr 17983
 Description: Define a function that generates the transpositions on a set. (Contributed by Stefan O'Rear, 16-Aug-2015.)
Assertion
Ref Expression
df-pmtr pmTrsp = (𝑑 ∈ V ↦ (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
Distinct variable group:   𝑝,𝑑,𝑦,𝑧

Detailed syntax breakdown of Definition df-pmtr
StepHypRef Expression
1 cpmtr 17982 . 2 class pmTrsp
2 vd . . 3 setvar 𝑑
3 cvv 3304 . . 3 class V
4 vp . . . 4 setvar 𝑝
5 vy . . . . . . 7 setvar 𝑦
65cv 1595 . . . . . 6 class 𝑦
7 c2o 7674 . . . . . 6 class 2𝑜
8 cen 8069 . . . . . 6 class
96, 7, 8wbr 4760 . . . . 5 wff 𝑦 ≈ 2𝑜
102cv 1595 . . . . . 6 class 𝑑
1110cpw 4266 . . . . 5 class 𝒫 𝑑
129, 5, 11crab 3018 . . . 4 class {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜}
13 vz . . . . 5 setvar 𝑧
1413, 4wel 2104 . . . . . 6 wff 𝑧𝑝
154cv 1595 . . . . . . . 8 class 𝑝
1613cv 1595 . . . . . . . . 9 class 𝑧
1716csn 4285 . . . . . . . 8 class {𝑧}
1815, 17cdif 3677 . . . . . . 7 class (𝑝 ∖ {𝑧})
1918cuni 4544 . . . . . 6 class (𝑝 ∖ {𝑧})
2014, 19, 16cif 4194 . . . . 5 class if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧)
2113, 10, 20cmpt 4837 . . . 4 class (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))
224, 12, 21cmpt 4837 . . 3 class (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧)))
232, 3, 22cmpt 4837 . 2 class (𝑑 ∈ V ↦ (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
241, 23wceq 1596 1 wff pmTrsp = (𝑑 ∈ V ↦ (𝑝 ∈ {𝑦 ∈ 𝒫 𝑑𝑦 ≈ 2𝑜} ↦ (𝑧𝑑 ↦ if(𝑧𝑝, (𝑝 ∖ {𝑧}), 𝑧))))
 Colors of variables: wff setvar class This definition is referenced by:  pmtrfval  17991
 Copyright terms: Public domain W3C validator