Other math worth looking at, and something I will do with my partner: Is it worth putting 20% down.
She will be using the HBP, and then it becomes a math question of is it worth leaving invested better than the penalty for having not put down the 20%.
(For this current house, at my stupid low 2% mortgage (due to perfect timing in my purchase through luck) it made significantly more sense to put only 5% down, even after the penalty.)
I recommended you look yourself since most people only look once (first house buy) and then aren`t able to use it, so forget / don`t care anymore, so their information might be out of date, and it`s always good to be able to find references yourself.
If you can excel well, I recommend doing multiple scenarios
A) Normal savings, then 20% down buy a house through TFSA
B) RRSP savings, HBP, 20% while refilling as fast as possible
C) RRSP savings, HBP, 20% while refiling as slowly as possible while maxing TFSA
D) Same as B/C, this time with 5%.
Then it becomes a question of how safe is your employment status, since you'll be able to see the monetary difference between the different options.