[Crystal 003] shell mathematics