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

Theorem numclwwlkovh0 28270
 Description: Value of operation 𝐻, mapping a vertex 𝑣 and an integer 𝑛 greater than 1 to the "closed n-walks v(0) ... v(n-2) v(n-1) v(n) from v = v(0) = v(n) ... with v(n-2) =/= v" according to definition 7 in [Huneke] p. 2. (Contributed by AV, 1-May-2022.)
Hypothesis
Ref Expression
numclwwlkovh.h 𝐻 = (𝑣𝑉, 𝑛 ∈ (ℤ‘2) ↦ {𝑤 ∈ (𝑣(ClWWalksNOn‘𝐺)𝑛) ∣ (𝑤‘(𝑛 − 2)) ≠ 𝑣})
Assertion
Ref Expression
numclwwlkovh0 ((𝑋𝑉𝑁 ∈ (ℤ‘2)) → (𝑋𝐻𝑁) = {𝑤 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁) ∣ (𝑤‘(𝑁 − 2)) ≠ 𝑋})
Distinct variable groups:   𝑛,𝐺,𝑣,𝑤   𝑛,𝑁,𝑣,𝑤   𝑛,𝑉,𝑣   𝑛,𝑋,𝑣,𝑤
Allowed substitution hints:   𝐻(𝑤,𝑣,𝑛)   𝑉(𝑤)

Proof of Theorem numclwwlkovh0
StepHypRef Expression
1 oveq12 7165 . . 3 ((𝑣 = 𝑋𝑛 = 𝑁) → (𝑣(ClWWalksNOn‘𝐺)𝑛) = (𝑋(ClWWalksNOn‘𝐺)𝑁))
2 oveq1 7163 . . . . . 6 (𝑛 = 𝑁 → (𝑛 − 2) = (𝑁 − 2))
32adantl 485 . . . . 5 ((𝑣 = 𝑋𝑛 = 𝑁) → (𝑛 − 2) = (𝑁 − 2))
43fveq2d 6667 . . . 4 ((𝑣 = 𝑋𝑛 = 𝑁) → (𝑤‘(𝑛 − 2)) = (𝑤‘(𝑁 − 2)))
5 simpl 486 . . . 4 ((𝑣 = 𝑋𝑛 = 𝑁) → 𝑣 = 𝑋)
64, 5neeq12d 3012 . . 3 ((𝑣 = 𝑋𝑛 = 𝑁) → ((𝑤‘(𝑛 − 2)) ≠ 𝑣 ↔ (𝑤‘(𝑁 − 2)) ≠ 𝑋))
71, 6rabeqbidv 3398 . 2 ((𝑣 = 𝑋𝑛 = 𝑁) → {𝑤 ∈ (𝑣(ClWWalksNOn‘𝐺)𝑛) ∣ (𝑤‘(𝑛 − 2)) ≠ 𝑣} = {𝑤 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁) ∣ (𝑤‘(𝑁 − 2)) ≠ 𝑋})
8 numclwwlkovh.h . 2 𝐻 = (𝑣𝑉, 𝑛 ∈ (ℤ‘2) ↦ {𝑤 ∈ (𝑣(ClWWalksNOn‘𝐺)𝑛) ∣ (𝑤‘(𝑛 − 2)) ≠ 𝑣})
9 ovex 7189 . . 3 (𝑋(ClWWalksNOn‘𝐺)𝑁) ∈ V
109rabex 5206 . 2 {𝑤 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁) ∣ (𝑤‘(𝑁 − 2)) ≠ 𝑋} ∈ V
117, 8, 10ovmpoa 7306 1 ((𝑋𝑉𝑁 ∈ (ℤ‘2)) → (𝑋𝐻𝑁) = {𝑤 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁) ∣ (𝑤‘(𝑁 − 2)) ≠ 𝑋})
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   = wceq 1538   ∈ wcel 2111   ≠ wne 2951  {crab 3074  ‘cfv 6340  (class class class)co 7156   ∈ cmpo 7158   − cmin 10921  2c2 11742  ℤ≥cuz 12295  ClWWalksNOncclwwlknon 27985 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-sep 5173  ax-nul 5180  ax-pr 5302 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-rab 3079  df-v 3411  df-sbc 3699  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-nul 4228  df-if 4424  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-br 5037  df-opab 5099  df-id 5434  df-xp 5534  df-rel 5535  df-cnv 5536  df-co 5537  df-dm 5538  df-iota 6299  df-fun 6342  df-fv 6348  df-ov 7159  df-oprab 7160  df-mpo 7161 This theorem is referenced by:  numclwwlkovh  28271  numclwwlk3lem2lem  28281  numclwwlk3lem2  28282
 Copyright terms: Public domain W3C validator