Document math and metrics