A thrackle on n vertices has fewer than 4n/3 edges
Abstract
A thrackle is a drawing of a graph in the plane such that every two edges meet exactly once, either at a common endpoint or at a proper crossing. Conway conjectured that a thrackle with n vertices has at most n edges. We prove that a thrackle with n ≥ 4 vertices has at most 4(n − 1)/3 edges, improving the earlier bound 18(n − 1)/13 obtained by Tóth and, independently, by Scoppetto. The proof combines a discharging argument of Xu with two new computational results. Our computer searches, based on a method of Fulek and Pach, show that two graphs are not thrackleable: one is a 6-cycle and an 8-cycle sharing one edge, the other a 6-cycle and a 10-cycle sharing a path of three edges. These are the generalized dumbbells DB(6, 8, −1) and DB(6, 10, −3), in the notation of Fulek and Pach. We also prove the bound 4(n − 1)/3 in the proof assistant Lean 4, assuming five properties of thrackles; we prove these properties in the paper or take them from the literature. Everything else, including the discharging argument and the results for the two graphs above, is checked in Lean; some of these checks run as compiled code, so the formal proof relies on Lean's compiler as well as on its proof-checking kernel. Section 6 describes the formal proof.
In plain words
A thrackle is a drawing in which points are joined by curves and any two curves meet exactly once, at a shared endpoint or at a crossing. Conway conjectured that a thrackle never has more curves than points. In 2026, Tóth and, independently, Scoppetto obtained the bound that a thrackle has fewer than 18/13 times as many curves as points. This paper lowers the factor to 4/3. The proof combines Xu’s counting argument with computer searches showing that a thrackle cannot contain certain pairs of loops that share part of their length.
Formal statement and axioms
Each main result as stated in Lean, copied verbatim from the published package, with the axioms that the proof rests on. Lean v4.35.0-rc3, Mathlib c55e6e786f49. The package.
Thrackle78.thrackle_bound_4_3_full
The bound 4(n − 1)/3 for n ≥ 4, including the 23 computed facts that the proof uses: with compiled code. Assumes five properties of thrackles that the paper quotes or proves.
theorem thrackle_bound_4_3_full (Thr : ∀ {V : Type} [Fintype V] [DecidableEq V], SimpleGraph V → Prop)
(ax : ThrackleAxioms Thr) (ns : NoSpikeFaces Thr)
{V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (hG : Thr G) (hn : 4 ≤ Fintype.card V) :
3 * Nat.card G.edgeSet ≤ 4 * (Fintype.card V - 1)Definitions used in the statement
structure ThrackleAxioms (Thr : ∀ {V : Type} [Fintype V] [DecidableEq V], SimpleGraph V → Prop) : Prop where
sub : ∀ {V W : Type} [Fintype V] [DecidableEq V] [Fintype W] [DecidableEq W] (H : SimpleGraph V)
(G : SimpleGraph W), H ⊑ G → Thr G → Thr H
c4 : ¬ Thr (cycleGraph 4)
faces : ∀ {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj], Thr G → TwoConn G →
G.CliqueFree 3 → Nonempty (FaceData G)
double : ∀ {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V), Thr G → G.Connected →
4 ≤ Fintype.card V → ¬ G.CliqueFree 3 →
∃ (N : ℕ) (H : SimpleGraph (Fin N)), Thr H ∧ H.Connected ∧ H.Colorable 2 ∧ N = Fintype.card V + 3 ∧
Nat.card H.edgeSet = Nat.card G.edgeSet + 3
link : ∀ {n m : ℕ} (G : SimpleGraph (Fin n)) (E : Fin m → Fin n × Fin n), 0 < m → IsEdgeListing G E →
Thr G → CombThr Estructure NoSpikeFaces (Thr : ∀ {V : Type} [Fintype V] [DecidableEq V], SimpleGraph V → Prop) : Prop where
faces_ns : ∀ {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj], Thr G → TwoConn G →
G.CliqueFree 3 → ∃ D : FaceData G, D.NoSpikedef FaceData.NoSpike {V : Type} [Fintype V] [DecidableEq V] {G : SimpleGraph V} [DecidableRel G.Adj]
(D : FaceData G) : Prop :=
∀ F ∈ D.faces, ∀ i : Fin F.len, F.v i ≠ F.v (finRotate F.len (finRotate F.len i))structure FaceData (G : SimpleGraph V) [DecidableRel G.Adj] where
faces : List (CWalk G)
cover : ∀ x ∈ G.edgeFinset, (faces.map (fun F => F.count x)).sum = 2
euler : G.edgeFinset.card + 1 ≤ Fintype.card V + faces.length
even : ∀ F ∈ faces, Even F.len
three_le : ∀ F ∈ faces, 3 ≤ F.len
short_simple : ∀ F ∈ faces, F.len ≤ 8 → Function.Injective F.v
euler_bip : G.Colorable 2 → G.edgeFinset.card + 2 ≤ Fintype.card V + faces.length
distinct : ∀ i j : Fin faces.length, i ≠ j → Function.Injective (faces.get i).v →
Function.Injective (faces.get j).v → (faces.get i).edges = (faces.get j).edges →
G.edgeFinset = (faces.get i).edgesstructure CWalk (G : SimpleGraph V) where
len : ℕ
pos : 0 < len
v : Fin len → V
adj : ∀ i : Fin len, G.Adj (v i) (v (finRotate len i))def TwoConn (G : SimpleGraph V) : Prop :=
3 ≤ Fintype.card V ∧ G.Connected ∧ ∀ v : V, (G.induce {w | w ≠ v}).Connecteddef IsEdgeListing {V : Type} (G : SimpleGraph V) (E : Fin m → V × V) : Prop :=
(∀ e, G.Adj (E e).1 (E e).2) ∧ (∀ e f, s((E e).1, (E e).2) = s((E f).1, (E f).2) → e = f) ∧
(∀ u v, G.Adj u v → ∃ e, s((E e).1, (E e).2) = s(u, v))def CombThr (E : Fin m → Fin n × Fin n) : Prop :=
∃ P : CrossingSystem E, Planar (aug E P)structure CrossingSystem (E : Fin m → Fin n × Fin n) where
π : Fin m → List (Fin m)
nodup : ∀ e, (π e).Nodup
mem : ∀ e f, f ∈ π e ↔ NonInc E e fdef aug (E : Fin m → Fin n × Fin n) (P : CrossingSystem E) : SimpleGraph (AV n m) :=
SimpleGraph.fromEdgeSet (augEdges E P)def Planar {W : Type} (G : SimpleGraph W) : Prop :=
¬ IsMinor (completeGraph (Fin 5)) G ∧ ¬ IsMinor (completeBipartiteGraph (Fin 3) (Fin 3)) Gdef IsMinor {U W : Type} (H : SimpleGraph U) (G : SimpleGraph W) : Prop :=
∃ B : U → Set W, (∀ u, (B u).Nonempty) ∧ (∀ u, (G.induce (B u)).Connected) ∧
(Pairwise fun u u' => Disjoint (B u) (B u')) ∧ ∀ u u', H.Adj u u' → ∃ x ∈ B u, ∃ y ∈ B u', G.Adj x yThe package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound and 1 more, for example and 3,480 native_decide auxiliary axioms named …._native.native_decide.ax_… (count stated in words; names not listed).
Thrackle78.thrackle_bound_4_3
The deduction of the bound 4(n − 1)/3 for n ≥ 4 from the 23 computed facts: kernel-only
theorem thrackle_bound_4_3 (Thr : ∀ {V : Type} [Fintype V] [DecidableEq V], SimpleGraph V → Prop)
(ax : ThrackleAxioms Thr) (ns : NoSpikeFaces Thr) (comp : CompFacts) (th : ThetaFacts)
{V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) (hG : Thr G) (hn : 4 ≤ Fintype.card V) :
3 * Nat.card G.edgeSet ≤ 4 * (Fintype.card V - 1)Definitions used in the statement
structure ThrackleAxioms (Thr : ∀ {V : Type} [Fintype V] [DecidableEq V], SimpleGraph V → Prop) : Prop where
sub : ∀ {V W : Type} [Fintype V] [DecidableEq V] [Fintype W] [DecidableEq W] (H : SimpleGraph V)
(G : SimpleGraph W), H ⊑ G → Thr G → Thr H
c4 : ¬ Thr (cycleGraph 4)
faces : ∀ {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj], Thr G → TwoConn G →
G.CliqueFree 3 → Nonempty (FaceData G)
double : ∀ {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V), Thr G → G.Connected →
4 ≤ Fintype.card V → ¬ G.CliqueFree 3 →
∃ (N : ℕ) (H : SimpleGraph (Fin N)), Thr H ∧ H.Connected ∧ H.Colorable 2 ∧ N = Fintype.card V + 3 ∧
Nat.card H.edgeSet = Nat.card G.edgeSet + 3
link : ∀ {n m : ℕ} (G : SimpleGraph (Fin n)) (E : Fin m → Fin n × Fin n), 0 < m → IsEdgeListing G E →
Thr G → CombThr Estructure NoSpikeFaces (Thr : ∀ {V : Type} [Fintype V] [DecidableEq V], SimpleGraph V → Prop) : Prop where
faces_ns : ∀ {V : Type} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj], Thr G → TwoConn G →
G.CliqueFree 3 → ∃ D : FaceData G, D.NoSpikedef FaceData.NoSpike {V : Type} [Fintype V] [DecidableEq V] {G : SimpleGraph V} [DecidableRel G.Adj]
(D : FaceData G) : Prop :=
∀ F ∈ D.faces, ∀ i : Fin F.len, F.v i ≠ F.v (finRotate F.len (finRotate F.len i))structure FaceData (G : SimpleGraph V) [DecidableRel G.Adj] where
faces : List (CWalk G)
cover : ∀ x ∈ G.edgeFinset, (faces.map (fun F => F.count x)).sum = 2
euler : G.edgeFinset.card + 1 ≤ Fintype.card V + faces.length
even : ∀ F ∈ faces, Even F.len
three_le : ∀ F ∈ faces, 3 ≤ F.len
short_simple : ∀ F ∈ faces, F.len ≤ 8 → Function.Injective F.v
euler_bip : G.Colorable 2 → G.edgeFinset.card + 2 ≤ Fintype.card V + faces.length
distinct : ∀ i j : Fin faces.length, i ≠ j → Function.Injective (faces.get i).v →
Function.Injective (faces.get j).v → (faces.get i).edges = (faces.get j).edges →
G.edgeFinset = (faces.get i).edgesstructure CWalk (G : SimpleGraph V) where
len : ℕ
pos : 0 < len
v : Fin len → V
adj : ∀ i : Fin len, G.Adj (v i) (v (finRotate len i))def TwoConn (G : SimpleGraph V) : Prop :=
3 ≤ Fintype.card V ∧ G.Connected ∧ ∀ v : V, (G.induce {w | w ≠ v}).Connecteddef IsEdgeListing {V : Type} (G : SimpleGraph V) (E : Fin m → V × V) : Prop :=
(∀ e, G.Adj (E e).1 (E e).2) ∧ (∀ e f, s((E e).1, (E e).2) = s((E f).1, (E f).2) → e = f) ∧
(∀ u v, G.Adj u v → ∃ e, s((E e).1, (E e).2) = s(u, v))def CombThr (E : Fin m → Fin n × Fin n) : Prop :=
∃ P : CrossingSystem E, Planar (aug E P)structure CrossingSystem (E : Fin m → Fin n × Fin n) where
π : Fin m → List (Fin m)
nodup : ∀ e, (π e).Nodup
mem : ∀ e f, f ∈ π e ↔ NonInc E e fdef aug (E : Fin m → Fin n × Fin n) (P : CrossingSystem E) : SimpleGraph (AV n m) :=
SimpleGraph.fromEdgeSet (augEdges E P)def Planar {W : Type} (G : SimpleGraph W) : Prop :=
¬ IsMinor (completeGraph (Fin 5)) G ∧ ¬ IsMinor (completeBipartiteGraph (Fin 3) (Fin 3)) Gdef IsMinor {U W : Type} (H : SimpleGraph U) (G : SimpleGraph W) : Prop :=
∃ B : U → Set W, (∀ u, (B u).Nonempty) ∧ (∀ u, (G.induce (B u)).Connected) ∧
(Pairwise fun u u' => Disjoint (B u) (B u')) ∧ ∀ u u', H.Adj u u' → ∃ x ∈ B u, ∃ y ∈ B u', G.Adj x ystructure CompFacts : Prop where
db681 : ¬ CombThr (mkE 12 lDB681)
db682 : ¬ CombThr (mkE 11 lDB682)
db683 : ¬ CombThr (mkE 10 lDB683)
u7 : ¬ CombThr (mkE 11 lU7)
u8 : ¬ CombThr (mkE 11 lU8)
u9 : ¬ CombThr (mkE 10 lU9)
u10 : ¬ CombThr (mkE 10 lU10)
u11 : ¬ CombThr (mkE 11 lU11)
u12 : ¬ CombThr (mkE 10 lU12)
u13 : ¬ CombThr (mkE 10 lU13)
u14 : ¬ CombThr (mkE 10 lU14)
u15 : ¬ CombThr (mkE 9 lU15)
u16 : ¬ CombThr (mkE 10 lU16)
db661 : ¬ CombThr (mkE 10 lDB661)
db662 : ¬ CombThr (mkE 9 lDB662)
db663 : ¬ CombThr (mkE 8 lDB663)
v4 : ¬ CombThr (mkE 8 lV4)
v5 : ¬ CombThr (mkE 9 lV5)
db660 : ¬ CombThr (mkE 11 lDB660)
v7 : ¬ CombThr (mkE 10 lV7)structure ThetaFacts : Prop where
th233 : ¬ CombThr (mkE 7 lTH233)
th234 : ¬ CombThr (mkE 8 lTH234)
th337 : ¬ CombThr (mkE 12 lTH337)def mkE (n : ℕ) [NeZero n] (l : List (ℕ × ℕ)) : Fin l.length → Fin n × Fin n :=
fun i => (Fin.ofNat n (l.get i).1, Fin.ofNat n (l.get i).2)The package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound.