  An automatic system to calculate two loop weak corrections to muon anomalous
magnetic moment is discussed. Diagrams are classified into eight types,
according to their topology. Adopting Civitanovi\'c-Kinoshita representation of
Feynman amplitude and using the topological property, the renormalization is
performed consistently by n-dimensional regularization method.
