Abstract: We will discuss some basic theory on geometry of numbers and also recent results by Bounemoura and Fischler on a duality property on Diophantine approximation. This is used in a new proof of KAM and Nekhoroshev theorems.