Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  pmtridf1o Structured version   Visualization version   GIF version

Theorem pmtridf1o 30165
Description: Transpositions of 𝑋 and 𝑌 (understood to be the identity when 𝑋 = 𝑌), are bijections. (Contributed by Thierry Arnoux, 1-Jan-2022.)
Hypotheses
Ref Expression
pmtridf1o.a (𝜑𝐴𝑉)
pmtridf1o.x (𝜑𝑋𝐴)
pmtridf1o.y (𝜑𝑌𝐴)
pmtridf1o.t 𝑇 = if(𝑋 = 𝑌, ( I ↾ 𝐴), ((pmTrsp‘𝐴)‘{𝑋, 𝑌}))
Assertion
Ref Expression
pmtridf1o (𝜑𝑇:𝐴1-1-onto𝐴)

Proof of Theorem pmtridf1o
StepHypRef Expression
1 pmtridf1o.t . . . 4 𝑇 = if(𝑋 = 𝑌, ( I ↾ 𝐴), ((pmTrsp‘𝐴)‘{𝑋, 𝑌}))
2 iftrue 4236 . . . . 5 (𝑋 = 𝑌 → if(𝑋 = 𝑌, ( I ↾ 𝐴), ((pmTrsp‘𝐴)‘{𝑋, 𝑌})) = ( I ↾ 𝐴))
32adantl 473 . . . 4 ((𝜑𝑋 = 𝑌) → if(𝑋 = 𝑌, ( I ↾ 𝐴), ((pmTrsp‘𝐴)‘{𝑋, 𝑌})) = ( I ↾ 𝐴))
41, 3syl5eq 2806 . . 3 ((𝜑𝑋 = 𝑌) → 𝑇 = ( I ↾ 𝐴))
5 f1oi 6335 . . . 4 ( I ↾ 𝐴):𝐴1-1-onto𝐴
65a1i 11 . . 3 ((𝜑𝑋 = 𝑌) → ( I ↾ 𝐴):𝐴1-1-onto𝐴)
7 f1oeq1 6288 . . . 4 (𝑇 = ( I ↾ 𝐴) → (𝑇:𝐴1-1-onto𝐴 ↔ ( I ↾ 𝐴):𝐴1-1-onto𝐴))
87biimpar 503 . . 3 ((𝑇 = ( I ↾ 𝐴) ∧ ( I ↾ 𝐴):𝐴1-1-onto𝐴) → 𝑇:𝐴1-1-onto𝐴)
94, 6, 8syl2anc 696 . 2 ((𝜑𝑋 = 𝑌) → 𝑇:𝐴1-1-onto𝐴)
10 simpr 479 . . . . . . 7 ((𝜑𝑋𝑌) → 𝑋𝑌)
1110neneqd 2937 . . . . . 6 ((𝜑𝑋𝑌) → ¬ 𝑋 = 𝑌)
12 iffalse 4239 . . . . . 6 𝑋 = 𝑌 → if(𝑋 = 𝑌, ( I ↾ 𝐴), ((pmTrsp‘𝐴)‘{𝑋, 𝑌})) = ((pmTrsp‘𝐴)‘{𝑋, 𝑌}))
1311, 12syl 17 . . . . 5 ((𝜑𝑋𝑌) → if(𝑋 = 𝑌, ( I ↾ 𝐴), ((pmTrsp‘𝐴)‘{𝑋, 𝑌})) = ((pmTrsp‘𝐴)‘{𝑋, 𝑌}))
141, 13syl5eq 2806 . . . 4 ((𝜑𝑋𝑌) → 𝑇 = ((pmTrsp‘𝐴)‘{𝑋, 𝑌}))
15 pmtridf1o.a . . . . . 6 (𝜑𝐴𝑉)
1615adantr 472 . . . . 5 ((𝜑𝑋𝑌) → 𝐴𝑉)
17 pmtridf1o.x . . . . . . 7 (𝜑𝑋𝐴)
1817adantr 472 . . . . . 6 ((𝜑𝑋𝑌) → 𝑋𝐴)
19 pmtridf1o.y . . . . . . 7 (𝜑𝑌𝐴)
2019adantr 472 . . . . . 6 ((𝜑𝑋𝑌) → 𝑌𝐴)
2118, 20prssd 4499 . . . . 5 ((𝜑𝑋𝑌) → {𝑋, 𝑌} ⊆ 𝐴)
22 pr2nelem 9017 . . . . . 6 ((𝑋𝐴𝑌𝐴𝑋𝑌) → {𝑋, 𝑌} ≈ 2𝑜)
2318, 20, 10, 22syl3anc 1477 . . . . 5 ((𝜑𝑋𝑌) → {𝑋, 𝑌} ≈ 2𝑜)
24 eqid 2760 . . . . . 6 (pmTrsp‘𝐴) = (pmTrsp‘𝐴)
25 eqid 2760 . . . . . 6 ran (pmTrsp‘𝐴) = ran (pmTrsp‘𝐴)
2624, 25pmtrrn 18077 . . . . 5 ((𝐴𝑉 ∧ {𝑋, 𝑌} ⊆ 𝐴 ∧ {𝑋, 𝑌} ≈ 2𝑜) → ((pmTrsp‘𝐴)‘{𝑋, 𝑌}) ∈ ran (pmTrsp‘𝐴))
2716, 21, 23, 26syl3anc 1477 . . . 4 ((𝜑𝑋𝑌) → ((pmTrsp‘𝐴)‘{𝑋, 𝑌}) ∈ ran (pmTrsp‘𝐴))
2814, 27eqeltrd 2839 . . 3 ((𝜑𝑋𝑌) → 𝑇 ∈ ran (pmTrsp‘𝐴))
2924, 25pmtrff1o 18083 . . 3 (𝑇 ∈ ran (pmTrsp‘𝐴) → 𝑇:𝐴1-1-onto𝐴)
3028, 29syl 17 . 2 ((𝜑𝑋𝑌) → 𝑇:𝐴1-1-onto𝐴)
319, 30pm2.61dane 3019 1 (𝜑𝑇:𝐴1-1-onto𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383   = wceq 1632  wcel 2139  wne 2932  wss 3715  ifcif 4230  {cpr 4323   class class class wbr 4804   I cid 5173  ran crn 5267  cres 5268  1-1-ontowf1o 6048  cfv 6049  2𝑜c2o 7723  cen 8118  pmTrspcpmtr 18061
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7114
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-reu 3057  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-om 7231  df-1o 7729  df-2o 7730  df-er 7911  df-en 8122  df-dom 8123  df-sdom 8124  df-fin 8125  df-pmtr 18062
This theorem is referenced by:  reprpmtf1o  31013  hgt750lema  31044
  Copyright terms: Public domain W3C validator