Consider the space $C([0,1])$, given by the inner product $(f,g)=\sum_{n=1}^{\infty}f(\frac{1}{n})g(\frac{1}{n})$. I want to show this is not an inner product, but I want to check which inner product axioms fail so I might be able to modify it.
Certainly if $f=0$, then $(f,f)=0$. Now if we let $f,g\in C([0,1])$, with $f,g>0$, then certainly the inner product $(f,g)>0$ because $(f,g)=f(1)g(1)+f(1/2)g(1/2)+...$ are all strictly positive.
However, this only works if $f,g$ are exclusively positive on $[0,1]$. Consider the constant functions $f=-1$ and $g=1$ with $f,g:[0,1]\rightarrow \mathbb{R}$. We get a sum with exclusively negative terms, and the series diverges tends to $-\infty$, so $(f,g)<0$ in some cases.
$(f,g)=(g,f)$ because $\sum_{n=1}^{\infty}f(1/n)g(1/n)$ certainly can be rearranged to $\sum_{n=1}^{\infty}g(1/n)f(1/n)$ by commutativity.
However, I am unsure how to rigorously check
$(3)$$(f+h,g)=(f,g)+(h,g)$
$(4)$ $(af,g)=a(f,g)$. I can show (3), (4) hold for polynomials, but I am unsure how to prove it for general continuous functions on $[0,1]$