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

Theorem pmtrfrn 19066
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 4264 . . . 4 ¬ 𝐹 ∈ ∅
2 pmtrrn.r . . . . . 6 𝑅 = ran 𝑇
3 pmtrrn.t . . . . . . 7 𝑇 = (pmTrsp‘𝐷)
43rnfvprc 6768 . . . . . 6 𝐷 ∈ V → ran 𝑇 = ∅)
52, 4eqtrid 2790 . . . . 5 𝐷 ∈ V → 𝑅 = ∅)
65eleq2d 2824 . . . 4 𝐷 ∈ V → (𝐹𝑅𝐹 ∈ ∅))
71, 6mtbiri 327 . . 3 𝐷 ∈ V → ¬ 𝐹𝑅)
87con4i 114 . 2 (𝐹𝑅𝐷 ∈ V)
9 mptexg 7097 . . . . . . . 8 (𝐷 ∈ V → (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧)) ∈ V)
109ralrimivw 3104 . . . . . . 7 (𝐷 ∈ V → ∀𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧)) ∈ V)
11 eqid 2738 . . . . . . . 8 (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))) = (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧)))
1211fnmpt 6573 . . . . . . 7 (∀𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧)) ∈ V → (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))) Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o})
1310, 12syl 17 . . . . . 6 (𝐷 ∈ V → (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))) Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o})
143pmtrfval 19058 . . . . . . 7 (𝐷 ∈ V → 𝑇 = (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))))
1514fneq1d 6526 . . . . . 6 (𝐷 ∈ V → (𝑇 Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↔ (𝑤 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} ↦ (𝑧𝐷 ↦ if(𝑧𝑤, (𝑤 ∖ {𝑧}), 𝑧))) Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o}))
1613, 15mpbird 256 . . . . 5 (𝐷 ∈ V → 𝑇 Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o})
17 fvelrnb 6830 . . . . 5 (𝑇 Fn {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} → (𝐹 ∈ ran 𝑇 ↔ ∃𝑦 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑇𝑦) = 𝐹))
1816, 17syl 17 . . . 4 (𝐷 ∈ V → (𝐹 ∈ ran 𝑇 ↔ ∃𝑦 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑇𝑦) = 𝐹))
192eleq2i 2830 . . . 4 (𝐹𝑅𝐹 ∈ ran 𝑇)
20 breq1 5077 . . . . . 6 (𝑥 = 𝑦 → (𝑥 ≈ 2o𝑦 ≈ 2o))
2120rexrab 3633 . . . . 5 (∃𝑦 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑇𝑦) = 𝐹 ↔ ∃𝑦 ∈ 𝒫 𝐷(𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹))
2221bicomi 223 . . . 4 (∃𝑦 ∈ 𝒫 𝐷(𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹) ↔ ∃𝑦 ∈ {𝑥 ∈ 𝒫 𝐷𝑥 ≈ 2o} (𝑇𝑦) = 𝐹)
2318, 19, 223bitr4g 314 . . 3 (𝐷 ∈ V → (𝐹𝑅 ↔ ∃𝑦 ∈ 𝒫 𝐷(𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹)))
24 elpwi 4542 . . . . 5 (𝑦 ∈ 𝒫 𝐷𝑦𝐷)
25 simp1 1135 . . . . . . . . . 10 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → 𝐷 ∈ V)
263pmtrmvd 19064 . . . . . . . . . . 11 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → dom ((𝑇𝑦) ∖ I ) = 𝑦)
27 simp2 1136 . . . . . . . . . . 11 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → 𝑦𝐷)
2826, 27eqsstrd 3959 . . . . . . . . . 10 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷)
29 simp3 1137 . . . . . . . . . . 11 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → 𝑦 ≈ 2o)
3026, 29eqbrtrd 5096 . . . . . . . . . 10 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → dom ((𝑇𝑦) ∖ I ) ≈ 2o)
3125, 28, 303jca 1127 . . . . . . . . 9 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → (𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o))
3226eqcomd 2744 . . . . . . . . . 10 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → 𝑦 = dom ((𝑇𝑦) ∖ I ))
3332fveq2d 6778 . . . . . . . . 9 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → (𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I )))
3431, 33jca 512 . . . . . . . 8 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → ((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ∧ (𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I ))))
35 difeq1 4050 . . . . . . . . . . 11 ((𝑇𝑦) = 𝐹 → ((𝑇𝑦) ∖ I ) = (𝐹 ∖ I ))
3635dmeqd 5814 . . . . . . . . . 10 ((𝑇𝑦) = 𝐹 → dom ((𝑇𝑦) ∖ I ) = dom (𝐹 ∖ I ))
37 pmtrfrn.p . . . . . . . . . 10 𝑃 = dom (𝐹 ∖ I )
3836, 37eqtr4di 2796 . . . . . . . . 9 ((𝑇𝑦) = 𝐹 → dom ((𝑇𝑦) ∖ I ) = 𝑃)
39 sseq1 3946 . . . . . . . . . . . 12 (dom ((𝑇𝑦) ∖ I ) = 𝑃 → (dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷𝑃𝐷))
40 breq1 5077 . . . . . . . . . . . 12 (dom ((𝑇𝑦) ∖ I ) = 𝑃 → (dom ((𝑇𝑦) ∖ I ) ≈ 2o𝑃 ≈ 2o))
4139, 403anbi23d 1438 . . . . . . . . . . 11 (dom ((𝑇𝑦) ∖ I ) = 𝑃 → ((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ↔ (𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o)))
4241adantl 482 . . . . . . . . . 10 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → ((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ↔ (𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o)))
43 simpl 483 . . . . . . . . . . 11 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → (𝑇𝑦) = 𝐹)
44 fveq2 6774 . . . . . . . . . . . 12 (dom ((𝑇𝑦) ∖ I ) = 𝑃 → (𝑇‘dom ((𝑇𝑦) ∖ I )) = (𝑇𝑃))
4544adantl 482 . . . . . . . . . . 11 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → (𝑇‘dom ((𝑇𝑦) ∖ I )) = (𝑇𝑃))
4643, 45eqeq12d 2754 . . . . . . . . . 10 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → ((𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I )) ↔ 𝐹 = (𝑇𝑃)))
4742, 46anbi12d 631 . . . . . . . . 9 (((𝑇𝑦) = 𝐹 ∧ dom ((𝑇𝑦) ∖ I ) = 𝑃) → (((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ∧ (𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I ))) ↔ ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))
4838, 47mpdan 684 . . . . . . . 8 ((𝑇𝑦) = 𝐹 → (((𝐷 ∈ V ∧ dom ((𝑇𝑦) ∖ I ) ⊆ 𝐷 ∧ dom ((𝑇𝑦) ∖ I ) ≈ 2o) ∧ (𝑇𝑦) = (𝑇‘dom ((𝑇𝑦) ∖ I ))) ↔ ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))
4934, 48syl5ibcom 244 . . . . . . 7 ((𝐷 ∈ V ∧ 𝑦𝐷𝑦 ≈ 2o) → ((𝑇𝑦) = 𝐹 → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))
50493exp 1118 . . . . . 6 (𝐷 ∈ V → (𝑦𝐷 → (𝑦 ≈ 2o → ((𝑇𝑦) = 𝐹 → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃))))))
5150imp4a 423 . . . . 5 (𝐷 ∈ V → (𝑦𝐷 → ((𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹) → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃)))))
5224, 51syl5 34 . . . 4 (𝐷 ∈ V → (𝑦 ∈ 𝒫 𝐷 → ((𝑦 ≈ 2o ∧ (𝑇𝑦) = 𝐹) → ((𝐷 ∈ V ∧ 𝑃𝐷𝑃 ≈ 2o) ∧ 𝐹 = (𝑇𝑃)))))
5352rexlimdv 3212 . . 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 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  wrex 3065  {crab 3068  Vcvv 3432  cdif 3884  wss 3887  c0 4256  ifcif 4459  𝒫 cpw 4533  {csn 4561   cuni 4839   class class class wbr 5074  cmpt 5157   I cid 5488  dom cdm 5589  ran crn 5590   Fn wfn 6428  cfv 6433  2oc2o 8291  cen 8730  pmTrspcpmtr 19049
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-om 7713  df-1o 8297  df-2o 8298  df-en 8734  df-pmtr 19050
This theorem is referenced by:  pmtrffv  19067  pmtrrn2  19068  pmtrfinv  19069  pmtrfmvdn0  19070  pmtrff1o  19071  pmtrfcnv  19072  pmtrfb  19073
  Copyright terms: Public domain W3C validator