Phase separation, when molecules part like oil and water, works alongside oxygen diffusion to help memristors -- electrical components that…