Ptolemy's Almagest, although a brilliant treatise on theoretical astronomy combined with a practical handbook for computation, nevertheless includes many compromises to reconcile discordant observations. Theoretical astronomy is usually assumed to have begun with Johannes Kepler (1571–1630), and Kepler's laws. It is co-equal with observation. The general history of astronomy deals with the history of the descriptive and theoretical astronomy of the Solar System, from the late sixteenth century to the end of the nineteenth century. The major categories of works on the history of modern astronomy include general histories, national and institutional histories, instrumentation, descriptive astronomy, theoretical astronomy, positional astronomy, and astrophysics. Astronomy was early to adopt computational techniques to model stellar and galactic formation and celestial mechanics. From the point of view of theoretical astronomy, not only must the mathematical expression be reasonably accurate but it should preferably exist in a form which is amenable to further mathematical analysis when used in specific problems. Most of theoretical astronomy uses Newtonian theory of gravitation, considering that the effects of general relativity are weak for most celestial objects. The obvious fact is that theoretical astronomy cannot (and does not try to) predict the position, size and temperature of every star in the heavens. Theoretical astronomy by and large has concentrated upon analyzing the apparently complex but periodic motions of celestial objects.