On the analyticity of the homology. Quadratic forms and real algebraic geometry