63,505 $𝕚 traded in the last 7 days

All numbers

Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_TenChallenges_CaccettaHaggkvist.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

29 lines · 1.3 kBraw
/-From Prove2Me, definition `TenChallenges_CaccettaHaggkvist` (https://prove2.me/definitions/a780a78a-fb44-45df-97b9-3c0cb00895e9). Apache-2.0 per Prove2Me's terms.-/import Mathlib.Combinatorics.Digraph.Basicimport Mathlib.Data.Set.Cardimport Mathlib.Logic.Equiv.Fin.Rotate namespace Digraph variable {V : Type*} (G : Digraph V) /-- The out-degree of `v`: the number of out-neighbours of `v`. -/noncomputable def outDegree (v : V) : ℕ := {w | G.Adj v w}.ncard /-- A directed cycle of length `ℓ`: `ℓ` distinct vertices, each joined by an arcto the next one, cyclically. -/def HasCycleOfLength (ℓ : ℕ) : Prop :=  ∃ f : Fin ℓ → V, Function.Injective f ∧ ∀ i, G.Adj (f i) (f (finRotate ℓ i)) end Digraph /-- The Caccetta–Häggkvist conjecture at minimum out-degree `r`: every looplessdigraph on `n ≥ 1` vertices in which every vertex has out-degree at least `r` hasa directed cycle of length at most `⌈n / r⌉`, i.e. of some length `ℓ` with`ℓ * r < n + r`. -/def CaccettaHaggkvistFor (r : ℕ) : Prop :=  0 < r → ∀ {V : Type} [Fintype V] [Nonempty V] (G : Digraph V),    (∀ v, ¬ G.Adj v v) → (∀ v, r ≤ G.outDegree v) →      ∃ ℓ, 2 ≤ ℓ ∧ ℓ * r < Fintype.card V + r ∧ G.HasCycleOfLength ℓ

download (.tar)