chore(AlgebraicGeometry): clean up erw
and porting notes
#22272
+72
−98
erw
and porting notes
#22272