The development of logical tools through socially constructed and culturally based activities