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 48010
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 Peterson graphs G(N,K) with 𝑁 = 3 · 𝐾 contain triangles, see gpg3kgrtriex 48018. (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 12923 . . . . . 6 5 ∈ (ℤ‘3)
2 eleq1 2828 . . . . . 6 (𝑁 = 5 → (𝑁 ∈ (ℤ‘3) ↔ 5 ∈ (ℤ‘3)))
31, 2mpbiri 258 . . . . 5 (𝑁 = 5 → 𝑁 ∈ (ℤ‘3))
43anim1i 615 . . . 4 ((𝑁 = 5 ∧ 𝐾𝐽) → (𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽))
5 eqid 2736 . . . . 5 (0..^𝑁) = (0..^𝑁)
6 gpgnbgr.j . . . . 5 𝐽 = (1..^(⌈‘(𝑁 / 2)))
7 gpgnbgr.g . . . . 5 𝐺 = (𝑁 gPetersenGr 𝐾)
8 gpgnbgr.v . . . . 5 𝑉 = (Vtx‘𝐺)
95, 6, 7, 8gpgvtxel 47978 . . . 4 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) → (𝑋𝑉 ↔ ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩))
104, 9syl 17 . . 3 ((𝑁 = 5 ∧ 𝐾𝐽) → (𝑋𝑉 ↔ ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩))
1110biimp3a 1471 . 2 ((𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉) → ∃𝑎 ∈ {0, 1}∃𝑏 ∈ (0..^𝑁)𝑋 = ⟨𝑎, 𝑏⟩)
12 elpri 4647 . . . . . . 7 (𝑎 ∈ {0, 1} → (𝑎 = 0 ∨ 𝑎 = 1))
13 opeq1 4871 . . . . . . . . . . . 12 (𝑎 = 0 → ⟨𝑎, 𝑏⟩ = ⟨0, 𝑏⟩)
1413eqeq2d 2747 . . . . . . . . . . 11 (𝑎 = 0 → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨0, 𝑏⟩))
1514adantr 480 . . . . . . . . . 10 ((𝑎 = 0 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨0, 𝑏⟩))
16 c0ex 11251 . . . . . . . . . . . . 13 0 ∈ V
17 vex 3483 . . . . . . . . . . . . 13 𝑏 ∈ V
1816, 17op1std 8020 . . . . . . . . . . . 12 (𝑋 = ⟨0, 𝑏⟩ → (1st𝑋) = 0)
19 4z 12647 . . . . . . . . . . . . . . . . 17 4 ∈ ℤ
20 5nn 12348 . . . . . . . . . . . . . . . . . 18 5 ∈ ℕ
2120nnzi 12637 . . . . . . . . . . . . . . . . 17 5 ∈ ℤ
22 4re 12346 . . . . . . . . . . . . . . . . . 18 4 ∈ ℝ
23 5re 12349 . . . . . . . . . . . . . . . . . 18 5 ∈ ℝ
24 4lt5 12439 . . . . . . . . . . . . . . . . . 18 4 < 5
2522, 23, 24ltleii 11380 . . . . . . . . . . . . . . . . 17 4 ≤ 5
26 eluz2 12880 . . . . . . . . . . . . . . . . 17 (5 ∈ (ℤ‘4) ↔ (4 ∈ ℤ ∧ 5 ∈ ℤ ∧ 4 ≤ 5))
2719, 21, 25, 26mpbir3an 1342 . . . . . . . . . . . . . . . 16 5 ∈ (ℤ‘4)
28 eleq1 2828 . . . . . . . . . . . . . . . 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 48009 . . . . . . . . . . . . . . 15 (((𝑁 ∈ (ℤ‘4) ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 0)) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
3329, 32sylanl1 680 . . . . . . . . . . . . . 14 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 0)) → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸))
3433exp43 436 . . . . . . . . . . . . 13 (𝑁 = 5 → (𝐾𝐽 → (𝑋𝑉 → ((1st𝑋) = 0 → ((♯‘𝑈) = 3 ∧ ∀𝑥𝑈𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸)))))
35343imp 1111 . . . . . . . . . . . 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 4871 . . . . . . . . . . . 12 (𝑎 = 1 → ⟨𝑎, 𝑏⟩ = ⟨1, 𝑏⟩)
4140eqeq2d 2747 . . . . . . . . . . 11 (𝑎 = 1 → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨1, 𝑏⟩))
4241adantr 480 . . . . . . . . . 10 ((𝑎 = 1 ∧ (𝑁 = 5 ∧ 𝐾𝐽𝑋𝑉)) → (𝑋 = ⟨𝑎, 𝑏⟩ ↔ 𝑋 = ⟨1, 𝑏⟩))
43 1ex 11253 . . . . . . . . . . . . 13 1 ∈ V
4443, 17op1std 8020 . . . . . . . . . . . 12 (𝑋 = ⟨1, 𝑏⟩ → (1st𝑋) = 1)
456, 7, 8, 30gpg3nbgrvtx1 48007 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (♯‘𝑈) = 3)
463, 45sylanl1 680 . . . . . . . . . . . . . . 15 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (♯‘𝑈) = 3)
47 eqid 2736 . . . . . . . . . . . . . . . . . . . 20 ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩
486eleq2i 2832 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝐾𝐽𝐾 ∈ (1..^(⌈‘(𝑁 / 2))))
4948biimpi 216 . . . . . . . . . . . . . . . . . . . . . . 23 (𝐾𝐽𝐾 ∈ (1..^(⌈‘(𝑁 / 2))))
50 gpgusgra 47985 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾 ∈ (1..^(⌈‘(𝑁 / 2)))) → (𝑁 gPetersenGr 𝐾) ∈ USGraph)
517, 50eqeltrid 2844 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑁 ∈ (ℤ‘3) ∧ 𝐾 ∈ (1..^(⌈‘(𝑁 / 2)))) → 𝐺 ∈ USGraph)
523, 49, 51syl2an 596 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑁 = 5 ∧ 𝐾𝐽) → 𝐺 ∈ USGraph)
5352adantr 480 . . . . . . . . . . . . . . . . . . . . 21 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → 𝐺 ∈ USGraph)
5431usgredgne 29213 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ ≠ ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩)
5554neneqd 2944 . . . . . . . . . . . . . . . . . . . . . 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 3046 . . . . . . . . . . . . . . . . . . 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 6919 . . . . . . . . . . . . . . . . . . 19 ((𝑋𝑉 ∧ (1st𝑋) = 1) → (2nd𝑋) ∈ V)
626, 7, 8, 31gpg5nbgrvtx13starlem1 48000 . . . . . . . . . . . . . . . . . . 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 47979 . . . . . . . . . . . . . . . . . . . 20 (((𝑁 ∈ (ℤ‘3) ∧ 𝐾𝐽) ∧ 𝑋𝑉) → (2nd𝑋) ∈ (0..^𝑁))
67 elfzoelz 13695 . . . . . . . . . . . . . . . . . . . 20 ((2nd𝑋) ∈ (0..^𝑁) → (2nd𝑋) ∈ ℤ)
6865, 66, 673syl 18 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (2nd𝑋) ∈ ℤ)
696, 7, 8, 31gpg5nbgrvtx13starlem2 48001 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (2nd𝑋) ∈ ℤ) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
7068, 69syldan 591 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
71 opex 5467 . . . . . . . . . . . . . . . . . . 19 ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ ∈ V
72 opex 5467 . . . . . . . . . . . . . . . . . . 19 ⟨0, (2nd𝑋)⟩ ∈ V
73 opex 5467 . . . . . . . . . . . . . . . . . . 19 ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ ∈ V
74 preq2 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
75 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩})
78 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
81 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4703 . . . . . . . . . . . . . . . . . 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 4730 . . . . . . . . . . . . . . . . . . . 20 {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩}
86 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 2736 . . . . . . . . . . . . . . . . . . . 20 ⟨0, (2nd𝑋)⟩ = ⟨0, (2nd𝑋)⟩
9031usgredgne 29213 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸) → ⟨0, (2nd𝑋)⟩ ≠ ⟨0, (2nd𝑋)⟩)
9190neneqd 2944 . . . . . . . . . . . . . . . . . . . . . 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 3046 . . . . . . . . . . . . . . . . . . 19 ({⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸 ↔ ¬ {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∈ 𝐸)
9694, 95sylibr 234 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩} ∉ 𝐸)
976, 7, 8, 31gpg5nbgrvtx13starlem3 48002 . . . . . . . . . . . . . . . . . . 19 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (2nd𝑋) ∈ V) → {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
9861, 97sylan2 593 . . . . . . . . . . . . . . . . . 18 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∉ 𝐸)
99 preq2 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
100 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨0, (2nd𝑋)⟩})
103 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨0, (2nd𝑋)⟩, 𝑦} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
106 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4703 . . . . . . . . . . . . . . . . . 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 4730 . . . . . . . . . . . . . . . . . . . 20 {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}
111 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4730 . . . . . . . . . . . . . . . . . . . 20 {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩} = {⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩}
115 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 2736 . . . . . . . . . . . . . . . . . . . 20 ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩
11931usgredgne 29213 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} ∈ 𝐸) → ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ ≠ ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩)
120119neneqd 2944 . . . . . . . . . . . . . . . . . . . . . 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 3046 . . . . . . . . . . . . . . . . . . 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 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩})
127 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨0, (2nd𝑋)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩})
130 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4732 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩})
133 neleq1 3051 . . . . . . . . . . . . . . . . . . . 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 4703 . . . . . . . . . . . . . . . . . 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 4731 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → {𝑥, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦})
138 neleq1 3051 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
139137, 138syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
140139ralbidv 3177 . . . . . . . . . . . . . . . . . 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 4731 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨0, (2nd𝑋)⟩ → {𝑥, 𝑦} = {⟨0, (2nd𝑋)⟩, 𝑦})
142 neleq1 3051 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨0, (2nd𝑋)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
143141, 142syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨0, (2nd𝑋)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
144143ralbidv 3177 . . . . . . . . . . . . . . . . . 18 (𝑥 = ⟨0, (2nd𝑋)⟩ → (∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {⟨0, (2nd𝑋)⟩, 𝑦} ∉ 𝐸))
145 preq1 4731 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → {𝑥, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦})
146 neleq1 3051 . . . . . . . . . . . . . . . . . . . 20 ({𝑥, 𝑦} = {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
147145, 146syl 17 . . . . . . . . . . . . . . . . . . 19 (𝑥 = ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩ → ({𝑥, 𝑦} ∉ 𝐸 ↔ {⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩, 𝑦} ∉ 𝐸))
148147ralbidv 3177 . . . . . . . . . . . . . . . . . 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 4703 . . . . . . . . . . . . . . . . 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 48004 . . . . . . . . . . . . . . . . . 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 3325 . . . . . . . . . . . . . . . . 17 (((𝑁 = 5 ∧ 𝐾𝐽) ∧ (𝑋𝑉 ∧ (1st𝑋) = 1)) → (∀𝑦𝑈 {𝑥, 𝑦} ∉ 𝐸 ↔ ∀𝑦 ∈ {⟨1, (((2nd𝑋) + 𝐾) mod 𝑁)⟩, ⟨0, (2nd𝑋)⟩, ⟨1, (((2nd𝑋) − 𝐾) mod 𝑁)⟩} {𝑥, 𝑦} ∉ 𝐸))
154152, 153raleqbidv 3345 . . . . . . . . . . . . . . . 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 1111 . . . . . . . . . . . 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 858 . . . . . . 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 3211 . 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 848  w3a 1087   = wceq 1540  wcel 2108  wnel 3045  wral 3060  wrex 3069  Vcvv 3479  {cpr 4626  {ctp 4628  cop 4630   class class class wbr 5141  cfv 6559  (class class class)co 7429  1st c1st 8008  2nd c2nd 8009  0cc0 11151  1c1 11152   + caddc 11154  cle 11292  cmin 11488   / cdiv 11916  2c2 12317  3c3 12318  4c4 12319  5c5 12320  cz 12609  cuz 12874  ..^cfzo 13690  cceil 13827   mod cmo 13905  chash 14365  Vtxcvtx 29003  Edgcedg 29054  USGraphcusgr 29156   NeighbVtx cnbgr 29339   gPetersenGr cgpg 47972
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2707  ax-rep 5277  ax-sep 5294  ax-nul 5304  ax-pow 5363  ax-pr 5430  ax-un 7751  ax-cnex 11207  ax-resscn 11208  ax-1cn 11209  ax-icn 11210  ax-addcl 11211  ax-addrcl 11212  ax-mulcl 11213  ax-mulrcl 11214  ax-mulcom 11215  ax-addass 11216  ax-mulass 11217  ax-distr 11218  ax-i2m1 11219  ax-1ne0 11220  ax-1rid 11221  ax-rnegex 11222  ax-rrecex 11223  ax-cnre 11224  ax-pre-lttri 11225  ax-pre-lttrn 11226  ax-pre-ltadd 11227  ax-pre-mulgt0 11228  ax-pre-sup 11229
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2728  df-clel 2815  df-nfc 2891  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-rmo 3379  df-reu 3380  df-rab 3436  df-v 3481  df-sbc 3788  df-csb 3899  df-dif 3953  df-un 3955  df-in 3957  df-ss 3967  df-pss 3970  df-nul 4333  df-if 4525  df-pw 4600  df-sn 4625  df-pr 4627  df-tp 4629  df-op 4631  df-uni 4906  df-int 4945  df-iun 4991  df-br 5142  df-opab 5204  df-mpt 5224  df-tr 5258  df-id 5576  df-eprel 5582  df-po 5590  df-so 5591  df-fr 5635  df-we 5637  df-xp 5689  df-rel 5690  df-cnv 5691  df-co 5692  df-dm 5693  df-rn 5694  df-res 5695  df-ima 5696  df-pred 6319  df-ord 6385  df-on 6386  df-lim 6387  df-suc 6388  df-iota 6512  df-fun 6561  df-fn 6562  df-f 6563  df-f1 6564  df-fo 6565  df-f1o 6566  df-fv 6567  df-riota 7386  df-ov 7432  df-oprab 7433  df-mpo 7434  df-om 7884  df-1st 8010  df-2nd 8011  df-frecs 8302  df-wrecs 8333  df-recs 8407  df-rdg 8446  df-1o 8502  df-2o 8503  df-oadd 8506  df-er 8741  df-en 8982  df-dom 8983  df-sdom 8984  df-fin 8985  df-sup 9478  df-inf 9479  df-dju 9937  df-card 9975  df-pnf 11293  df-mnf 11294  df-xr 11295  df-ltxr 11296  df-le 11297  df-sub 11490  df-neg 11491  df-div 11917  df-nn 12263  df-2 12325  df-3 12326  df-4 12327  df-5 12328  df-6 12329  df-7 12330  df-8 12331  df-9 12332  df-n0 12523  df-xnn0 12596  df-z 12610  df-dec 12730  df-uz 12875  df-rp 13031  df-ico 13389  df-fz 13544  df-fzo 13691  df-fl 13828  df-ceil 13829  df-mod 13906  df-seq 14039  df-exp 14099  df-hash 14366  df-cj 15134  df-re 15135  df-im 15136  df-sqrt 15270  df-abs 15271  df-dvds 16287  df-struct 17180  df-slot 17215  df-ndx 17227  df-base 17244  df-edgf 28994  df-vtx 29005  df-iedg 29006  df-edg 29055  df-upgr 29089  df-umgr 29090  df-usgr 29158  df-nbgr 29340  df-gpg 47973
This theorem is referenced by:  gpg5gricstgr3  48019
  Copyright terms: Public domain W3C validator