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

Theorem isgrpinv 17673
Description: Properties showing that a function 𝑀 is the inverse function of a group. (Contributed by NM, 7-Aug-2013.) (Revised by Mario Carneiro, 2-Oct-2015.)
Hypotheses
Ref Expression
grpinv.b 𝐵 = (Base‘𝐺)
grpinv.p + = (+g𝐺)
grpinv.u 0 = (0g𝐺)
grpinv.n 𝑁 = (invg𝐺)
Assertion
Ref Expression
isgrpinv (𝐺 ∈ Grp → ((𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 ) ↔ 𝑁 = 𝑀))
Distinct variable groups:   𝑥,𝐵   𝑥,𝐺   𝑥, 0   𝑥, +   𝑥,𝑀   𝑥,𝑁

Proof of Theorem isgrpinv
Dummy variable 𝑒 is distinct from all other variables.
StepHypRef Expression
1 grpinv.b . . . . . . . . . 10 𝐵 = (Base‘𝐺)
2 grpinv.p . . . . . . . . . 10 + = (+g𝐺)
3 grpinv.u . . . . . . . . . 10 0 = (0g𝐺)
4 grpinv.n . . . . . . . . . 10 𝑁 = (invg𝐺)
51, 2, 3, 4grpinvval 17662 . . . . . . . . 9 (𝑥𝐵 → (𝑁𝑥) = (𝑒𝐵 (𝑒 + 𝑥) = 0 ))
65ad2antlr 706 . . . . . . . 8 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → (𝑁𝑥) = (𝑒𝐵 (𝑒 + 𝑥) = 0 ))
7 simpr 471 . . . . . . . . 9 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → ((𝑀𝑥) + 𝑥) = 0 )
8 simpllr 760 . . . . . . . . . . 11 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → 𝑀:𝐵𝐵)
9 simplr 752 . . . . . . . . . . 11 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → 𝑥𝐵)
108, 9ffvelrnd 6501 . . . . . . . . . 10 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → (𝑀𝑥) ∈ 𝐵)
11 simplll 758 . . . . . . . . . . 11 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → 𝐺 ∈ Grp)
121, 2, 3grpinveu 17657 . . . . . . . . . . 11 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ∃!𝑒𝐵 (𝑒 + 𝑥) = 0 )
1311, 9, 12syl2anc 573 . . . . . . . . . 10 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → ∃!𝑒𝐵 (𝑒 + 𝑥) = 0 )
14 oveq1 6798 . . . . . . . . . . . 12 (𝑒 = (𝑀𝑥) → (𝑒 + 𝑥) = ((𝑀𝑥) + 𝑥))
1514eqeq1d 2773 . . . . . . . . . . 11 (𝑒 = (𝑀𝑥) → ((𝑒 + 𝑥) = 0 ↔ ((𝑀𝑥) + 𝑥) = 0 ))
1615riota2 6774 . . . . . . . . . 10 (((𝑀𝑥) ∈ 𝐵 ∧ ∃!𝑒𝐵 (𝑒 + 𝑥) = 0 ) → (((𝑀𝑥) + 𝑥) = 0 ↔ (𝑒𝐵 (𝑒 + 𝑥) = 0 ) = (𝑀𝑥)))
1710, 13, 16syl2anc 573 . . . . . . . . 9 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → (((𝑀𝑥) + 𝑥) = 0 ↔ (𝑒𝐵 (𝑒 + 𝑥) = 0 ) = (𝑀𝑥)))
187, 17mpbid 222 . . . . . . . 8 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → (𝑒𝐵 (𝑒 + 𝑥) = 0 ) = (𝑀𝑥))
196, 18eqtrd 2805 . . . . . . 7 ((((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) ∧ ((𝑀𝑥) + 𝑥) = 0 ) → (𝑁𝑥) = (𝑀𝑥))
2019ex 397 . . . . . 6 (((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) ∧ 𝑥𝐵) → (((𝑀𝑥) + 𝑥) = 0 → (𝑁𝑥) = (𝑀𝑥)))
2120ralimdva 3111 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑀:𝐵𝐵) → (∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 → ∀𝑥𝐵 (𝑁𝑥) = (𝑀𝑥)))
2221impr 442 . . . 4 ((𝐺 ∈ Grp ∧ (𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 )) → ∀𝑥𝐵 (𝑁𝑥) = (𝑀𝑥))
231, 4grpinvfn 17663 . . . . 5 𝑁 Fn 𝐵
24 ffn 6183 . . . . . 6 (𝑀:𝐵𝐵𝑀 Fn 𝐵)
2524ad2antrl 707 . . . . 5 ((𝐺 ∈ Grp ∧ (𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 )) → 𝑀 Fn 𝐵)
26 eqfnfv 6452 . . . . 5 ((𝑁 Fn 𝐵𝑀 Fn 𝐵) → (𝑁 = 𝑀 ↔ ∀𝑥𝐵 (𝑁𝑥) = (𝑀𝑥)))
2723, 25, 26sylancr 575 . . . 4 ((𝐺 ∈ Grp ∧ (𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 )) → (𝑁 = 𝑀 ↔ ∀𝑥𝐵 (𝑁𝑥) = (𝑀𝑥)))
2822, 27mpbird 247 . . 3 ((𝐺 ∈ Grp ∧ (𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 )) → 𝑁 = 𝑀)
2928ex 397 . 2 (𝐺 ∈ Grp → ((𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 ) → 𝑁 = 𝑀))
301, 4grpinvf 17667 . . . 4 (𝐺 ∈ Grp → 𝑁:𝐵𝐵)
311, 2, 3, 4grplinv 17669 . . . . 5 ((𝐺 ∈ Grp ∧ 𝑥𝐵) → ((𝑁𝑥) + 𝑥) = 0 )
3231ralrimiva 3115 . . . 4 (𝐺 ∈ Grp → ∀𝑥𝐵 ((𝑁𝑥) + 𝑥) = 0 )
3330, 32jca 501 . . 3 (𝐺 ∈ Grp → (𝑁:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑁𝑥) + 𝑥) = 0 ))
34 feq1 6164 . . . 4 (𝑁 = 𝑀 → (𝑁:𝐵𝐵𝑀:𝐵𝐵))
35 fveq1 6329 . . . . . . 7 (𝑁 = 𝑀 → (𝑁𝑥) = (𝑀𝑥))
3635oveq1d 6806 . . . . . 6 (𝑁 = 𝑀 → ((𝑁𝑥) + 𝑥) = ((𝑀𝑥) + 𝑥))
3736eqeq1d 2773 . . . . 5 (𝑁 = 𝑀 → (((𝑁𝑥) + 𝑥) = 0 ↔ ((𝑀𝑥) + 𝑥) = 0 ))
3837ralbidv 3135 . . . 4 (𝑁 = 𝑀 → (∀𝑥𝐵 ((𝑁𝑥) + 𝑥) = 0 ↔ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 ))
3934, 38anbi12d 616 . . 3 (𝑁 = 𝑀 → ((𝑁:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑁𝑥) + 𝑥) = 0 ) ↔ (𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 )))
4033, 39syl5ibcom 235 . 2 (𝐺 ∈ Grp → (𝑁 = 𝑀 → (𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 )))
4129, 40impbid 202 1 (𝐺 ∈ Grp → ((𝑀:𝐵𝐵 ∧ ∀𝑥𝐵 ((𝑀𝑥) + 𝑥) = 0 ) ↔ 𝑁 = 𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 382   = wceq 1631  wcel 2145  wral 3061  ∃!wreu 3063   Fn wfn 6024  wf 6025  cfv 6029  crio 6751  (class class class)co 6791  Basecbs 16057  +gcplusg 16142  0gc0g 16301  Grpcgrp 17623  invgcminusg 17624
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4904  ax-sep 4915  ax-nul 4923  ax-pow 4974  ax-pr 5034
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4226  df-sn 4317  df-pr 4319  df-op 4323  df-uni 4575  df-iun 4656  df-br 4787  df-opab 4847  df-mpt 4864  df-id 5157  df-xp 5255  df-rel 5256  df-cnv 5257  df-co 5258  df-dm 5259  df-rn 5260  df-res 5261  df-ima 5262  df-iota 5992  df-fun 6031  df-fn 6032  df-f 6033  df-f1 6034  df-fo 6035  df-f1o 6036  df-fv 6037  df-riota 6752  df-ov 6794  df-0g 16303  df-mgm 17443  df-sgrp 17485  df-mnd 17496  df-grp 17626  df-minusg 17627
This theorem is referenced by:  oppginv  17989
  Copyright terms: Public domain W3C validator