63,505 $𝕚 traded in the last 7 days

All numbers

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

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

26 lines · 1.2 kBraw
/-From Prove2Me, definition `TenChallenges_Sidorenko` (https://prove2.me/definitions/32fb9635-3637-4230-9721-3dcc94976013). Apache-2.0 per Prove2Me's terms.-/import Mathlib.Combinatorics.SimpleGraph.Bipartiteimport Mathlib.Data.Real.Basic open SimpleGraph variable {W V : Type*} [Fintype W] [Fintype V] /-- The homomorphism density `t(H, G)`: the number ofgraph homomorphisms `H → G`, divided by `|V(G)| ^ |V(H)|`. -/noncomputable def homDensity (H : SimpleGraph W) (G : SimpleGraph V) : ℝ :=  (Nat.card {f : W → V // ∀ ⦃a b : W⦄, H.Adj a b → G.Adj (f a) (f b)} : ℝ) /    (Fintype.card V : ℝ) ^ Fintype.card W /-- Sidorenko's inequality for a graph `H` over `G`,in normalized homomorphism-density form: `t(H, G) ≥ t(K₂, G) ^ e(H)`. -/def SidorenkoFor (H : SimpleGraph W) (G : SimpleGraph V) : Prop :=  homDensity H G ≥ homDensity (completeGraph (Fin 2)) G ^ Nat.card H.edgeSet /-- `H` is *bipartite with sides bounded by `k`*: it admitsa bipartition `V(H) = X ∪ Y`, with `|X| ≤ k` and `|Y| ≤ k`. -/def BipartiteBoundedBy (H : SimpleGraph W) (k : ℕ) : Prop :=  ∃ X Y : Set W,    H.IsBipartiteWith X Y ∧ X ∪ Y = Set.univ ∧ X.ncard ≤ k ∧ Y.ncard ≤ k

download (.tar)