Model of charge density wave elasticity