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 35962
Description: Lemma for exidres 35963 and exidresid 35964. (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 5802 . . . . . . 7 dom 𝐻 = dom (𝐺 ↾ (𝑌 × 𝑌))
3 xpss12 5595 . . . . . . . . . . 11 ((𝑌𝑋𝑌𝑋) → (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋))
43anidms 566 . . . . . . . . . 10 (𝑌𝑋 → (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋))
5 exidres.1 . . . . . . . . . . . . 13 𝑋 = ran 𝐺
65opidon2OLD 35939 . . . . . . . . . . . 12 (𝐺 ∈ (Magma ∩ ExId ) → 𝐺:(𝑋 × 𝑋)–onto𝑋)
7 fof 6672 . . . . . . . . . . . 12 (𝐺:(𝑋 × 𝑋)–onto𝑋𝐺:(𝑋 × 𝑋)⟶𝑋)
8 fdm 6593 . . . . . . . . . . . 12 (𝐺:(𝑋 × 𝑋)⟶𝑋 → dom 𝐺 = (𝑋 × 𝑋))
96, 7, 83syl 18 . . . . . . . . . . 11 (𝐺 ∈ (Magma ∩ ExId ) → dom 𝐺 = (𝑋 × 𝑋))
109sseq2d 3949 . . . . . . . . . 10 (𝐺 ∈ (Magma ∩ ExId ) → ((𝑌 × 𝑌) ⊆ dom 𝐺 ↔ (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋)))
114, 10syl5ibr 245 . . . . . . . . 9 (𝐺 ∈ (Magma ∩ ExId ) → (𝑌𝑋 → (𝑌 × 𝑌) ⊆ dom 𝐺))
1211imp 406 . . . . . . . 8 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → (𝑌 × 𝑌) ⊆ dom 𝐺)
13 ssdmres 5903 . . . . . . . 8 ((𝑌 × 𝑌) ⊆ dom 𝐺 ↔ dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
1412, 13sylib 217 . . . . . . 7 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
152, 14syl5eq 2791 . . . . . 6 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom 𝐻 = (𝑌 × 𝑌))
1615dmeqd 5803 . . . . 5 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom dom 𝐻 = dom (𝑌 × 𝑌))
17 dmxpid 5828 . . . . 5 dom (𝑌 × 𝑌) = 𝑌
1816, 17eqtrdi 2795 . . . 4 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom dom 𝐻 = 𝑌)
1918eleq2d 2824 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → (𝑈 ∈ dom dom 𝐻𝑈𝑌))
2019biimp3ar 1468 . 2 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → 𝑈 ∈ dom dom 𝐻)
21 ssel2 3912 . . . . . . . . . 10 ((𝑌𝑋𝑥𝑌) → 𝑥𝑋)
22 exidres.2 . . . . . . . . . . 11 𝑈 = (GId‘𝐺)
235, 22cmpidelt 35944 . . . . . . . . . 10 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑥𝑋) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2421, 23sylan2 592 . . . . . . . . 9 ((𝐺 ∈ (Magma ∩ ExId ) ∧ (𝑌𝑋𝑥𝑌)) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2524anassrs 467 . . . . . . . 8 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑥𝑌) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2625adantrl 712 . . . . . . 7 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
271oveqi 7268 . . . . . . . . . . 11 (𝑈𝐻𝑥) = (𝑈(𝐺 ↾ (𝑌 × 𝑌))𝑥)
28 ovres 7416 . . . . . . . . . . 11 ((𝑈𝑌𝑥𝑌) → (𝑈(𝐺 ↾ (𝑌 × 𝑌))𝑥) = (𝑈𝐺𝑥))
2927, 28syl5eq 2791 . . . . . . . . . 10 ((𝑈𝑌𝑥𝑌) → (𝑈𝐻𝑥) = (𝑈𝐺𝑥))
3029eqeq1d 2740 . . . . . . . . 9 ((𝑈𝑌𝑥𝑌) → ((𝑈𝐻𝑥) = 𝑥 ↔ (𝑈𝐺𝑥) = 𝑥))
311oveqi 7268 . . . . . . . . . . . 12 (𝑥𝐻𝑈) = (𝑥(𝐺 ↾ (𝑌 × 𝑌))𝑈)
32 ovres 7416 . . . . . . . . . . . 12 ((𝑥𝑌𝑈𝑌) → (𝑥(𝐺 ↾ (𝑌 × 𝑌))𝑈) = (𝑥𝐺𝑈))
3331, 32syl5eq 2791 . . . . . . . . . . 11 ((𝑥𝑌𝑈𝑌) → (𝑥𝐻𝑈) = (𝑥𝐺𝑈))
3433ancoms 458 . . . . . . . . . 10 ((𝑈𝑌𝑥𝑌) → (𝑥𝐻𝑈) = (𝑥𝐺𝑈))
3534eqeq1d 2740 . . . . . . . . 9 ((𝑈𝑌𝑥𝑌) → ((𝑥𝐻𝑈) = 𝑥 ↔ (𝑥𝐺𝑈) = 𝑥))
3630, 35anbi12d 630 . . . . . . . 8 ((𝑈𝑌𝑥𝑌) → (((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥)))
3736adantl 481 . . . . . . 7 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → (((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥)))
3826, 37mpbird 256 . . . . . 6 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
3938anassrs 467 . . . . 5 ((((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑈𝑌) ∧ 𝑥𝑌) → ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
4039ralrimiva 3107 . . . 4 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑈𝑌) → ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
41403impa 1108 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
42123adant3 1130 . . . . . . . 8 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (𝑌 × 𝑌) ⊆ dom 𝐺)
4342, 13sylib 217 . . . . . . 7 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
442, 43syl5eq 2791 . . . . . 6 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom 𝐻 = (𝑌 × 𝑌))
4544dmeqd 5803 . . . . 5 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom dom 𝐻 = dom (𝑌 × 𝑌))
4645, 17eqtrdi 2795 . . . 4 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom dom 𝐻 = 𝑌)
4746raleqdv 3339 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥)))
4841, 47mpbird 256 . 2 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → ∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
4920, 48jca 511 1 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (𝑈 ∈ dom dom 𝐻 ∧ ∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wral 3063  cin 3882  wss 3883   × cxp 5578  dom cdm 5580  ran crn 5581  cres 5582  wf 6414  ontowfo 6416  cfv 6418  (class class class)co 7255  GIdcgi 28753   ExId cexid 35929  Magmacmagm 35933
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fo 6424  df-fv 6426  df-riota 7212  df-ov 7258  df-gid 28757  df-exid 35930  df-mgmOLD 35934
This theorem is referenced by:  exidres  35963  exidresid  35964
  Copyright terms: Public domain W3C validator