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

Theorem pmtrfinv 17704
 Description: A transposition function is an involution. (Contributed by Stefan O'Rear, 22-Aug-2015.)
Hypotheses
Ref Expression
pmtrrn.t 𝑇 = (pmTrsp‘𝐷)
pmtrrn.r 𝑅 = ran 𝑇
Assertion
Ref Expression
pmtrfinv (𝐹𝑅 → (𝐹𝐹) = ( I ↾ 𝐷))

Proof of Theorem pmtrfinv
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 pmtrrn.t . . . . . . 7 𝑇 = (pmTrsp‘𝐷)
2 pmtrrn.r . . . . . . 7 𝑅 = ran 𝑇
3 eqid 2610 . . . . . . 7 dom (𝐹 ∖ I ) = dom (𝐹 ∖ I )
41, 2, 3pmtrfrn 17701 . . . . . 6 (𝐹𝑅 → ((𝐷 ∈ V ∧ dom (𝐹 ∖ I ) ⊆ 𝐷 ∧ dom (𝐹 ∖ I ) ≈ 2𝑜) ∧ 𝐹 = (𝑇‘dom (𝐹 ∖ I ))))
54simpld 474 . . . . 5 (𝐹𝑅 → (𝐷 ∈ V ∧ dom (𝐹 ∖ I ) ⊆ 𝐷 ∧ dom (𝐹 ∖ I ) ≈ 2𝑜))
61pmtrf 17698 . . . . 5 ((𝐷 ∈ V ∧ dom (𝐹 ∖ I ) ⊆ 𝐷 ∧ dom (𝐹 ∖ I ) ≈ 2𝑜) → (𝑇‘dom (𝐹 ∖ I )):𝐷𝐷)
75, 6syl 17 . . . 4 (𝐹𝑅 → (𝑇‘dom (𝐹 ∖ I )):𝐷𝐷)
84simprd 478 . . . . 5 (𝐹𝑅𝐹 = (𝑇‘dom (𝐹 ∖ I )))
98feq1d 5943 . . . 4 (𝐹𝑅 → (𝐹:𝐷𝐷 ↔ (𝑇‘dom (𝐹 ∖ I )):𝐷𝐷))
107, 9mpbird 246 . . 3 (𝐹𝑅𝐹:𝐷𝐷)
11 fco 5971 . . . 4 ((𝐹:𝐷𝐷𝐹:𝐷𝐷) → (𝐹𝐹):𝐷𝐷)
1211anidms 675 . . 3 (𝐹:𝐷𝐷 → (𝐹𝐹):𝐷𝐷)
13 ffn 5958 . . 3 ((𝐹𝐹):𝐷𝐷 → (𝐹𝐹) Fn 𝐷)
1410, 12, 133syl 18 . 2 (𝐹𝑅 → (𝐹𝐹) Fn 𝐷)
15 fnresi 5922 . . 3 ( I ↾ 𝐷) Fn 𝐷
1615a1i 11 . 2 (𝐹𝑅 → ( I ↾ 𝐷) Fn 𝐷)
171, 2, 3pmtrffv 17702 . . . . . . 7 ((𝐹𝑅𝑥𝐷) → (𝐹𝑥) = if(𝑥 ∈ dom (𝐹 ∖ I ), (dom (𝐹 ∖ I ) ∖ {𝑥}), 𝑥))
18 iftrue 4042 . . . . . . 7 (𝑥 ∈ dom (𝐹 ∖ I ) → if(𝑥 ∈ dom (𝐹 ∖ I ), (dom (𝐹 ∖ I ) ∖ {𝑥}), 𝑥) = (dom (𝐹 ∖ I ) ∖ {𝑥}))
1917, 18sylan9eq 2664 . . . . . 6 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (𝐹𝑥) = (dom (𝐹 ∖ I ) ∖ {𝑥}))
2019fveq2d 6107 . . . . 5 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (𝐹‘(𝐹𝑥)) = (𝐹 (dom (𝐹 ∖ I ) ∖ {𝑥})))
21 simpll 786 . . . . . . 7 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → 𝐹𝑅)
225simp2d 1067 . . . . . . . . 9 (𝐹𝑅 → dom (𝐹 ∖ I ) ⊆ 𝐷)
2322ad2antrr 758 . . . . . . . 8 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → dom (𝐹 ∖ I ) ⊆ 𝐷)
24 1onn 7606 . . . . . . . . . . . 12 1𝑜 ∈ ω
2524a1i 11 . . . . . . . . . . 11 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → 1𝑜 ∈ ω)
265simp3d 1068 . . . . . . . . . . . . 13 (𝐹𝑅 → dom (𝐹 ∖ I ) ≈ 2𝑜)
27 df-2o 7448 . . . . . . . . . . . . 13 2𝑜 = suc 1𝑜
2826, 27syl6breq 4624 . . . . . . . . . . . 12 (𝐹𝑅 → dom (𝐹 ∖ I ) ≈ suc 1𝑜)
2928ad2antrr 758 . . . . . . . . . . 11 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → dom (𝐹 ∖ I ) ≈ suc 1𝑜)
30 simpr 476 . . . . . . . . . . 11 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → 𝑥 ∈ dom (𝐹 ∖ I ))
31 dif1en 8078 . . . . . . . . . . 11 ((1𝑜 ∈ ω ∧ dom (𝐹 ∖ I ) ≈ suc 1𝑜𝑥 ∈ dom (𝐹 ∖ I )) → (dom (𝐹 ∖ I ) ∖ {𝑥}) ≈ 1𝑜)
3225, 29, 30, 31syl3anc 1318 . . . . . . . . . 10 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (dom (𝐹 ∖ I ) ∖ {𝑥}) ≈ 1𝑜)
33 en1uniel 7914 . . . . . . . . . 10 ((dom (𝐹 ∖ I ) ∖ {𝑥}) ≈ 1𝑜 (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ (dom (𝐹 ∖ I ) ∖ {𝑥}))
3432, 33syl 17 . . . . . . . . 9 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ (dom (𝐹 ∖ I ) ∖ {𝑥}))
3534eldifad 3552 . . . . . . . 8 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ dom (𝐹 ∖ I ))
3623, 35sseldd 3569 . . . . . . 7 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ 𝐷)
371, 2, 3pmtrffv 17702 . . . . . . 7 ((𝐹𝑅 (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ 𝐷) → (𝐹 (dom (𝐹 ∖ I ) ∖ {𝑥})) = if( (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ dom (𝐹 ∖ I ), (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}), (dom (𝐹 ∖ I ) ∖ {𝑥})))
3821, 36, 37syl2anc 691 . . . . . 6 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (𝐹 (dom (𝐹 ∖ I ) ∖ {𝑥})) = if( (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ dom (𝐹 ∖ I ), (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}), (dom (𝐹 ∖ I ) ∖ {𝑥})))
39 iftrue 4042 . . . . . . . 8 ( (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ dom (𝐹 ∖ I ) → if( (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ dom (𝐹 ∖ I ), (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}), (dom (𝐹 ∖ I ) ∖ {𝑥})) = (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}))
4035, 39syl 17 . . . . . . 7 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → if( (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ dom (𝐹 ∖ I ), (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}), (dom (𝐹 ∖ I ) ∖ {𝑥})) = (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}))
4126adantr 480 . . . . . . . 8 ((𝐹𝑅𝑥𝐷) → dom (𝐹 ∖ I ) ≈ 2𝑜)
42 en2other2 8715 . . . . . . . . 9 ((𝑥 ∈ dom (𝐹 ∖ I ) ∧ dom (𝐹 ∖ I ) ≈ 2𝑜) → (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}) = 𝑥)
4342ancoms 468 . . . . . . . 8 ((dom (𝐹 ∖ I ) ≈ 2𝑜𝑥 ∈ dom (𝐹 ∖ I )) → (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}) = 𝑥)
4441, 43sylan 487 . . . . . . 7 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}) = 𝑥)
4540, 44eqtrd 2644 . . . . . 6 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → if( (dom (𝐹 ∖ I ) ∖ {𝑥}) ∈ dom (𝐹 ∖ I ), (dom (𝐹 ∖ I ) ∖ { (dom (𝐹 ∖ I ) ∖ {𝑥})}), (dom (𝐹 ∖ I ) ∖ {𝑥})) = 𝑥)
4638, 45eqtrd 2644 . . . . 5 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (𝐹 (dom (𝐹 ∖ I ) ∖ {𝑥})) = 𝑥)
4720, 46eqtrd 2644 . . . 4 (((𝐹𝑅𝑥𝐷) ∧ 𝑥 ∈ dom (𝐹 ∖ I )) → (𝐹‘(𝐹𝑥)) = 𝑥)
48 ffn 5958 . . . . . . . . 9 (𝐹:𝐷𝐷𝐹 Fn 𝐷)
4910, 48syl 17 . . . . . . . 8 (𝐹𝑅𝐹 Fn 𝐷)
50 fnelnfp 6348 . . . . . . . 8 ((𝐹 Fn 𝐷𝑥𝐷) → (𝑥 ∈ dom (𝐹 ∖ I ) ↔ (𝐹𝑥) ≠ 𝑥))
5149, 50sylan 487 . . . . . . 7 ((𝐹𝑅𝑥𝐷) → (𝑥 ∈ dom (𝐹 ∖ I ) ↔ (𝐹𝑥) ≠ 𝑥))
5251necon2bbid 2825 . . . . . 6 ((𝐹𝑅𝑥𝐷) → ((𝐹𝑥) = 𝑥 ↔ ¬ 𝑥 ∈ dom (𝐹 ∖ I )))
5352biimpar 501 . . . . 5 (((𝐹𝑅𝑥𝐷) ∧ ¬ 𝑥 ∈ dom (𝐹 ∖ I )) → (𝐹𝑥) = 𝑥)
54 fveq2 6103 . . . . . 6 ((𝐹𝑥) = 𝑥 → (𝐹‘(𝐹𝑥)) = (𝐹𝑥))
55 id 22 . . . . . 6 ((𝐹𝑥) = 𝑥 → (𝐹𝑥) = 𝑥)
5654, 55eqtrd 2644 . . . . 5 ((𝐹𝑥) = 𝑥 → (𝐹‘(𝐹𝑥)) = 𝑥)
5753, 56syl 17 . . . 4 (((𝐹𝑅𝑥𝐷) ∧ ¬ 𝑥 ∈ dom (𝐹 ∖ I )) → (𝐹‘(𝐹𝑥)) = 𝑥)
5847, 57pm2.61dan 828 . . 3 ((𝐹𝑅𝑥𝐷) → (𝐹‘(𝐹𝑥)) = 𝑥)
59 fvco2 6183 . . . 4 ((𝐹 Fn 𝐷𝑥𝐷) → ((𝐹𝐹)‘𝑥) = (𝐹‘(𝐹𝑥)))
6049, 59sylan 487 . . 3 ((𝐹𝑅𝑥𝐷) → ((𝐹𝐹)‘𝑥) = (𝐹‘(𝐹𝑥)))
61 fvresi 6344 . . . 4 (𝑥𝐷 → (( I ↾ 𝐷)‘𝑥) = 𝑥)
6261adantl 481 . . 3 ((𝐹𝑅𝑥𝐷) → (( I ↾ 𝐷)‘𝑥) = 𝑥)
6358, 60, 623eqtr4d 2654 . 2 ((𝐹𝑅𝑥𝐷) → ((𝐹𝐹)‘𝑥) = (( I ↾ 𝐷)‘𝑥))
6414, 16, 63eqfnfvd 6222 1 (𝐹𝑅 → (𝐹𝐹) = ( I ↾ 𝐷))
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 195   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977   ≠ wne 2780  Vcvv 3173   ∖ cdif 3537   ⊆ wss 3540  ifcif 4036  {csn 4125  ∪ cuni 4372   class class class wbr 4583   I cid 4948  dom cdm 5038  ran crn 5039   ↾ cres 5040   ∘ ccom 5042  suc csuc 5642   Fn wfn 5799  ⟶wf 5800  ‘cfv 5804  ωcom 6957  1𝑜c1o 7440  2𝑜c2o 7441   ≈ cen 7838  pmTrspcpmtr 17684 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-om 6958  df-1o 7447  df-2o 7448  df-er 7629  df-en 7842  df-dom 7843  df-sdom 7844  df-fin 7845  df-pmtr 17685 This theorem is referenced by:  pmtrff1o  17706  pmtrfcnv  17707  symggen  17713  psgnunilem1  17736
 Copyright terms: Public domain W3C validator