Q:

Did John Bunyan really dream the Pilgrim's Progress? Had he memorized all the verses?

This is the beginning of Pilgrim's Progress by John Bunyan:

As I walked through the wilderness of this world, I lighted on a certain place where was a den, and laid me down in that place to sleep; and as I slept, I dreamed a dream. I dreamed, and behold, I saw a man clothed with rags, standing in a certain place, with his face from his own house, a book in his hand, and a great burden upon his back.
  I'm referring to the story Pilgrim's Progress.

I believe it was written while he was imprisoned. My question is, did he really literally dream this dream, and write it down, or was it like hehad written "in a land far far away ... ?"
Secondly, Pilgrim's Progress is just filled with Bible verses everywhere (one of the things that impresses me most about the book.) If this book was written while in prison for preaching, how did he have access to a Bible in order to cite all these verses? Or did he have them all memorized?

A:

Part 1 I think could only be answered by speculation. Personally I would speculate it is simply creative story-telling, but that is just opinion.
For part 2; if we look at his earlier 1666 imprisonment, he is documented (see Wikipedia) as having:

two books, John Foxe's Book of Martyrs, the Bible, a violin he had made out of tin, a flute he'd made from a chair leg and a