Tekstiviesti: The logical foundations of cognition