Inner Product Formula