The borrower is sort of using logic, but because of his extreme level of entitlement he fails to understand his premises are flawed.
Low rates are a function of your total risk not your perceived status as a responsible borrower.
The lender is using logic(the refi equation was almost certainly devised and reviewed by a qualified actuary)