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 33908
Description: Lemma for exidres 33909 and exidresid 33910. (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 5432 . . . . . . 7 dom 𝐻 = dom (𝐺 ↾ (𝑌 × 𝑌))
3 xpss12 5233 . . . . . . . . . . 11 ((𝑌𝑋𝑌𝑋) → (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋))
43anidms 680 . . . . . . . . . 10 (𝑌𝑋 → (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋))
5 exidres.1 . . . . . . . . . . . . 13 𝑋 = ran 𝐺
65opidon2OLD 33885 . . . . . . . . . . . 12 (𝐺 ∈ (Magma ∩ ExId ) → 𝐺:(𝑋 × 𝑋)–onto𝑋)
7 fof 6228 . . . . . . . . . . . 12 (𝐺:(𝑋 × 𝑋)–onto𝑋𝐺:(𝑋 × 𝑋)⟶𝑋)
8 fdm 6164 . . . . . . . . . . . 12 (𝐺:(𝑋 × 𝑋)⟶𝑋 → dom 𝐺 = (𝑋 × 𝑋))
96, 7, 83syl 18 . . . . . . . . . . 11 (𝐺 ∈ (Magma ∩ ExId ) → dom 𝐺 = (𝑋 × 𝑋))
109sseq2d 3739 . . . . . . . . . 10 (𝐺 ∈ (Magma ∩ ExId ) → ((𝑌 × 𝑌) ⊆ dom 𝐺 ↔ (𝑌 × 𝑌) ⊆ (𝑋 × 𝑋)))
114, 10syl5ibr 236 . . . . . . . . 9 (𝐺 ∈ (Magma ∩ ExId ) → (𝑌𝑋 → (𝑌 × 𝑌) ⊆ dom 𝐺))
1211imp 444 . . . . . . . 8 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → (𝑌 × 𝑌) ⊆ dom 𝐺)
13 ssdmres 5530 . . . . . . . 8 ((𝑌 × 𝑌) ⊆ dom 𝐺 ↔ dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
1412, 13sylib 208 . . . . . . 7 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
152, 14syl5eq 2770 . . . . . 6 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom 𝐻 = (𝑌 × 𝑌))
1615dmeqd 5433 . . . . 5 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom dom 𝐻 = dom (𝑌 × 𝑌))
17 dmxpid 5452 . . . . 5 dom (𝑌 × 𝑌) = 𝑌
1816, 17syl6eq 2774 . . . 4 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → dom dom 𝐻 = 𝑌)
1918eleq2d 2789 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) → (𝑈 ∈ dom dom 𝐻𝑈𝑌))
2019biimp3ar 1546 . 2 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → 𝑈 ∈ dom dom 𝐻)
21 ssel2 3704 . . . . . . . . . 10 ((𝑌𝑋𝑥𝑌) → 𝑥𝑋)
22 exidres.2 . . . . . . . . . . 11 𝑈 = (GId‘𝐺)
235, 22cmpidelt 33890 . . . . . . . . . 10 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑥𝑋) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2421, 23sylan2 492 . . . . . . . . 9 ((𝐺 ∈ (Magma ∩ ExId ) ∧ (𝑌𝑋𝑥𝑌)) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2524anassrs 683 . . . . . . . 8 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑥𝑌) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
2625adantrl 754 . . . . . . 7 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥))
271oveqi 6778 . . . . . . . . . . 11 (𝑈𝐻𝑥) = (𝑈(𝐺 ↾ (𝑌 × 𝑌))𝑥)
28 ovres 6917 . . . . . . . . . . 11 ((𝑈𝑌𝑥𝑌) → (𝑈(𝐺 ↾ (𝑌 × 𝑌))𝑥) = (𝑈𝐺𝑥))
2927, 28syl5eq 2770 . . . . . . . . . 10 ((𝑈𝑌𝑥𝑌) → (𝑈𝐻𝑥) = (𝑈𝐺𝑥))
3029eqeq1d 2726 . . . . . . . . 9 ((𝑈𝑌𝑥𝑌) → ((𝑈𝐻𝑥) = 𝑥 ↔ (𝑈𝐺𝑥) = 𝑥))
311oveqi 6778 . . . . . . . . . . . 12 (𝑥𝐻𝑈) = (𝑥(𝐺 ↾ (𝑌 × 𝑌))𝑈)
32 ovres 6917 . . . . . . . . . . . 12 ((𝑥𝑌𝑈𝑌) → (𝑥(𝐺 ↾ (𝑌 × 𝑌))𝑈) = (𝑥𝐺𝑈))
3331, 32syl5eq 2770 . . . . . . . . . . 11 ((𝑥𝑌𝑈𝑌) → (𝑥𝐻𝑈) = (𝑥𝐺𝑈))
3433ancoms 468 . . . . . . . . . 10 ((𝑈𝑌𝑥𝑌) → (𝑥𝐻𝑈) = (𝑥𝐺𝑈))
3534eqeq1d 2726 . . . . . . . . 9 ((𝑈𝑌𝑥𝑌) → ((𝑥𝐻𝑈) = 𝑥 ↔ (𝑥𝐺𝑈) = 𝑥))
3630, 35anbi12d 749 . . . . . . . 8 ((𝑈𝑌𝑥𝑌) → (((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥)))
3736adantl 473 . . . . . . 7 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → (((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ((𝑈𝐺𝑥) = 𝑥 ∧ (𝑥𝐺𝑈) = 𝑥)))
3826, 37mpbird 247 . . . . . 6 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ (𝑈𝑌𝑥𝑌)) → ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
3938anassrs 683 . . . . 5 ((((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑈𝑌) ∧ 𝑥𝑌) → ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
4039ralrimiva 3068 . . . 4 (((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋) ∧ 𝑈𝑌) → ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
41403impa 1100 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
42123adant3 1124 . . . . . . . 8 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (𝑌 × 𝑌) ⊆ dom 𝐺)
4342, 13sylib 208 . . . . . . 7 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom (𝐺 ↾ (𝑌 × 𝑌)) = (𝑌 × 𝑌))
442, 43syl5eq 2770 . . . . . 6 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom 𝐻 = (𝑌 × 𝑌))
4544dmeqd 5433 . . . . 5 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom dom 𝐻 = dom (𝑌 × 𝑌))
4645, 17syl6eq 2774 . . . 4 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → dom dom 𝐻 = 𝑌)
4746raleqdv 3247 . . 3 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥) ↔ ∀𝑥𝑌 ((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥)))
4841, 47mpbird 247 . 2 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → ∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥))
4920, 48jca 555 1 ((𝐺 ∈ (Magma ∩ ExId ) ∧ 𝑌𝑋𝑈𝑌) → (𝑈 ∈ dom dom 𝐻 ∧ ∀𝑥 ∈ dom dom 𝐻((𝑈𝐻𝑥) = 𝑥 ∧ (𝑥𝐻𝑈) = 𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1072   = wceq 1596  wcel 2103  wral 3014  cin 3679  wss 3680   × cxp 5216  dom cdm 5218  ran crn 5219  cres 5220  wf 5997  ontowfo 5999  cfv 6001  (class class class)co 6765  GIdcgi 27574   ExId cexid 33875  Magmacmagm 33879
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1835  ax-4 1850  ax-5 1952  ax-6 2018  ax-7 2054  ax-8 2105  ax-9 2112  ax-10 2132  ax-11 2147  ax-12 2160  ax-13 2355  ax-ext 2704  ax-sep 4889  ax-nul 4897  ax-pr 5011  ax-un 7066
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1599  df-ex 1818  df-nf 1823  df-sb 2011  df-eu 2575  df-mo 2576  df-clab 2711  df-cleq 2717  df-clel 2720  df-nfc 2855  df-ne 2897  df-ral 3019  df-rex 3020  df-reu 3021  df-rmo 3022  df-rab 3023  df-v 3306  df-sbc 3542  df-csb 3640  df-dif 3683  df-un 3685  df-in 3687  df-ss 3694  df-nul 4024  df-if 4195  df-sn 4286  df-pr 4288  df-op 4292  df-uni 4545  df-iun 4630  df-br 4761  df-opab 4821  df-mpt 4838  df-id 5128  df-xp 5224  df-rel 5225  df-cnv 5226  df-co 5227  df-dm 5228  df-rn 5229  df-res 5230  df-iota 5964  df-fun 6003  df-fn 6004  df-f 6005  df-fo 6007  df-fv 6009  df-riota 6726  df-ov 6768  df-gid 27578  df-exid 33876  df-mgmOLD 33880
This theorem is referenced by:  exidres  33909  exidresid  33910
  Copyright terms: Public domain W3C validator