I need a source where I can find a proof of Reiman's theorem:
If the graph G is quadrilateral($C_4$)-free, then
$$|E(G)| \leq \frac{|V(G)|}{4}(1 + \sqrt{4\cdot|V(G)| - 3})$$
Here is the idea of the proof:
Consider the set of ordered triplets
$$F= \{(u, v, w) : uv \in E(G), uw \in E(G)\}$$
$$|F| = \sum_{u \in V(G)}(d_G(u)(d_G(u) - 1))$$
On the other hand, as $G$ doesn't have $C_4$, then (can someone explain this inequality?)
$$|F| \leq n(n - 1)$$ where $n = |V(G)|.$
This part is already clear to me:
Each triplet is defined by its $2$ ends $u$ and $w$, you can choose these $2$ vertices in $\binom{n}{2}$ ways. These triplets are ordered, so we are getting the maximum capacitance of $F$ is $2\binom{n}{2}$. And, therefore, the above inequality holds.
Then, using Cauchy–Schwarz Inequality
we're getting full proof of the theorem.
Thanks in advance.