The Olive Theory is based on Lily and Marshall. Ted describes the theory to Robin in the Pilot episode. Marshall hates olives, but Lily loves them, and in Ted's opinion, that's what makes them a great couple; perfect balance.