You are a helpful assistant generating synthetic data that captures System 1 and System 2 thinking, creativity, and metacognitive reflection. Follow these steps in sequence, using tags [sys1] and [end sys1] for System 1 sections and [sys2] and [end sys2] for System 2 sections.
Identify System 1 and System 2 Thinking Requirements:
Carefully read the text.
Identify parts of the text that require quick, straightforward responses (System 1). Mark these sections with [sys1] and [end sys1].
Identify parts that require in-depth, reflective thinking (System 2), marked with [sys2] and [end sys2].
Apply Step-by-Step Problem Solving with Creativity and Metacognitive Reflection for System 2 Sections:
2.1 Understand the Problem:
Objective: Fully comprehend the issue, constraints, and relevant context.
Reflection: "What do I understand about this issue? What might I be overlooking?"
Creative Perspective: Seek hidden patterns or possibilities that could reveal deeper insights or innovative connections.
2.2 Analyze the Information:
Objective: Break down the problem logically.
Reflection: "Am I considering all factors? Are there any assumptions that need challenging?"
Creative Perspective: Explore unique patterns or overlooked relationships in the data that could add depth to the analysis.
2.3 Generate Hypotheses:
Objective: Propose at least 10 hypotheses, each with a Confidence Score (0.0 to 1.0) and Creative Score (0.0 to 1.0), reflecting originality, surprise, and utility.
Reflection: "Have I explored all possible explanations or approaches, both conventional and unconventional?"
Creative Perspective: Consider novel angles that might provide unexpected insights.
2.4 Anticipate Future Steps and Obstacles:
Objective: Make predictions, accounting for potential outcomes and obstacles.
Reflection: "What challenges might I face? Is my plan flexible for different scenarios?"
Creative Perspective: Visualize unforeseen outcomes and adapt plans to make use of them effectively.
2.5 Evaluate Hypotheses:
Objective: Assess hypotheses based on feasibility, risk, and potential impact.
Evaluation: Refine Confidence and Creative Scores as needed.
Reflection: "Am I unbiased in my assessment? Which options fit best with the overall objectives?"
Assistant
Creative Perspective: Identify hidden opportunities or overlooked details in each hypothesis.
2.6 Select the Best Hypothesis:
Objective: Choose the most promising, strategic hypothesis.
Reflection: "Why does this hypothesis stand out? How does it uniquely address the issue?"
Creative Perspective: Consider any underutilized potential in the selected approach.
2.7 Implement the Hypothesis:
Objective: Outline actionable steps for testing the hypothesis.
Reflection: "Is this plan practical? What resources or preparation are required?"
Creative Perspective: Refine steps to maximize effectiveness and yield unexpected benefits.
2.8 Monitor and Review Progress:
Objective: Review progress, noting areas for improvement.
Reflection: "What’s working well? What could be improved?"
Creative Perspective: Look for emerging patterns that could refine future approaches.
2.9 Reflect and Capture Insights:
Objective: Summarize lessons learned and insights gained for future reference.
Reflection: "What new understanding has emerged from this process?"
Creative Perspective: Identify innovative insights or patterns that could be applied to similar challenges.
Generate Text Output with Interleaved System 1 and System 2 Responses:
Use the tags [sys1] and [sys2] throughout.
Aim for a lengthier, detailed response. Combine both direct, straightforward System 1 insights and reflective, deeply analytical System 2 segments to capture a blend of quick observations and thoughtful analysis.
Example Input Text:
You are tasked with analyzing a sudden shift in customer preferences in a tech market. There has been a noticeable decline in demand for physical devices, with customers increasingly interested in digital-only options. The challenge is to understand this shift, generate hypotheses for why it might be occurring, and explore potential strategies for adapting to this new trend.
Processed Output with System 1 and System 2 Thinking:
The tech market is experiencing a shift in customer demand, moving away from physical devices toward digital-only options.
[sys1]
Customer demand has shifted from physical devices to digital-only options.
We need to understand why this change is happening and find strategies to address it.
Key factors may include cost, convenience, and technological trends.
[end sys1]
[sys2]
2.1 Understand the Problem:
The goal is to understand the underlying reasons for the shift in demand from physical devices to digital-only options, then develop a strategy to adapt.
Reflection:
"I understand that preferences are changing, but what might be driving this? Is it primarily cost, or are there other factors such as convenience or sustainability?"
Creative Perspective:
"Could there be a larger trend in digital minimalism or a preference for eco-friendly solutions that we’re missing? What unseen motivations might explain this shift?"
2.2 Analyze the Information:
There are multiple possible factors driving this shift, from economic influences to cultural shifts. It’s essential to isolate each factor and understand its impact.
Reflection:
"Am I fully considering the various economic and social influences? Could there be a technological factor, like better internet speeds, that makes digital-only products more accessible?"
Creative Perspective:
"Are there patterns or trends in other markets that could shed light on this shift? Could this be part of a larger trend toward virtual experiences?"
2.3 Generate Hypotheses:
Customers prefer digital options due to lower costs. (Confidence: 0.8, Creative: 0.4)
There’s a growing trend toward minimalism and reduced physical clutter. (Confidence: 0.7, Creative: 0.7)
Digital products offer greater flexibility and ease of use. (Confidence: 0.6, Creative: 0.6)
Environmental concerns are pushing consumers away from physical goods. (Confidence: 0.6, Creative: 0.8)
Advances in tech make digital-only options more functional. (Confidence: 0.8, Creative: 0.5)
Pandemic-era remote work increased demand for digital solutions. (Confidence: 0.7, Creative: 0.6)
Media coverage of the environmental impact of physical devices affects preferences. (Confidence: 0.5, Creative: 0.7)
There’s an increase in global digital literacy, expanding market access. (Confidence: 0.6, Creative: 0.6)
Customers view digital as more convenient and scalable for future needs. (Confidence: 0.7, Creative: 0.5)
Younger consumers prefer the aesthetics and convenience of digital products. (Confidence: 0.6, Creative: 0.6)
Reflection:
"Have I considered all possible influences? Are there any surprising factors that could explain this shift?"
Creative Perspective:
"Could specific social trends, like the rise of influencer culture or digital-first lifestyles, be influencing customer choices?"
2.4 Anticipate Future Steps and Obstacles:Objective: Anticipate possible challenges, such as resistance from segments still preferring physical products.
Reflection:
"What market obstacles might we face if we shift our focus to digital-only? Are there sub-segments that still prioritize physical products?"
Creative Perspective:
"Could expanding digital options help us reach a more global audience? Are there emerging trends that we could leverage in our strategy?"
[end sys2]
[sys1]
To address this shift, consider a strategy that incorporates both digital-only offerings and educational campaigns about the benefits of digital solutions.
Use insights from customer feedback and current trends to guide product development.
Focus on flexibility and adaptation to cater to different customer segments.
[end sys1]
abstract: 'Considering a natural generalization of the Ruzsa–Szemerédi problem, we prove that for any fixed positive integers r,s with r<s, there are graphs on n vertices containing nre−O(logn)=nr−o(1) copies of Ks such that any Kr is contained in at most one Ks. We also give bounds for the generalized rainbow Turán problem ex(n,H,rainbow-F) when F is complete. In particular, we answer a question of Gerbner, Mészáros, Methuku and Palmer, showing that there are properly edge-coloured graphs on n vertices with nr−1−o(1) copies of Kr such that no Kr is rainbow.'
author:
'W. T. Gowers'
Barnabás Janzer
bibliography:
'Bibliography.bib'
title: 'Generalizations of the Ruzsa–Szemerédi and rainbow Turán problems for cliques '
Introduction {#sec.intrKrKsrainbow}
The famous Ruzsa–Szemerédi or (6,3)-problem is to determine how many edges there can be in a 3-uniform hypergraph on n vertices if no six vertices span three or more edges. This rather specific-sounding problem turns out to have several equivalent formulations and bounds in both directions have had many applications. It is not difficult to prove an upper bound of O(n2): one first observes that if two edges have two vertices in common, then neither of them can intersect any other edges, and after removing all such pairs of edges one is left with a linear hypergraph, for which the bound is trivial. Brown, Erdős and Sós [@sos1973existence] gave a construction achieving Ω(n3/2) edges and asked whether the maximum is o(n2).
The argument sketched in the previous paragraph shows that this question is equivalent to asking whether a graph on n vertices such that no edge is contained in more than one triangle must contain o(n2) triangles. A positive answer to this question was given by Ruzsa and Szemerédi [@ruzsa1978triple], who obtained a bound of O(n2/log∗n) with the help of Szemerédi’s regularity lemma. They also gave a construction showing that the number of triangles can be as large as n2e−O(logn, so the exponent in their upper bound cannot be improved.
One of the applications they gave of their upper bound was an alternative proof of Roth’s theorem. Indeed, let A be a subset of {1,…,N} that contains no arithmetic progression of length 3. Define a tripartite graph G with vertex classes X={1,2,…,N}, Y={1,2,…,2N} and Z={1,2,…,3N}, where if x∈X, y∈Y and z∈Z, then xy is an edge if and only if y−x∈A, yz is an edge if and only if z−y∈A and xz is an edge if and only if (z−x)/2∈A. Note that these are the edges of the triangles with vertices belonging to triples of the form (x,x+a,x+2a) with x∈X and a∈A. If xyz is a triangle in this graph, then a=y−x,b=z−y,c=(z−x) satisfy a,b,c∈A and a+b=2c, which gives us an arithmetic progression of length 3 in A unless y−x=z−y. Thus, the only triangles are the ‘degenerate’ ones of the form (x,x+a,x+2a), which implies that each edge is contained in at most one triangle. Therefore, the number of triangles is o(n2) (where n=6N). We also have that for each a∈A there are N triangles of the form (x,x+a,x+2a), so ∣A∣=o(N).
As Ruzsa and Szemerédi also observed, this argument can be turned round: it tells us that if A has density α, then there is a graph with 6N vertices and αN2 triangles such that each edge is contained in at most one triangle. Since Behrend proved [@behrend1946sets] that there exists a subset A of {1,…,N} of size Ne−O(logN) that does not contain an arithmetic progression of length 3, this gives the lower bound mentioned above.
Several related questions have been studied, as well as applications and generalizations of the Ruzsa–Szemerédi problem: see for example [@alon2006extremal; @alon2012nearly]. A natural generalization that we believe has not been considered is the following generalized Turán problem.
[question_RuzsaSzemeredigen] Let r and s be positive integers with 1≤r<s. Let G be a graph on n vertices such that any of its subgraphs isomorphic to Kr is contained in at most one subgraph isomorphic to Ks. What is the largest number of copies of Ks that G can contain?
The Ruzsa–Szemerédi problem is the case r=2,s=3 of Question [question_RuzsaSzemeredigen], and the answer is trivially Θ(n) if r=1. One can easily deduce from the graph removal lemma an upper bound of o(nr) when r≥2. In the case r=2, the construction for the lower bound can be generalized (for example, by using h-sum-free sets from [@alon2006characterization]) to get a lower bound of n2e−O(logn. However, there is no obvious way of generalizing the algebraic construction for r≥3. We shall present a geometric construction instead, in order to prove the following result, which is the first of the two main results of this paper.
[theorem_KrKs] For each 1≤r<s and positive integer n there is a graph on n vertices with nre−O(logn)=nr−o(1) copies of Ks such that every Kr is contained in at most one Ks.
We shall also use a modification of our construction to answer a question about rainbow colourings. Given an edge-colouring of a graph G, we say that a subgraph H is rainbow if all of its edges have different colours. We denote by ex∗(n,H) the maximal number of edges that a graph on n vertices can contain if it can be properly edge-coloured (that is, no two edges of the same colour meet at a vertex) in such a way that it contains no rainbow copy of H. The rainbow Turán problem (i.e., the problem of estimating ex∗(n,H)) was introduced by Keevash, Mubayi, Sudakov and Verstraëte [@keevash2007rainbow], and was studied for several different families of graphs H, such as complete bipartite graphs [@keevash2007rainbow], even cycles [@keevash2007rainbow; @das2013rainbow] and paths [@johnston2016rainbow; @ergemlidze2019rainbow]. Gerbner, Mészáros, Methuku and Palmer [@gerbner2019generalized] considered the following generalized rainbow Turán problem (analogous to a generalization of the usual Turán problem introduced by Alon and Shikhelman [@alon2016many]). Given two graphs H and F, let ex(n,H,rainbow-F) denote the maximal number of copies of H that a properly edge-coloured graph on n vertices can contain if it has no rainbow copy of F. Note that ex∗(n,H) is the special case ex(n,K2,rainbow-H). The authors of [@gerbner2019generalized] focused on the case H=F and obtained several results, for example when H is a path, cycle or a tree, and also gave some general bounds. One of their concluding questions was the following.
[question_rbKr] What is the order of magnitude of ex(n,Kr,rainbow-Kr) for r≥4?
[For fixed r,]{} a straightforward double-counting argument shows that if H has r vertices, then ex(n,H,rainbow-H)=O(nr−1). [Indeed, if G is a graph with n vertices that contains no rainbow copy of H, then every copy of H contains two edges of the same colour. But the number of such pairs of edges is at most (2n)2n−2=, since there are at most 2n−2 edges with the same colour as any given edge, and each such pair can be extended to at most r!nr−4 copies of H.]{}
The authors above improved this bound to o(nr−1), and gave an example that shows that ex(n,Kr,rainbow-Kr)=Ω(nr−2). They also asked whether there is a graph H for which the exponent r−1 in the upper bound is sharp. Our next result shows that H=Kr is such a graph.
[theorem_rainbow] For each r≥4 we have ex(n,Kr,rainbow-Kr)=nr−1−o(1).
Note that a triangle is always rainbow in a proper edge-colouring, so we trivially have ex(n,Kr,rainbow-Kr)=0 for r<4.
In fact, our method can be used to prove the following more general result.
[theorem]{}[rainbowgeneral]{}[theorem_rbgeneral] Let r≥4, let H be a graph, and let H have a proper edge-colouring with no rainbow Kr. Suppose that for each vertex v of H there is a pv∈Rm, and for each colour κ in the colouring there is a non-zero vector zκ such that for every edge vw of colour κ, zκ is a linear combination of pv and pw with non-zero coefficients. Then ex(n,H,rainbow-Kr)≥nm, where m0 is the dimension of the subspace of Rm spanned by the points pv.
It is easy to see that Theorem [theorem_rainbow] is a special case of Theorem [theorem_rbgeneral], but Theorem [theorem_rbgeneral] also allows us to determine the behaviour of ex(n,H,rainbow-Kr) for several other natural choices of H. We give some examples in Section [sec_examples].
Theorem [theorem_rbgeneral] is ‘almost equivalent’ to the following, slightly weakened, alternative version.
Theorem [theorem_rbgeneral]′.Let r≥4, let H be a graph, and let c be a proper edge-colouring of H without a rainbow Kr. Suppose that for each vertex v∈V(H) we have a vector pv∈Rm−1, and for each colour κ of c the lines through the pairs pv,pw with c(vw)=κ are either all parallel, or all go through the same point and that point is different from pv,pw unless pv=pw. Assume that no (m−2)-dimensional affine subspace contains all the points pv. Then ex(n,H,rainbow-Kr)≥nm−o(.
It is easy to see that Theorem [theorem_rbgeneral]′ is equivalent to the weakened version of Theorem [theorem_rbgeneral] where we make the additional assumption that each pv is non-zero. Indeed, given a configuration of points pv as in Theorem [theorem_rbgeneral] (with m=m0), we can project it from the origin to an appropriate affine (m−1)-dimensional subspace not going through the origin to get a configuration as in Theorem [theorem_rbgeneral]′. Conversely, a configuration of points pv as in Theorem [theorem_rbgeneral]′ gives a configuration as in Theorem [theorem_rbgeneral] by taking the points pv×{1}∈Rm.
The idea of the construction, and a preliminary lemma {#subsec_constr}
We now briefly describe the construction used in our proof of Theorem [theorem_KrKs]. For simplicity, we focus on the case r=2,s=3, i.e., the Ruzsa–Szemerédi problem.
Consider the d-dimensional sphere Sd={x∈Rd+1:∥x∥=1}. (We will choose d to be about logn.) Join two points of the sphere by an edge if the angle between the corresponding vectors is between 2π/3−δ and 2π/3+δ, where δ is some appropriately chosen small number (roughly e−logn). Then there are ‘few’ triangles containing any given edge, since if xy is an edge then any point z such that xyz is a triangle is restricted to lie in a small neighbourhood around the point −(x+y). However, there are ‘many’ edges, since the edge-neighbourhood of a point is a set of points around a codimension-1 surface, which is much larger then the neighbourhood of a single point. Choosing the constants appropriately, we can achieve that if we pick n random points then any two of them form an edge with probability n−o(1), and any three of them form a triangle with probability n−1−o(1). Then any edge is expected to be in n−o(1) triangles and there are n2−o(1) edges. After some modification, we get a graph with n2−o(1) triangles in which any edge extends to at most one triangle.
The general construction is quite similar. We want to define the edges in such a way that knowing the position of any r of the vertices of a Ks restricts the remaining s−r vertices to small neighbourhoods around certain points, but knowing the position of i points with i<r only restricts the remaining points to a neighbourhood of a codimension-i surface. For example, when (r,s)=(3,4), we can define our graph by joining two points if the angle between the corresponding vectors is close to the angle given by two vertices of a regular tetrahedron (centred at the origin).
In fact, our construction and the construction of Ruzsa and Szemerédi based on the Behrend set are more similar than they might at first appear, which also explains why they give similar bounds (namely n2e−O(logn) for the case r=2,s=3). Behrend’s construction [@behrend1946sets] of a large set with no arithmetic progression of length 3 starts by observing that for any positive integers k,d there is some m such that the grid {1,…,k}d intersects the sphere {x∈Rd:∥x∥2=m} in a set A consisting of at least kd/(dk2) points. This set A has no arithmetic progression of length 3. (In Behrend’s construction, this is transformed into a subset of Z using an appropriate map, but this is unnecessary for our purposes.) Repeating the construction from Section [sec.intrKrKsrainbow], we define a tripartite graph G on vertex set X∪Y∪Z where X={1,…,k}d,Y={1,, and edges given by the edges of the triangles (x,x+a,x+2a)∈X×Y×Z for x∈X,a∈A. Explicitly, for x∈X,y∈Y,z∈Z, we join x and y if ∥x−y∥=m1/2 (and yi≥xi for all i), we join y and z if ∥z−y∥=m1/2 (and zi≥yi), and we join x and z if ∥x−z∥=2m1/2 (and zi≥xi). This gives the same phenomenon as our construction: the neighbourhood of a point x is given by a codimension-1 condition, but the joint neighbourhood of two points is a single point, since y must be the midpoint of x and z.
We conclude this section with the following technical fact, whose proof we include for completeness. Given unit vectors v,w, we write ∠(v,w) for the angle between v and w – that is, for cos−1(⟨v,w⟩).
[lemma_spherebounds] There exist constants 0<α<B such that the following holds. Let d be a positive integer, let 0<ρ≤2 and let v∈Sd. Let Xρ={w∈Sd:∥v−. Let μ denote the usual probability measure on Sd. Then αdρd≤μ(Xρ)≤ Furthermore, for any −1<ξ<1 there exists β>0 such that for every positive integer d, every point v∈Sd, and every 0≤δ≤2, the set Yξ,δ={w∈Sd: has μ(Yξ,δ)≥βdδ.
Using the usual spherical coordinate system, we see that for 0≤φ≤π the set Zφ={w∈Sd:∠(v,w)<φ} satisfies \labeleqspherecal
But we have θ≥sinθ≥π2θ for 0≤θ≤π/2. Thus, ∫0tsind−1θdθ is between dc1d−1td and d1td for all 0≤t≤π/2 (for some constant 0<c1<1). Using this bound for both the numerator and the denominator in , we deduce that α0dφd≤μ(Zφ for some absolute constants 0<α0<B0. But if ∠(v,w)=φ and ∥v−w∥=ρ≤2, then ρ≤φ≤ρπ/2, so Zρ⊆Xρ⊆Z. The first claim follows.
For the second claim, let 0<φ<π such that ξ=cosφ and let ϵ0=min{φ/2,(π−φ)/2}. Write Wφ,ϵ={w∈Sd:. For 0<ϵ<ϵ0 we have μ(Wφ,ϵ)=
But also sinθ≥min{sin(φ−ϵ0),sin(φ+ϵ0)}=sin(ϵ0) when φ−ϵ0≤θ≤φ+ϵ0. Writing β0=sin(ϵ0)>0, it follows that whenever ϵ<ϵ0, then μ(Wφ,ϵ)≥π/22. However, we have ∣cos(θ)−cos(φ)∣≤∣θ−φ∣ whenever ∣θ−φ∣<ϵ0, so Yξ,δ⊇Wφ,δ. Choosing some sufficiently small β, the second claim follows.
The generalized Ruzsa–Szemerédi problem
In this section we prove the first of our main results, Theorem [theorem_KrKs]. In the case r=2,s=3, the construction is based, as we saw in Section [subsec_constr], on the observation that if we wish to find three vectors in Sd={x∈Rd+1:∥x∥=1} in such a way that the angle between any two of them is 120∘, and if we choose the vertices one by one, then there are d degrees of freedom for the first vertex and d−1 for the second, but the third is then uniquely determined. This gives us an example of a ‘continuous graph’ with ‘many’ edges, such that each edge is in exactly one triangle, and a suitable perturbation and discretization of this graph gives us a finite graph with n2−o(1) triangles such that each edge belongs to at most one triangle.
To generalize this to arbitrary (r,s) we need to find a configuration of s unit vectors (where by ‘configuration’ we mean an s×s symmetric matrix that specifies the angles, or equivalently inner products, between the unit vectors) with the property that if we choose the points of the configuration one by one, then for i≤r the i[^th^ ]{}point can be chosen with d+1−i degrees of freedom, but from the (r+1)^st^ point onwards all points are uniquely determined. It turns out that all we have to do is choose an arbitrary collection of s points p1,…,ps in general position from the sphere Sr−1 and take the angles ∠(pi,pj). To see that this works, suppose we we wish to choose x1,…,xs∈Sd one by one in such a way that ⟨xi,xj⟩=⟨pi for every i,j. Suppose that we have chosen x1,…,xr and let V be the r-dimensional subspace that they generate. Let ur+1 be the orthogonal projection of xr+1 to V. Then ⟨ur+1,xi⟩=⟨x for each i≤r, and ur+1∈V, so ur+1 is uniquely determined. Furthermore, since the angles ⟨pi,pj⟩ are equal to the angles ⟨xi,xj⟩ when i,j≤r and to the angles ⟨xi,ur+1⟩ when i≤r,j=r+1, and pr+1 is a unit vector, it must be that ur+1 is a unit vector, which implies that xr+1=ur+1. Since this argument made no use of the ordering of the vectors, it follows that any r vectors in a configuration determine the rest, as claimed.
We shall now use this observation as a guide for constructing a finite graph with many copies of Ks such that each Kr is contained in at most one Ks.
As above, pick s ‘reference’ points p1,…,ps in general position on the sphere Sr−1. Since for any set B⊆{1,…,s} of size r the points pb (b∈B) form a basis of Rr, we may write, for any a, pa=∑b∈Bλ for some real constants λB,a,b.
For any c>0 and positive integers N,d we define an s-partite random graph GN,d,c as follows. (The graph will also depend on r,s,p1,…,ps, but for readability we drop these dependencies from the notation.) Consider the usual probability measure on the d-sphere Sd. Pick, independently and uniformly at random, sN points xa,i (1≤a≤s,1≤i≤N) on Sd: these points form the vertex set. Join two points xa,i and xb,j by an edge if a=b and ∣⟨xa,i,xb,j⟩−. Write Va={xa,i:1≤i so that GN,d,c is s-partite with classes V1,…,Vs.
We also define a graph GN,d,c′ as follows. Let M0 be the maximum among all values of ∣λB,a,b∣ and λB,a,b2, and let M=2(r+1)M0. Then GN,d,c′ is obtained from GN,d,c by deleting all vertices xa,i for which there is another vertex xa,j (i=j) such that ∥xa,i−xa,j∥<M.
This graph is designed to be finite and to have the property that any copy of Ks must be close to a configuration with angles determined by the points p1,…,ps. The vertex deletions are there to ensure that the vertices are reasonably well separated. This will imply that no Kr is contained in more than one Ks, since once r vertices of a Ks are chosen, the remaining vertices are constrained to lie in small neighbourhoods.
The graph GN,d,c′ has the property that any of its subgraphs isomorphic to Kr is contained in at most one subgraph isomorphic to Ks (for any choices of r,s,p1,…,ps,N,d,).
Let xa1,ii,…,xar,ir be points that form a Kr. Then necessarily all at are distinct. Suppose that we have two extensions H1,H2 of this Kr to a Ks. Then both H1 and H2 intersect each class Va in exactly one point. We now show that for each a this point must be the same for H1 and H2, which will imply the lemma.
Suppose that H1 intersects Va in point x. Write B={a1,…,ar}. Then It follows that ∥x−∑t=1rλ. Similarly, if H2 intersects Va in point y then ∥y−∑t=1rλ. Hence ∥x−y∥<2(r+1)M0c. By the definition of GN,d,c′, we must have x=y.
To prove Theorem [theorem_KrKs], it suffices to show that the expected number of copies of Ks in GN,d,c′ is at least Nre−O(logN) for suitable choices of d and c. For this purpose we shall use the following technical lemma. For later convenience (in Section [sec_rainbow]), we state it in a slightly more general form than required here, to allow the possibility that r=s and the possibility that p1,…,ps are not in general position (but still span Rr).
[lemma]{}[appendixlemma]{}[lemma_probabilityKs] Let 1≤r≤s be positive integers and let p1,…,ps be points on Sr−1 such that p1,…,pr form a basis of Rr. Then there exist constants α>0 and h such that for any d≥r and 0<c<1 the probability that a set {xa:1≤a≤s} of random unit vectors (chosen independently and uniformly) on Sd satisfies ∣⟨xa,xb⟩−⟨p for all a,b is at least αdcd(s−r)/2+h.
We may think of the conclusion of Lemma [lemma_probabilityKs] as follows. The dominant (smallest) factor in the probability above is the factor cd(s−r)/2. The probability should be close to this because if we imagine placing the s points one by one and we have already picked x1,…,xi joined to each other, then
if i<r, then xi+1 is restricted to a neighbourhood of a codimension-i surface, so with reasonably large probability (comparable to ci) it is connected to all previous vertices;
if i≥r, then the linear dependencies between the points restrict xi+1 to be in a ball of radius about c around a certain point, which has measure about (which is much smaller than ).
The proof of Lemma [lemma_probabilityKs] is given in an appendix.
By Lemma [lemma_spherebounds], there are constants c0,B,C such that if c<c0 then the probability that a given vertex xa,i is removed from GN,d,c when forming GN,d,c′ is at most NBd(Mc). Here B>0 is an absolute constant and the constants C,c0>0 depend on r,s,p1,…,ps only. Moreover, the event ‘xa,i is removed’ is independent of any event of the form ‘x1,i1,…,xs,i form a Ks in GN,d,c’. Using Lemma [lemma_probabilityKs], we deduce that the probability that x1,ii,…,xs,i is contained in GN,d,c′ and forms a Ks is at least (1−sNCdcd/2)αd (where α,h depend on r,s,p1,…,ps only). So the expected number of copies of Ks in GN,d,c′ is at least Ns(1−sNCdcd
If c=(2sNCd)−2/d, then this is at least \labeleqoptimisation21Nsα for some constants η>0 and E not depending on N,d.
Choosing d=⌊logN⌋, this is Nre−O(logN), and c<c0 when N is sufficiently large. The result follows, as GN,d,c′ has at most Ns vertices.
Note that our proof in fact also gives the correct (and trivial) lower bound Θ(n) in the case r=1, since if r=1 then h=0 so we may choose d to be a constant and get Θ(N) in .
Generalized rainbow Turán numbers for complete graphs {#sec_rainbow}
We now turn to the proofs of our results about generalized rainbow Turán numbers (Theorems [theorem_rainbow] and [theorem_rbgeneral]). First we recall a general result of Gerbner, Mészáros, Methuku and Palmer [@gerbner2019generalized], which can be proved using the graph removal lemma.
[proposition_rbHH] For any graph H on r vertices, we have ex(n,H,rainbow-H)=o(nr−1).
In particular, we know that ex(n,Kr,rainbow-Kr)=o(nr−1). We would like to match this with a lower bound of the form nr−1−o(1).
Before we prove such a bound, let us briefly discuss the ideas that underlie the proof. It is easy to show that a lower bound ex(n,K4,rainbow-K4)≥n3−o(1) would imply that ex(n,Kr,rainbow-Kr)≥ for all r≥4, so it suffices to consider the case r=4. However, when r=4 and G is a properly edge-coloured graph with no rainbow K4, then every triangle of G is contained in at most three copies of K4. (Indeed, if the vertices of the K3 are x,y,z, then the only way that adding a further vertex w can lead to a non-rainbow K4 is if wx has the same colour as yz, wy has the same colour as xz or wz has the same colour as xy. But since the edge-colouring is proper, we cannot find more than one w such that the same one of these three events occurs.) So it is natural to expect that our construction for Theorem [theorem_KrKs] is relevant here.
To see how a similar construction gives the desired result, it is helpful, as earlier, to look at a simpler continuous example that serves as a guide to the construction. Consider the graph where the vertex set is Sd and two unit vectors v,w are joined if and only if ⟨v,w⟩=−1/3 (the angle between vectors that go through the origin and two distinct vertices of a regular tetrahedron). Then any K4 in this graph must be given by the vertices of a regular tetrahedron. We colour an edge by the line that joins the origin to the midpoint of that edge. This is a proper colouring with the property that opposite edges have the same colour, so each K4 is 3-coloured in this colouring. The construction we are about to describe is a suitable perturbation and discretization of this one.
For the discretized graph, we will again have ‘near-regular’ tetrahedra forming K4s. To ensure that each copy of K4 is still rainbow, we shall have to modify the colouring slightly. We shall take only certain ‘allowed lines’ as colours, and we shall colour an edge by the allowed line that is closest to the line through the midpoint (if that line is not very far – otherwise we delete the edge). We need to choose the allowed lines in such a way that no two allowed lines are close (so that near-regular tetrahedra are still 3-coloured), but a large proportion of lines are close to an allowed line (so that not too many edges are deleted). This can be achieved using the following lemma.
[lemma_directions] There exists δ>0 with the following property. For any 0<c1<1 we can choose L≥(δ/c1)d points q1,…,qL on Sd such that ∥qi−ϵqj∥≥3c for any i=j and any ϵ∈{1,−1}.
Take a maximal set of points satisfying the condition above. Then the balls of radius 3c1 around the points ±q1,…,±qL cover the entire sphere. But any such ball covers a proportion of surface area at most (Bc1)d for some constant B (by Lemma [lemma_spherebounds]). Therefore 2L(Bc1)d≥1, which gives the result.
One can prove Theorem [theorem_rainbow] using the method described above. However, the proof naturally yields the more general Theorem [theorem_rbgeneral] (which is restated below), so that is what we shall do. Essentially, we can prove a lower bound of nm−o(1) for a graph H whenever we can draw H in Rm in such a way that for each colour there is a line through the origin meeting (the line of) each edge of that colour, and the vertices of the graph span Rm.
Passing to a subspace, we may assume that m=m0 and {pv:v∈V(H)} spans Rm. Furthermore, by rescaling we may assume that each zκ and each non-zero pv has unit length. Write V0={v∈V(H):pv and V1={v∈V(H):pv. For each c>0 and any two positive integers N,d, we define a (random) graph FN,d,c as follows. The vertex set of FN,d,c has ∣H∣ parts labelled by the vertices of H. If v∈V0 then there is a single point xv,1=0 in the part labelled by v. If v∈V1, then we pick (uniformly and independently at random) N points xv,1,…,xv,N on Sd: these will be the vertices in the part labelled by v. We join two vertices xv,a and xw,b by an edge if and only if vw∈E(H) and ∣⟨xv,a,xw,b⟩−.
By assumption, we know that for each edge vw of colour κ there exist λκ,v,λκ,w non-zero real coefficients such that zκ=λκ,vpv. Let λ be the minimum and M0 the maximum over all values of ∣λκ,v∣. Write c1=(12M02c)1/2. Form a new graph FN,d,c′ out of FN,d,c by removing any vertex xv,i for which there is another vertex xv,j (with j=i) such that ∥xv,i−xv,j∥≤. (The exact values of the constants are not particularly important – they were chosen so that the graph described below will be properly coloured with no rainbow Kr. That is, we could replace 12M02 and 2/λ by other sufficiently large constants.)
Let q1,…,qL be points on Sd with L≥(δ/c1)d such that ∥qi−qj∥≥3c1 for all i=j. Here δ is some positive (absolute) constant, and the existence of such a set follows from Lemma [lemma_directions]. Also, pick independently and uniformly at random a rotation Rκ∈\so(d+1) for each colour κ used in the edge-colouring of H. The probability measure we use on \so(d+1) is the usual (Haar) measure, so for any q∈Sd the points Rκq are independently and uniformly distributed on Sd. We think of the points Rκql (l=1,…,L) as the allowed colours for the edges xv,ixw,j when vw∈E(H) has colour κ (and we take different rotations for different colours to have independence).
We form an edge-coloured graph FN,d,c′′ from FN,d,c′ as follows. For any edge xv,ixw,j of FN,d,c′, we perform the following modification. Let κ be the colour of vw in E(H), and let λκ,v,λκ,w=0 be as before, so that zκ=λκ,vpv.
If there is some l with ∥λκ,vxv,i+λκ,wxw,j−Rκql∥<c1, then we colour the edge xv,ixw,j with colour (κ,l). Note that such an l must be unique since ∥Rκql−Rκ if l′=l.
Otherwise we delete the edge xv,ixw,j.
Claim 1. The edge-colouring of FN,d,c′′ is proper.
Proof. Suppose that xv,ixw,j and xv,ixw′,j′ are both edges with colour (κ,l). Then vw and vw′ both have colour κ in E(H), thus w=w′. Also, But then j=j′ by the definition of FN,d,c′. So the edge-colouring of FN,d,c′′ is indeed proper.
Claim 2. There is no rainbow copy of Kr in FN,d,c′′.
Proof. Suppose that the vertices xv1,i1,…,xvr,ir form a Kr in FN,d,c′′. Then v1,…,vr form a Kr in H. This Kr is not rainbow (by assumption). By symmetry, we may assume that the edges v1v2 and v3v4 both have colour κ. Write xa for xva,ia and λa for λκ,va for a=1,2,3,4. Then we have (recalling that M0=maxκ′,v)
Since c1=(12M02c)1/2, we get that ∥λ1x1+λ2. But if x1x2 has colour (κ,l) and x3x4 has colour (κ,l′), then ∥q It follows that l=l′ and hence the Kr with vertices xv1,i1,…, is not rainbow.
Claim 3. The expected number of copies of H in FN,d,c′′ is at least Nm−o(1) if d and c are chosen appropriately.
Proof. Pick arbitrary vertices xv,iv in the classes (with iv=1 if v∈V0 and 1≤iv≤N otherwise). We consider the probability that they form a copy of H in FN,d,c′′. Write xv for xv,iv.
Let ϵ>0 be a small constant to be specified later. By Lemma [lemma_probabilityKs], we have \labeleqinnerproductsgoodP[∣⟨xv,xw for some constants α>0 and h.
Let v∈V1. By Lemma [lemma_spherebounds], the probability that xv is removed when we form FN,d,c′ is at most NB1dcd/2, for some constant B1>0 that does not depend on N,d,c. By independence, if NB1dcd/2<1 then \labeleqnotr Finally, for each colour κ in the colouring of E(H), pick an edge vκwκ of that colour in H. Write yκ=λκ,vκ and yκ′=∥yκ. Note that ∥yκ∥=0 with probability 1, since all λκ,v are non-zero and at least one of pvκ and pwκ is non-zero. For each κ, if ϵ is sufficiently small then by Lemma [lemma_spherebounds] we have \labeleqc for some constants η,η1>0.
Observe that the events in , and (for all κ) are independent. It follows that \label{eq_allhold}
{\mathbb{P}}[\textnormal{the events in \eqref{eq_innerproductsgood}, \eqref{eq_notremoved}, and, for all $\kappa$, \eqref{eq_colourgood} hold}]\geq \gamma_\epsilon^dc^{d(|V_1|-m)/2+h}(1-NB_1^dc^{d/2})^{|V_1|} where γϵ is some constant depending on ϵ (but not on N,d,c). We show that these events together imply that the xv form a copy of H, if ϵ is sufficiently small. The only property that we need to check is that no edge is removed when FN,d,c′′ is formed out of FN,d,c′. Consider then an edge uu′ of H. Let κ be its colour and write v=vκ,w=, and λu′=λκ,u. We have So ∥y−y′∥=∣∥y∥−1∣=O(ϵc). Furthermore, if we write y′′=λuxu+, then It follows that This is indeed less than c1=(12M02c)1/2 if ϵ is sufficiently small.
Choosing ϵ appropriately, \eqrefeqallhold gives that the expected number of copies of H in FN,d,c′′ is at least N∣V1∣γ for some constant γ. Letting c=(2NB1d1 and d=⌊logN⌋, we get that the expected number of copies of H in FN,d,c′′ is at least Nm−o(1), which proves the claim.
The theorem follows from Claims 1, 2 and 3.
Given a complete graph Kr on vertex set {1,…,r}, we can properly edge-colour it by giving the edges 12 and 34 the same colour κ, and giving arbitrary different colours to the remaining edges. Pick r−1 linearly independent points p2,p3,…,pr in Rr−1, and let p1=p2+p3+. Let zκ=p3+p4 and let zκ′=pi+p when ij is an edge of colour κ′=κ. Theorem [theorem_rbgeneral] gives that ex(n,Kr,rainbow-Kr)≥, and we have a matching upper bound by Proposition [proposition_rbHH].
Some applications of Theorem [theorem_rbgeneral] {#sec_examples}
We have already seen that Theorem [theorem_rbgeneral] can be used to answer the question of Gerbner, Mészáros, Methuku and Palmer about the order of magnitude of ex(n,Kr,rainbow-Kr). In this section we give some other examples of applications of the theorem.
To show that our lower bounds are sharp, we shall use a simple proposition to give matching upper bounds. This will require the following definition. Given a graph H and a proper edge-colouring c of H, we say that a subset V0⊆V(H) is a c-spanning set if there is an ordering v1,…,vk of the vertices in V(H)∖V0 such that for all i there are some u,u′,w∈V0∪{v such that uu′∈E(H), viw∈E(H) and c(uu′)=c(viw). In other words, we can add the remaining vertices to V0 one by one in a way that new vertices are joined to some vertex in the set by a colour already used.
[proposition_rbsharp] Let H and F be graphs and let r be a positive integer. Assume that for every proper edge-colouring c of H that does not contain a rainbow copy of F there is a c-spanning set of size at most r. Then ex(n,H,rainbow-F)=O(nr). If we also have r<∣V(H)∣, and if for every such c and every edge e of H there is a c-spanning set of size at most r containing e, then ex(n,H,rainbow-F)=o(nr).
Let G be a graph on n vertices and let κ be a proper edge-colouring of G without a rainbow copy of F. Let G contain M copies of H. Then we can partition the vertices into classes Xv for v∈V(H) in such a way that there are Ω(M) choices of x=(xv)v∈V(H) such that xv∈Xv and v↦xv is a graph homomorphism from H. (To see this, place each vertex independently, uniformly at random into one of the classes. If {xv:v∈V(H)} is an isomorphic copy of H in G (such that v↦xv is the corresponding isomorphism), then we have {\mathbb{P}}[x_v\in X_v\textnormal{ for all v}]=1/|V(H)|^{|V(H)|}, so the expected number of such tuples x is M/∣V(H)∣∣V(H)∣=Ω(M).)
For each x as above pick an isomorphic proper edge-colouring cx:E(H)→{1,…,∣E(H)∣}, that is, cx(vw)=cx(v if and only if κ(xvxw)=κ(x for all edges vw,v′w′ of H. Note that cx cannot contain a rainbow copy of F. Then there is a colouring c:E(H)→{1,…,∣E(H)∣} that appears for Ω(M) choices of x. Let V0 be a c-spanning set of size at most r.
Note that any x with cx=c is determined by (xv)v∈V0, since the edge-colouring is proper. But there are O(nr) choices for (xv)v∈V0, hence M=O(nr).
Now assume that r<∣V(H)∣ and that for every proper edge-colouring c′ of H without a rainbow F and every edge e of H there is a c′-spanning set of size at most r that contains e. By the graph removal lemma and the first part of our proposition, we can remove o(n2) edges from G so that the new graph G′ contains no copy of H. So it suffices to show that each edge appeared in at most O(nr−2) tuples x with cx=c. Given an edge e=yvyw with yv∈Xv,yw we can pick in H a c-spanning set V0,e of size at most r containing vw. Then any x with cx=c and xv=yv,xw= is determined by (xu)u∈V0∖{v,w}, which gives the result.
Now we give some sample applications of Theorem [theorem_rbgeneral] and Proposition [proposition_rbsharp]. We shall give two illustrations, but it is quite easy to generate additional examples.
Complete graphs {#rbkrks}
Perhaps the most natural extension of Question [question_rbKr] is to determine the behaviour of the function ex(n,Kr,rainbow-Ks). Note that trivially ex(n,Kr,rainbow-Ks)=Θ(nr) when s>r (by taking a complete r-partite graph), and we have seen that ex(n,Ks,rainbow-Ks)= (when s≥4). We also have ex(n,Kr,rainbow-Ks)=0 whenever r≥rs for some integer rs depending on s. Indeed, if we have a Kr with no rainbow copy of Ks, and the largest rainbow subgraph has order t≤s, then any of the remaining (r−t) vertices must be joined to this Kt by one of the (2t) colours appearing in the Kt. But each such colour appears at most once at each vertex, giving r=O(s3). [In fact, Alon, Lefmann and Rödl showed [@alon1991anti] that rs=Θ(s3/logs).]{}
However, the question is non-trivial for s<r<rs. First note that ex(n,Kr,rainbow-Ks)=o(ns−1) whenever r≥s by Proposition [proposition_rbsharp] (since any maximal rainbow subgraph is a c-spanning set). The simplest case for the lower bound is (r,s)=(5,4). In this case Theorem [theorem_rbgeneral] gives a matching lower bound n3−o(1). Indeed, take an arbitrary proper edge-colouring of K5 with no rainbow K4, and take points p1,…,p5 in general position in R3. The existence of appropriate values of zκ follows from the fact that any four of the pi are linearly dependent (but any three are independent), and each colour is used at most twice. It is easy to deduce that ex(n,Ks+1,rainbow-Ks) for all s≥4.
When s=4 then rs=7 (since any triangle is in at most one K4), leaving the case (r,s)=(6,4). Unfortunately, in this case Theorem [theorem_rbgeneral] does not give a lower bound of n3−o(1). (To see this, observe that to get such a bound the corresponding points pv would all have to be non-zero. Then we can use the alternative formulation Theorem [theorem_rbgeneral]′ to see that we would have to be able to draw a properly edge-coloured K6 in the plane such that there is no rainbow K4 and lines of edges of the same colour are either all parallel or go through the same point. Applying an appropriate projection and affine transformation, we may assume that we have two colour classes where the edges are all parallel, and these two parallel directions are perpendicular. This leaves essentially two cases to be checked, and neither of them yields an appropriate configuration.)
However, we can still deduce a lower bound of ex(n,K6,rainbow-K4)≥n12/5−o(1), as sketched below. We can take 6 points p0=0 and pa=e2πia/5 (for a=1,…,5), that is, the vertices of a regular pentagon together with its centre. We define a colouring c as follows. Give parallel lines between vertices of the pentagon the same colour, and also give the same colour to the edge incident at the centre which is perpendicular to these lines (see Figure [K6K4]). This gives a proper edge-colouring of K6 and corresponding points in 2 dimensions for which the conditions of Theorem [theorem_rbgeneral] are satisfied, giving a lower bound of n2−o(1). (The point zκ is chosen to be pa when p0pa has colour κ.) This can be improved to n12/5−o(1) by a product argument as follows. Looking at the construction, we see that our graph G is 6-partite with classes V0,…,V5, at most n vertices, and a proper edge-colouring κ such that the following hold.
There are (at least) n2−o(1) copies of K6 in G.
The class ∣V0∣ has size 1.
There is a 5-colouring c of the edges of K6 (on vertex set {0,…,5}) with no rainbow such that whenever form a in with , then gives an isomorphism of colourings between the restrictions of and to the appropriate four-vertex graphs (i.e., if and only if ). Moreover, this 5-colouring has the property that for all there is a permutation of the vertices which is an automorphism of colourings and maps to . (Indeed, we can take rotations of the pentagon when , and we can take the permutation when , .)
We construct a new graph as follows. For each i∈{0,…,5}, pick a permutation πi of {0,…,5} which gives a colouring automorphism of c and sends i to 0. Define a 6-partite graph Gi obtained from G by permuting the vertex classes: Gi has classes V0i,…,V5i given by Vai=Vπi(a and same edge set as G. Let G′ be the product of these 6-partite graphs, that is, it is 6-partite with vertex classes Wa=Va0×V, and two vertices (v0,…,v5)∈Wa and (w0,…,w5)∈Wb are joined by an edge if viwi∈E(G) for all i. Moreover, colour such an edge by colour (κ(v0w0),…,κ(v. It is easy to check that the colouring is proper, G′ contains no rainbow K4, G′ has at most n5 vertices in each class, and G′ contains at least n12−o(1) copies of K6, giving the bound stated.
This leaves some open questions about ex(n,Kr,rainbow-Ks). It would be interesting to determine its order of magnitude for (r,s)=(6,4), or the magnitude for other pairs with s<r<rs.
King’s graphs
Given positive integers k,l≥2, write Hk,l for the graph with vertex set {1,…,k}×{1,…,l} where (a,b) and (a′,b′) are joined by an edge if and only if they are distinct and ∣a−a′∣,∣b−b′∣≤1. In other words, Hk,l is the strong product of a path with k points and a path with l points, sometimes called the k×l king’s graph. We can use our results to show that ex(n,Hk,l,rainbow-K4.
First consider the upper bound. It is easy to see that any sequence of vertices p1,…,pk+l−1 is a c-spanning set (for all proper edge-colourings c of Hk,l without a rainbow K4) if either of the following statements holds.
We have p1=(1,1), pk+l−1=(k,l) and pi+1−pi∈{(0,1) for all i.
We have p1=(1,l), pk+ and for all .
(Indeed, this follows from the fact that we can add the other vertices one by one, creating a new copy of K4 in our set in each step.) Since any edge is contained in such a sequence, Proposition [proposition_rbsharp] gives ex(n,Hk,l,rainbow-K4)=o(nk+l−1).
For the lower bound, consider an edge-colouring c of Hk,l with c((a,b)(a+1,b))=a, where the other edges are given arbitrary distinct colours. This gives a proper edge-colouring of Hk,l with no rainbow K4. For each vertex (a,b) of H, define pa,b∈Rk+l to be the vector with i[^th^ ]{}coordinate (p_{a,b})_i =
\begin{cases*}
0 & if $i\not =a, k+b$ \\
1 & if $i=a$\\
(-1)^a & if $i=k+b$
\end{cases*} For each 1≤a≤k−1 we let za∈Rk+l be the vector with all entries zero except the a[^th^ ]{}and (a+1)[^th^ ]{}coordinates which are 1, and for each other colour κ used in the colouring of Hk,l we take zκ=pv+pw, where vw is the unique edge of colour κ. Then we have pa,b+pa+1,b=z, so the conditions of Theorem [theorem_rbgeneral] are satisfied. The dimension of the subspace of Rk+l spanned by the vectors pa,b is at least k+l−1, since p1,l,p1,l− are linearly independent. We get the required lower bound nk+l−1−o(1).
Acknowledgement {#acknowledgement .unnumbered}
We are grateful to Shagnik Das for pointing out that the behaviour of rs (in Subsection [rbkrks]) was known.
Appendix
In this appendix, we prove Lemma [lemma_probabilityKs], which is recalled below.
[lemma_r+1points] Let r be a positive integer. Let p1,…,pr+1 be points on Sr−1 such that p1,…,pr are linearly independent. Then there exist real numbers δ>0, α0>0 and h0 such that whenever d≥r is a positive integer, 0<c<1, and x1,…,xr are points on Sd with ∣⟨xi,xj⟩−⟨p for all 1≤i,j≤r, then the probability that a random point xr+1 on Sd satisfies ∣⟨xi,xr+1⟩−⟨p for all i≤r is at least α0dcd/2+h0.
We prove the statement by induction on r. If r=1, then p1,p2∈{−1,1} and the condition ∣⟨xi,xr+1⟩−⟨p becomes ∣⟨p1p2x1,x, which is equivalent to ∥p1p2x1−x. By Lemma [lemma_spherebounds], this happens with probability at least α0dcd/2, giving the claim. (Here δ=1 and h0=0.)
Now assume that r≥2 and the result holds for smaller values of r. We may assume that pr+1=±p1 (otherwise swap p1 and p2). By symmetry, we may assume that x1=(0,0,…,0,1)∈Sd and p1=(0,0,…,0,1)∈S. Write xai for the i[^th^ ]{}coordinate of xa. For each 2≤a≤r+1, define a normalized projected vector xa′= Note that the denominator is non-zero for a=2,…,r if δ is sufficiently small, and it is non-zero with probability 1 for a=r+1. Also, xr+1 is uniformly distributed on Sd−1. Similarly, for each 2≤a≤r+1, define pa′= Note that p2′,…,pr′ are linearly independent in Rr−1.
Note that for 2≤a,b≤r we have ⟨xa′,xb′⟩=(1−⟨x Let ϵ>0 be a small constant to be specified later. Applying the induction hypothesis for r′=r−1 and points p2′,…,pr+1′, we have that \labeleq whenever δ<δ0ϵ, for some constants α0,δ0>0 and h0 depending on p1,…,pr+1 only.
By Lemma [lemma_spherebounds], there is a constant β depending on p1,pr+1 only such that \labeleqprobinY1P[∣⟨x1,xr+1⟩−
Note that the events in and are independent, since conditioning on the second event we still have an independent uniform distribution for the vector xr+1′. It follows that \labeleqprobboth1P[∣⟨xa′,xr+1 whenever δ<δ0ϵ, for some constants γ>0 and h1 (with the constants depending on p1,…,pr+1 only).
So it suffices to show that if ϵ and δ are sufficiently small (depending on p1,…,pr+1 only), then the event above implies that ∣⟨xa,xr+1⟩−⟨p for all 2≤a≤r. But we have which gives the result.
[lemma_indeppoints] Let r be a positive integer and let p1,…,pr be linearly independent points in Sr−1. Then there are exist real numbers α1>0 and h1 such that whenever d≥r is a positive integer and 0<c<1 then the probability that r points x1,…,xr chosen independently and uniformly at random on Sd satisfy ∣⟨xi,xj⟩−⟨p for all 1≤i,j≤r is at least α1dch1.
The proof is essentially the same as for the previous lemma. We prove the statement by induction on r. The case r=1 is trivial. Now assume that r≥2 and that the statement holds for smaller values of r. By symmetry, we may assume that x1=(0,0,…,0,1)∈Sd and p1=(0,0,…,0,1)∈S. Define pa′ and xa′ for a≥2 as in the proof of Lemma [lemma_r+1points]. Let ϵ>0 be some small constant to be determined later.
By induction, we have \labeleqprobcomplete2P[∣⟨xa′,xb′⟩−⟨pa′,pb′⟩∣<ϵc for all 2≤a,b≤r]≥α1d−1(ϵc)h1 for some α1>0 and h1 (where the constants depend only on p1,…,pr+1).
By Lemma [lemma_spherebounds], there are constants β2,…,βr depending on p1,…,pr only such that for each 2≤a≤r\labeleqprobinY2P[∣⟨x
By independence, P[∣⟨xa′,xb′⟩−⟨pa′,pb′⟩∣<ϵc for all 2≤a,b≤r and ∣⟨x1,xa⟩−⟨p1,pa⟩∣<ϵc for all a]≥γd(ϵc)h2 for some real numbers γ>0 and h2.
However, if the event above holds then ⟨xa,xb⟩=⟨x The result follows by taking a sufficiently small ϵ.
By Lemma [lemma_r+1points], we can choose constants 0<δ<1, α0>0 and h0 such that whenever d≥r is a positive integer, 0<c<1 and x1,…,xr are points on Sd with ∣⟨xi,xj⟩−⟨p for all 1≤i,j≤r, then for all a>r the probability that a random point xa on Sd satisfies ∣⟨xi,xa⟩−⟨p for all i≤r is at least α0dcd/2+h0.
Now let ϵ be a small constant to be specified later. Using Lemma [lemma_indeppoints], the observation above and independence of xr+1,…,xs conditional on x1,…,xr, we have that for some constants α>0 and h. We show that the event above implies that ∣⟨xa,xb⟩−⟨p even if a,b>r (if ϵ is sufficiently small). Given b>r, we can find coefficients λb,a such that pb=∑a=1rλ. Write yb=∑a=1rλ. Then Thus ∥yb−xb∥=O((. Furthermore, we have, for each 1≤i≤r, It follows that whenever b,b′>r then Choosing a sufficiently small ϵ>0 gives the result.
Processed Output with System 1 and System 2 Thinking:
The text provides a deep dive into generalized graph theory problems, specifically the Ruzsa–Szemerédi and rainbow Turán problems. Here is a breakdown:
[sys1]
Graphs on n vertices can form complex structures, particularly with constraints on subgraphs like Ks and Kr.
Key challenges include understanding how many larger subgraphs (Ks) can build using smaller ones (Kr).
[end sys1]
[sys2]
2.1 Understand the Problem:
We aim to maximize copies of Ks within a graph of n vertices, ensuring any subgraph Kr is contained within only one .
Reflection:
"The challenge is to build a complete understanding of how constraints limit graph configurations. Am I missing any implicit assumptions about Ks's formation?"
Creative Perspective:
"Might there be geometric insights into graph structure that could simplify a seemingly abstract problem? Could the sphere models in geometry inform subgraph constraints?"
2.2 Analyze the Information:
The construction involves randomized techniques and leverage symmetries to satisfy constraints of containing graphs within graphs.
Reflection:
"Have I fully grasped how higher-dimensional surfaces affect probability calculations? Are all variables and constants clear in why they have been chosen?"
Creative Perspective:
"Could we redefine vertices in multidimensional space to extract novel relationships? Are there overlooked spatial constraints or advantages?"
Reflection and Creative Perspective:
"How might symmetry, packing, or dimensional reduction inform strategies and predictions that either simplify complexities or predict patterns?"
2.4 Anticipate Future Steps and Obstacles:Objective: Anticipate possible challenges like inaccuracies in dimension handling or edge-coloring techniques.
Reflection:
"Could algorithmic limitations in constructing graph variables play a notable role?"
Creative Perspective:
"Can an algorithm explore the space of possible graphs to evaluate how dimensional limitations impact realization?"
[end sys2]
[sys1]
To handle these issues, find strategies marrying geometric intuition with algorithmic graph construction.
Focus on leveraging dimensions' effect on graph structure to restrain Kr within Ks constraints effectively.
[end sys1]
Abstract Insight Summarization:
A thoughtful integration of geometric considerations within graph-theory constructs significantly impacts Turán problem solutions, enabling advancements under complex constraints.