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 48243
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 48251. (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 12787 . . . . . 6 5 ∈ (ℤ‘3)
2 eleq1 2821 . . . . . 6 (𝑁 = 5 → (𝑁 ∈ (ℤ‘3) ↔ 5 ∈ (ℤ‘3)))
31, 2mpbiri 258 . . . . 5 (𝑁 = 5 → 𝑁 ∈ (ℤ‘3))
43anim1i 615 . . . 4 ((𝑁 = 5 ∧ 𝐾𝐽) → (𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽))
5 eqid 2733 . . . . 5 (0..^𝑁) = (0..^𝑁)
6 gpgnbgr.j . . . . 5 𝐽 = (1..^(⌈‘(𝑁 / 2)))
7 gpgnbgr.g . . . . 5 𝐺 = (𝑁 gPetersenGr 𝐾)
8 gpgnbgr.v . . . . 5 𝑉 = (Vtx‘𝐺)
95, 6, 7, 8gpgvtxel 48209 . . . 4 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) → (𝑋𝑉 ↔ ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩))
104, 9syl 17 . . 3 ((𝑁 = 5 ∧ 𝐾𝐽) → (𝑋𝑉 ↔ ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩))
1110biimp3a 1471 . 2 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩)
12 elpri 4601 . . . . . . 7 (𝑎 ∈ {0, 1} → (𝑎 = 0 ∨ 𝑎 = 1))
13 opeq1 4826 . . . . . . . . . . . 12 (𝑎 = 0 → ⟨𝑎, 𝑏⟩ = ⟨0, 𝑏⟩)
1413eqeq2d 2744 . . . . . . . . . . 11 (𝑎 = 0 → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨0, 𝑏⟩))
1514adantr 480 . . . . . . . . . 10 ((𝑎 = 0 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨0, 𝑏⟩))
16 c0ex 11117 . . . . . . . . . . . . 13 0 ∈ V
17 vex 3441 . . . . . . . . . . . . 13 𝑏 ∈ V
1816, 17op1std 7940 . . . . . . . . . . . 12 (𝑋 = ⟨0, 𝑏⟩ → (1st𝑋) = 0)
19 4z 12516 . . . . . . . . . . . . . . . . 17 4 ∈ ℤ
20 5nn 12222 . . . . . . . . . . . . . . . . . 18 5 ∈ ℕ
2120nnzi 12506 . . . . . . . . . . . . . . . . 17 5 ∈ ℤ
22 4re 12220 . . . . . . . . . . . . . . . . . 18 4 ∈ ℝ
23 5re 12223 . . . . . . . . . . . . . . . . . 18 5 ∈ ℝ
24 4lt5 12308 . . . . . . . . . . . . . . . . . 18 4 < 5
2522, 23, 24ltleii 11247 . . . . . . . . . . . . . . . . 17 4 ≤ 5
26 eluz2 12748 . . . . . . . . . . . . . . . . 17 (5 ∈ (ℤ‘4) ↔ (4 ∈ ℤ ∧ 5 ∈ ℤ ∧ 4 ≤ 5))
2719, 21, 25, 26mpbir3an 1342 . . . . . . . . . . . . . . . 16 5 ∈ (ℤ‘4)
28 eleq1 2821 . . . . . . . . . . . . . . . 16 (𝑁 = 5 → (𝑁 ∈ (ℤ‘4) ↔ 5 ∈ (ℤ‘4)))
2927, 28mpbiri 258 . . . . . . . . . . . . . . 15 (𝑁 = 5 → 𝑁 ∈ (ℤ‘4))
30 gpgnbgr.u . . . . . . . . . . . . . . . 16 𝑈 = (𝐺 NeighbVtx 𝑋)
31 gpgnbgr.e . . . . . . . . . . . . . . . 16 𝐸 = (Edg‘𝐺)
326, 7, 8, 30, 31gpg5nbgrvtx03star 48242 . . . . . . . . . . . . . . 15 (((𝑁 ∈ (ℤ‘4) ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 0)) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
3329, 32sylanl1 680 . . . . . . . . . . . . . 14 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 0)) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
3433exp43 436 . . . . . . . . . . . . 13 (𝑁 = 5 → (𝐾𝐽 → (𝑋𝑉 → ((1st𝑋) = 0 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))))
35343imp 1110 . . . . . . . . . . . 12 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((1st𝑋) = 0 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
3618, 35syl5 34 . . . . . . . . . . 11 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨0, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
3736adantl 481 . . . . . . . . . 10 ((𝑎 = 0 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨0, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
3815, 37sylbid 240 . . . . . . . . 9 ((𝑎 = 0 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
3938ex 412 . . . . . . . 8 (𝑎 = 0 → ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
40 opeq1 4826 . . . . . . . . . . . 12 (𝑎 = 1 → ⟨𝑎, 𝑏⟩ = ⟨1, 𝑏⟩)
4140eqeq2d 2744 . . . . . . . . . . 11 (𝑎 = 1 → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨1, 𝑏⟩))
4241adantr 480 . . . . . . . . . 10 ((𝑎 = 1 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨1, 𝑏⟩))
43 1ex 11119 . . . . . . . . . . . . 13 1 ∈ V
4443, 17op1std 7940 . . . . . . . . . . . 12 (𝑋 = ⟨1, 𝑏⟩ → (1st𝑋) = 1)
456, 7, 8, 30gpg3nbgrvtx1 48240 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (♯‘𝑈) = 3)
463, 45sylanl1 680 . . . . . . . . . . . . . . 15 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (♯‘𝑈) = 3)
47 eqid 2733 . . . . . . . . . . . . . . . . . . . 20 ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩
486eleq2i 2825 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐾𝐽𝐾 ∈ (1..^(⌈‘(𝑁 / 2))))
4948biimpi 216 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐾𝐽𝐾 ∈ (1..^(⌈‘(𝑁 / 2))))
50 gpgusgra 48219 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾 ∈ (1..^(⌈‘(𝑁 / 2)))) → (𝑁 gPetersenGr 𝐾) ∈ USGraph)
517, 50eqeltrid 2837 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾 ∈ (1..^(⌈‘(𝑁 / 2)))) → 𝐺 ∈ USGraph)
523, 49, 51syl2an 596 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑁 = 5 ∧ 𝐾𝐽) → 𝐺 ∈ USGraph)
5352adantr 480 . . . . . . . . . . . . . . . . . . . . 21 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → 𝐺 ∈ USGraph)
5431usgredgne 29205 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ ≠ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩)
5554neneqd 2934 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ¬ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩)
5655ex 412 . . . . . . . . . . . . . . . . . . . . 21 (𝐺 ∈ USGraph → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸 → ¬ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩))
5753, 56syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸 → ¬ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩))
5847, 57mt2i 137 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ¬ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸)
59 df-nel 3034 . . . . . . . . . . . . . . . . . . 19 ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸 ↔ ¬ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸)
6058, 59sylibr 234 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸)
61 fvexd 6846 . . . . . . . . . . . . . . . . . . 19 ((𝑋𝑉 ∧ (1st𝑋) = 1) → (2nd𝑋) ∈ V)
626, 7, 8, 31gpg5nbgrvtx13starlem1 48233 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (2nd𝑋) ∈ V) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
6361, 62sylan2 593 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
64 simpl 482 . . . . . . . . . . . . . . . . . . . . 21 ((𝑋𝑉 ∧ (1st𝑋) = 1) → 𝑋𝑉)
654, 64anim12i 613 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ 𝑋𝑉))
665, 6, 7, 8gpgvtxel2 48210 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ 𝑋𝑉) → (2nd𝑋) ∈ (0..^𝑁))
67 elfzoelz 13566 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑋) ∈ (0..^𝑁) → (2nd𝑋) ∈ ℤ)
6865, 66, 673syl 18 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (2nd𝑋) ∈ ℤ)
696, 7, 8, 31gpg5nbgrvtx13starlem2 48234 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (2nd𝑋) ∈ ℤ) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
7068, 69syldan 591 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
71 opex 5409 . . . . . . . . . . . . . . . . . . 19 ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ ∈ V
72 opex 5409 . . . . . . . . . . . . . . . . . . 19 ⟨0, (2nd𝑋)⟩ ∈ V
73 opex 5409 . . . . . . . . . . . . . . . . . . 19 ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ ∈ V
74 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
75 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
7674, 75syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
77 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩})
78 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
7977, 78syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨0, (2nd𝑋)⟩ → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
80 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
81 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
8280, 81syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
8371, 72, 73, 76, 79, 82raltp 4659 . . . . . . . . . . . . . . . . . 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 1344 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸)
85 prcom 4686 . . . . . . . . . . . . . . . . . . . 20 {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩}
86 neleq1 3039 . . . . . . . . . . . . . . . . . . . 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 234 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸)
89 eqid 2733 . . . . . . . . . . . . . . . . . . . 20 ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩
9031usgredgne 29205 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸) → ⟨0, (2nd𝑋)⟩ ≠ ⟨0, (2nd𝑋)⟩)
9190neneqd 2934 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐺 ∈ USGraph ∧ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸) → ¬ ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩)
9291ex 412 . . . . . . . . . . . . . . . . . . . . 21 (𝐺 ∈ USGraph → ({⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸 → ¬ ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩))
9353, 92syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ({⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸 → ¬ ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩))
9489, 93mt2i 137 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ¬ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸)
95 df-nel 3034 . . . . . . . . . . . . . . . . . . 19 ({⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸 ↔ ¬ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸)
9694, 95sylibr 234 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
976, 7, 8, 31gpg5nbgrvtx13starlem3 48235 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (2nd𝑋) ∈ V) → {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
9861, 97sylan2 593 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
99 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
100 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
10199, 100syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
102 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩})
103 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
104102, 103syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨0, (2nd𝑋)⟩ → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
105 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
106 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
107105, 106syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
10871, 72, 73, 101, 104, 107raltp 4659 . . . . . . . . . . . . . . . . . 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 1344 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸)
110 prcom 4686 . . . . . . . . . . . . . . . . . . . 20 {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}
111 neleq1 3039 . . . . . . . . . . . . . . . . . . . 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 234 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸)
114 prcom 4686 . . . . . . . . . . . . . . . . . . . 20 {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}
115 neleq1 3039 . . . . . . . . . . . . . . . . . . . 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 234 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
118 eqid 2733 . . . . . . . . . . . . . . . . . . . 20 ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩
11931usgredgne 29205 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ ≠ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩)
120119neneqd 2934 . . . . . . . . . . . . . . . . . . . . . 22 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ¬ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩)
121120ex 412 . . . . . . . . . . . . . . . . . . . . 21 (𝐺 ∈ USGraph → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸 → ¬ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩))
12253, 121syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸 → ¬ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩))
123118, 122mt2i 137 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ¬ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸)
124 df-nel 3034 . . . . . . . . . . . . . . . . . . 19 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸 ↔ ¬ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸)
125123, 124sylibr 234 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
126 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
127 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
128126, 127syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∉ 𝐸))
129 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩})
130 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
131129, 130syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨0, (2nd𝑋)⟩ → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸))
132 preq2 4688 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
133 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
134132, 133syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸))
13571, 72, 73, 128, 131, 134raltp 4659 . . . . . . . . . . . . . . . . . 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 1344 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸)
137 preq1 4687 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {𝑥, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦})
138 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
139137, 138syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
140139ralbidv 3156 . . . . . . . . . . . . . . . . . 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 4687 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨0, (2nd𝑋)⟩ → {𝑥, 𝑦} = {⟨0, (2nd𝑋)⟩, 𝑦})
142 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨0, (2nd𝑋)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
143141, 142syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨0, (2nd𝑋)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
144143ralbidv 3156 . . . . . . . . . . . . . . . . . 18 (𝑥 = ⟨0, (2nd𝑋)⟩ → (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
145 preq1 4687 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {𝑥, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦})
146 neleq1 3039 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
147145, 146syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
148147ralbidv 3156 . . . . . . . . . . . . . . . . . 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 4659 . . . . . . . . . . . . . . . . 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 1344 . . . . . . . . . . . . . . . 16 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑥 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸)
1516, 7, 8, 30gpgnbgrvtx1 48237 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → 𝑈 = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
1523, 151sylanl1 680 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → 𝑈 = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
153152raleqdv 3293 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (∀𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸))
154152, 153raleqbidv 3313 . . . . . . . . . . . . . . . 16 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑥 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸))
155150, 154mpbird 257 . . . . . . . . . . . . . . 15 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)
15646, 155jca 511 . . . . . . . . . . . . . 14 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
157156exp43 436 . . . . . . . . . . . . 13 (𝑁 = 5 → (𝐾𝐽 → (𝑋𝑉 → ((1st𝑋) = 1 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))))
1581573imp 1110 . . . . . . . . . . . 12 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((1st𝑋) = 1 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
15944, 158syl5 34 . . . . . . . . . . 11 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨1, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
160159adantl 481 . . . . . . . . . 10 ((𝑎 = 1 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨1, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
16142, 160sylbid 240 . . . . . . . . 9 ((𝑎 = 1 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
162161ex 412 . . . . . . . 8 (𝑎 = 1 → ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
16339, 162jaoi 857 . . . . . . 7 ((𝑎 = 0 ∨ 𝑎 = 1) → ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
16412, 163syl 17 . . . . . 6 (𝑎 ∈ {0, 1} → ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
165164impcom 407 . . . . 5 (((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) ∧ 𝑎 ∈ {0, 1}) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
166165a1d 25 . . . 4 (((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) ∧ 𝑎 ∈ {0, 1}) → (𝑏 ∈ (0..^𝑁) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
167166expimpd 453 . . 3 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((𝑎 ∈ {0, 1} ∧ 𝑏 ∈ (0..^𝑁)) → (𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))))
168167rexlimdvv 3189 . 2 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → (∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩ → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))
16911, 168mpd 15 1 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395  wo 847  w3a 1086   = wceq 1541  wcel 2113  wnel 3033  wral 3048  wrex 3057  Vcvv 3437  {cpr 4579  {ctp 4581  cop 4583   class class class wbr 5095  cfv 6489  (class class class)co 7355  1st c1st 7928  2nd c2nd 7929  0cc0 11017  1c1 11018   + caddc 11020  cle 11158  cmin 11355   / cdiv 11785  2c2 12191  3c3 12192  4c4 12193  5c5 12194  cz 12479  cuz 12742  ..^cfzo 13561  cceil 13702   mod cmo 13780  chash 14244  Vtxcvtx 28995  Edgcedg 29046  USGraphcusgr 29148   NeighbVtx cnbgr 29331   gPetersenGr cgpg 48202
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2705  ax-rep 5221  ax-sep 5238  ax-nul 5248  ax-pow 5307  ax-pr 5374  ax-un 7677  ax-cnex 11073  ax-resscn 11074  ax-1cn 11075  ax-icn 11076  ax-addcl 11077  ax-addrcl 11078  ax-mulcl 11079  ax-mulrcl 11080  ax-mulcom 11081  ax-addass 11082  ax-mulass 11083  ax-distr 11084  ax-i2m1 11085  ax-1ne0 11086  ax-1rid 11087  ax-rnegex 11088  ax-rrecex 11089  ax-cnre 11090  ax-pre-lttri 11091  ax-pre-lttrn 11092  ax-pre-ltadd 11093  ax-pre-mulgt0 11094  ax-pre-sup 11095
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2725  df-clel 2808  df-nfc 2882  df-ne 2930  df-nel 3034  df-ral 3049  df-rex 3058  df-rmo 3347  df-reu 3348  df-rab 3397  df-v 3439  df-sbc 3738  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-pss 3918  df-nul 4283  df-if 4477  df-pw 4553  df-sn 4578  df-pr 4580  df-tp 4582  df-op 4584  df-uni 4861  df-int 4900  df-iun 4945  df-br 5096  df-opab 5158  df-mpt 5177  df-tr 5203  df-id 5516  df-eprel 5521  df-po 5529  df-so 5530  df-fr 5574  df-we 5576  df-xp 5627  df-rel 5628  df-cnv 5629  df-co 5630  df-dm 5631  df-rn 5632  df-res 5633  df-ima 5634  df-pred 6256  df-ord 6317  df-on 6318  df-lim 6319  df-suc 6320  df-iota 6445  df-fun 6491  df-fn 6492  df-f 6493  df-f1 6494  df-fo 6495  df-f1o 6496  df-fv 6497  df-riota 7312  df-ov 7358  df-oprab 7359  df-mpo 7360  df-om 7806  df-1st 7930  df-2nd 7931  df-frecs 8220  df-wrecs 8251  df-recs 8300  df-rdg 8338  df-1o 8394  df-2o 8395  df-oadd 8398  df-er 8631  df-en 8880  df-dom 8881  df-sdom 8882  df-fin 8883  df-sup 9337  df-inf 9338  df-dju 9805  df-card 9843  df-pnf 11159  df-mnf 11160  df-xr 11161  df-ltxr 11162  df-le 11163  df-sub 11357  df-neg 11358  df-div 11786  df-nn 12137  df-2 12199  df-3 12200  df-4 12201  df-5 12202  df-6 12203  df-7 12204  df-8 12205  df-9 12206  df-n0 12393  df-xnn0 12466  df-z 12480  df-dec 12599  df-uz 12743  df-rp 12897  df-ico 13258  df-fz 13415  df-fzo 13562  df-fl 13703  df-ceil 13704  df-mod 13781  df-seq 13916  df-exp 13976  df-hash 14245  df-cj 15013  df-re 15014  df-im 15015  df-sqrt 15149  df-abs 15150  df-dvds 16171  df-struct 17065  df-slot 17100  df-ndx 17112  df-base 17128  df-edgf 28988  df-vtx 28997  df-iedg 28998  df-edg 29047  df-upgr 29081  df-umgr 29082  df-usgr 29150  df-nbgr 29332  df-gpg 48203
This theorem is referenced by:  gpg5gricstgr3  48252
  Copyright terms: Public domain W3C validator