The philosophy of the plan of salvation