quod erat demonstrandum (plural quae erant demonstranda) (something) which was to be proved; which was to be demonstrated.