Techs have resource icons on the left - if you have a lab researching that resource, you get a discount.