This is like a planning (rather than action) version of Train of Thought from The Lost Mind of Dr. Brain.