math:add prepare_inv;add remark