Quasi-periodic solutions, quasi-crystals, hull functions, KAM theory