Deductivism in mathematical literature and inductivism in scientific papers are simply the postures we choose to be seen in when the curtain goes up and the public sees us. The theatrical illusion is shattered if we ask what goes on behind the scenes. In real life discovery and justification are almost always different processes.
Peter Brian Medawar (1969). “Induction and intuition in scientific thought”