ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  2wlklem GIF version

Theorem 2wlklem 16256
Description: Lemma for theorems for walks of length 2. (Contributed by Alexander van der Vekens, 1-Feb-2018.)
Assertion
Ref Expression
2wlklem (∀𝑘 ∈ {0, 1} (𝐸‘(𝐹𝑘)) = {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ↔ ((𝐸‘(𝐹‘0)) = {(𝑃‘0), (𝑃‘1)} ∧ (𝐸‘(𝐹‘1)) = {(𝑃‘1), (𝑃‘2)}))
Distinct variable groups:   𝑘,𝐸   𝑘,𝐹   𝑃,𝑘

Proof of Theorem 2wlklem
StepHypRef Expression
1 c0ex 8178 . 2 0 ∈ V
2 1ex 8179 . 2 1 ∈ V
3 2fveq3 5647 . . 3 (𝑘 = 0 → (𝐸‘(𝐹𝑘)) = (𝐸‘(𝐹‘0)))
4 fveq2 5642 . . . 4 (𝑘 = 0 → (𝑃𝑘) = (𝑃‘0))
5 fv0p1e1 9263 . . . 4 (𝑘 = 0 → (𝑃‘(𝑘 + 1)) = (𝑃‘1))
64, 5preq12d 3757 . . 3 (𝑘 = 0 → {(𝑃𝑘), (𝑃‘(𝑘 + 1))} = {(𝑃‘0), (𝑃‘1)})
73, 6eqeq12d 2245 . 2 (𝑘 = 0 → ((𝐸‘(𝐹𝑘)) = {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ↔ (𝐸‘(𝐹‘0)) = {(𝑃‘0), (𝑃‘1)}))
8 2fveq3 5647 . . 3 (𝑘 = 1 → (𝐸‘(𝐹𝑘)) = (𝐸‘(𝐹‘1)))
9 fveq2 5642 . . . 4 (𝑘 = 1 → (𝑃𝑘) = (𝑃‘1))
10 oveq1 6030 . . . . . 6 (𝑘 = 1 → (𝑘 + 1) = (1 + 1))
11 1p1e2 9265 . . . . . 6 (1 + 1) = 2
1210, 11eqtrdi 2279 . . . . 5 (𝑘 = 1 → (𝑘 + 1) = 2)
1312fveq2d 5646 . . . 4 (𝑘 = 1 → (𝑃‘(𝑘 + 1)) = (𝑃‘2))
149, 13preq12d 3757 . . 3 (𝑘 = 1 → {(𝑃𝑘), (𝑃‘(𝑘 + 1))} = {(𝑃‘1), (𝑃‘2)})
158, 14eqeq12d 2245 . 2 (𝑘 = 1 → ((𝐸‘(𝐹𝑘)) = {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ↔ (𝐸‘(𝐹‘1)) = {(𝑃‘1), (𝑃‘2)}))
161, 2, 7, 15ralpr 3725 1 (∀𝑘 ∈ {0, 1} (𝐸‘(𝐹𝑘)) = {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ↔ ((𝐸‘(𝐹‘0)) = {(𝑃‘0), (𝑃‘1)} ∧ (𝐸‘(𝐹‘1)) = {(𝑃‘1), (𝑃‘2)}))
Colors of variables: wff set class
Syntax hints:  wa 104  wb 105   = wceq 1397  wral 2509  {cpr 3671  cfv 5328  (class class class)co 6023  0cc0 8037  1c1 8038   + caddc 8040  2c2 9199
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-ext 2212  ax-1cn 8130  ax-icn 8132  ax-addcl 8133  ax-mulcl 8135  ax-addcom 8137  ax-i2m1 8142  ax-0id 8145
This theorem depends on definitions:  df-bi 117  df-3an 1006  df-tru 1400  df-nf 1509  df-sb 1810  df-clab 2217  df-cleq 2223  df-clel 2226  df-nfc 2362  df-ral 2514  df-rex 2515  df-v 2803  df-sbc 3031  df-un 3203  df-sn 3676  df-pr 3677  df-op 3679  df-uni 3895  df-br 4090  df-iota 5288  df-fv 5336  df-ov 6026  df-2 9207
This theorem is referenced by:  upgr2wlkdc  16257
  Copyright terms: Public domain W3C validator