Outline of a theory of the KdV equation