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

Theorem symgmatr01lem 20681
Description: Lemma for symgmatr01 20682. (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 807 . . 3 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → 𝐾𝑁)
2 eqeq1 2764 . . . . . 6 (𝑘 = 𝐾 → (𝑘 = 𝐾𝐾 = 𝐾))
3 fveq2 6353 . . . . . . . 8 (𝑘 = 𝐾 → (𝑄𝑘) = (𝑄𝐾))
43eqeq1d 2762 . . . . . . 7 (𝑘 = 𝐾 → ((𝑄𝑘) = 𝐿 ↔ (𝑄𝐾) = 𝐿))
54ifbid 4252 . . . . . 6 (𝑘 = 𝐾 → if((𝑄𝑘) = 𝐿, 𝐴, 𝐵) = if((𝑄𝐾) = 𝐿, 𝐴, 𝐵))
6 id 22 . . . . . . 7 (𝑘 = 𝐾𝑘 = 𝐾)
76, 3oveq12d 6832 . . . . . 6 (𝑘 = 𝐾 → (𝑘𝑀(𝑄𝑘)) = (𝐾𝑀(𝑄𝐾)))
82, 5, 7ifbieq12d 4257 . . . . 5 (𝑘 = 𝐾 → if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))))
98eqeq1d 2762 . . . 4 (𝑘 = 𝐾 → (if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵 ↔ if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵))
109adantl 473 . . 3 ((((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) ∧ 𝑘 = 𝐾) → (if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵 ↔ if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵))
11 eqidd 2761 . . . . 5 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → 𝐾 = 𝐾)
1211iftrued 4238 . . . 4 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = if((𝑄𝐾) = 𝐿, 𝐴, 𝐵))
13 eldif 3725 . . . . . . 7 (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) ↔ (𝑄𝑃 ∧ ¬ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}))
14 ianor 510 . . . . . . . . . 10 (¬ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐿) ↔ (¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿))
15 fveq1 6352 . . . . . . . . . . . 12 (𝑞 = 𝑄 → (𝑞𝐾) = (𝑄𝐾))
1615eqeq1d 2762 . . . . . . . . . . 11 (𝑞 = 𝑄 → ((𝑞𝐾) = 𝐿 ↔ (𝑄𝐾) = 𝐿))
1716elrab 3504 . . . . . . . . . 10 (𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} ↔ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐿))
1814, 17xchnxbir 322 . . . . . . . . 9 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} ↔ (¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿))
19 pm2.21 120 . . . . . . . . . 10 𝑄𝑃 → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
20 ax-1 6 . . . . . . . . . 10 (¬ (𝑄𝐾) = 𝐿 → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2119, 20jaoi 393 . . . . . . . . 9 ((¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿) → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2218, 21sylbi 207 . . . . . . . 8 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2322impcom 445 . . . . . . 7 ((𝑄𝑃 ∧ ¬ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ¬ (𝑄𝐾) = 𝐿)
2413, 23sylbi 207 . . . . . 6 (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ¬ (𝑄𝐾) = 𝐿)
2524adantl 473 . . . . 5 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → ¬ (𝑄𝐾) = 𝐿)
2625iffalsed 4241 . . . 4 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if((𝑄𝐾) = 𝐿, 𝐴, 𝐵) = 𝐵)
2712, 26eqtrd 2794 . . 3 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵)
281, 10, 27rspcedvd 3456 . 2 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵)
2928ex 449 1 ((𝐾𝑁𝐿𝑁) → (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 382  wa 383   = wceq 1632  wcel 2139  wrex 3051  {crab 3054  cdif 3712  ifcif 4230  cfv 6049  (class class class)co 6814  Basecbs 16079  SymGrpcsymg 18017
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-br 4805  df-iota 6012  df-fv 6057  df-ov 6817
This theorem is referenced by:  symgmatr01  20682
  Copyright terms: Public domain W3C validator