Ancient and early modern precursors One of the earliest and most commonly-cited texts for those looking for early precursors to science fiction is the ancient Mesopotamian
Epic of Gilgamesh, with the earliest text versions identified as being from about 2000 BCE. American science fiction author
Lester del Rey was one such supporter of using Gilgamesh as an origin point, arguing that "science fiction is precisely as old as the first recorded fiction. That is
The Epic of Gilgamesh." French science fiction writer
Pierre Versins also argued that
Gilgamesh was the first science fiction work due to its treatment of human reason and the
quest for immortality. In addition,
Gilgamesh features a flood scene that in some ways resembles a work of
apocalyptic science fiction. However, the lack of explicit science or technology in the work has led some to argue that it is better categorized as
fantastic literature. Ancient
Indian poetry such as the Hindu epic the
Ramayana (5th to 4th century BCE) includes
Vimana, flying machines able to travel into space or under water, and destroy entire cities using advanced weapons. In the first book of the
Rigveda collection of
Sanskrit hymns (1700–1100 BCE), there is a description of "mechanical birds" that are seen "jumping into space speedily with a craft using fire and water ... containing twelve stamghas (pillars), one wheel, three machines, 300 pivots, and 60 instruments". The ancient
Hindu mythological epic the
Mahabharata (8th and 9th centuries BCE) includes the story of King
Kakudmi, who travels to heaven to meet the creator
Brahma and is shocked to learn that many ages have passed when he returns to Earth, anticipating the concept of
time travel. One frequently cited text is the
Syrian-Greek writer
Lucian of Samosata's 2nd-century
satire True History, which uses a
voyage to outer space and conversations with
alien life forms to comment on the use of
exaggeration within
travel literature and
debates. Typical science fiction themes and
topoi in
True History include travel to outer space, encounter with alien life-forms (including the experience of a first encounter event),
interplanetary warfare and
planetary imperialism, motif of ,
creatures as products of human technology, worlds working by a set of alternative
physical laws, and an explicit desire of the protagonist for exploration and adventure. In witnessing one interplanetary battle between the People of the Moon and the People of the Sun as the fight for the right to colonize the
Morning Star, Lucian describes giant space spiders who were "appointed to spin a web in the air between the Moon and the Morning Star, which was done in an instant, and made a plain campaign upon which the foot forces were planted".
L. Sprague de Camp and a number of other authors argue this to be one of the earliest if not the earliest example of science fiction or proto-science fiction. However, since the text was intended to be explicitly satirical and hyperbolic, other critics are ambivalent about its rightful place as a science fiction precursor. For example, English critic
Kingsley Amis wrote that "It is hardly science-fiction, since it deliberately piles extravagance upon extravagance for comic effect" yet he implicitly acknowledged its SF character by comparing its plot to early 20th-century
space operas: "I will merely remark that the sprightliness and sophistication of
True History make it read like a joke at the expense of nearly all early-modern science fiction, that written between, say, 1910 and 1940." Lucian translator Bryan Reardon is more explicit, describing the work as "an account of a fantastic journey – to the moon, the underworld, the belly of a whale, and so forth. It is not really science fiction, although it has sometimes been called that; there is no 'science' in it." '' The early
Japanese tale of involves traveling forwards in time to a distant future, and was first described in the
Nihongi (written in 720). It was about a young fisherman named Urashima Tarō who visits an undersea palace and stays there for three days. After returning home to his village, he finds himself 300 years in the future, where he is long forgotten, his house is in ruins, and his family long dead. along the way, he encounters societies of
jinn,
mermaids, talking
serpents, talking
trees, and other forms of life. "The City of Brass" features a group of travellers on an
archaeological expedition across the
Sahara to find an ancient lost city and attempt to recover a brass vessel that the biblical
King Solomon once used to trap a jinn, and, along the way, encounter a
mummified queen,
petrified inhabitants, lifelike
humanoid robots and
automata, seductive
marionettes dancing without strings, and a brass
robot horseman who directs the party towards the ancient city. '' "The Ebony Horse" features a robot while the "Third
Qalandar's Tale" also features a robot in the form of an uncanny
sailor. "The City of Brass" and "The Ebony Horse" can be considered early examples of proto-science fiction. Other examples of early Arabic proto-science fiction include
al-Farabi's
Opinions of the Residents of a Splendid City about a
utopian society, and certain
Arabian Nights elements such as the
flying carpet.
Other medieval literature According to Dr. Abu Shadi al-Roubi, and he makes references to his own scientific discovery of
pulmonary circulation in order to explain bodily resurrection. The novel was later translated into English as in the early 20th century. During the European
Middle Ages, science fictional themes appeared within many
chivalric romance and legends.
Robots and
automata featured in romances starting in the twelfth century, with and
Enéas among the first. The , another twelfth-century work, features the famous Chambre de Beautes, which contained four automata, one of which held a magic mirror, one of which performed somersaults, one of which played musical instruments, and one which showed people what they most needed. This association with necromancy often leads to the appearance of automata guarding tombs, as they do in
Eneas,
Floris and Blancheflour, and , while in
Lancelot they appear in an underground palace. The brass horse is only one of the technological marvels which appears in "The Squire's Tale": the Cambyuskan, or
Khan, also receives a mirror which reveals distant places, which the witnessing crowd explains as operating by the manipulation of angles and optics, and a sword which deals and heals deadly wounds, which the crowd explains as being possible using advanced
smithing techniques. Technological inventions are also rife in the
Alexander romances. In
John Gower's , for example,
Alexander the Great constructs a flying machine by tying two
griffins to a platform and dangling meat above them on a pole. This adventure is ended only by the direct intervention of
God, who destroys the device and throws Alexander back to the ground. This does not, however, stop the legendary Alexander, who proceeds to construct a gigantic orb of glass which he uses to travel beneath the water. There, he sees extraordinary marvels which eventually exceed his comprehension. States similar to
suspended animation also appear in medieval romances, such as the and the . In the former, King
Priam has the body of the hero
Hector entombed in a network of golden tubes that run through his body. Through these tubes ran the semi-legendary fluid
balsam which was then reputed to have the power to preserve life. This fluid kept the corpse of Hector preserved as if he was still alive, maintaining him in a
persistent vegetative state during which
autonomic processes such as the growth of facial hair continued. The boundaries between medieval fiction with scientific elements and medieval science can be fuzzy at best. In works such as
Geoffrey Chaucer's "
The House of Fame", it is proposed that the titular House of Fame is the natural home of
sound, described as a ripping in the air, towards which all sound is eventually attracted, in the same way that the Earth was believed to be the natural home of earth to which it was all eventually attracted. Likewise, medieval travel narratives often contained science-fictional themes and elements. Works such as ''
Mandeville's Travels included automata, alternate species and sub-species of humans, including Cynoencephali and Giants, and information about the sexual reproduction of diamonds. However, Mandeville's Travels'' and other travel narratives in its genre mix real
geographical knowledge with knowledge now known to be fictional, and it is therefore difficult to distinguish which portions should be considered science fictional or would have been seen as such in the Middle Ages.
Proto-science fiction in the Enlightenment and Age of Reason In the wake of scientific discoveries that characterized the
Enlightenment, several new types of literature began to take shape in 16th-century Europe. The
humanist thinker
Thomas More's 1516 work of fiction and political philosophy entitled
Utopia describes a fictional island whose inhabitants have perfected every aspect of their society. The name of the society stuck, giving rise to the
Utopia motif that would become so widespread in later science fiction to describe a world that is seemingly perfect but either ultimately unattainable or perversely flawed. The
Faust legend (1587) contains an early prototype for the
mad scientist story. In the 17th and 18th centuries, the so-called "
Age of Reason" and widespread interest in scientific discovery fueled the creation of speculative fiction that anticipated many of the tropes of more recent science fiction. Several works expanded on imaginary voyages to the Moon, first in
Johannes Kepler's
Somnium (
The Dream, 1634), which both
Carl Sagan and
Isaac Asimov have referred to as the first work of science fiction. Similarly, some identify
Francis Godwin's
The Man in the Moone (1638) as the first work of science fiction in English, and
Cyrano de Bergerac's
Comical History of the States and Empires of the Moon (1656). Space travel also figures prominently in
Voltaire's (1752), which is also notable for the suggestion that people of other worlds may be in some ways more advanced than those of Earth. Other works containing proto-science-fiction elements from the
Age of Reason of the 17th and 18th centuries include (in chronological order): •
Shakespeare's
The Tempest (1610–11) contains a prototype for the "
mad scientist story". •
Francis Bacon's
New Atlantis (1627), an incomplete utopian novel. •
Margaret Cavendish's
The Description of a New World, Called the Blazing-World (1666), a novel that describes another world (with different stars in the sky) that can be reached via the North Pole. •
Daniel Defoe's
The Consolidator (1705) revolves around a voyage to the Moon. •
Simon Tyssot de Patot's (1710) features a
Lost World. •
Simon Tyssot de Patot's (1720) features a
Hollow Earth. •
Jonathan Swift's ''
Gulliver's Travels'' (1726) contains descriptions of alien cultures and "weird science". •
Samuel Madden's
Memoirs of the Twentieth Century (1733) in which a narrator from 1728 is given a series of state documents from 1997 to 1998 by his
guardian angel, a plot device which is reminiscent of later
time travel novels. However, the story does not explain how the angel obtained these documents. •
Ludvig Holberg's ''
Niels Klim's Underground Travels'' (1741) is an early example of the
Hollow Earth genre. •
Louis-Sébastien Mercier's (1771) gives a predictive account of life in the 25th century. •
Nicolas-Edmé Restif de la Bretonne's (1781) features prophetic inventions. •
Giacomo Casanova's
Icosameron (1788) is a novel that makes use of the
hollow Earth device. ==19th-century transitions==