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

Theorem symgmatr01lem 21802
Description: Lemma for symgmatr01 21803. (Contributed by AV, 3-Jan-2019.)
Hypothesis
Ref Expression
symgmatr01.p 𝑃 = (Base‘(SymGrp‘𝑁))
Assertion
Ref Expression
symgmatr01lem ((𝐾𝑁𝐿𝑁) → (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵))
Distinct variable groups:   𝐴,𝑘   𝐵,𝑘   𝑘,𝑞,𝐿   𝑘,𝐾,𝑞   𝑘,𝑀   𝑘,𝑁   𝑃,𝑘,𝑞   𝑄,𝑘,𝑞
Allowed substitution hints:   𝐴(𝑞)   𝐵(𝑞)   𝑀(𝑞)   𝑁(𝑞)

Proof of Theorem symgmatr01lem
StepHypRef Expression
1 simpll 764 . . 3 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → 𝐾𝑁)
2 eqeq1 2742 . . . . . 6 (𝑘 = 𝐾 → (𝑘 = 𝐾𝐾 = 𝐾))
3 fveq2 6774 . . . . . . . 8 (𝑘 = 𝐾 → (𝑄𝑘) = (𝑄𝐾))
43eqeq1d 2740 . . . . . . 7 (𝑘 = 𝐾 → ((𝑄𝑘) = 𝐿 ↔ (𝑄𝐾) = 𝐿))
54ifbid 4482 . . . . . 6 (𝑘 = 𝐾 → if((𝑄𝑘) = 𝐿, 𝐴, 𝐵) = if((𝑄𝐾) = 𝐿, 𝐴, 𝐵))
6 id 22 . . . . . . 7 (𝑘 = 𝐾𝑘 = 𝐾)
76, 3oveq12d 7293 . . . . . 6 (𝑘 = 𝐾 → (𝑘𝑀(𝑄𝑘)) = (𝐾𝑀(𝑄𝐾)))
82, 5, 7ifbieq12d 4487 . . . . 5 (𝑘 = 𝐾 → if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))))
98eqeq1d 2740 . . . 4 (𝑘 = 𝐾 → (if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵 ↔ if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵))
109adantl 482 . . 3 ((((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) ∧ 𝑘 = 𝐾) → (if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵 ↔ if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵))
11 eqidd 2739 . . . . 5 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → 𝐾 = 𝐾)
1211iftrued 4467 . . . 4 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = if((𝑄𝐾) = 𝐿, 𝐴, 𝐵))
13 eldif 3897 . . . . . . 7 (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) ↔ (𝑄𝑃 ∧ ¬ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}))
14 ianor 979 . . . . . . . . . 10 (¬ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐿) ↔ (¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿))
15 fveq1 6773 . . . . . . . . . . . 12 (𝑞 = 𝑄 → (𝑞𝐾) = (𝑄𝐾))
1615eqeq1d 2740 . . . . . . . . . . 11 (𝑞 = 𝑄 → ((𝑞𝐾) = 𝐿 ↔ (𝑄𝐾) = 𝐿))
1716elrab 3624 . . . . . . . . . 10 (𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} ↔ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐿))
1814, 17xchnxbir 333 . . . . . . . . 9 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} ↔ (¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿))
19 pm2.21 123 . . . . . . . . . 10 𝑄𝑃 → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
20 ax-1 6 . . . . . . . . . 10 (¬ (𝑄𝐾) = 𝐿 → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2119, 20jaoi 854 . . . . . . . . 9 ((¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿) → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2218, 21sylbi 216 . . . . . . . 8 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2322impcom 408 . . . . . . 7 ((𝑄𝑃 ∧ ¬ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ¬ (𝑄𝐾) = 𝐿)
2413, 23sylbi 216 . . . . . 6 (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ¬ (𝑄𝐾) = 𝐿)
2524adantl 482 . . . . 5 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → ¬ (𝑄𝐾) = 𝐿)
2625iffalsed 4470 . . . 4 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if((𝑄𝐾) = 𝐿, 𝐴, 𝐵) = 𝐵)
2712, 26eqtrd 2778 . . 3 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵)
281, 10, 27rspcedvd 3563 . 2 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵)
2928ex 413 1 ((𝐾𝑁𝐿𝑁) → (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wrex 3065  {crab 3068  cdif 3884  ifcif 4459  cfv 6433  (class class class)co 7275  Basecbs 16912  SymGrpcsymg 18974
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-iota 6391  df-fv 6441  df-ov 7278
This theorem is referenced by:  symgmatr01  21803
  Copyright terms: Public domain W3C validator