It takes a fairly hot compost pile to kill tomato seeds.
I found out the hard way back in Berkeley. I had a bumper crop of Roma tomatoes one year--they got ahead of me, even when I was making spaghetti sauce--and a few spoiled on the vines.
I threw them into my compost pile, which was just inside a south fence, so it got very little sun and thus made very little heat. I was just a beginning composter, and there wasn't the info available on hot vs. cold composting then that there is now, at least not where *I* could find it.
So...the next season, we turn the BioStack and get the nice, finished compost out of it and distribute it around some rose bushes and new veggie plants.
About a week later, the ground around all of those plants looks like I rolled tomato-plant-colored sod under them...Took a GOOD look.. What are these?! Baby tomato plants!!! Hundreds and hundreds of 'em.
It looked like every single Roma seed had sprouted a plant.
Because I still make cold-process compost, I no longer compost tomato seeds. They go into my yard-waste container for composting at a commercial location, which I'm very sure is a hot-process system.
It all depends on how warm your compost got, and (sadly) I don't have the exact temp for killing tomato seeds at hand.
Sunset Zone 17, USDA Zone 9