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

Theorem wkslem1 27649
Description: Lemma 1 for walks to substitute the index of the condition for vertices and edges in a walk. (Contributed by AV, 23-Apr-2021.)
Assertion
Ref Expression
wkslem1 (𝐴 = 𝐵 → (if-((𝑃𝐴) = (𝑃‘(𝐴 + 1)), (𝐼‘(𝐹𝐴)) = {(𝑃𝐴)}, {(𝑃𝐴), (𝑃‘(𝐴 + 1))} ⊆ (𝐼‘(𝐹𝐴))) ↔ if-((𝑃𝐵) = (𝑃‘(𝐵 + 1)), (𝐼‘(𝐹𝐵)) = {(𝑃𝐵)}, {(𝑃𝐵), (𝑃‘(𝐵 + 1))} ⊆ (𝐼‘(𝐹𝐵)))))

Proof of Theorem wkslem1
StepHypRef Expression
1 fveq2 6695 . . 3 (𝐴 = 𝐵 → (𝑃𝐴) = (𝑃𝐵))
2 fvoveq1 7214 . . 3 (𝐴 = 𝐵 → (𝑃‘(𝐴 + 1)) = (𝑃‘(𝐵 + 1)))
31, 2eqeq12d 2752 . 2 (𝐴 = 𝐵 → ((𝑃𝐴) = (𝑃‘(𝐴 + 1)) ↔ (𝑃𝐵) = (𝑃‘(𝐵 + 1))))
4 2fveq3 6700 . . 3 (𝐴 = 𝐵 → (𝐼‘(𝐹𝐴)) = (𝐼‘(𝐹𝐵)))
51sneqd 4539 . . 3 (𝐴 = 𝐵 → {(𝑃𝐴)} = {(𝑃𝐵)})
64, 5eqeq12d 2752 . 2 (𝐴 = 𝐵 → ((𝐼‘(𝐹𝐴)) = {(𝑃𝐴)} ↔ (𝐼‘(𝐹𝐵)) = {(𝑃𝐵)}))
71, 2preq12d 4643 . . 3 (𝐴 = 𝐵 → {(𝑃𝐴), (𝑃‘(𝐴 + 1))} = {(𝑃𝐵), (𝑃‘(𝐵 + 1))})
87, 4sseq12d 3920 . 2 (𝐴 = 𝐵 → ({(𝑃𝐴), (𝑃‘(𝐴 + 1))} ⊆ (𝐼‘(𝐹𝐴)) ↔ {(𝑃𝐵), (𝑃‘(𝐵 + 1))} ⊆ (𝐼‘(𝐹𝐵))))
93, 6, 8ifpbi123d 1080 1 (𝐴 = 𝐵 → (if-((𝑃𝐴) = (𝑃‘(𝐴 + 1)), (𝐼‘(𝐹𝐴)) = {(𝑃𝐴)}, {(𝑃𝐴), (𝑃‘(𝐴 + 1))} ⊆ (𝐼‘(𝐹𝐴))) ↔ if-((𝑃𝐵) = (𝑃‘(𝐵 + 1)), (𝐼‘(𝐹𝐵)) = {(𝑃𝐵)}, {(𝑃𝐵), (𝑃‘(𝐵 + 1))} ⊆ (𝐼‘(𝐹𝐵)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  if-wif 1063   = wceq 1543  wss 3853  {csn 4527  {cpr 4529  cfv 6358  (class class class)co 7191  1c1 10695   + caddc 10697
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-ext 2708
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-ifp 1064  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-rab 3060  df-v 3400  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-iota 6316  df-fv 6366  df-ov 7194
This theorem is referenced by:  wlk1walk  27680  wlkres  27712  wlkp1lem8  27722  crctcshwlkn0lem6  27853  crctcshwlkn0lem7  27854  crctcshwlkn0  27859  pfxwlk  32752  revwlk  32753
  Copyright terms: Public domain W3C validator