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

Theorem symgmatr01lem 20181
Description: Lemma for symgmatr01 20182. (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 785 . . 3 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → 𝐾𝑁)
2 eqeq1 2518 . . . . . 6 (𝑘 = 𝐾 → (𝑘 = 𝐾𝐾 = 𝐾))
3 fveq2 5987 . . . . . . . 8 (𝑘 = 𝐾 → (𝑄𝑘) = (𝑄𝐾))
43eqeq1d 2516 . . . . . . 7 (𝑘 = 𝐾 → ((𝑄𝑘) = 𝐿 ↔ (𝑄𝐾) = 𝐿))
54ifbid 3961 . . . . . 6 (𝑘 = 𝐾 → if((𝑄𝑘) = 𝐿, 𝐴, 𝐵) = if((𝑄𝐾) = 𝐿, 𝐴, 𝐵))
6 id 22 . . . . . . 7 (𝑘 = 𝐾𝑘 = 𝐾)
76, 3oveq12d 6444 . . . . . 6 (𝑘 = 𝐾 → (𝑘𝑀(𝑄𝑘)) = (𝐾𝑀(𝑄𝐾)))
82, 5, 7ifbieq12d 3966 . . . . 5 (𝑘 = 𝐾 → if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))))
98eqeq1d 2516 . . . 4 (𝑘 = 𝐾 → (if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵 ↔ if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵))
109adantl 480 . . 3 ((((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) ∧ 𝑘 = 𝐾) → (if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵 ↔ if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵))
11 eqidd 2515 . . . . 5 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → 𝐾 = 𝐾)
1211iftrued 3947 . . . 4 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = if((𝑄𝐾) = 𝐿, 𝐴, 𝐵))
13 eldif 3454 . . . . . . 7 (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) ↔ (𝑄𝑃 ∧ ¬ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}))
14 ianor 507 . . . . . . . . . 10 (¬ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐿) ↔ (¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿))
15 fveq1 5986 . . . . . . . . . . . 12 (𝑞 = 𝑄 → (𝑞𝐾) = (𝑄𝐾))
1615eqeq1d 2516 . . . . . . . . . . 11 (𝑞 = 𝑄 → ((𝑞𝐾) = 𝐿 ↔ (𝑄𝐾) = 𝐿))
1716elrab 3235 . . . . . . . . . 10 (𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} ↔ (𝑄𝑃 ∧ (𝑄𝐾) = 𝐿))
1814, 17xchnxbir 321 . . . . . . . . 9 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} ↔ (¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿))
19 pm2.21 118 . . . . . . . . . 10 𝑄𝑃 → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
20 ax-1 6 . . . . . . . . . 10 (¬ (𝑄𝐾) = 𝐿 → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2119, 20jaoi 392 . . . . . . . . 9 ((¬ 𝑄𝑃 ∨ ¬ (𝑄𝐾) = 𝐿) → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2218, 21sylbi 205 . . . . . . . 8 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿} → (𝑄𝑃 → ¬ (𝑄𝐾) = 𝐿))
2322impcom 444 . . . . . . 7 ((𝑄𝑃 ∧ ¬ 𝑄 ∈ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ¬ (𝑄𝐾) = 𝐿)
2413, 23sylbi 205 . . . . . 6 (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ¬ (𝑄𝐾) = 𝐿)
2524adantl 480 . . . . 5 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → ¬ (𝑄𝐾) = 𝐿)
2625iffalsed 3950 . . . 4 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if((𝑄𝐾) = 𝐿, 𝐴, 𝐵) = 𝐵)
2712, 26eqtrd 2548 . . 3 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → if(𝐾 = 𝐾, if((𝑄𝐾) = 𝐿, 𝐴, 𝐵), (𝐾𝑀(𝑄𝐾))) = 𝐵)
281, 10, 27rspcedvd 3193 . 2 (((𝐾𝑁𝐿𝑁) ∧ 𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿})) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵)
2928ex 448 1 ((𝐾𝑁𝐿𝑁) → (𝑄 ∈ (𝑃 ∖ {𝑞𝑃 ∣ (𝑞𝐾) = 𝐿}) → ∃𝑘𝑁 if(𝑘 = 𝐾, if((𝑄𝑘) = 𝐿, 𝐴, 𝐵), (𝑘𝑀(𝑄𝑘))) = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wo 381  wa 382   = wceq 1474  wcel 1938  wrex 2801  {crab 2804  cdif 3441  ifcif 3939  cfv 5689  (class class class)co 6426  Basecbs 15579  SymGrpcsymg 17512
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1700  ax-4 1713  ax-5 1793  ax-6 1838  ax-7 1885  ax-10 1966  ax-11 1971  ax-12 1983  ax-13 2137  ax-ext 2494
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1699  df-sb 1831  df-clab 2501  df-cleq 2507  df-clel 2510  df-nfc 2644  df-ral 2805  df-rex 2806  df-rab 2809  df-v 3079  df-dif 3447  df-un 3449  df-in 3451  df-ss 3458  df-nul 3778  df-if 3940  df-sn 4029  df-pr 4031  df-op 4035  df-uni 4271  df-br 4482  df-iota 5653  df-fv 5697  df-ov 6429
This theorem is referenced by:  symgmatr01  20182
  Copyright terms: Public domain W3C validator