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

Theorem symgextf1 19156
Description: The extension of a permutation, fixing the additional element, is a 1-1 function. (Contributed by AV, 6-Jan-2019.)
Hypotheses
Ref Expression
symgext.s 𝑆 = (Base‘(SymGrp‘(𝑁 ∖ {𝐾})))
symgext.e 𝐸 = (𝑥𝑁 ↦ if(𝑥 = 𝐾, 𝐾, (𝑍𝑥)))
Assertion
Ref Expression
symgextf1 ((𝐾𝑁𝑍𝑆) → 𝐸:𝑁1-1𝑁)
Distinct variable groups:   𝑥,𝐾   𝑥,𝑁   𝑥,𝑆   𝑥,𝑍
Allowed substitution hint:   𝐸(𝑥)

Proof of Theorem symgextf1
Dummy variables 𝑦 𝑧 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 symgext.s . . 3 𝑆 = (Base‘(SymGrp‘(𝑁 ∖ {𝐾})))
2 symgext.e . . 3 𝐸 = (𝑥𝑁 ↦ if(𝑥 = 𝐾, 𝐾, (𝑍𝑥)))
31, 2symgextf 19152 . 2 ((𝐾𝑁𝑍𝑆) → 𝐸:𝑁𝑁)
4 difsnid 4768 . . . . . . . 8 (𝐾𝑁 → ((𝑁 ∖ {𝐾}) ∪ {𝐾}) = 𝑁)
54eqcomd 2742 . . . . . . 7 (𝐾𝑁𝑁 = ((𝑁 ∖ {𝐾}) ∪ {𝐾}))
65eleq2d 2823 . . . . . 6 (𝐾𝑁 → (𝑦𝑁𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾})))
75eleq2d 2823 . . . . . 6 (𝐾𝑁 → (𝑧𝑁𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾})))
86, 7anbi12d 631 . . . . 5 (𝐾𝑁 → ((𝑦𝑁𝑧𝑁) ↔ (𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∧ 𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}))))
98adantr 481 . . . 4 ((𝐾𝑁𝑍𝑆) → ((𝑦𝑁𝑧𝑁) ↔ (𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∧ 𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}))))
10 elun 4106 . . . . . 6 (𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ↔ (𝑦 ∈ (𝑁 ∖ {𝐾}) ∨ 𝑦 ∈ {𝐾}))
11 elun 4106 . . . . . 6 (𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ↔ (𝑧 ∈ (𝑁 ∖ {𝐾}) ∨ 𝑧 ∈ {𝐾}))
121, 2symgextfv 19153 . . . . . . . . . . . . 13 ((𝐾𝑁𝑍𝑆) → (𝑦 ∈ (𝑁 ∖ {𝐾}) → (𝐸𝑦) = (𝑍𝑦)))
1312com12 32 . . . . . . . . . . . 12 (𝑦 ∈ (𝑁 ∖ {𝐾}) → ((𝐾𝑁𝑍𝑆) → (𝐸𝑦) = (𝑍𝑦)))
1413adantr 481 . . . . . . . . . . 11 ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝐾𝑁𝑍𝑆) → (𝐸𝑦) = (𝑍𝑦)))
1514imp 407 . . . . . . . . . 10 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ (𝐾𝑁𝑍𝑆)) → (𝐸𝑦) = (𝑍𝑦))
161, 2symgextfv 19153 . . . . . . . . . . . . 13 ((𝐾𝑁𝑍𝑆) → (𝑧 ∈ (𝑁 ∖ {𝐾}) → (𝐸𝑧) = (𝑍𝑧)))
1716com12 32 . . . . . . . . . . . 12 (𝑧 ∈ (𝑁 ∖ {𝐾}) → ((𝐾𝑁𝑍𝑆) → (𝐸𝑧) = (𝑍𝑧)))
1817adantl 482 . . . . . . . . . . 11 ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝐾𝑁𝑍𝑆) → (𝐸𝑧) = (𝑍𝑧)))
1918imp 407 . . . . . . . . . 10 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ (𝐾𝑁𝑍𝑆)) → (𝐸𝑧) = (𝑍𝑧))
2015, 19eqeq12d 2752 . . . . . . . . 9 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ (𝐾𝑁𝑍𝑆)) → ((𝐸𝑦) = (𝐸𝑧) ↔ (𝑍𝑦) = (𝑍𝑧)))
21 eqid 2736 . . . . . . . . . . . . 13 (SymGrp‘(𝑁 ∖ {𝐾})) = (SymGrp‘(𝑁 ∖ {𝐾}))
2221, 1symgbasf1o 19109 . . . . . . . . . . . 12 (𝑍𝑆𝑍:(𝑁 ∖ {𝐾})–1-1-onto→(𝑁 ∖ {𝐾}))
23 f1of1 6780 . . . . . . . . . . . 12 (𝑍:(𝑁 ∖ {𝐾})–1-1-onto→(𝑁 ∖ {𝐾}) → 𝑍:(𝑁 ∖ {𝐾})–1-1→(𝑁 ∖ {𝐾}))
24 dff13 7198 . . . . . . . . . . . . 13 (𝑍:(𝑁 ∖ {𝐾})–1-1→(𝑁 ∖ {𝐾}) ↔ (𝑍:(𝑁 ∖ {𝐾})⟶(𝑁 ∖ {𝐾}) ∧ ∀𝑖 ∈ (𝑁 ∖ {𝐾})∀𝑗 ∈ (𝑁 ∖ {𝐾})((𝑍𝑖) = (𝑍𝑗) → 𝑖 = 𝑗)))
25 fveqeq2 6848 . . . . . . . . . . . . . . . . 17 (𝑖 = 𝑦 → ((𝑍𝑖) = (𝑍𝑗) ↔ (𝑍𝑦) = (𝑍𝑗)))
26 equequ1 2028 . . . . . . . . . . . . . . . . 17 (𝑖 = 𝑦 → (𝑖 = 𝑗𝑦 = 𝑗))
2725, 26imbi12d 344 . . . . . . . . . . . . . . . 16 (𝑖 = 𝑦 → (((𝑍𝑖) = (𝑍𝑗) → 𝑖 = 𝑗) ↔ ((𝑍𝑦) = (𝑍𝑗) → 𝑦 = 𝑗)))
28 fveq2 6839 . . . . . . . . . . . . . . . . . 18 (𝑗 = 𝑧 → (𝑍𝑗) = (𝑍𝑧))
2928eqeq2d 2747 . . . . . . . . . . . . . . . . 17 (𝑗 = 𝑧 → ((𝑍𝑦) = (𝑍𝑗) ↔ (𝑍𝑦) = (𝑍𝑧)))
30 equequ2 2029 . . . . . . . . . . . . . . . . 17 (𝑗 = 𝑧 → (𝑦 = 𝑗𝑦 = 𝑧))
3129, 30imbi12d 344 . . . . . . . . . . . . . . . 16 (𝑗 = 𝑧 → (((𝑍𝑦) = (𝑍𝑗) → 𝑦 = 𝑗) ↔ ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧)))
3227, 31rspc2va 3589 . . . . . . . . . . . . . . 15 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ ∀𝑖 ∈ (𝑁 ∖ {𝐾})∀𝑗 ∈ (𝑁 ∖ {𝐾})((𝑍𝑖) = (𝑍𝑗) → 𝑖 = 𝑗)) → ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧))
3332expcom 414 . . . . . . . . . . . . . 14 (∀𝑖 ∈ (𝑁 ∖ {𝐾})∀𝑗 ∈ (𝑁 ∖ {𝐾})((𝑍𝑖) = (𝑍𝑗) → 𝑖 = 𝑗) → ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧)))
3433a1d 25 . . . . . . . . . . . . 13 (∀𝑖 ∈ (𝑁 ∖ {𝐾})∀𝑗 ∈ (𝑁 ∖ {𝐾})((𝑍𝑖) = (𝑍𝑗) → 𝑖 = 𝑗) → (𝐾𝑁 → ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧))))
3524, 34simplbiim 505 . . . . . . . . . . . 12 (𝑍:(𝑁 ∖ {𝐾})–1-1→(𝑁 ∖ {𝐾}) → (𝐾𝑁 → ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧))))
3622, 23, 353syl 18 . . . . . . . . . . 11 (𝑍𝑆 → (𝐾𝑁 → ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧))))
3736impcom 408 . . . . . . . . . 10 ((𝐾𝑁𝑍𝑆) → ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧)))
3837impcom 408 . . . . . . . . 9 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ (𝐾𝑁𝑍𝑆)) → ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧))
3920, 38sylbid 239 . . . . . . . 8 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ (𝐾𝑁𝑍𝑆)) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧))
4039ex 413 . . . . . . 7 ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
411, 2symgextf1lem 19155 . . . . . . . . 9 ((𝐾𝑁𝑍𝑆) → ((𝑧 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑦 ∈ {𝐾}) → (𝐸𝑧) ≠ (𝐸𝑦)))
42 eqneqall 2952 . . . . . . . . . . 11 ((𝐸𝑧) = (𝐸𝑦) → ((𝐸𝑧) ≠ (𝐸𝑦) → 𝑦 = 𝑧))
4342eqcoms 2744 . . . . . . . . . 10 ((𝐸𝑦) = (𝐸𝑧) → ((𝐸𝑧) ≠ (𝐸𝑦) → 𝑦 = 𝑧))
4443com12 32 . . . . . . . . 9 ((𝐸𝑧) ≠ (𝐸𝑦) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧))
4541, 44syl6com 37 . . . . . . . 8 ((𝑧 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑦 ∈ {𝐾}) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
4645ancoms 459 . . . . . . 7 ((𝑦 ∈ {𝐾} ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
471, 2symgextf1lem 19155 . . . . . . . 8 ((𝐾𝑁𝑍𝑆) → ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ {𝐾}) → (𝐸𝑦) ≠ (𝐸𝑧)))
48 eqneqall 2952 . . . . . . . . 9 ((𝐸𝑦) = (𝐸𝑧) → ((𝐸𝑦) ≠ (𝐸𝑧) → 𝑦 = 𝑧))
4948com12 32 . . . . . . . 8 ((𝐸𝑦) ≠ (𝐸𝑧) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧))
5047, 49syl6com 37 . . . . . . 7 ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ {𝐾}) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
51 elsni 4601 . . . . . . . 8 (𝑦 ∈ {𝐾} → 𝑦 = 𝐾)
52 elsni 4601 . . . . . . . 8 (𝑧 ∈ {𝐾} → 𝑧 = 𝐾)
53 eqtr3 2762 . . . . . . . . 9 ((𝑦 = 𝐾𝑧 = 𝐾) → 𝑦 = 𝑧)
54532a1d 26 . . . . . . . 8 ((𝑦 = 𝐾𝑧 = 𝐾) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
5551, 52, 54syl2an 596 . . . . . . 7 ((𝑦 ∈ {𝐾} ∧ 𝑧 ∈ {𝐾}) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
5640, 46, 50, 55ccase 1036 . . . . . 6 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∨ 𝑦 ∈ {𝐾}) ∧ (𝑧 ∈ (𝑁 ∖ {𝐾}) ∨ 𝑧 ∈ {𝐾})) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
5710, 11, 56syl2anb 598 . . . . 5 ((𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∧ 𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾})) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
5857com12 32 . . . 4 ((𝐾𝑁𝑍𝑆) → ((𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∧ 𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾})) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
599, 58sylbid 239 . . 3 ((𝐾𝑁𝑍𝑆) → ((𝑦𝑁𝑧𝑁) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
6059ralrimivv 3193 . 2 ((𝐾𝑁𝑍𝑆) → ∀𝑦𝑁𝑧𝑁 ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧))
61 dff13 7198 . 2 (𝐸:𝑁1-1𝑁 ↔ (𝐸:𝑁𝑁 ∧ ∀𝑦𝑁𝑧𝑁 ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
623, 60, 61sylanbrc 583 1 ((𝐾𝑁𝑍𝑆) → 𝐸:𝑁1-1𝑁)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wo 845   = wceq 1541  wcel 2106  wne 2941  wral 3062  cdif 3905  cun 3906  ifcif 4484  {csn 4584  cmpt 5186  wf 6489  1-1wf1 6490  1-1-ontowf1o 6492  cfv 6493  Basecbs 17037  SymGrpcsymg 19101
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  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 2707  ax-sep 5254  ax-nul 5261  ax-pow 5318  ax-pr 5382  ax-un 7664  ax-cnex 11065  ax-resscn 11066  ax-1cn 11067  ax-icn 11068  ax-addcl 11069  ax-addrcl 11070  ax-mulcl 11071  ax-mulrcl 11072  ax-mulcom 11073  ax-addass 11074  ax-mulass 11075  ax-distr 11076  ax-i2m1 11077  ax-1ne0 11078  ax-1rid 11079  ax-rnegex 11080  ax-rrecex 11081  ax-cnre 11082  ax-pre-lttri 11083  ax-pre-lttrn 11084  ax-pre-ltadd 11085  ax-pre-mulgt0 11086
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-reu 3352  df-rab 3406  df-v 3445  df-sbc 3738  df-csb 3854  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-pss 3927  df-nul 4281  df-if 4485  df-pw 4560  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4864  df-iun 4954  df-br 5104  df-opab 5166  df-mpt 5187  df-tr 5221  df-id 5529  df-eprel 5535  df-po 5543  df-so 5544  df-fr 5586  df-we 5588  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-pred 6251  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6445  df-fun 6495  df-fn 6496  df-f 6497  df-f1 6498  df-fo 6499  df-f1o 6500  df-fv 6501  df-riota 7307  df-ov 7354  df-oprab 7355  df-mpo 7356  df-om 7795  df-1st 7913  df-2nd 7914  df-frecs 8204  df-wrecs 8235  df-recs 8309  df-rdg 8348  df-1o 8404  df-er 8606  df-map 8725  df-en 8842  df-dom 8843  df-sdom 8844  df-fin 8845  df-pnf 11149  df-mnf 11150  df-xr 11151  df-ltxr 11152  df-le 11153  df-sub 11345  df-neg 11346  df-nn 12112  df-2 12174  df-3 12175  df-4 12176  df-5 12177  df-6 12178  df-7 12179  df-8 12180  df-9 12181  df-n0 12372  df-z 12458  df-uz 12722  df-fz 13379  df-struct 16973  df-sets 16990  df-slot 17008  df-ndx 17020  df-base 17038  df-ress 17067  df-plusg 17100  df-tset 17106  df-efmnd 18633  df-symg 19102
This theorem is referenced by:  symgextf1o  19158
  Copyright terms: Public domain W3C validator