Both of these sound correct to my ear, but I am sure experts can come up with a convincing reason to conclude that one of them is not grammatically correct. ChatGPT reasons that one should use "are" because:
[...] “A, and thus B” is a complex subject, but it is considered singular because it expresses one complete thought or idea.
What do the human experts say?
PS: I often use such sentences in my math writings.
This post is quite different than mine. Mine has no parentheticals or em-dashes, and moreover, discusses a "consequential" subject rather than that of a "juxtapositive" nature. The latter is also the way that my post differs from this one.