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

Theorem 2wlklem 16358
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 8264 . 2 0 ∈ V
2 1ex 8265 . 2 1 ∈ V
3 2fveq3 5674 . . 3 (𝑘 = 0 → (𝐸‘(𝐹𝑘)) = (𝐸‘(𝐹‘0)))
4 fveq2 5669 . . . 4 (𝑘 = 0 → (𝑃𝑘) = (𝑃‘0))
5 fv0p1e1 9348 . . . 4 (𝑘 = 0 → (𝑃‘(𝑘 + 1)) = (𝑃‘1))
64, 5preq12d 3775 . . 3 (𝑘 = 0 → {(𝑃𝑘), (𝑃‘(𝑘 + 1))} = {(𝑃‘0), (𝑃‘1)})
73, 6eqeq12d 2247 . 2 (𝑘 = 0 → ((𝐸‘(𝐹𝑘)) = {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ↔ (𝐸‘(𝐹‘0)) = {(𝑃‘0), (𝑃‘1)}))
8 2fveq3 5674 . . 3 (𝑘 = 1 → (𝐸‘(𝐹𝑘)) = (𝐸‘(𝐹‘1)))
9 fveq2 5669 . . . 4 (𝑘 = 1 → (𝑃𝑘) = (𝑃‘1))
10 oveq1 6056 . . . . . 6 (𝑘 = 1 → (𝑘 + 1) = (1 + 1))
11 1p1e2 9350 . . . . . 6 (1 + 1) = 2
1210, 11eqtrdi 2281 . . . . 5 (𝑘 = 1 → (𝑘 + 1) = 2)
1312fveq2d 5673 . . . 4 (𝑘 = 1 → (𝑃‘(𝑘 + 1)) = (𝑃‘2))
149, 13preq12d 3775 . . 3 (𝑘 = 1 → {(𝑃𝑘), (𝑃‘(𝑘 + 1))} = {(𝑃‘1), (𝑃‘2)})
158, 14eqeq12d 2247 . 2 (𝑘 = 1 → ((𝐸‘(𝐹𝑘)) = {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ↔ (𝐸‘(𝐹‘1)) = {(𝑃‘1), (𝑃‘2)}))
161, 2, 7, 15ralpr 3743 1 (∀𝑘 ∈ {0, 1} (𝐸‘(𝐹𝑘)) = {(𝑃𝑘), (𝑃‘(𝑘 + 1))} ↔ ((𝐸‘(𝐹‘0)) = {(𝑃‘0), (𝑃‘1)} ∧ (𝐸‘(𝐹‘1)) = {(𝑃‘1), (𝑃‘2)}))
Colors of variables: wff set class
Syntax hints:  wa 104  wb 105   = wceq 1398  wral 2520  {cpr 3689  cfv 5351  (class class class)co 6049  0cc0 8123  1c1 8124   + caddc 8126  2c2 9284
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 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-ext 2214  ax-1cn 8216  ax-icn 8218  ax-addcl 8219  ax-mulcl 8221  ax-addcom 8223  ax-i2m1 8228  ax-0id 8231
This theorem depends on definitions:  df-bi 117  df-3an 1007  df-tru 1401  df-nf 1510  df-sb 1812  df-clab 2219  df-cleq 2225  df-clel 2228  df-nfc 2373  df-ral 2525  df-rex 2526  df-v 2814  df-sbc 3042  df-un 3214  df-sn 3694  df-pr 3695  df-op 3697  df-uni 3914  df-br 4109  df-iota 5311  df-fv 5359  df-ov 6052  df-2 9292
This theorem is referenced by:  upgr2wlkdc  16359
  Copyright terms: Public domain W3C validator