New foundations of analytic geometry: integral and derived