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

Theorem exidreslem 33305
Description: Lemma for exidres 33306 and exidresid 33307. (Contributed by Jeff Madsen, 8-Jun-2010.) (Revised by Mario Carneiro, 23-Dec-2013.)
Hypotheses
Ref Expression
exidres.1 𝑋 = ran 𝐺
exidres.2 𝑈 = (GId‘𝐺)
exidres.3 𝐻 = (𝐺 ↾ (𝑌 × 𝑌))
Assertion
Ref Expression
exidreslem ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (𝑈 ∈ dom dom 𝐻 ∧ ∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥)))
Distinct variable groups:   𝑥,𝐺   𝑥,𝑌   𝑥,𝑋   𝑥,𝑈   𝑥,𝐻

Proof of Theorem exidreslem
StepHypRef Expression
1 exidres.3 . . . . . . . 8 𝐻 = (𝐺 ↾ (𝑌 × 𝑌))
21dmeqi 5285 . . . . . . 7 dom 𝐻 = dom (𝐺 ↾ (𝑌 × 𝑌))
3 xpss12 5186 . . . . . . . . . . 11 ((𝑌𝑋𝑌𝑋) → (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋))
43anidms 676 . . . . . . . . . 10 (𝑌𝑋 → (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋))
5 exidres.1 . . . . . . . . . . . . 13 𝑋 = ran 𝐺
65opidon2OLD 33282 . . . . . . . . . . . 12 (𝐺 ∈ (Magma ∩ ExId ) → 𝐺:(𝑋 × 𝑋)–onto𝑋)
7 fof 6072 . . . . . . . . . . . 12 (𝐺:(𝑋 × 𝑋)–onto𝑋𝐺:(𝑋 × 𝑋)⟶𝑋)
8 fdm 6008 . . . . . . . . . . . 12 (𝐺:(𝑋 × 𝑋)⟶𝑋 → dom 𝐺 = (𝑋 × 𝑋))
96, 7, 83syl 18 . . . . . . . . . . 11 (𝐺 ∈ (Magma ∩ ExId ) → dom 𝐺 = (𝑋 × 𝑋))
109sseq2d 3612 . . . . . . . . . 10 (𝐺 ∈ (Magma ∩ ExId ) → ((𝑌 × 𝑌) ⊆ dom 𝐺 ↔ (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋)))
114, 10syl5ibr 236 . . . . . . . . 9 (𝐺 ∈ (Magma ∩ ExId ) → (𝑌𝑋 → (𝑌 × 𝑌) ⊆ dom 𝐺))
1211imp 445 . . . . . . . 8 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → (𝑌 × 𝑌) ⊆ dom 𝐺)
13 ssdmres 5379 . . . . . . . 8 ((𝑌 × 𝑌) ⊆ dom 𝐺 ↔ dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
1412, 13sylib 208 . . . . . . 7 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
152, 14syl5eq 2667 . . . . . 6 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom 𝐻 = (𝑌 × 𝑌))
1615dmeqd 5286 . . . . 5 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom dom 𝐻 = dom (𝑌 × 𝑌))
17 dmxpid 5305 . . . . 5 dom (𝑌 × 𝑌) = 𝑌
1816, 17syl6eq 2671 . . . 4 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom dom 𝐻 = 𝑌)
1918eleq2d 2684 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → (𝑈 ∈ dom dom 𝐻𝑈𝑌))
2019biimp3ar 1430 . 2 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → 𝑈 ∈ dom dom 𝐻)
21 ssel2 3578 . . . . . . . . . 10 ((𝑌𝑋𝑥𝑌) → 𝑥𝑋)
22 exidres.2 . . . . . . . . . . 11 𝑈 = (GId‘𝐺)
235, 22cmpidelt 33287 . . . . . . . . . 10 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑥𝑋) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2421, 23sylan2 491 . . . . . . . . 9 ((𝐺 ∈ (Magma ∩ ExId ) ∧ (𝑌𝑋𝑥𝑌)) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2524anassrs 679 . . . . . . . 8 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑥𝑌) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2625adantrl 751 . . . . . . 7 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
271oveqi 6617 . . . . . . . . . . 11 (𝑈𝐻𝑥) = (𝑈(𝐺 ↾ (𝑌 × 𝑌))𝑥)
28 ovres 6753 . . . . . . . . . . 11 ((𝑈𝑌𝑥𝑌) → (𝑈(𝐺 ↾ (𝑌 × 𝑌))𝑥) = (𝑈𝐺𝑥))
2927, 28syl5eq 2667 . . . . . . . . . 10 ((𝑈𝑌𝑥𝑌) → (𝑈𝐻𝑥) = (𝑈𝐺𝑥))
3029eqeq1d 2623 . . . . . . . . 9 ((𝑈𝑌𝑥𝑌) → ((𝑈𝐻𝑥) = 𝑥 ↔ (𝑈𝐺𝑥) = 𝑥))
311oveqi 6617 . . . . . . . . . . . 12 (𝑥𝐻𝑈) = (𝑥(𝐺 ↾ (𝑌 × 𝑌))𝑈)
32 ovres 6753 . . . . . . . . . . . 12 ((𝑥𝑌𝑈𝑌) → (𝑥(𝐺 ↾ (𝑌 × 𝑌))𝑈) = (𝑥𝐺𝑈))
3331, 32syl5eq 2667 . . . . . . . . . . 11 ((𝑥𝑌𝑈𝑌) → (𝑥𝐻𝑈) = (𝑥𝐺𝑈))
3433ancoms 469 . . . . . . . . . 10 ((𝑈𝑌𝑥𝑌) → (𝑥𝐻𝑈) = (𝑥𝐺𝑈))
3534eqeq1d 2623 . . . . . . . . 9 ((𝑈𝑌𝑥𝑌) → ((𝑥𝐻𝑈) = 𝑥 ↔ (𝑥𝐺𝑈) = 𝑥))
3630, 35anbi12d 746 . . . . . . . 8 ((𝑈𝑌𝑥𝑌) → (((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥)))
3736adantl 482 . . . . . . 7 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → (((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥)))
3826, 37mpbird 247 . . . . . 6 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
3938anassrs 679 . . . . 5 ((((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑈𝑌) ∧ 𝑥𝑌) → ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
4039ralrimiva 2960 . . . 4 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑈𝑌) → ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
41403impa 1256 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
42123adant3 1079 . . . . . . . 8 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (𝑌 × 𝑌) ⊆ dom 𝐺)
4342, 13sylib 208 . . . . . . 7 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
442, 43syl5eq 2667 . . . . . 6 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom 𝐻 = (𝑌 × 𝑌))
4544dmeqd 5286 . . . . 5 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom dom 𝐻 = dom (𝑌 × 𝑌))
4645, 17syl6eq 2671 . . . 4 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom dom 𝐻 = 𝑌)
4746raleqdv 3133 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥)))
4841, 47mpbird 247 . 2 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → ∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
4920, 48jca 554 1 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (𝑈 ∈ dom dom 𝐻 ∧ ∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1987  wral 2907  cin 3554  wss 3555   × cxp 5072  dom cdm 5074  ran crn 5075  cres 5076  wf 5843  ontowfo 5845  cfv 5847  (class class class)co 6604  GIdcgi 27190   ExId cexid 33272  Magmacmagm 33276
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-fo 5853  df-fv 5855  df-riota 6565  df-ov 6607  df-gid 27194  df-exid 33273  df-mgmOLD 33277
This theorem is referenced by:  exidres  33306  exidresid  33307
  Copyright terms: Public domain W3C validator