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

Theorem gpg5nbgr3star 48997
Description: In a generalized Petersen graph G(N,K) of order 10 (𝑁 = 5), these are the Petersen graph G(5,2) and the 5-prism G(5,1), every vertex has exactly three (different) neighbors, and none of these neighbors are connected by an edge (i.e., the (closed) neighborhood of every vertex induces a subgraph which is isomorphic to a 3-star). This does not hold for every generalized Petersen graph: for example, in the 3-prism G(3,1) (see gpg31grim3prism TODO) and the Dürer graph G(6,2) there are vertices which have neighborhoods containing triangles. In general, all generalized Petersen graphs G(N,K) with 𝑁 = 3 · 𝐾 contain triangles, see gpg3kgrtriex 49005. (Contributed by AV, 8-Sep-2025.)
Hypotheses
Ref Expression
gpgnbgr.j 𝐽 = (1..^(⌈‘(𝑁 / 2)))
gpgnbgr.g 𝐺 = (𝑁 gPetersenGr 𝐾)
gpgnbgr.v 𝑉 = (Vtx‘𝐺)
gpgnbgr.u 𝑈 = (𝐺 NeighbVtx 𝑋)
gpgnbgr.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
gpg5nbgr3star ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
Distinct variable groups:   𝑦,𝐺   𝑦,𝑉   𝑦,𝑋   𝑥,𝐽,𝑦   𝑥,𝐾,𝑦   𝑥,𝑁,𝑦   𝑥,𝑈,𝑦   𝑥,𝑉   𝑥,𝑋   𝑥,𝐸,𝑦
Allowed substitution hint:   𝐺(𝑥)

Proof of Theorem gpg5nbgr3star
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 5eluz3 12932 . . . . . 6 5 ∈ (ℤ‘3)
2 eleq1 2848 . . . . . 6 (𝑁 = 5 → (𝑁 ∈ (ℤ‘3) ↔ 5 ∈ (ℤ‘3)))
31, 2mpbiri 261 . . . . 5 (𝑁 = 5 → 𝑁 ∈ (ℤ‘3))
43anim1i 627 . . . 4 ((𝑁 = 5 ∧ 𝐾𝐽) → (𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽))
5 eqid 2760 . . . . 5 (0..^𝑁) = (0..^𝑁)
6 gpgnbgr.j . . . . 5 𝐽 = (1..^(⌈‘(𝑁 / 2)))
7 gpgnbgr.g . . . . 5 𝐺 = (𝑁 gPetersenGr 𝐾)
8 gpgnbgr.v . . . . 5 𝑉 = (Vtx‘𝐺)
95, 6, 7, 8gpgvtxel 48963 . . . 4 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) → (𝑋𝑉 ↔ ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩))
104, 9syl 18 . . 3 ((𝑁 = 5 ∧ 𝐾𝐽) → (𝑋𝑉 ↔ ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩))
1110biimp3a 1498 . 2 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩)
12 elpri 4608 . . . . . . 7 (𝑎 ∈ {0, 1} → (𝑎 = 0 ∨ 𝑎 = 1))
13 opeq1 4833 . . . . . . . . . . . 12 (𝑎 = 0 → ⟨𝑎, 𝑏⟩ = ⟨0, 𝑏⟩)
1413eqeq2d 2771 . . . . . . . . . . 11 (𝑎 = 0 → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨0, 𝑏⟩))
1514adantr 486 . . . . . . . . . 10 ((𝑎 = 0 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨0, 𝑏⟩))
16 c0ex 11224 . . . . . . . . . . . . 13 0 ∈ V
17 vex 3454 . . . . . . . . . . . . 13 𝑏 ∈ V
1816, 17op1std 7996 . . . . . . . . . . . 12 (𝑋 = ⟨0, 𝑏⟩ → (1st𝑋) = 0)
19 4z 12652 . . . . . . . . . . . . . . . . 17 4 ∈ ℤ
20 5nn 12351 . . . . . . . . . . . . . . . . . 18 5 ∈ ℕ
2120nnzi 12642 . . . . . . . . . . . . . . . . 17 5 ∈ ℤ
22 4re 12349 . . . . . . . . . . . . . . . . . 18 4 ∈ ℝ
23 5re 12352 . . . . . . . . . . . . . . . . . 18 5 ∈ ℝ
24 4lt5 12444 . . . . . . . . . . . . . . . . . 18 4 < 5
2522, 23, 24ltleii 11357 . . . . . . . . . . . . . . . . 17 4 ≤ 5
26 eluz2 12893 . . . . . . . . . . . . . . . . 17 (5 ∈ (ℤ‘4) ↔ (4 ∈ ℤ ∧ 5 ∈ ℤ ∧ 4 ≤ 5))
2719, 21, 25, 26mpbir3an 1360 . . . . . . . . . . . . . . . 16 5 ∈ (ℤ‘4)
28 eleq1 2848 . . . . . . . . . . . . . . . 16 (𝑁 = 5 → (𝑁 ∈ (ℤ‘4) ↔ 5 ∈ (ℤ‘4)))
2927, 28mpbiri 261 . . . . . . . . . . . . . . 15 (𝑁 = 5 → 𝑁 ∈ (ℤ‘4))
30 gpgnbgr.u . . . . . . . . . . . . . . . 16 𝑈 = (𝐺 NeighbVtx 𝑋)
31 gpgnbgr.e . . . . . . . . . . . . . . . 16 𝐸 = (Edg‘𝐺)
326, 7, 8, 30, 31gpg5nbgrvtx03star 48996 . . . . . . . . . . . . . . 15 (((𝑁 ∈ (ℤ‘4) ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 0)) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
3329, 32sylanl1 693 . . . . . . . . . . . . . 14 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 0)) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
3433exp43 442 . . . . . . . . . . . . 13 (𝑁 = 5 → (𝐾𝐽 → (𝑋𝑉 → ((1st𝑋) = 0 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))))
35343imp 1128 . . . . . . . . . . . 12 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((1st𝑋) = 0 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
3618, 35syl5 35 . . . . . . . . . . 11 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨0, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
3736adantl 487 . . . . . . . . . 10 ((𝑎 = 0 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨0, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
3815, 37sylbid 243 . . . . . . . . 9 ((𝑎 = 0 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
3938ex 418 . . . . . . . 8 (𝑎 = 0 → ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
40 opeq1 4833 . . . . . . . . . . . 12 (𝑎 = 1 → ⟨𝑎, 𝑏⟩ = ⟨1, 𝑏⟩)
4140eqeq2d 2771 . . . . . . . . . . 11 (𝑎 = 1 → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨1, 𝑏⟩))
4241adantr 486 . . . . . . . . . 10 ((𝑎 = 1 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨1, 𝑏⟩))
43 1ex 11227 . . . . . . . . . . . . 13 1 ∈ V
4443, 17op1std 7996 . . . . . . . . . . . 12 (𝑋 = ⟨1, 𝑏⟩ → (1st𝑋) = 1)
456, 7, 8, 30gpg3nbgrvtx1 48994 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (♯‘𝑈) = 3)
463, 45sylanl1 693 . . . . . . . . . . . . . . 15 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (♯‘𝑈) = 3)
47 eqid 2760 . . . . . . . . . . . . . . . . . . . 20 ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩
486eleq2i 2852 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐾𝐽𝐾 ∈ (1..^(⌈‘(𝑁 / 2))))
4948biimpi 219 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐾𝐽𝐾 ∈ (1..^(⌈‘(𝑁 / 2))))
50 gpgusgra 48973 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾 ∈ (1..^(⌈‘(𝑁 / 2)))) → (𝑁 gPetersenGr 𝐾) ∈ USGraph)
517, 50eqeltrid 2864 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾 ∈ (1..^(⌈‘(𝑁 / 2)))) → 𝐺 ∈ USGraph)
523, 49, 51syl2an 608 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑁 = 5 ∧ 𝐾𝐽) → 𝐺 ∈ USGraph)
5352adantr 486 . . . . . . . . . . . . . . . . . . . . 21 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → 𝐺 ∈ USGraph)
5431usgredgne 29666 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ ≠ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩)
5554neneqd 2960 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ¬ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩)
5655ex 418 . . . . . . . . . . . . . . . . . . . . 21 (𝐺 ∈ USGraph → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸 → ¬ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩))
5753, 56syl 18 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸 → ¬ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩))
5847, 57mt2i 138 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ¬ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸)
59 df-nel 3062 . . . . . . . . . . . . . . . . . . 19 ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ↔ ¬ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸)
6058, 59sylibr 237 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸)
61 fvexd 6893 . . . . . . . . . . . . . . . . . . 19 ((𝑋𝑉 ∧ (1st𝑋) = 1) → (2nd𝑋) ∈ V)
626, 7, 8, 31gpg5nbgrvtx13starlem1 48987 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (2nd𝑋) ∈ V) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
6361, 62sylan2 605 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
64 simpl 488 . . . . . . . . . . . . . . . . . . . . 21 ((𝑋𝑉 ∧ (1st𝑋) = 1) → 𝑋𝑉)
654, 64anim12i 625 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ 𝑋𝑉))
665, 6, 7, 8gpgvtxel2 48964 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ 𝑋𝑉) → (2nd𝑋) ∈ (0..^𝑁))
67 elfzoelz 13714 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑋) ∈ (0..^𝑁) → (2nd𝑋) ∈ ℤ)
6865, 66, 673syl 19 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (2nd𝑋) ∈ ℤ)
696, 7, 8, 31gpg5nbgrvtx13starlem2 48988 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (2nd𝑋) ∈ ℤ) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
7068, 69syldan 603 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
71 opex 5439 . . . . . . . . . . . . . . . . . . 19 ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ ∈ V
72 opex 5439 . . . . . . . . . . . . . . . . . . 19 ⟨0, (2nd𝑋)⟩ ∈ V
73 opex 5439 . . . . . . . . . . . . . . . . . . 19 ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ ∈ V
74 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
75 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
7674, 75syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
77 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩})
78 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
7977, 78syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨0, (2nd𝑋)⟩ → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
80 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
81 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
8280, 81syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
8371, 72, 73, 76, 79, 82raltp 4666 . . . . . . . . . . . . . . . . . 18 (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ∧ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸 ∧ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
8460, 63, 70, 83syl3anbrc 1362 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸)
85 prcom 4693 . . . . . . . . . . . . . . . . . . . 20 {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩}
86 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} → ({⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
8785, 86ax-mp 5 . . . . . . . . . . . . . . . . . . 19 ({⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
8863, 87sylibr 237 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸)
89 eqid 2760 . . . . . . . . . . . . . . . . . . . 20 ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩
9031usgredgne 29666 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸) → ⟨0, (2nd𝑋)⟩ ≠ ⟨0, (2nd𝑋)⟩)
9190neneqd 2960 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐺 ∈ USGraph ∧ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸) → ¬ ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩)
9291ex 418 . . . . . . . . . . . . . . . . . . . . 21 (𝐺 ∈ USGraph → ({⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸 → ¬ ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩))
9353, 92syl 18 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ({⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸 → ¬ ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩))
9489, 93mt2i 138 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ¬ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸)
95 df-nel 3062 . . . . . . . . . . . . . . . . . . 19 ({⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸 ↔ ¬ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸)
9694, 95sylibr 237 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
976, 7, 8, 31gpg5nbgrvtx13starlem3 48989 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (2nd𝑋) ∈ V) → {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
9861, 97sylan2 605 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
99 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
100 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
10199, 100syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
102 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩})
103 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
104102, 103syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨0, (2nd𝑋)⟩ → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
105 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
106 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
107105, 106syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
10871, 72, 73, 101, 104, 107raltp 4666 . . . . . . . . . . . . . . . . . 18 (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ ({⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ∧ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸 ∧ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
10988, 96, 98, 108syl3anbrc 1362 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸)
110 prcom 4693 . . . . . . . . . . . . . . . . . . . 20 {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}
111 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
112110, 111ax-mp 5 . . . . . . . . . . . . . . . . . . 19 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
11370, 112sylibr 237 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸)
114 prcom 4693 . . . . . . . . . . . . . . . . . . . 20 {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}
115 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
116114, 115ax-mp 5 . . . . . . . . . . . . . . . . . . 19 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
11798, 116sylibr 237 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
118 eqid 2760 . . . . . . . . . . . . . . . . . . . 20 ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩
11931usgredgne 29666 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ ≠ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩)
120119neneqd 2960 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ¬ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩)
121120ex 418 . . . . . . . . . . . . . . . . . . . . 21 (𝐺 ∈ USGraph → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸 → ¬ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩))
12253, 121syl 18 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸 → ¬ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩))
123118, 122mt2i 138 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ¬ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸)
124 df-nel 3062 . . . . . . . . . . . . . . . . . . 19 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸 ↔ ¬ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸)
125123, 124sylibr 237 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
126 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
127 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
128126, 127syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
129 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩})
130 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
131129, 130syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨0, (2nd𝑋)⟩ → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
132 preq2 4695 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
133 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
134132, 133syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
13571, 72, 73, 128, 131, 134raltp 4666 . . . . . . . . . . . . . . . . . 18 (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ∧ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸 ∧ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
136113, 117, 125, 135syl3anbrc 1362 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸)
137 preq1 4694 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {𝑥, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦})
138 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
139137, 138syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
140139ralbidv 3185 . . . . . . . . . . . . . . . . . 18 (𝑥 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
141 preq1 4694 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨0, (2nd𝑋)⟩ → {𝑥, 𝑦} = {⟨0, (2nd𝑋)⟩, 𝑦})
142 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨0, (2nd𝑋)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
143141, 142syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨0, (2nd𝑋)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
144143ralbidv 3185 . . . . . . . . . . . . . . . . . 18 (𝑥 = ⟨0, (2nd𝑋)⟩ → (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
145 preq1 4694 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {𝑥, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦})
146 neleq1 3067 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
147145, 146syl 18 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
148147ralbidv 3185 . . . . . . . . . . . . . . . . . 18 (𝑥 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
14971, 72, 73, 140, 144, 148raltp 4666 . . . . . . . . . . . . . . . . 17 (∀𝑥 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸 ↔ (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ∧ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ∧ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
15084, 109, 136, 149syl3anbrc 1362 . . . . . . . . . . . . . . . 16 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑥 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸)
1516, 7, 8, 30gpgnbgrvtx1 48991 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → 𝑈 = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
1523, 151sylanl1 693 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → 𝑈 = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
153152raleqdv 3319 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (∀𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸))
154152, 153raleqbidv 3334 . . . . . . . . . . . . . . . 16 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑥 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸))
155150, 154mpbird 260 . . . . . . . . . . . . . . 15 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)
15646, 155jca 521 . . . . . . . . . . . . . 14 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
157156exp43 442 . . . . . . . . . . . . 13 (𝑁 = 5 → (𝐾𝐽 → (𝑋𝑉 → ((1st𝑋) = 1 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))))
1581573imp 1128 . . . . . . . . . . . 12 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((1st𝑋) = 1 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
15944, 158syl5 35 . . . . . . . . . . 11 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨1, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
160159adantl 487 . . . . . . . . . 10 ((𝑎 = 1 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨1, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
16142, 160sylbid 243 . . . . . . . . 9 ((𝑎 = 1 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
162161ex 418 . . . . . . . 8 (𝑎 = 1 → ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
16339, 162jaoi 871 . . . . . . 7 ((𝑎 = 0 ∨ 𝑎 = 1) → ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
16412, 163syl 18 . . . . . 6 (𝑎 ∈ {0, 1} → ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
165164impcom 413 . . . . 5 (((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) ∧ 𝑎 ∈ {0, 1}) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
166165a1d 26 . . . 4 (((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) ∧ 𝑎 ∈ {0, 1}) → (𝑏 ∈ (0..^𝑁) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
167166expimpd 459 . . 3 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((𝑎 ∈ {0, 1} ∧ 𝑏 ∈ (0..^𝑁)) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
168167rexlimdvv 3218 . 2 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
16911, 168mpd 16 1 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3  wi 4  wb 209  wa 401  wo 861  w3a 1103   = wceq 1570  wcel 2145  wnel 3061  wral 3076  wrex 3086  Vcvv 3450  {cpr 4586  {ctp 4588  cop 4590   class class class wbr 5103  cfv 6533  (class class class)co 7413  1st c1st 7984  2nd c2nd 7985  0cc0 11124  1c1 11125   + caddc 11127  cle 11268  cmin 11465   / cdiv 11895  2c2 12319  3c3 12320  4c4 12321  5c5 12322  cz 12615  cuz 12887  ..^cfzo 13709  cceil 13852   mod cmo 13930  chash 14394  Vtxcvtx 29453  Edgcedg 29504  USGraphcusgr 29609   NeighbVtx cnbgr 29792   gPetersenGr cgpg 48956
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-rep 5232  ax-sep 5251  ax-nul 5263  ax-pow 5330  ax-pr 5398  ax-un 7736  ax-cnex 11180  ax-resscn 11181  ax-1cn 11182  ax-icn 11183  ax-addcl 11184  ax-addrcl 11185  ax-mulcl 11186  ax-mulrcl 11187  ax-mulcom 11188  ax-addass 11189  ax-mulass 11190  ax-distr 11191  ax-i2m1 11192  ax-1ne0 11193  ax-1rid 11194  ax-rnegex 11195  ax-rrecex 11196  ax-cnre 11197  ax-pre-lttri 11198  ax-pre-lttrn 11199  ax-pre-ltadd 11200  ax-pre-mulgt0 11201  ax-pre-sup 11202
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6299  df-ord 6360  df-on 6361  df-lim 6362  df-suc 6363  df-iota 6489  df-fun 6535  df-fn 6536  df-f 6537  df-f1 6538  df-fo 6539  df-f1o 6540  df-fv 6541  df-riota 7370  df-ov 7416  df-oprab 7417  df-mpo 7418  df-om 7863  df-1st 7986  df-2nd 7987  df-frecs 8280  df-wrecs 8311  df-recs 8360  df-rdg 8399  df-1o 8455  df-2o 8456  df-oadd 8459  df-er 8696  df-en 8953  df-dom 8954  df-sdom 8955  df-fin 8956  df-sup 9412  df-inf 9413  df-dju 9906  df-card 9944  df-pnf 11269  df-mnf 11270  df-xr 11271  df-ltxr 11272  df-le 11273  df-sub 11467  df-neg 11468  df-div 11896  df-nn 12258  df-2 12327  df-3 12328  df-4 12329  df-5 12330  df-6 12331  df-7 12332  df-8 12333  df-9 12334  df-n0 12529  df-xnn0 12602  df-z 12616  df-dec 12737  df-uz 12888  df-rp 13043  df-ico 13404  df-fz 13562  df-fzo 13710  df-fl 13853  df-ceil 13854  df-mod 13931  df-seq 14066  df-exp 14126  df-hash 14395  df-cj 15186  df-re 15187  df-im 15188  df-sqrt 15322  df-abs 15323  df-dvds 16343  df-struct 17239  df-slot 17274  df-ndx 17286  df-base 17302  df-edgf 29446  df-vtx 29455  df-iedg 29456  df-edg 29505  df-upgr 29539  df-umgr 29540  df-usgr 29611  df-nbgr 29793  df-gpg 48957
This theorem is used by:  gpg5gricstgr3  49006
  Copyright terms: Public domain W3C validator