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

Theorem pmtrprfv 19660
Description: In a transposition of two given points, each maps to the other. (Contributed by Stefan O'Rear, 25-Aug-2015.)
Hypothesis
Ref Expression
pmtrfval.t 𝑇 = (pmTrsp‘𝐷)
Assertion
Ref Expression
pmtrprfv ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → ((𝑇‘{𝑋, 𝑌})‘𝑋) = 𝑌)

Proof of Theorem pmtrprfv
StepHypRef Expression
1 simpl 488 . . 3 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → 𝐷 ∈ 𝑉)
2 simpr1 1213 . . . 4 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → 𝑋 ∈ 𝐷)
3 simpr2 1214 . . . 4 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → 𝑌 ∈ 𝐷)
42, 3prssd 4783 . . 3 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → {𝑋, 𝑌} ⊆ 𝐷)
5 enpr2 10076 . . . 4 ((𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌) → {𝑋, 𝑌} ≈ 2o)
65adantl 487 . . 3 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → {𝑋, 𝑌} ≈ 2o)
7 pmtrfval.t . . . 4 𝑇 = (pmTrsp‘𝐷)
87pmtrfv 19659 . . 3 (((𝐷 ∈ 𝑉 ∧ {𝑋, 𝑌} ⊆ 𝐷 ∧ {𝑋, 𝑌} ≈ 2o) ∧ 𝑋 ∈ 𝐷) → ((𝑇‘{𝑋, 𝑌})‘𝑋) = if(𝑋 ∈ {𝑋, 𝑌}, ∪ ({𝑋, 𝑌} ∖ {𝑋}), 𝑋))
91, 4, 6, 2, 8syl31anc 1400 . 2 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → ((𝑇‘{𝑋, 𝑌})‘𝑋) = if(𝑋 ∈ {𝑋, 𝑌}, ∪ ({𝑋, 𝑌} ∖ {𝑋}), 𝑋))
10 prid1g 4721 . . . . 5 (𝑋 ∈ 𝐷 → 𝑋 ∈ {𝑋, 𝑌})
112, 10syl 18 . . . 4 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → 𝑋 ∈ {𝑋, 𝑌})
1211iftrued 4490 . . 3 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → if(𝑋 ∈ {𝑋, 𝑌}, ∪ ({𝑋, 𝑌} ∖ {𝑋}), 𝑋) = ∪ ({𝑋, 𝑌} ∖ {𝑋}))
13 difprsnss 4762 . . . . . . 7 ({𝑋, 𝑌} ∖ {𝑋}) ⊆ {𝑌}
1413a1i 11 . . . . . 6 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → ({𝑋, 𝑌} ∖ {𝑋}) ⊆ {𝑌})
15 prid2g 4722 . . . . . . . . 9 (𝑌 ∈ 𝐷 → 𝑌 ∈ {𝑋, 𝑌})
163, 15syl 18 . . . . . . . 8 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → 𝑌 ∈ {𝑋, 𝑌})
17 simpr3 1215 . . . . . . . . 9 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → 𝑋 ≠ 𝑌)
1817necomd 3011 . . . . . . . 8 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → 𝑌 ≠ 𝑋)
19 eldifsn 4748 . . . . . . . 8 (𝑌 ∈ ({𝑋, 𝑌} ∖ {𝑋}) ↔ (𝑌 ∈ {𝑋, 𝑌} ∧ 𝑌 ≠ 𝑋))
2016, 18, 19sylanbrc 595 . . . . . . 7 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → 𝑌 ∈ ({𝑋, 𝑌} ∖ {𝑋}))
2120snssd 4747 . . . . . 6 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → {𝑌} ⊆ ({𝑋, 𝑌} ∖ {𝑋}))
2214, 21eqssd 3948 . . . . 5 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → ({𝑋, 𝑌} ∖ {𝑋}) = {𝑌})
2322unieqd 4880 . . . 4 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → ∪ ({𝑋, 𝑌} ∖ {𝑋}) = ∪ {𝑌})
24 unisng 4885 . . . . 5 (𝑌 ∈ 𝐷 → ∪ {𝑌} = 𝑌)
253, 24syl 18 . . . 4 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → ∪ {𝑌} = 𝑌)
2623, 25eqtrd 2796 . . 3 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → ∪ ({𝑋, 𝑌} ∖ {𝑋}) = 𝑌)
2712, 26eqtrd 2796 . 2 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → if(𝑋 ∈ {𝑋, 𝑌}, ∪ ({𝑋, 𝑌} ∖ {𝑋}), 𝑋) = 𝑌)
289, 27eqtrd 2796 1 ((𝐷 ∈ 𝑉 ∧ (𝑋 ∈ 𝐷 ∧ 𝑌 ∈ 𝐷 ∧ 𝑋 ≠ 𝑌)) → ((𝑇‘{𝑋, 𝑌})‘𝑋) = 𝑌)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2956   ∖ cdif 3896   ⊆ wss 3899  ifcif 4482  {csn 4584  {cpr 4586  ∪ cuni 4867   class class class wbr 5103  ‘cfv 6537  2oc2o 8463   ≈ cen 8963  pmTrspcpmtr 19648
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 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-1o 8469  df-2o 8470  df-en 8967  df-pmtr 19649
This theorem is used by:  symggen  19677  pmtr3ncomlem1  19680  mdetralt  22916  mdetunilem7  22926  pmtrprfv2  33642  pmtridfv1  33649  psgnfzto1stlem  33654
  Copyright terms: Public domain W3C validator