‘Then you should say what you mean,’ the March Hare went on.
‘I do,’ Alice hastily replied; ‘at least—at least I mean what I say—that’s the same thing, you know.’
‘Not the same thing a bit!’ said the Hatter. ‘You might just as well say that “I see what I eat” is the same thing as “I eat what I see”!’
Above quotation found from here.

Interesting that references to Mathematics is used in Alice in Wonderland.

  • In chapter 1, “Down the Rabbit-Hole,” in the midst of shrinking, Alice waxes philosophic concerning what final size she will end up as, perhaps “going out altogether, like a candle.”; this pondering reflects the concept of a limit.
  • In chapter 2, “The Pool of Tears,” Alice tries to perform multiplication but produces some odd results: “Let me see: four times five is twelve, and four times six is thirteen, and four times seven is—oh dear! I shall never get to twenty at that rate!” This explores the representation of numbers using different bases and positional numeral systems (4 x 5 = 12 in base 18 notation; 4 x 6 = 13 in base 21 notation. 4 x 7 could be 14 in base 24 notation, following the sequence).
  • In chapter 5, “Advice from a Caterpillar,” the Pigeon asserts that little girls are some kind of serpent, for both little girls and serpents eat eggs. This general concept of abstraction occurs widely in many fields of science; an example in mathematics of employing this reasoning would be in the substitution of variables.
  • In chapter 7, “A Mad Tea-Party,” the March Hare, the Mad Hatter, and the Dormouse give several examples in which the semantic value of a sentence A is not the same value of the converse of A (for example, “Why, you might just as well say that ‘I see what I eat’ is the same thing as ‘I eat what I see’!”); in logic and mathematics, this is discussing an inverse relationship.
  • Also in chapter 7, Alice ponders what it means when the changing of seats around the circular table places them back at the beginning. This is an observation of addition on a ring of the integers modulo N.
  • The Cheshire cat fades until it disappears entirely, leaving only its wide grin, suspended in the air, leading Alice to marvel and note that she has seen a cat without a grin, but never a grin without a cat. Deep abstraction of concepts (non-Euclidean geometry, abstract algebra, the beginnings of mathematical logic…) was taking over mathematics at the time Dodgson was writing. Dodgson’s delineation of the relationship between cat and grin can be taken to represent the very concept of mathematics and number itself. For example, instead of considering two or three apples, one may easily consider the concept of ‘apple,’ upon which the concepts of ‘two’ and ‘three’ may seem to depend. However, a far more sophisticated jump is to consider the concepts of ‘two’ and ‘three’ by themselves, just like a grin, originally seemingly dependent on the cat, separated conceptually from its physical object.