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

Theorem gpgov 47974
Description: The generalized Petersen graph GPG(N,K). (Contributed by AV, 26-Aug-2025.)
Hypotheses
Ref Expression
gpgov.j 𝐽 = (1..^(⌈‘(𝑁 / 2)))
gpgov.i 𝐼 = (0..^𝑁)
Assertion
Ref Expression
gpgov ((𝑁 ∈ ℕ ∧ 𝐾𝐽) → (𝑁 gPetersenGr 𝐾) = {⟨(Base‘ndx), ({0, 1} × 𝐼)⟩, ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})})⟩})
Distinct variable groups:   𝑒,𝐼,𝑥   𝑒,𝐾,𝑥   𝑒,𝑁,𝑥
Allowed substitution hints:   𝐽(𝑥,𝑒)

Proof of Theorem gpgov
Dummy variables 𝑘 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prex 5435 . 2 {⟨(Base‘ndx), ({0, 1} × 𝐼)⟩, ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})})⟩} ∈ V
2 oveq2 7437 . . . . . . . 8 (𝑛 = 𝑁 → (0..^𝑛) = (0..^𝑁))
3 gpgov.i . . . . . . . 8 𝐼 = (0..^𝑁)
42, 3eqtr4di 2794 . . . . . . 7 (𝑛 = 𝑁 → (0..^𝑛) = 𝐼)
54xpeq2d 5713 . . . . . 6 (𝑛 = 𝑁 → ({0, 1} × (0..^𝑛)) = ({0, 1} × 𝐼))
65opeq2d 4878 . . . . 5 (𝑛 = 𝑁 → ⟨(Base‘ndx), ({0, 1} × (0..^𝑛))⟩ = ⟨(Base‘ndx), ({0, 1} × 𝐼)⟩)
76adantr 480 . . . 4 ((𝑛 = 𝑁𝑘 = 𝐾) → ⟨(Base‘ndx), ({0, 1} × (0..^𝑛))⟩ = ⟨(Base‘ndx), ({0, 1} × 𝐼)⟩)
85pweqd 4615 . . . . . . . 8 (𝑛 = 𝑁 → 𝒫 ({0, 1} × (0..^𝑛)) = 𝒫 ({0, 1} × 𝐼))
98adantr 480 . . . . . . 7 ((𝑛 = 𝑁𝑘 = 𝐾) → 𝒫 ({0, 1} × (0..^𝑛)) = 𝒫 ({0, 1} × 𝐼))
104rexeqdv 3326 . . . . . . . . 9 (𝑛 = 𝑁 → (∃𝑥 ∈ (0..^𝑛)(𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩}) ↔ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩})))
1110adantr 480 . . . . . . . 8 ((𝑛 = 𝑁𝑘 = 𝐾) → (∃𝑥 ∈ (0..^𝑛)(𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩}) ↔ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩})))
12 oveq2 7437 . . . . . . . . . . . . . 14 (𝑛 = 𝑁 → ((𝑥 + 1) mod 𝑛) = ((𝑥 + 1) mod 𝑁))
1312opeq2d 4878 . . . . . . . . . . . . 13 (𝑛 = 𝑁 → ⟨0, ((𝑥 + 1) mod 𝑛)⟩ = ⟨0, ((𝑥 + 1) mod 𝑁)⟩)
1413preq2d 4738 . . . . . . . . . . . 12 (𝑛 = 𝑁 → {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩})
1514adantr 480 . . . . . . . . . . 11 ((𝑛 = 𝑁𝑘 = 𝐾) → {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩})
1615eqeq2d 2747 . . . . . . . . . 10 ((𝑛 = 𝑁𝑘 = 𝐾) → (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ↔ 𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩}))
17 biidd 262 . . . . . . . . . 10 ((𝑛 = 𝑁𝑘 = 𝐾) → (𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ↔ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩}))
18 oveq2 7437 . . . . . . . . . . . . . . 15 (𝑘 = 𝐾 → (𝑥 + 𝑘) = (𝑥 + 𝐾))
1918adantl 481 . . . . . . . . . . . . . 14 ((𝑛 = 𝑁𝑘 = 𝐾) → (𝑥 + 𝑘) = (𝑥 + 𝐾))
20 simpl 482 . . . . . . . . . . . . . 14 ((𝑛 = 𝑁𝑘 = 𝐾) → 𝑛 = 𝑁)
2119, 20oveq12d 7447 . . . . . . . . . . . . 13 ((𝑛 = 𝑁𝑘 = 𝐾) → ((𝑥 + 𝑘) mod 𝑛) = ((𝑥 + 𝐾) mod 𝑁))
2221opeq2d 4878 . . . . . . . . . . . 12 ((𝑛 = 𝑁𝑘 = 𝐾) → ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩ = ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩)
2322preq2d 4738 . . . . . . . . . . 11 ((𝑛 = 𝑁𝑘 = 𝐾) → {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩} = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})
2423eqeq2d 2747 . . . . . . . . . 10 ((𝑛 = 𝑁𝑘 = 𝐾) → (𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩} ↔ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩}))
2516, 17, 243orbi123d 1437 . . . . . . . . 9 ((𝑛 = 𝑁𝑘 = 𝐾) → ((𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩}) ↔ (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})))
2625rexbidv 3178 . . . . . . . 8 ((𝑛 = 𝑁𝑘 = 𝐾) → (∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩}) ↔ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})))
2711, 26bitrd 279 . . . . . . 7 ((𝑛 = 𝑁𝑘 = 𝐾) → (∃𝑥 ∈ (0..^𝑛)(𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩}) ↔ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})))
289, 27rabeqbidv 3454 . . . . . 6 ((𝑛 = 𝑁𝑘 = 𝐾) → {𝑒 ∈ 𝒫 ({0, 1} × (0..^𝑛)) ∣ ∃𝑥 ∈ (0..^𝑛)(𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩})} = {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})})
2928reseq2d 5995 . . . . 5 ((𝑛 = 𝑁𝑘 = 𝐾) → ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × (0..^𝑛)) ∣ ∃𝑥 ∈ (0..^𝑛)(𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩})}) = ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})}))
3029opeq2d 4878 . . . 4 ((𝑛 = 𝑁𝑘 = 𝐾) → ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × (0..^𝑛)) ∣ ∃𝑥 ∈ (0..^𝑛)(𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩})})⟩ = ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})})⟩)
317, 30preq12d 4739 . . 3 ((𝑛 = 𝑁𝑘 = 𝐾) → {⟨(Base‘ndx), ({0, 1} × (0..^𝑛))⟩, ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × (0..^𝑛)) ∣ ∃𝑥 ∈ (0..^𝑛)(𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩})})⟩} = {⟨(Base‘ndx), ({0, 1} × 𝐼)⟩, ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})})⟩})
32 fvoveq1 7452 . . . . 5 (𝑛 = 𝑁 → (⌈‘(𝑛 / 2)) = (⌈‘(𝑁 / 2)))
3332oveq2d 7445 . . . 4 (𝑛 = 𝑁 → (1..^(⌈‘(𝑛 / 2))) = (1..^(⌈‘(𝑁 / 2))))
34 gpgov.j . . . 4 𝐽 = (1..^(⌈‘(𝑁 / 2)))
3533, 34eqtr4di 2794 . . 3 (𝑛 = 𝑁 → (1..^(⌈‘(𝑛 / 2))) = 𝐽)
36 df-gpg 47973 . . 3 gPetersenGr = (𝑛 ∈ ℕ, 𝑘 ∈ (1..^(⌈‘(𝑛 / 2))) ↦ {⟨(Base‘ndx), ({0, 1} × (0..^𝑛))⟩, ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × (0..^𝑛)) ∣ ∃𝑥 ∈ (0..^𝑛)(𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑛)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝑘) mod 𝑛)⟩})})⟩})
3731, 35, 36ovmpox 7583 . 2 ((𝑁 ∈ ℕ ∧ 𝐾𝐽 ∧ {⟨(Base‘ndx), ({0, 1} × 𝐼)⟩, ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})})⟩} ∈ V) → (𝑁 gPetersenGr 𝐾) = {⟨(Base‘ndx), ({0, 1} × 𝐼)⟩, ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})})⟩})
381, 37mp3an3 1452 1 ((𝑁 ∈ ℕ ∧ 𝐾𝐽) → (𝑁 gPetersenGr 𝐾) = {⟨(Base‘ndx), ({0, 1} × 𝐼)⟩, ⟨(.ef‘ndx), ( I ↾ {𝑒 ∈ 𝒫 ({0, 1} × 𝐼) ∣ ∃𝑥𝐼 (𝑒 = {⟨0, 𝑥⟩, ⟨0, ((𝑥 + 1) mod 𝑁)⟩} ∨ 𝑒 = {⟨0, 𝑥⟩, ⟨1, 𝑥⟩} ∨ 𝑒 = {⟨1, 𝑥⟩, ⟨1, ((𝑥 + 𝐾) mod 𝑁)⟩})})⟩})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3o 1086   = wceq 1540  wcel 2108  wrex 3069  {crab 3435  Vcvv 3479  𝒫 cpw 4598  {cpr 4626  cop 4630   I cid 5575   × cxp 5681  cres 5685  cfv 6559  (class class class)co 7429  0cc0 11151  1c1 11152   + caddc 11154   / cdiv 11916  cn 12262  2c2 12317  ..^cfzo 13690  cceil 13827   mod cmo 13905  ndxcnx 17226  Basecbs 17243  .efcedgf 28993   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-sep 5294  ax-nul 5304  ax-pr 5430
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-ral 3061  df-rex 3070  df-rab 3436  df-v 3481  df-sbc 3788  df-dif 3953  df-un 3955  df-in 3957  df-ss 3967  df-nul 4333  df-if 4525  df-pw 4600  df-sn 4625  df-pr 4627  df-op 4631  df-uni 4906  df-br 5142  df-opab 5204  df-id 5576  df-xp 5689  df-rel 5690  df-cnv 5691  df-co 5692  df-dm 5693  df-res 5695  df-iota 6512  df-fun 6561  df-fv 6567  df-ov 7432  df-oprab 7433  df-mpo 7434  df-gpg 47973
This theorem is referenced by:  gpgvtx  47975  gpgiedg  47976
  Copyright terms: Public domain W3C validator