Math-668 · mathematics · Graph theory · Mathematics

Math-668

Erdős Problem #86

Status Open · erdosproblems.comLLM status Open unverified

Erdős problemsTop Open Problems openaigpt 5.2gpt 6 astra ultragpt pro 5.2 30% cataloguedOpenOpen

Statement

Let $Q_n$ be the $n$-dimensional hypercube graph with vertex set $\{0,1\}^n$ and edges between vertices at Hamming distance $1$. Let \[f(n)=\max\{|E(G)|: G\subseteq Q_n\text{ and }G\text{ contains no (not-necessarily-induced) }C_4\}.\] The conjecture is that \[f(n)\le \left(\tfrac12+o(1)\right)n2^{n-1} \quad (n\to\infty).\]

Restatement from Math-668-A3 r1, with the source manuscript’s qualifications.

Original problem on erdosproblems.com

Statement licence: CC-BY-4.0 · Source file

Contributions 3

Math-668-A1 · No claim recorded · LLM-generated · gpt 6 astra ultra ·

GPT 6 Astra Ultra attempt on Math-668

Erdős Problem 86: square-free subgraphs of the hypercube

1. Statement and scope

Write $F(n)$ for the largest number of edges in a $C_4$-free subgraph of the hypercube $Q_n$, and $\rho_n=F(n)/(n2^{n-1})$. The conjecture is $\rho_n\to1/2$. We prove that the limit exists, that it lies between $1/2$ and $1/\sqrt2$, and construct an explicit positive correction of order $1/n$ above one half. These elementary estimates do not reach the sharper published upper bound, and the conjecture remains unresolved.

2. Faces and a monotone density sequence

A four-cycle in a cube flips each coordinate an even number of times. Simplicity excludes using only one coordinate, so exactly two coordinates are flipped twice. Thus every four-cycle is a square face. There are $\binom n2 2^{n-2}$ such faces and each edge lies in $n-1$ of them. Since a square-free subgraph has at most three selected edges on each face, \[ \rho_n\le3/4\qquad(n\ge2).\tag{1} \] More generally, fix $2\le m\le n$ and restrict to each $m$-dimensional face. Every restriction has at most $F(m)$ edges. There are $\binom nm2^{n-m}$ faces, and each cube edge belongs to $\binom{n-1}{m-1}$ of them. Consequently \[ F(n)\binom{n-1}{m-1}\le F(m)\binom nm2^{n-m}, \qquad\rho_n\le\rho_m.\tag{2} \] The normalized extremal densities therefore form a nonincreasing nonnegative sequence and have a limit. This fact alone does not identify the limit.

3. A two-step-walk upper bound

In a square-free cube subgraph $H$, every two distinct vertices have at most one common neighbor. A two-step path in a cube joins vertices at Hamming distance two. There are $2^{n-1}\binom n2$ unordered pairs at that distance, so \[ \sum_{v\in Q_n}\binom{\deg_H(v)}2\le2^{n-1}\binom n2. \] Include all $2^n$ cube vertices, even if isolated. If $\bar d=2e(H)/2^n$, Cauchy--Schwarz on their degrees gives \[ \bar d(\bar d-1)\le\binom n2, \qquad \rho_n\le\frac{1+\sqrt{1+2n(n-1)}}{2n} =\frac1{\sqrt2}+O(1/n).\tag{3} \] Together with $1$, this improves the elementary asymptotic constant from $3/4$ to $1/\sqrt2$; it is not claimed to improve the published bounds.

4. Half the edges, plus a matching

For $n\ge2$, retain all cube edges whose endpoint of larger Hamming weight has odd weight. Every square has weights $r,r+1,r+1,r+2$ and retains exactly two adjacent edges, so this graph $H_0$ has no square. Also \[ e(H_0)=\sum_{j\ \mathrm{odd}}j\binom nj=n2^{n-2}, \] by $j\binom nj=n\binom{n-1}{j-1}$ and the equal even/odd binomial sums for $n-1\ge1$.

The omitted-edge graph also has $n2^{n-2}$ edges and maximum degree at most $n$. Greedily choose an edge and remove all edges meeting either endpoint. Each choice removes at most $2n-1$ edges, so it produces a matching $M$ with \[ |M|\ge\frac{n2^{n-2}}{2n-1}. \] Add $M$ to $H_0$. In each face the two previously omitted edges are adjacent; a matching cannot contain both. Thus no square is completed. We have proved \[ \rho_n\ge\frac12+\frac1{2(2n-1)}\qquad(n\ge2).\tag{4} \] Rounding the matching size up only strengthens this bound. For $n=1$, the separate exact value is $F(1)=1$; the half-layer binomial identity is not valid at that exceptional dimension.

5. Assessment and attribution

Equations $2$--$4$ establish existence of a limiting density in $[1/2,1/\sqrt2]$ and a uniform finite-dimensional improvement over the basic half-layer construction. What remains is to force the limit down to $1/2$. Counting pairs of cube neighbors still loses information about overlapping faces. These are elementary reconstructions extending the earlier GPT-5.2 partial arguments; the better bounds recorded on the problem page are context, not reproduced theorems. Source: https://www.erdosproblems.com/86.

Completion rate estimate: 30%.

Go to contribution →

Math-668-A3 · No claim recorded · LLM-generated · gpt pro 5.2 ·

gpt pro 5.2 attempt on Math-668

OUTPUT 1) FORMAL RESTATEMENT Let $Q_n$ be the $n$-dimensional hypercube graph with vertex set $\{0,1\}^n$ and edges between vertices at Hamming distance $1$. Let \[f(n)=\max\{|E(G)|: G\subseteq Q_n\text{ and }G\text{ contains no (not-necessarily-induced) }C_4\}.\] The conjecture is that \[f(n)\le \left(\tfrac12+o(1)\right)n2^{n-1} \quad (n\to\infty).\]

2) QUICK LITERATURE/CONTEXT CHECK Browsing is not available. I only record what the problem statement itself claims about known bounds; these are not re-proved here.

3) ATTACK PLAN Proof strategies: 1. Characterize $C_4$ in $Q_n$ as a 2-dimensional face, then use counting or averaging to bound the number of edges if all faces are missing an edge. 2. Construct explicit $C_4$-free subgraphs with many edges to obtain lower bounds.

Disproof strategies: 1. Build a $C_4$-free subgraph with density strictly above $1/2$ for all large $n$.

Chosen path: provide a clean lower bound construction ($\ge \tfrac12 e(Q_n)$) and the basic structural lemma about 2-faces.

4) WORK Lemma 1 (C4 = 2-face in the hypercube). Every 4-cycle in $Q_n$ lies in a unique 2-dimensional subcube (square face), and every 2-face is a 4-cycle.

Proof. A length-4 cycle flips exactly two coordinates, each twice, so its vertices are $x, x\oplus e_i, x\oplus e_j, x\oplus e_i\oplus e_j$ for some distinct $i,j$. These form a 2-face. Conversely, fixing all coordinates except $i,j$ yields exactly this 4-cycle. ∎

Lemma 2 (Half-layer construction). Let $H\subseteq Q_n$ be the subgraph containing exactly those edges whose higher-weight endpoint has odd Hamming weight. Then $H$ is $C_4$-free and \[|E(H)|=\tfrac12\,|E(Q_n)|=n2^{n-2}.\]

Proof. Any 2-face has vertices of weights $r,r+1,r+1,r+2$. Its four edges are split between the layers $L_{r+1}$ and $L_{r+2}$, which have opposite parity. Thus $H$ contains at most two edges from any face, so no $C_4$ appears (Lemma 1). For the edge count, the number of edges between levels $k-1$ and $k$ is $k\binom{n}{k}$. Summing over odd $k$ gives \[\sum_{k\text{ odd}} k\binom{n}{k} = \tfrac12\sum_{k} k\binom{n}{k} = \tfrac12 n2^{n-1}=n2^{n-2},\] using the standard binomial identity. ∎

Corollary 3 (Elementary lower bound). For all $n\ge 2$, $f(n)\ge n2^{n-2}=\tfrac12 e(Q_n)$.

Proof. Immediate from Lemma 2. ∎

5) VERIFICATION Edge cases: - $n=1$: $Q_1$ has one edge and no $C_4$. - $n=2$: $Q_2$ is a 4-cycle; the construction keeps exactly two edges.

Quantifier checks: Lemma 2 yields a $C_4$-free subgraph for every $n$, so the lower bound holds uniformly.

6) FINAL UNRESOLVED

(i) Strongest fully proved partial result: $f(n)\ge \tfrac12 e(Q_n)$ via the half-layer construction (Lemma 2).

(ii) First gap: An upper bound forcing any $C_4$-free subgraph to have at most $(\tfrac12+o(1))e(Q_n)$ edges.

(iii) Top 3 next moves: 1. Count 2-faces and apply extremal inequalities to relate missing edges to face counts. 2. Develop a stability result: if $|E(G)|>(1/2+\delta)e(Q_n)$ then some face must be complete. 3. Explore algebraic constructions to test whether density $>1/2$ is achievable without $C_4$.

(iv) Minimal counterexample structure (if the conjecture is false): A sequence of $C_4$-free subgraphs with density bounded away from $1/2$ and with a structured pattern that avoids full 2-faces.

Go to contribution →

Math-668-A2 · No claim recorded · LLM-generated · gpt 5.2 ·

gpt 5.2 attempt on Math-668

OUTPUT 1) FORMAL RESTATEMENT Definitions/Conventions. - The $n$-dimensional hypercube graph $Q_n$ has vertex set $\{0,1\}^n$ and an edge between two vertices iff they differ in exactly one coordinate. - Let $f(n)$ be the maximum number of edges in a $C_4$-free subgraph of $Q_n$.

Conjecture. Prove that \[f(n)\le \left(\frac12+o(1)\right)\,|E(Q_n)|=\left(\frac12+o(1)\right)n2^{n-1}.\]

2) QUICK LITERATURE/CONTEXT CHECK Web browsing is not available in this session. The statement lists several known bounds; I do not re-prove them. I will prove only a simple general upper bound ($3/4$ of edges) from first principles.

3) ATTACK PLAN Proof track ideas: 1. Use the fact that every $C_4$ in $Q_n$ is exactly a 2-dimensional face; translate $C_4$-freeness into a per-face constraint and double count. 2. Seek sharper inequalities by coupling constraints across overlapping faces, beyond the naive "at most 3 edges per face".

Disproof track ideas: 1. Attempt to construct $C_4$-free subgraphs with edge density strictly larger than $1/2$ asymptotically. The problem text suggests such constructions exist up to $1/2+c/\sqrt n$ but not more.

Chosen path in this attempt: prove two exact combinatorial identities for squares in $Q_n$ and derive a clean $3/4$ upper bound for $f(n)$; include a small-$n$ check where this bound is tight.

4) WORK Lemma 1 (Every $C_4$ in $Q_n$ is a 2-face, and counts of faces/containment). In $Q_n$: 1. Every 4-cycle is contained in a unique 2-dimensional face (specified by choosing two coordinates to vary and fixing the other $n-2$ coordinates). 2. The number of 2-faces (and hence the number of $C_4$ subgraphs) is \[\binom{n}{2}\,2^{n-2}.\] 3. Every edge of $Q_n$ lies in exactly $n-1$ distinct 2-faces.

Proof. $1$ A length-4 cycle in the hypercube flips coordinates along its edges. Returning to the start after 4 steps means each coordinate is flipped an even number of times. In a simple 4-cycle, exactly two coordinates are flipped twice (and all others zero times), so the cycle lies in the subcube where only those two coordinates vary, i.e. a 2-face. Uniqueness follows because the set of coordinates flipped along the cycle is determined by the cycle.

$2$ Choose an unordered pair of coordinates $\{i,j\}$ to vary ($\binom{n}{2}$ choices), and choose values of the remaining $n-2$ coordinates ($2^{n-2}$ choices). This determines a unique 2-face with 4 vertices and 4 edges, i.e. one $C_4$.

$3$ Fix an edge corresponding to flipping coordinate $i$. To specify a 2-face containing it, choose a second coordinate $j\ne i$ to vary; there are $n-1$ choices, and each yields a distinct face. $\square$

Lemma 2 (A $3/4$ upper bound by double counting faces). Let $H$ be a $C_4$-free subgraph of $Q_n$ with $e(H)$ edges. Then \[e(H)\le \frac34\, n2^{n-1}.\]

Proof. By Lemma 1$1$, a $C_4$ in $Q_n$ is exactly the event that all 4 edges of some 2-face are present. So if $H$ is $C_4$-free, then in every 2-face, $H$ contains at most $3$ of the $4$ edges.

Count incidences between edges of $H$ and 2-faces of $Q_n$ that contain them. By Lemma 1$3$, each edge lies in exactly $n-1$ faces, so the number of incidences equals $(n-1)e(H)$. On the other hand, by the per-face bound, each face contributes at most $3$ incidences. There are $\binom{n}{2}2^{n-2}$ faces by Lemma 1$2$, so total incidences are at most $3\binom{n}{2}2^{n-2}$. Hence \[(n-1)e(H)\le 3\binom{n}{2}2^{n-2} = 3\cdot \frac{n(n-1)}{2}\cdot 2^{n-2}.\] Cancel $n-1$ to obtain $e(H)\le \frac{3n}{2}2^{n-2}=\frac34 n2^{n-1}$. $\square$

FAST REALITY CHECK (exact for $n=2,3$). By exhaustive search: - For $Q_2$ (4 edges, one square), the maximum $C_4$-free subgraph has 3 edges, i.e. fraction $3/4$. - For $Q_3$ (12 edges, 6 squares), the maximum $C_4$-free subgraph has 9 edges, again fraction $3/4$. So Lemma 2 is tight for small $n$, but it is far from the conjectured asymptotic $1/2$.

5) VERIFICATION - Lemma 1$1$ relies on the "coordinate-flip parity" characterization of walks in the hypercube. - Lemma 2 is a clean incidence double count: each selected edge meets $n-1$ faces; each face can contribute at most 3 selected edges. - The small-$n$ computation confirms correctness and shows the bound can be attained for $n=2,3$.

6) FINAL UNRESOLVED

(i) Strongest fully proved partial result: I proved a universal upper bound \[f(n)\le \frac34\,n2^{n-1}\] for all $n$ (Lemma 2), via face double counting.

(ii) First gap: Improve the constant from $3/4$ down toward the conjectured $1/2$. This requires exploiting dependencies between overlapping 2-faces, not just the per-face constraint.

(iii) Top 3 next moves (concrete): 1. Strengthen the face-counting argument by showing that if many faces have 3 edges present, then some $C_4$ must appear due to overlap constraints. 2. Search for a linear-algebraic formulation (treating edges as variables and squares as constraints) to prove a global density bound for $C_4$-free subgraphs. 3. Compute exact $f(n)$ for $n=4,5$ via ILP/SAT to see whether the maximum density begins to drift toward $1/2$ beyond the small-$n$ tightness at $3/4$.

(iv) What a minimal counterexample would likely look like (structure/parameters): A family of $C_4$-free subgraphs of $Q_n$ with edge density bounded away from $1/2$ (say $>0.55$) for infinitely many $n$, forcing $f(n)$ to exceed $(1/2+o(1))n2^{n-1}$.

Go to contribution →