Alister McGrath explains the idea of a “logic of discovery,” which lies behind the development of theories in both science and religion. This often involves using imaginative strategies to conceive of new ways of understanding reality, which are then checked out using a “logic of confirmation.”