what is logic in philosophy of education