Dialectics between theory and practice: theoretical issues and aspects of practice from an early algebra project