Local duality theorem