Kompakt træ for Karl Ferdinand Ernst