Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  av-numclwlk2lem2fv Structured version   Visualization version   GIF version

Theorem av-numclwlk2lem2fv 41529
Description: Value of the function R. (Contributed by Alexander van der Vekens, 6-Oct-2018.) (Revised by AV, 31-May-2021.)
Hypotheses
Ref Expression
av-numclwwlk.v 𝑉 = (Vtx‘𝐺)
av-numclwwlk.q 𝑄 = (𝑣𝑉, 𝑛 ∈ ℕ ↦ {𝑤 ∈ (𝑛 WWalkSN 𝐺) ∣ ((𝑤‘0) = 𝑣 ∧ ( lastS ‘𝑤) ≠ 𝑣)})
av-numclwwlk.f 𝐹 = (𝑣𝑉, 𝑛 ∈ ℕ ↦ {𝑤 ∈ (𝑛 ClWWalkSN 𝐺) ∣ (𝑤‘0) = 𝑣})
av-numclwwlk.h 𝐻 = (𝑣𝑉, 𝑛 ∈ ℕ ↦ {𝑤 ∈ (𝑛 ClWWalkSN 𝐺) ∣ ((𝑤‘0) = 𝑣 ∧ (𝑤‘(𝑛 − 2)) ≠ (𝑤‘0))})
av-numclwwlk.r 𝑅 = (𝑥 ∈ (𝑋𝐻(𝑁 + 2)) ↦ (𝑥 substr ⟨0, (𝑁 + 1)⟩))
Assertion
Ref Expression
av-numclwlk2lem2fv ((𝑋𝑉𝑁 ∈ ℕ) → (𝑊 ∈ (𝑋𝐻(𝑁 + 2)) → (𝑅𝑊) = (𝑊 substr ⟨0, (𝑁 + 1)⟩)))
Distinct variable groups:   𝑛,𝐺,𝑣,𝑤   𝑛,𝑁,𝑣,𝑤   𝑛,𝑉,𝑣   𝑛,𝑋,𝑣,𝑤   𝑤,𝑉   𝑣,𝑊,𝑤   𝑥,𝐺,𝑤   𝑥,𝐻   𝑥,𝑁   𝑥,𝑄   𝑥,𝑉   𝑥,𝑋   𝑥,𝑊
Allowed substitution hints:   𝑄(𝑤,𝑣,𝑛)   𝑅(𝑥,𝑤,𝑣,𝑛)   𝐹(𝑥,𝑤,𝑣,𝑛)   𝐻(𝑤,𝑣,𝑛)   𝑊(𝑛)

Proof of Theorem av-numclwlk2lem2fv
StepHypRef Expression
1 av-numclwwlk.r . . . 4 𝑅 = (𝑥 ∈ (𝑋𝐻(𝑁 + 2)) ↦ (𝑥 substr ⟨0, (𝑁 + 1)⟩))
21a1i 11 . . 3 (((𝑋𝑉𝑁 ∈ ℕ) ∧ 𝑊 ∈ (𝑋𝐻(𝑁 + 2))) → 𝑅 = (𝑥 ∈ (𝑋𝐻(𝑁 + 2)) ↦ (𝑥 substr ⟨0, (𝑁 + 1)⟩)))
3 oveq1 6534 . . . 4 (𝑥 = 𝑊 → (𝑥 substr ⟨0, (𝑁 + 1)⟩) = (𝑊 substr ⟨0, (𝑁 + 1)⟩))
43adantl 480 . . 3 ((((𝑋𝑉𝑁 ∈ ℕ) ∧ 𝑊 ∈ (𝑋𝐻(𝑁 + 2))) ∧ 𝑥 = 𝑊) → (𝑥 substr ⟨0, (𝑁 + 1)⟩) = (𝑊 substr ⟨0, (𝑁 + 1)⟩))
5 simpr 475 . . 3 (((𝑋𝑉𝑁 ∈ ℕ) ∧ 𝑊 ∈ (𝑋𝐻(𝑁 + 2))) → 𝑊 ∈ (𝑋𝐻(𝑁 + 2)))
6 ovex 6555 . . . 4 (𝑊 substr ⟨0, (𝑁 + 1)⟩) ∈ V
76a1i 11 . . 3 (((𝑋𝑉𝑁 ∈ ℕ) ∧ 𝑊 ∈ (𝑋𝐻(𝑁 + 2))) → (𝑊 substr ⟨0, (𝑁 + 1)⟩) ∈ V)
82, 4, 5, 7fvmptd 6182 . 2 (((𝑋𝑉𝑁 ∈ ℕ) ∧ 𝑊 ∈ (𝑋𝐻(𝑁 + 2))) → (𝑅𝑊) = (𝑊 substr ⟨0, (𝑁 + 1)⟩))
98ex 448 1 ((𝑋𝑉𝑁 ∈ ℕ) → (𝑊 ∈ (𝑋𝐻(𝑁 + 2)) → (𝑅𝑊) = (𝑊 substr ⟨0, (𝑁 + 1)⟩)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382   = wceq 1474  wcel 1976  wne 2779  {crab 2899  Vcvv 3172  cop 4130  cmpt 4637  cfv 5790  (class class class)co 6527  cmpt2 6529  0cc0 9792  1c1 9793   + caddc 9795  cmin 10117  cn 10867  2c2 10917   lastS clsw 13093   substr csubstr 13096  Vtxcvtx 40224   WWalkSN cwwlksn 41024   ClWWalkSN cclwwlksn 41179
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pr 4828
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 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-sn 4125  df-pr 4127  df-op 4131  df-uni 4367  df-br 4578  df-opab 4638  df-mpt 4639  df-id 4943  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-iota 5754  df-fun 5792  df-fv 5798  df-ov 6530
This theorem is referenced by:  av-numclwlk2lem2f1o  41530
  Copyright terms: Public domain W3C validator