[Agate 001] shell mathematics