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

Theorem symgmatr01lem 21710
Description: Lemma for symgmatr01 21711. (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 763 . . 3 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → 𝐾𝑁)
2 eqeq1 2742 . . . . . 6 (𝑘 = 𝐾 → (𝑘 = 𝐾𝐾 = 𝐾))
3 fveq2 6756 . . . . . . . 8 (𝑘 = 𝐾 → (𝑄𝑘) = (𝑄𝐾))
43eqeq1d 2740 . . . . . . 7 (𝑘 = 𝐾 → ((𝑄𝑘) = 𝐿 ↔ (𝑄𝐾) = 𝐿))
54ifbid 4479 . . . . . 6 (𝑘 = 𝐾 → if((𝑄𝑘) = 𝐿, 𝐴, 𝐵) = if((𝑄𝐾) = 𝐿, 𝐴, 𝐵))
6 id 22 . . . . . . 7 (𝑘 = 𝐾𝑘 = 𝐾)
76, 3oveq12d 7273 . . . . . 6 (𝑘 = 𝐾 → (𝑘𝑀(𝑄𝑘)) = (𝐾𝑀(𝑄𝐾)))
82, 5, 7ifbieq12d 4484 . . . . 5 (𝑘 = 𝐾 → if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))))
98eqeq1d 2740 . . . 4 (𝑘 = 𝐾 → (if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵 ↔ if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵))
109adantl 481 . . 3 ((((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) ∧ 𝑘 = 𝐾) → (if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵 ↔ if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵))
11 eqidd 2739 . . . . 5 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → 𝐾 = 𝐾)
1211iftrued 4464 . . . 4 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = if((𝑄𝐾) = 𝐿, 𝐴, 𝐵))
13 eldif 3893 . . . . . . 7 (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) ↔ (𝑄𝑃 ∧ ¬ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}))
14 ianor 978 . . . . . . . . . 10 (¬ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐿) ↔ (¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿))
15 fveq1 6755 . . . . . . . . . . . 12 (𝑞 = 𝑄 → (𝑞𝐾) = (𝑄𝐾))
1615eqeq1d 2740 . . . . . . . . . . 11 (𝑞 = 𝑄 → ((𝑞𝐾) = 𝐿 ↔ (𝑄𝐾) = 𝐿))
1716elrab 3617 . . . . . . . . . 10 (𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} ↔ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐿))
1814, 17xchnxbir 332 . . . . . . . . 9 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} ↔ (¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿))
19 pm2.21 123 . . . . . . . . . 10 𝑄𝑃 → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
20 ax-1 6 . . . . . . . . . 10 (¬ (𝑄𝐾) = 𝐿 → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2119, 20jaoi 853 . . . . . . . . 9 ((¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿) → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2218, 21sylbi 216 . . . . . . . 8 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2322impcom 407 . . . . . . 7 ((𝑄𝑃 ∧ ¬ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ¬ (𝑄𝐾) = 𝐿)
2413, 23sylbi 216 . . . . . 6 (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ¬ (𝑄𝐾) = 𝐿)
2524adantl 481 . . . . 5 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → ¬ (𝑄𝐾) = 𝐿)
2625iffalsed 4467 . . . 4 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if((𝑄𝐾) = 𝐿, 𝐴, 𝐵) = 𝐵)
2712, 26eqtrd 2778 . . 3 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵)
281, 10, 27rspcedvd 3555 . 2 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵)
2928ex 412 1 ((𝐾𝑁𝐿𝑁) → (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843   = wceq 1539  wcel 2108  wrex 3064  {crab 3067  cdif 3880  ifcif 4456  cfv 6418  (class class class)co 7255  Basecbs 16840  SymGrpcsymg 18889
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-ext 2709
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-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  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-br 5071  df-iota 6376  df-fv 6426  df-ov 7258
This theorem is referenced by:  symgmatr01  21711
  Copyright terms: Public domain W3C validator