The doubled remainder moment is a duplicated bundle count
ProvedWikipedia.SzemeredisTheorem.HypergraphBundle.doubledRemainderMoment_pullback_eq_duplicateOutside_bundleCountadditive-combinatoricsgreen-tao-port-8822number-theory
Let be a downward-closed hypergraph bundle with finite occurrence and value types, let be an edge of maximal cardinality, and let the base weights be idempotent. The doubled remainder moment at for the pulled-back weights equals the ordinary bundle count of the bundle duplicated outside , with its corresponding pulled-back weights.
Preamble
/- Mechanically transplanted from https://github.com/plby/lean-proofs.git at 8822f7ddef30fadbd92e1c6ab4ed897af356af5e. Original scopes and proof bytes are oracle-derived. -/
import Definitions.Def_GreenTaoPort_Wikipedia_SzemeredisTheorem_Finite_Mean
import Definitions.Def_GreenTaoPort_Wikipedia_SzemeredisTheorem_Hypergraph_HypergraphBundleCounting
import Definitions.Def_GreenTaoPort_Wikipedia_SzemeredisTheorem_Hypergraph_HypergraphBundleDuplication
import Definitions.Def_GreenTaoPort_Wikipedia_SzemeredisTheorem_Hypergraph_HypergraphBundleIndicatorDuplication
import Mathlib.Algebra.BigOperators.Expect
import Mathlib.Data.Fintype.Card
import Mathlib.Tactic
set_option autoImplicit true
set_option relaxedAutoImplicit false
set_option maxSynthPendingDepth 3
/-!
# Indicator weights on a duplicated hypergraph bundle
The source-indexed doubled product retains both labelled copies of every
remaining occurrence edge. The ordinary duplicated bundle instead stores
the image of the source-edge map, so it identifies the two copies of an edge
contained in the shared edge. For pulled-back zero--one base weights this
identification does not change the product: the only lost multiplicity is a
repeated idempotent factor.
-/
open Wikipedia.SzemeredisTheorem
open scoped BigOperators
open Wikipedia.SzemeredisTheorem.HypergraphBundle
variable {J K G : Type*}
[DecidableEq J] [DecidableEq K]
{H : Finset (Finset J)}
Formal statement
theorem Wikipedia.SzemeredisTheorem.HypergraphBundle.doubledRemainderMoment_pullback_eq_duplicateOutside_bundleCount
[Fintype K] [Fintype G]
(B : HypergraphBundle J K H)
(hclosed : B.IsClosedUnderInclusion)
{g₀ : Finset K} (hg₀ : g₀ ∈ B.edges)
(hmax : ∀ g ∈ B.edges, g.card ≤ g₀.card)
(A : BaseEdgeWeight J G)
(hA : BaseWeightsIdempotent H A) :
B.doubledRemainderMoment g₀
(B.pullbackBaseEdgeWeight A) =
(B.duplicateOutside g₀).bundleCount
((B.duplicateOutside g₀).pullbackBaseEdgeWeight A) := by sorry
Source