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

Theorem symgextf1 19203
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 19199 . 2 ((𝐾𝑁𝑍𝑆) → 𝐸:𝑁𝑁)
4 difsnid 4770 . . . . . . . 8 (𝐾𝑁 → ((𝑁 ∖ {𝐾}) ∪ {𝐾}) = 𝑁)
54eqcomd 2742 . . . . . . 7 (𝐾𝑁𝑁 = ((𝑁 ∖ {𝐾}) ∪ {𝐾}))
65eleq2d 2823 . . . . . 6 (𝐾𝑁 → (𝑦𝑁𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾})))
75eleq2d 2823 . . . . . 6 (𝐾𝑁 → (𝑧𝑁𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾})))
86, 7anbi12d 631 . . . . 5 (𝐾𝑁 → ((𝑦𝑁𝑧𝑁) ↔ (𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∧ 𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}))))
98adantr 481 . . . 4 ((𝐾𝑁𝑍𝑆) → ((𝑦𝑁𝑧𝑁) ↔ (𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ∧ 𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}))))
10 elun 4108 . . . . . 6 (𝑦 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ↔ (𝑦 ∈ (𝑁 ∖ {𝐾}) ∨ 𝑦 ∈ {𝐾}))
11 elun 4108 . . . . . 6 (𝑧 ∈ ((𝑁 ∖ {𝐾}) ∪ {𝐾}) ↔ (𝑧 ∈ (𝑁 ∖ {𝐾}) ∨ 𝑧 ∈ {𝐾}))
121, 2symgextfv 19200 . . . . . . . . . . . . 13 ((𝐾𝑁𝑍𝑆) → (𝑦 ∈ (𝑁 ∖ {𝐾}) → (𝐸𝑦) = (𝑍𝑦)))
1312com12 32 . . . . . . . . . . . 12 (𝑦 ∈ (𝑁 ∖ {𝐾}) → ((𝐾𝑁𝑍𝑆) → (𝐸𝑦) = (𝑍𝑦)))
1413adantr 481 . . . . . . . . . . 11 ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝐾𝑁𝑍𝑆) → (𝐸𝑦) = (𝑍𝑦)))
1514imp 407 . . . . . . . . . 10 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ (𝐾𝑁𝑍𝑆)) → (𝐸𝑦) = (𝑍𝑦))
161, 2symgextfv 19200 . . . . . . . . . . . . 13 ((𝐾𝑁𝑍𝑆) → (𝑧 ∈ (𝑁 ∖ {𝐾}) → (𝐸𝑧) = (𝑍𝑧)))
1716com12 32 . . . . . . . . . . . 12 (𝑧 ∈ (𝑁 ∖ {𝐾}) → ((𝐾𝑁𝑍𝑆) → (𝐸𝑧) = (𝑍𝑧)))
1817adantl 482 . . . . . . . . . . 11 ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝐾𝑁𝑍𝑆) → (𝐸𝑧) = (𝑍𝑧)))
1918imp 407 . . . . . . . . . 10 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ (𝐾𝑁𝑍𝑆)) → (𝐸𝑧) = (𝑍𝑧))
2015, 19eqeq12d 2752 . . . . . . . . 9 (((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) ∧ (𝐾𝑁𝑍𝑆)) → ((𝐸𝑦) = (𝐸𝑧) ↔ (𝑍𝑦) = (𝑍𝑧)))
21 eqid 2736 . . . . . . . . . . . . 13 (SymGrp‘(𝑁 ∖ {𝐾})) = (SymGrp‘(𝑁 ∖ {𝐾}))
2221, 1symgbasf1o 19156 . . . . . . . . . . . 12 (𝑍𝑆𝑍:(𝑁 ∖ {𝐾})–1-1-onto→(𝑁 ∖ {𝐾}))
23 f1of1 6783 . . . . . . . . . . . 12 (𝑍:(𝑁 ∖ {𝐾})–1-1-onto→(𝑁 ∖ {𝐾}) → 𝑍:(𝑁 ∖ {𝐾})–1-1→(𝑁 ∖ {𝐾}))
24 dff13 7202 . . . . . . . . . . . . 13 (𝑍:(𝑁 ∖ {𝐾})–1-1→(𝑁 ∖ {𝐾}) ↔ (𝑍:(𝑁 ∖ {𝐾})⟶(𝑁 ∖ {𝐾}) ∧ ∀𝑖 ∈ (𝑁 ∖ {𝐾})∀𝑗 ∈ (𝑁 ∖ {𝐾})((𝑍𝑖) = (𝑍𝑗) → 𝑖 = 𝑗)))
25 fveqeq2 6851 . . . . . . . . . . . . . . . . 17 (𝑖 = 𝑦 → ((𝑍𝑖) = (𝑍𝑗) ↔ (𝑍𝑦) = (𝑍𝑗)))
26 equequ1 2028 . . . . . . . . . . . . . . . . 17 (𝑖 = 𝑦 → (𝑖 = 𝑗𝑦 = 𝑗))
2725, 26imbi12d 344 . . . . . . . . . . . . . . . 16 (𝑖 = 𝑦 → (((𝑍𝑖) = (𝑍𝑗) → 𝑖 = 𝑗) ↔ ((𝑍𝑦) = (𝑍𝑗) → 𝑦 = 𝑗)))
28 fveq2 6842 . . . . . . . . . . . . . . . . . 18 (𝑗 = 𝑧 → (𝑍𝑗) = (𝑍𝑧))
2928eqeq2d 2747 . . . . . . . . . . . . . . . . 17 (𝑗 = 𝑧 → ((𝑍𝑦) = (𝑍𝑗) ↔ (𝑍𝑦) = (𝑍𝑧)))
30 equequ2 2029 . . . . . . . . . . . . . . . . 17 (𝑗 = 𝑧 → (𝑦 = 𝑗𝑦 = 𝑧))
3129, 30imbi12d 344 . . . . . . . . . . . . . . . 16 (𝑗 = 𝑧 → (((𝑍𝑦) = (𝑍𝑗) → 𝑦 = 𝑗) ↔ ((𝑍𝑦) = (𝑍𝑧) → 𝑦 = 𝑧)))
3227, 31rspc2va 3591 . . . . . . . . . . . . . . 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 19202 . . . . . . . . 9 ((𝐾𝑁𝑍𝑆) → ((𝑧 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑦 ∈ {𝐾}) → (𝐸𝑧) ≠ (𝐸𝑦)))
42 eqneqall 2954 . . . . . . . . . . 11 ((𝐸𝑧) = (𝐸𝑦) → ((𝐸𝑧) ≠ (𝐸𝑦) → 𝑦 = 𝑧))
4342eqcoms 2744 . . . . . . . . . 10 ((𝐸𝑦) = (𝐸𝑧) → ((𝐸𝑧) ≠ (𝐸𝑦) → 𝑦 = 𝑧))
4443com12 32 . . . . . . . . 9 ((𝐸𝑧) ≠ (𝐸𝑦) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧))
4541, 44syl6com 37 . . . . . . . 8 ((𝑧 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑦 ∈ {𝐾}) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
4645ancoms 459 . . . . . . 7 ((𝑦 ∈ {𝐾} ∧ 𝑧 ∈ (𝑁 ∖ {𝐾})) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
471, 2symgextf1lem 19202 . . . . . . . 8 ((𝐾𝑁𝑍𝑆) → ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ {𝐾}) → (𝐸𝑦) ≠ (𝐸𝑧)))
48 eqneqall 2954 . . . . . . . . 9 ((𝐸𝑦) = (𝐸𝑧) → ((𝐸𝑦) ≠ (𝐸𝑧) → 𝑦 = 𝑧))
4948com12 32 . . . . . . . 8 ((𝐸𝑦) ≠ (𝐸𝑧) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧))
5047, 49syl6com 37 . . . . . . 7 ((𝑦 ∈ (𝑁 ∖ {𝐾}) ∧ 𝑧 ∈ {𝐾}) → ((𝐾𝑁𝑍𝑆) → ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧)))
51 elsni 4603 . . . . . . . 8 (𝑦 ∈ {𝐾} → 𝑦 = 𝐾)
52 elsni 4603 . . . . . . . 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 3195 . 2 ((𝐾𝑁𝑍𝑆) → ∀𝑦𝑁𝑧𝑁 ((𝐸𝑦) = (𝐸𝑧) → 𝑦 = 𝑧))
61 dff13 7202 . 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 2943  wral 3064  cdif 3907  cun 3908  ifcif 4486  {csn 4586  cmpt 5188  wf 6492  1-1wf1 6493  1-1-ontowf1o 6495  cfv 6496  Basecbs 17083  SymGrpcsymg 19148
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 5256  ax-nul 5263  ax-pow 5320  ax-pr 5384  ax-un 7672  ax-cnex 11107  ax-resscn 11108  ax-1cn 11109  ax-icn 11110  ax-addcl 11111  ax-addrcl 11112  ax-mulcl 11113  ax-mulrcl 11114  ax-mulcom 11115  ax-addass 11116  ax-mulass 11117  ax-distr 11118  ax-i2m1 11119  ax-1ne0 11120  ax-1rid 11121  ax-rnegex 11122  ax-rrecex 11123  ax-cnre 11124  ax-pre-lttri 11125  ax-pre-lttrn 11126  ax-pre-ltadd 11127  ax-pre-mulgt0 11128
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 2889  df-ne 2944  df-nel 3050  df-ral 3065  df-rex 3074  df-reu 3354  df-rab 3408  df-v 3447  df-sbc 3740  df-csb 3856  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-pss 3929  df-nul 4283  df-if 4487  df-pw 4562  df-sn 4587  df-pr 4589  df-tp 4591  df-op 4593  df-uni 4866  df-iun 4956  df-br 5106  df-opab 5168  df-mpt 5189  df-tr 5223  df-id 5531  df-eprel 5537  df-po 5545  df-so 5546  df-fr 5588  df-we 5590  df-xp 5639  df-rel 5640  df-cnv 5641  df-co 5642  df-dm 5643  df-rn 5644  df-res 5645  df-ima 5646  df-pred 6253  df-ord 6320  df-on 6321  df-lim 6322  df-suc 6323  df-iota 6448  df-fun 6498  df-fn 6499  df-f 6500  df-f1 6501  df-fo 6502  df-f1o 6503  df-fv 6504  df-riota 7313  df-ov 7360  df-oprab 7361  df-mpo 7362  df-om 7803  df-1st 7921  df-2nd 7922  df-frecs 8212  df-wrecs 8243  df-recs 8317  df-rdg 8356  df-1o 8412  df-er 8648  df-map 8767  df-en 8884  df-dom 8885  df-sdom 8886  df-fin 8887  df-pnf 11191  df-mnf 11192  df-xr 11193  df-ltxr 11194  df-le 11195  df-sub 11387  df-neg 11388  df-nn 12154  df-2 12216  df-3 12217  df-4 12218  df-5 12219  df-6 12220  df-7 12221  df-8 12222  df-9 12223  df-n0 12414  df-z 12500  df-uz 12764  df-fz 13425  df-struct 17019  df-sets 17036  df-slot 17054  df-ndx 17066  df-base 17084  df-ress 17113  df-plusg 17146  df-tset 17152  df-efmnd 18679  df-symg 19149
This theorem is referenced by:  symgextf1o  19205
  Copyright terms: Public domain W3C validator