Calc
Inductive()
Lemma
NewType()
Proof
QExists()
QForAll()
Record()
axiom()
cond()
define()
lemma()
Eq()
Python __eq__ resolution rules flips the order if y is a subclass of x. This function corrects that.