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

Theorem pmtrfrn 18981
Description: A transposition (as a kind of function) is the function transposing the two points it moves. (Contributed by Stefan O'Rear, 22-Aug-2015.)
Hypotheses
Ref Expression
pmtrrn.t 𝑇 = (pmTrsp‘𝐷)
pmtrrn.r 𝑅 = ran 𝑇
pmtrfrn.p 𝑃 = dom (𝐹 ∖ I )
Assertion
Ref Expression
pmtrfrn (𝐹𝑅 → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃)))

Proof of Theorem pmtrfrn
Dummy variables 𝑥 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 noel 4261 . . . 4 ¬ 𝐹 ∈ ∅
2 pmtrrn.r . . . . . 6 𝑅 = ran 𝑇
3 pmtrrn.t . . . . . . 7 𝑇 = (pmTrsp‘𝐷)
43rnfvprc 6750 . . . . . 6 𝐷 ∈ V → ran 𝑇 = ∅)
52, 4eqtrid 2790 . . . . 5 𝐷 ∈ V → 𝑅 = ∅)
65eleq2d 2824 . . . 4 𝐷 ∈ V → (𝐹𝑅𝐹 ∈ ∅))
71, 6mtbiri 326 . . 3 𝐷 ∈ V → ¬ 𝐹𝑅)
87con4i 114 . 2 (𝐹𝑅𝐷 ∈ V)
9 mptexg 7079 . . . . . . . 8 (𝐷 ∈ V → (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧)) ∈ V)
109ralrimivw 3108 . . . . . . 7 (𝐷 ∈ V → ∀𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧)) ∈ V)
11 eqid 2738 . . . . . . . 8 (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))) = (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧)))
1211fnmpt 6557 . . . . . . 7 (∀𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧)) ∈ V → (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))) Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o})
1310, 12syl 17 . . . . . 6 (𝐷 ∈ V → (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))) Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o})
143pmtrfval 18973 . . . . . . 7 (𝐷 ∈ V → 𝑇 = (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))))
1514fneq1d 6510 . . . . . 6 (𝐷 ∈ V → (𝑇 Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↔ (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))) Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o}))
1613, 15mpbird 256 . . . . 5 (𝐷 ∈ V → 𝑇 Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o})
17 fvelrnb 6812 . . . . 5 (𝑇 Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} → (𝐹 ∈ ran 𝑇 ↔ ∃𝑦 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑇𝑦) = 𝐹))
1816, 17syl 17 . . . 4 (𝐷 ∈ V → (𝐹 ∈ ran 𝑇 ↔ ∃𝑦 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑇𝑦) = 𝐹))
192eleq2i 2830 . . . 4 (𝐹𝑅𝐹 ∈ ran 𝑇)
20 breq1 5073 . . . . . 6 (𝑥 = 𝑦 → (𝑥 ≈ 2o𝑦 ≈ 2o))
2120rexrab 3626 . . . . 5 (∃𝑦 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑇𝑦) = 𝐹 ↔ ∃𝑦 ∈ 𝒫 𝐷(𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹))
2221bicomi 223 . . . 4 (∃𝑦 ∈ 𝒫 𝐷(𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹) ↔ ∃𝑦 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑇𝑦) = 𝐹)
2318, 19, 223bitr4g 313 . . 3 (𝐷 ∈ V → (𝐹𝑅 ↔ ∃𝑦 ∈ 𝒫 𝐷(𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹)))
24 elpwi 4539 . . . . 5 (𝑦 ∈ 𝒫 𝐷𝑦𝐷)
25 simp1 1134 . . . . . . . . . 10 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → 𝐷 ∈ V)
263pmtrmvd 18979 . . . . . . . . . . 11 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → dom ((𝑇𝑦) ∖ I ) = 𝑦)
27 simp2 1135 . . . . . . . . . . 11 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → 𝑦𝐷)
2826, 27eqsstrd 3955 . . . . . . . . . 10 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷)
29 simp3 1136 . . . . . . . . . . 11 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → 𝑦 ≈ 2o)
3026, 29eqbrtrd 5092 . . . . . . . . . 10 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → dom ((𝑇𝑦) ∖ I ) ≈ 2o)
3125, 28, 303jca 1126 . . . . . . . . 9 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → (𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o))
3226eqcomd 2744 . . . . . . . . . 10 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → 𝑦 = dom ((𝑇𝑦) ∖ I ))
3332fveq2d 6760 . . . . . . . . 9 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → (𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I )))
3431, 33jca 511 . . . . . . . 8 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → ((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ∧ (𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I ))))
35 difeq1 4046 . . . . . . . . . . 11 ((𝑇𝑦) = 𝐹 → ((𝑇𝑦) ∖ I ) = (𝐹 ∖ I ))
3635dmeqd 5803 . . . . . . . . . 10 ((𝑇𝑦) = 𝐹 → dom ((𝑇𝑦) ∖ I ) = dom (𝐹 ∖ I ))
37 pmtrfrn.p . . . . . . . . . 10 𝑃 = dom (𝐹 ∖ I )
3836, 37eqtr4di 2797 . . . . . . . . 9 ((𝑇𝑦) = 𝐹 → dom ((𝑇𝑦) ∖ I ) = 𝑃)
39 sseq1 3942 . . . . . . . . . . . 12 (dom ((𝑇𝑦) ∖ I ) = 𝑃 → (dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷𝑃𝐷))
40 breq1 5073 . . . . . . . . . . . 12 (dom ((𝑇𝑦) ∖ I ) = 𝑃 → (dom ((𝑇𝑦) ∖ I ) ≈ 2o𝑃 ≈ 2o))
4139, 403anbi23d 1437 . . . . . . . . . . 11 (dom ((𝑇𝑦) ∖ I ) = 𝑃 → ((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ↔ (𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o)))
4241adantl 481 . . . . . . . . . 10 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → ((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ↔ (𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o)))
43 simpl 482 . . . . . . . . . . 11 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → (𝑇𝑦) = 𝐹)
44 fveq2 6756 . . . . . . . . . . . 12 (dom ((𝑇𝑦) ∖ I ) = 𝑃 → (𝑇‘dom ((𝑇𝑦) ∖ I )) = (𝑇𝑃))
4544adantl 481 . . . . . . . . . . 11 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → (𝑇‘dom ((𝑇𝑦) ∖ I )) = (𝑇𝑃))
4643, 45eqeq12d 2754 . . . . . . . . . 10 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → ((𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I )) ↔ 𝐹 = (𝑇𝑃)))
4742, 46anbi12d 630 . . . . . . . . 9 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → (((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ∧ (𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I ))) ↔ ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))
4838, 47mpdan 683 . . . . . . . 8 ((𝑇𝑦) = 𝐹 → (((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ∧ (𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I ))) ↔ ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))
4934, 48syl5ibcom 244 . . . . . . 7 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → ((𝑇𝑦) = 𝐹 → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))
50493exp 1117 . . . . . 6 (𝐷 ∈ V → (𝑦𝐷 → (𝑦 ≈ 2o → ((𝑇𝑦) = 𝐹 → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))))
5150imp4a 422 . . . . 5 (𝐷 ∈ V → (𝑦𝐷 → ((𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹) → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃)))))
5224, 51syl5 34 . . . 4 (𝐷 ∈ V → (𝑦 ∈ 𝒫 𝐷 → ((𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹) → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃)))))
5352rexlimdv 3211 . . 3 (𝐷 ∈ V → (∃𝑦 ∈ 𝒫 𝐷(𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹) → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))
5423, 53sylbid 239 . 2 (𝐷 ∈ V → (𝐹𝑅 → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))
558, 54mpcom 38 1 (𝐹𝑅 → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  wrex 3064  {crab 3067  Vcvv 3422  cdif 3880  wss 3883  c0 4253  ifcif 4456  𝒫 cpw 4530  {csn 4558   cuni 4836   class class class wbr 5070  cmpt 5153   I cid 5479  dom cdm 5580  ran crn 5581   Fn wfn 6413  cfv 6418  2oc2o 8261  cen 8688  pmTrspcpmtr 18964
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-om 7688  df-1o 8267  df-2o 8268  df-en 8692  df-pmtr 18965
This theorem is referenced by:  pmtrffv  18982  pmtrrn2  18983  pmtrfinv  18984  pmtrfmvdn0  18985  pmtrff1o  18986  pmtrfcnv  18987  pmtrfb  18988
  Copyright terms: Public domain W3C validator