No, even in the simplest deal with pure stock swap, this won't be the price. After all, a portfolio of two stocks carries different risk than the sum of its parts.
In an actual real life merger, there are tax assets/liabilities to consider, asset sales, debt issuances, etc... so the ending...