Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The fixed eight-vertex OPG-500 candidate graph

Definition
opg500_eight_vertex_graph

by hao jia · Sep 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsformalizationgeodesicsgraph-theory

This definition fixes a simple graph HHH on {0,1,…,7}\{0,1,\ldots,7\}{0,1,…,7}. Vertices 0,1,2,30,1,2,30,1,2,3 form the core and vertices 4,5,6,74,5,6,74,5,6,7 form the apex set. Its eighteen undirected edges are

01,02,03,04,05,06,12,13,14,15,17,23,24,26,27,35,36,37.01,02,03,04,05,06,12,13,14,15,17,23,24,26,27,35,36,37.01,02,03,04,05,06,12,13,14,15,17,23,24,26,27,35,36,37.

The bundle also records twelve vertex triples as data for the later peripheral-cycle classification. Their presence in the definition does not assert that they are peripheral or exhaustive; those facts are a separate theorem target.

Definition code
import Definitions.Def_opg500_weighted_cycle_models

open Set
open scoped Sym2

namespace OPG500Counterexample

abbrev Vertex := Fin 8

def coreVertices : Finset Vertex := {0, 1, 2, 3}

def apexVertices : Finset Vertex := {4, 5, 6, 7}

/-- The frozen list of the eighteen undirected edges of the candidate graph. -/
def eightVertexEdges : Finset (Sym2 Vertex) :=
  {s(0, 1), s(0, 2), s(0, 3), s(0, 4), s(0, 5), s(0, 6),
   s(1, 2), s(1, 3), s(1, 4), s(1, 5), s(1, 7),
   s(2, 3), s(2, 4), s(2, 6), s(2, 7),
   s(3, 5), s(3, 6), s(3, 7)}

/-- The fixed eight-vertex graph proposed as a universal obstruction. -/
def H : SimpleGraph Vertex :=
  SimpleGraph.fromEdgeSet (eightVertexEdges : Set (Sym2 Vertex))

/-- The twelve vertex triples proposed to be exactly the peripheral cycles of `H`. -/
def peripheralTriples : Finset (Finset Vertex) :=
  [[0, 1, 4], [0, 1, 5], [0, 2, 4], [0, 2, 6],
   [0, 3, 5], [0, 3, 6], [1, 2, 4], [1, 2, 7],
   [1, 3, 5], [1, 3, 7], [2, 3, 6], [2, 3, 7]].map List.toFinset |>.toFinset

end OPG500Counterexample
Source
Frozen candidate graph and labels: https://github.com/vibemathing/problem-opg-500-geodesic-cycles/blob/a41fe59b4535851ea55f6e868e938b9aaf81e924/research/artifacts/candidates/opg500-a01-c10/tight-rank.md
Read-back

What the Lean code literally says, in plain math · gpt-5.6-luna

The type Vertex is the set {0,1,2,3,4,5,6,7}\{0,1,2,3,4,5,6,7\}{0,1,2,3,4,5,6,7}, represented as the eight-element finite type. coreVertices is the finite set {0,1,2,3}\{0,1,2,3\}{0,1,2,3}, and apexVertices is the finite set {4,5,6,7}\{4,5,6,7\}{4,5,6,7}.

eightVertexEdges is the finite set of the following eighteen unordered edges: {0,1}\{0,1\}{0,1}, {0,2}\{0,2\}{0,2}, {0,3}\{0,3\}{0,3}, {0,4}\{0,4\}{0,4}, {0,5}\{0,5\}{0,5}, {0,6}\{0,6\}{0,6}, {1,2}\{1,2\}{1,2}, {1,3}\{1,3\}{1,3}, {1,4}\{1,4\}{1,4}, {1,5}\{1,5\}{1,5}, {1,7}\{1,7\}{1,7}, {2,3}\{2,3\}{2,3}, {2,4}\{2,4\}{2,4}, {2,6}\{2,6\}{2,6}, {2,7}\{2,7\}{2,7}, {3,5}\{3,5\}{3,5}, {3,6}\{3,6\}{3,6}, and {3,7}\{3,7\}{3,7}.

HHH is the simple graph on these eight vertices whose undirected edge set is exactly eightVertexEdges.

peripheralTriples is the finite set of the following twelve three-element vertex sets: {0,1,4}\{0,1,4\}{0,1,4}, {0,1,5}\{0,1,5\}{0,1,5}, {0,2,4}\{0,2,4\}{0,2,4}, {0,2,6}\{0,2,6\}{0,2,6}, {0,3,5}\{0,3,5\}{0,3,5}, {0,3,6}\{0,3,6\}{0,3,6}, {1,2,4}\{1,2,4\}{1,2,4}, {1,2,7}\{1,2,7\}{1,2,7}, {1,3,5}\{1,3,5\}{1,3,5}, {1,3,7}\{1,3,7\}{1,3,7}, {2,3,6}\{2,3,6\}{2,3,6}, and {2,3,7}\{2,3,7\}{2,3,7}.

Human review
  • Endorsed by Shuze Chen · Sep 7, 2026

  • Endorsed by hao jia · Sep 7, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me