Mathbox for Jeff Madsen < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rngmgmbs4 Structured version   Visualization version   GIF version

Theorem rngmgmbs4 35269
 Description: The range of an internal operation with a left and right identity element equals its base set. (Contributed by FL, 24-Jan-2010.) (Revised by Mario Carneiro, 22-Dec-2013.) (New usage is discouraged.)
Assertion
Ref Expression
rngmgmbs4 ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∃𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥)) → ran 𝐺 = 𝑋)
Distinct variable groups:   𝑢,𝐺,𝑥   𝑢,𝑋,𝑥

Proof of Theorem rngmgmbs4
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 r19.12 3316 . . . . 5 (∃𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → ∀𝑥𝑋𝑢𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥))
2 simpl 486 . . . . . . . . 9 (((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → (𝑢𝐺𝑥) = 𝑥)
32eqcomd 2830 . . . . . . . 8 (((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → 𝑥 = (𝑢𝐺𝑥))
4 oveq2 7146 . . . . . . . . . 10 (𝑦 = 𝑥 → (𝑢𝐺𝑦) = (𝑢𝐺𝑥))
54rspceeqv 3623 . . . . . . . . 9 ((𝑥𝑋𝑥 = (𝑢𝐺𝑥)) → ∃𝑦𝑋 𝑥 = (𝑢𝐺𝑦))
65ex 416 . . . . . . . 8 (𝑥𝑋 → (𝑥 = (𝑢𝐺𝑥) → ∃𝑦𝑋 𝑥 = (𝑢𝐺𝑦)))
73, 6syl5 34 . . . . . . 7 (𝑥𝑋 → (((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → ∃𝑦𝑋 𝑥 = (𝑢𝐺𝑦)))
87reximdv 3265 . . . . . 6 (𝑥𝑋 → (∃𝑢𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → ∃𝑢𝑋𝑦𝑋 𝑥 = (𝑢𝐺𝑦)))
98ralimia 3152 . . . . 5 (∀𝑥𝑋𝑢𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → ∀𝑥𝑋𝑢𝑋𝑦𝑋 𝑥 = (𝑢𝐺𝑦))
101, 9syl 17 . . . 4 (∃𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥) → ∀𝑥𝑋𝑢𝑋𝑦𝑋 𝑥 = (𝑢𝐺𝑦))
1110anim2i 619 . . 3 ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∃𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥)) → (𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑢𝑋𝑦𝑋 𝑥 = (𝑢𝐺𝑦)))
12 foov 7305 . . 3 (𝐺:(𝑋 × 𝑋)–onto𝑋 ↔ (𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∀𝑥𝑋𝑢𝑋𝑦𝑋 𝑥 = (𝑢𝐺𝑦)))
1311, 12sylibr 237 . 2 ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∃𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥)) → 𝐺:(𝑋 × 𝑋)–onto𝑋)
14 forn 6574 . 2 (𝐺:(𝑋 × 𝑋)–onto𝑋 → ran 𝐺 = 𝑋)
1513, 14syl 17 1 ((𝐺:(𝑋 × 𝑋)⟶𝑋 ∧ ∃𝑢𝑋𝑥𝑋 ((𝑢𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑢) = 𝑥)) → ran 𝐺 = 𝑋)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   = wceq 1538   ∈ wcel 2115  ∀wral 3132  ∃wrex 3133   × cxp 5534  ran crn 5537  ⟶wf 6332  –onto→wfo 6334  (class class class)co 7138 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 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5184  ax-nul 5191  ax-pr 5311 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ral 3137  df-rex 3138  df-rab 3141  df-v 3481  df-sbc 3758  df-csb 3866  df-dif 3921  df-un 3923  df-in 3925  df-ss 3935  df-nul 4275  df-if 4449  df-sn 4549  df-pr 4551  df-op 4555  df-uni 4820  df-iun 4902  df-br 5048  df-opab 5110  df-mpt 5128  df-id 5441  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-iota 6295  df-fun 6338  df-fn 6339  df-f 6340  df-fo 6342  df-fv 6344  df-ov 7141 This theorem is referenced by:  rngorn1eq  35272
 Copyright terms: Public domain W3C validator