intuitionistic Ramsey theorem (a proof in Agda)