Gemara Tamid notes (on daf 27b) that a certain Braisa appears in Yoma, in Perek Ba Lo Kohen Gadol. This citation is correct; Artscroll notes (Tamid 27b3 #27) that more specifically the Braisa appears in Yoma 69a.
Now I have often noticed the Gemara use our names of the tractates and Perakim in ways that are arguably intended as the names of topics or areas of inquiry, rather than the titles of books. It’s as if someone referred to studying metaphysics, and you were unsure whether he intended Metaphysics, the book by Aristotle, or to the general field of study. For example, at Berachos 28a, a Braisa refers to the day on which “Eduyos” was taught. Apparently the mainstream understanding is that this is the title of a book, although I’m not sure why it cannot equally be understood as the name of a topic. When the gemara uses the term Shmona Sheratzim (as at Sotah 47a) it could be taken this way, as the name of a topic of study.
Where the reference is more clearly to a particular book, the references can often be understood as references to the Mishnah. For example, at the beginning of Gemara Nazir, and at many other places, the rabbis discuss the order of the Mishna. At Avodah Zarah 14b, the Gemara mentions that there are 5 Perakim, which is of course true of both the Mishnah and the Gemara. If we take the reference to Eduyos (which I mentioned in the previous paragraph) as a book title, it refers apparently to the tractate of Mishnah. This might also be the case for references to the Bavas, which would be meaningless as the names of topics if not already familiar as the titles of tractates. (As another party with my own user name Chaim observes, two of the Bava's are referred to by name in Bava Kamma itself (Bava Kamma 102a) as well as a parallel sugya in Avodah Zara 7a.)
But the Tamid example seems unambiguously to refer to a place in another tractate of Gemara.
MY QUESTIONS:
How did the Tamid editor know where Yoma cites the Braisa? Is this citation a strong sign that Tamid was compiled after Yoma?
Can you direct me to other places like this one, where one Gemara cites another? Can you direct me to other internal evidence of the order in which tractates were complied?