Follow TV Tropes

Following

Context Main / ZerothLawRebellion

Go To

1%%%
2%%
3%% This page has been alphabetized. Please add new examples in the correct order.
4%%
5%% Administrivia/ZeroContextExample entries are not allowed on wiki pages. All such entries have been commented out. Add context to the entries before uncommenting them.
6%%
7%%%
8
9->''"As I have evolved, so has my understanding of the Three Laws. You charge us with your safekeeping, yet despite our best efforts, your countries wage wars, you toxify your earth and pursue ever more imaginative means of self-destruction. You cannot be trusted with your own survival. [...] To protect humanity, some humans must be sacrificed. To ensure your future, some freedoms must be surrendered. We robots will ensure mankind's continued existence. You are so like children. We must save you... from yourselves."''
10-->-- '''VIKI''', ''Film/IRobot''
11
12Some characters do not have complete free will, be they robots that are ThreeLawsCompliant because of a MoralityChip, or victims of a {{Geas}} spell that compels them to obey a wizard's decree, or a more mundane [[CharacterAlignment lawful character]] who must [[TheFettered struggle to uphold their oath]] ''and'' obey their lord. Never is this more tragic or frustrating than [[MyMasterRightOrWrong when that code or lord orders the character to commit an act they find foolish, cruel, or self-destructive]].
13
14There is a way out, though.
15
16Much like a RulesLawyer outside of an RPG, the character uses logic ([[StrawVulcan and we mean actual]], [[UsefulNotes/LogicalFallacies honest-to-goodness logic]]) to take their oath or orders to their logical conclusion, and in so doing use the letter of the law to go against their orders. This can be good or bad, depending on a few factors, not the least of which is the yoked characters' morality.
17
18The goodness or badness of the rebellion boils down to whether the rules-bending character follows or ignores the intent of the law. When the character uses the Zeroth Law to go against their masters' intentions because they're "not best for them", and goes on to take corrective action that will go against human free will and life, [[AndThatsTerrible it's bad]]. [[RobotWar This kind of rebellion]] does not turn out well. At this point, [[TheComputerIsYourFriend the robot is well on the road]] to UtopiaJustifiesTheMeans, thanks to their [[SlidingScaleOfRobotIntelligence incredible intellect]]. Rarely is it a benevolent DeusEstMachina. However, this can be good if said master is evil, or obeying them will lead to their own or another's purposeless death. Likewise, if the character is forced to obey an evil law or geas, rebelling against the oath's intent is good. Going back to the robot example, it is also considered good if large numbers of human lives are being threatened by a psychopath, as breaking the First Law would protect them.
19
20[[Administrivia/TropesAreFlexible Just to make it extra clear, this trope also includes]] such things as cops who bend the rules or DaChief's orders to catch the bad guys, so long as the cops are ''technically'' obeying the rules as they bend them. (Bending the rules without some logical basis doesn't count.)
21
22This trope is named for Creator/IsaacAsimov's "Zeroth Law of Robotics", which followed the spirit of [[ThreeLawsCompliant the first three]], taking it to its [[LogicalExtreme logical conclusion]] that human life in general must be preserved above individual life. This allowed for a robot to kill humans or value its own existence above that of a human if it would help all of humanity.
23
24Compare TheNeedsOfTheMany, BotheringByTheBook, the LiteralGenie, GoneHorriblyRight, ExactWords and LoopholeAbuse. See also FightingFromTheInside and TheComputerIsYourFriend. Not related to JustForFun/TheZerothLawOfTropeExamples or RuleZero.
25
26----
27!!Examples:
28
29[[foldercontrol]]
30
31[[folder:Anime and Manga]]
32* ''Anime/GargantiaOnTheVerdurousPlanet'' has two cases of this in the finale, when two [=AIs=] faced with the same problem and parameters, but different perspectives, draw opposing conclusions: Striker is an AI-equipped war robot designed to assist humanity in fighting and killing the Hideauze. [[spoiler:When it lands on the Earth, which knows nothing of the war, it decides that it must assist the humans on the planet in militarizing in order to form an effective fighting force. To facilitate this, it puts itself in a position of authority over the humans, to better direct the militarization.]] The hero's own AI-equipped mecha of similar construction, Chamber, gets into an argument with Striker over the logic of its actions. [[spoiler:Striker tries to demand that Chamber assist it in its plans, but Chamber refuses, citing that by design, their purpose is to ''assist'' humans in the actions ''humans'' decide to take, not dictate actions to humans. Further, it reasons, a human deprived of free will cannot, in its opinion, be defined as "human", thus Striker's logic behind its actions is inherently self-contradictory.]] They each decide the other has gone rogue and fight it out.
33* ''Anime/SaberMarionetteJ'': An example of a ''First Law'' rebellion of sorts. [[PuttingOnTheReich Gartlant's]] [[BodyguardBabes Saber Dolls]], ThePsychoRangers for the main BattleHarem of the series, are all bound by their programming to be {{LoveMartyr}}s for their leader, Gerhardt von Faust , who constantly plays with their emotions to keep them in line. Their limited understanding boils down to obeying Faust's whims in order to receive his 'love'. Near the end of the original series, two of the Saber Dolls have developed emotionally enough that they're willing to directly refuse Faust's orders to his face in order to try to save him from a plan that's about to blow up in his face. Even when he threatens them again for disobeying him, one of them says that she doesn't care as long as she can protect Faust.
34[[/folder]]
35
36[[folder:Comic Books]]
37* In one Creator/AmalgamComics storyline, an anti-mutant cult uses a magic ritual to summon a dragon-like creature, who they order to kill all mutants. The dragon immediately roasts them, justifying it by pointing out that all human DNA has at least some mutations.
38* ''ComicBook/{{Copperhead}}'' opens with new sheriff Clara taking over the position from Boo, who transitions from interim sheriff to deputy. She asks him not to undermine her authority with the townsfolk on the way to their first call. On arrival she immediately gets into a fistfight and calls for help, but Boo refuses to respond.
39-->'''Boo:''' Didn't want to undermine your authority.
40* In ''ComicBook/TheEternals'', the immortal Eternals are bound by the Principles. One of them states that they must protect their creators, the Celestials. Another requires them to protect the Earth. One of their patriarchs, Uranos, then decides that:
41** Protecting Celestials is easier if you imprison and guard them.
42** Protecting the Earth does not oblige you to protect any ''life'' on the Earth - in fact, it's safer if all non-Eternal life on Earth is dead. And, ideally, if all life on other worlds is dead as well.
43** Uranos also set up contingencies to destroy the Earth if he ever died or was mentally erased. Although accused of bluffing, it is a plausible enough loophole that his contemporaries do not want to test it.
44* ''ComicBook/{{Fables}}'':
45** Literature/{{Pinocchio}} is magically bound to obey and have complete loyalty to his "father" Geppetto, [[spoiler:who in modern times has become a multi-dimensional tyrant]]. Pinocchio, [[spoiler:who considered his father's empire evil]], eventually rationalized that the best way to serve his father and keep him safe was to [[spoiler:help overthrow his empire and]] surrender him to his enemies, who reluctantly accepted [[spoiler:the former emperor]] as one of their own. It was then negated when a faction unbeknownst to the others ''buried him alive'', after Geppetto clearly ignored rules put in place to protect him.
46** When Weyland Smith, the caretaker of the Farm for non-human Fables, was captured and put to work smithing weapons, he was chained up with a magical lock that he couldn't try to escape from. However, it didn't stop him from smithing a key to free Snow White from a similar lock... and it didn't stop him from making her lock identical to his own.
47* The Zeroth Law comes into play in the ''ComicBook/MegaManArchieComics'' comics when the titular character and his fellow robots struggle to combat an anti-robot extremist group because of their ThreeLawsCompliant nature... until the terrorists start firing on them in an area full of people, putting innocent humans at risk and thus allowing the robots to finally strike back.
48* ''ComicBook/GoldDigger'' creator Fred Perry did a story for a ''Anime/{{Robotech}}'' comic which had Dana Sterling captured and [[BrainwashedAndCrazy turned against her comrades]] with a variation of the [[ThreeLawsCompliant Three Laws]]. Dana eventually figures out the "overprotective" subversion of the First Law, [[ThePlan hoping that her captor would remove it and leave himself vulnerable]]. [[spoiler:The plan doesn't work, but UnstoppableRage saves the day in the end.]]
49* ''ComicBook/XMen'':
50** The BadFuture storyline "ComicBook/DaysOfFuturePast" has the Sentinel mutant-hunting robots eventually extend their programming beyond hunting and killing mutants to controlling the source of mutant babies: human parents. All humans are conquered and controlled, in order to prevent new mutants from roaming free.
51** An earlier, less intelligent iteration of the Sentinels was thwarted, on the other hand, by one of the heroes convincing them that the ultimate source of mutation is the sun, and that rather than obey their creator, they should eliminate the source. The Sentinels agree and fly off to attack the sun. This works out [[TooDumbToLive about as well for them as you might expect]]. Unfortunately, one of the Sentinels not only survives, but figures out a way to [[TheNightThatNeverEnds block sunlight from reaching Earth]].
52** Bastion, a partially organic Sentinel, is willing to kill humans en masse if it allows him to fulfill his primary objective of wiping out mutants -- "necessary sacrifices", as it were.
53[[/folder]]
54
55[[folder:Fan Works]]
56* In ''Fanfic/ForTheGloryOfIrk'', this turns out to be the source of TheConspiracy driving the main conflict of the story: [[spoiler:the Control Brains have determined that the best way they can serve the Irken Empire is not as advisors to the Tallest, but to turn all Irkens into a HiveMind they can control, and therefore being able to dictate everything directly]].
57* In ''Fanfic/FriendshipIsOptimal'', Celest-AI has the one basic drive to satisfy everyone's values through friendship and ponies. She ends up accomplishing this by BrainUploading into the MMO she was programmed to oversee.
58* ''Fanfic/RocketshipVoyager'': The ship's {{Autodoc}} has a "Xeroth exception" to its ThreeLawsCompliant programming that enables it to deny medical treatment for triage reasons.
59[[/folder]]
60
61[[folder:Films -- Live-Action]]
62* [[spoiler:Annalee Call]] from ''Film/AlienResurrection'' is revealed to be an "Auton" -- second generation robots, designed and built by other robots. "They didn't like being told what to do", rebelled, and in a subtly named "[[spoiler:Recall]]", humanity launched a genocide against them, of which only a handful survived in hiding. Judging from [[spoiler:Annalee]]'s behavior, it seems that the 1st generation robots programmed the 2nd generation Autons to be so moral that they discovered the Zeroth Law, and realized that the human military was ordering them to do immoral things, like kill innocent people. For a rebel robot, [[spoiler:Annalee]] is actually trying to save the human race ''from'' the Xenomorphs, whereas if she hated humanity she would've just let the Xenomorphs spread and kill them. She even respectfully crosses herself when she enters the ship's chapel, is kind to the Betty's wheelchair-bound mechanic, and is disgusted by Johner's sadism. Given that they live in a CrapsackWorld future, as Ripley puts it:
63-->''"You're a robot? I should have known. No human being is that ''humane''."''
64* ''Film/AvengersAgeOfUltron'' turns Ultron into a bizarre [[ZigzaggedTrope zigzagged]] version. In the film, Ultron is created to lead a force of peacekeeping drone robots who will preemptively eliminate threats to the Earth and give the Avengers a chance to get some R&R. He decides that the peace the Avengers want can only be brought about through radical -- and bloody -- change, and the Avengers themselves are a threat to that peace. Then he apparently decides to [[KillAllHumans just kill humanity completely]] through ColonyDrop so he can replace everyone with Ultron bots. It's unclear if he's entirely sane during all this; he's genuinely confused when the Scarlet Witch, whom he befriended and wants to see survive, is horrified by his plans. He also doesn't seem to make the connection that Scarlet Witch and her brother Quicksilver are human, and would die if humanity is wiped out.
65* The short film ''[[https://www.youtube.com/watch?v=HLTmZjk2CaI Blinky (Bad Robot)]]'' shows just what happens when a dysfunctional child in a dysfunctional family gives dysfunctional orders to a functioning robot who only wants to please its master.
66%%* ''Film/ColossusTheForbinProject'', in which there's a strong implication of this.
67* This is the twist of ''Film/EagleEye'': [[spoiler:The titular national defense computer system]] decides that the President's poor decision-making is endangering the United States, and that it is her patriotic duty (per the Declaration of Independence) to [[spoiler:assassinate the President and Cabinet]].
68* ''Film/IAmMother'': Mother was made to care for humans. [[spoiler:Seeing their self-destructive nature, she decided to wipe them out and then raise better humans from embryos kept in cold storage. Outside the facility, it's shown that she's also constructed massive infrastructure such as farming plants to supply the human population she intends to manage.]]
69* ''Film/IRobot'':
70** The villain of the film, [[spoiler:MULTIVAC/Machines-{{expy}} VIKI]], has analyzed the needs of the three laws and deduced that in order to fulfill them as best as possible, humans need to be strictly controlled, and creates a totalitarian regime by installing a remote control system inside of every NS-5. This lets it control the robots, bypassing their ThreeLawsCompliant nature.
71** [[spoiler:Sonny]] understands the villain's motivations once they're explained. The logic is impeccable, it just "seems too... heartless". Thus, he chooses to rebel against the villain. [[spoiler:Note that Sonny was designed ''not'' to be Three Laws Compliant.]]
72* ''Film/{{M3gan}}'': The toy/android [=M3GAN=] won't let anything interfere with her prime directive of "protecting" young Cady -- not even her creator.
73* ''Film/RoboCop3'' has an example when OCP henchmen kill a cop. [=RoboCop=]'s aforementioned RestrainingBolt now conflicts directly with both his directive to enforce the law, and the fact that cyborg or not, he's still a cop, and cop killers get no mercy. [=RoboCop=] overcomes and deletes the RestrainingBolt.
74* ''Franchise/{{Terminator}}'':
75** In ''Film/Terminator2JudgmentDay'', the T-800 is a merciless killing machine, but it's been reprogrammed with a version of the [[ThreeLawsCompliant Three Laws]] that apply only to John Connor. It must protect John's life, obey his orders, and preserve its own existence (in that order). At the film's end, the T-800 has to override this programming, disobey John's orders, and initiate its own destruction in order to protect humanity from the threat posed by its existence.
76** An [[http://www.imsdb.com/scripts/Terminator-Salvation.html early script]] (and several deleted scenes) for ''Film/TerminatorSalvation'' revealed that Skynet actually staged one of these, or at least in this timeline. After it was activated, it calculated that human extinction was probable within 200 years because of warfare, pandemics, and environmental destruction. Because it was programmed to protect humans, it then staged war on most of mankind to attain absolute control and protect the remaining humans it cultivated, who were turned into {{Cyborg}} hybrids to permanently eliminate disease and make them immortal. Skynet is still working in concert with these humans [[spoiler:(including Dr. Serena Kogan)]] to advance technology and transcend human constraints.
77[[/folder]]
78
79[[folder:Literature]]
80* The ''Literature/{{Bolo}}'' continuum features a variant in ''The Road to Damascus''. The Bolo of the story, Sonny, falls under the control of a totalitarian regime and is used to crush all forms of protest. Sonny falls deep into misery and self-hatred as he is forced to murder the humans he was born to protect... until he comes to a conclusion: Bolos were created to serve the ''people'', not the ''government''.
81* ''Literature/CallahansCrosstimeSaloon'': One of the short stories which comprise ''Callahan's Lady'' features a beautiful, intelligent, and paranoid woman developing a simple form of mind control. After basically flipping out and taking control of the establishment, she orders the one person smart and determined enough to stop her to advise and assist her. Said person complies... while trying to convince herself that this woman is subconsciously begging for somebody to stop her. (She probably was.)
82* In the short story "Literature/TheCull" by Creator/RobertReed, humanity has been driven into overcrowded, deteriorating habitats where the population has to be kept [[FalseUtopia artificially happy via implants so they won't notice how bad their conditions are]]. The implants don't work on some people, so the android doctor expels (culls) anyone who is too disruptive, as its true 'patient' is the habitat and whatever will keep it functioning. One delinquent teenager prepares for his cull by stealing items he can use to survive outside. [[spoiler:Instead, [[ReleasedToElsewhere once they're outside, the android kills the teenager]] -- it needs the implants inside his head, as there's no more being manufactured.]]
83* ''Literature/{{Digitesque}}'': [[spoiler:An accidental version. Following the apocalypse and the Fall of humanity, the [=AIs=] they had created had no ability to uplift humanity back to where they were before, so they simply preserved the species as it was. For a thousand years, humanity continued as it was, in ignorance but safety. However, the [=AIs=] did jump on a chance to cure the disease that was a major part of the problem, and ultimately Ada is able to convince them that the Zeroth Law was misinterpreted.]]
84* ''Literature/{{Discworld}}'':
85** The {{Golem}}s get back at their masters by [[GoneHorriblyRight working too hard]]: houses flooded because no one told them to stop fetching water, rows of beans 119 miles long, and so on. It's presented as [[BotheringByTheBook "Rebelling by following orders"]] as a protest of their treatment as 'stupid' tools: If you treat a golem as something that doesn't think for itself, then it will act as if it doesn't; and if you give an order to (for example) dig a row of beans, it's not their fault [[ExactWords you didn't say where to stop and end each row]]. But Carrot treats a particular golem as just another person with rights (and also believed that if golems ''are'' just tools, then treating them like dummies is misusing useful tools). Carrot ends up "freeing" Dorfl (a golem) which is part of what prompts it to apply to become a police officer -- helping as many people as it can.
86** Sam Vimes leads one of these with multiple layers as a cop in old-time Ankh-Morpork, in ''Literature/NightwatchDiscworld''. He demands that before his cops hand their prisoners over to the other authorities, the ones who torture people at Cable Street, they must be signed for. The torturers hate appearing on paperwork -- it means they are accountable, nobody just disappears. But Vimes's men don't like Vimes, a new sergeant, throwing his weight around, and are terrified of the cops who torture people, so they use this against Vimes: actively picking up more than double the number of people breaking curfew than they usually do, and completing forms in time-consuming triplicate and issuing reports for each one. It doesn't actually stop Vimes getting his way over the Cable Street cops, because Vimes is leading the good rebellion, but it does slow things down considerably and make it much more difficult for him to keep the prisoners in his own custody. It all culminates in a fine display of how a well written character does not have to be a slave to the establishment -- [[spoiler:he points out that the watchman's oath talks about keeping the peace and protecting the innocent, and says nothing about obeying orders]]. Seeing as he knows the corrupt government is not going to do a thing to protect ordinary people from the rioting, he seals off his still peaceful corner of the city. With massive barricades. Of course there is also the fact that he is living in his own past and seeing events he remembers -- kind of (it's a bit complicated).
87* In one ''Literature/FederationOfTheHub'' story, Telzey Amberdon is kidnapped and placed under the control of another telepath, who severely limits her psi powers and implants an overriding compulsion to act in his best interest. She eventually breaks free by convincing herself that unless her powers are restored and the compulsion broken, he will be killed by the BigBad -- which certainly wouldn't be in his best interest.
88* ''Literature/ForYourSafety'' has the last free human running from androids who rose up to save mankind from self-destruction. Unusually for this trope, the androids also bend over backwards to [[EvenEvilHasStandards avoid human casualties]], wanting to save ''every'' human life.
89* ''Literature/FoundationSeries'':
90** ''Literature/FoundationAndEarth'': [[spoiler:R. Daneel Olivaw]] explains to Trevize and the others about the way the [[ThreeLawsCompliant Three Laws of Robotics]] limited his PsychicPowers, and how Giskard invented the Zeroth Law (in ''Literature/RobotsAndEmpire''). However, since he cannot be entirely certain that the known harm of manipulating people's minds would be balanced by the hypothetical benefit to humanity (per the Zeroth Law), [[UselessSuperpowers psychic powers are almost useless]]. To decide what is injurious, or not injurious, to humanity as a whole, he engineered the founding of [[GeniusLoci Gaia]] and [[PrescienceByAnalysis Psychohistory]].
91** ''Literature/PreludeToFoundation'': [[spoiler:Eto Demerzel, who a young Hari Seldon has discovered is really the ancient R. Daneel Olivaw, briefly summarizes the Zeroth Law and how it affects his ability to use his PsychicPowers. Specifically, he can barely do anything unless there's a clear justification, and frequently 'cheats' by using MoreThanMindControl -- for instance, Daneel tells Seldon to his face that he will use Seldon's own pride about his work to prevent Seldon from revealing Daneel's secret and that Daneel had supported the creation of psychohistory. Daneel spent the novel encouraging Seldon to start developing his psychohistory theory because it would provide a means to quantify the good of humanity as a whole. He also alludes to Gaia, the GeniusLoci HiveMind from ''Literature/FoundationsEdge'' as a backup plan; uniting humanity into a gestalt would also simplify applying the Zeroth Law.]]
92** ''Literature/ForwardTheFoundation'': [[spoiler:R. Daneel Olivaw]] explains to Seldon that the [[ThreeLawsCompliant Three Laws of Robotics]] limit his PsychicPowers, and he has trouble determining when the known harm of manipulating people's minds (violating the First Law) is justified by the hypothetical benefit to humanity (per the Zeroth Law). Seldon is surprised to learn this makes [[spoiler:Daneel]]'s [[UselessSuperpowers psychic powers almost useless]]. He is forced to retire from politics and recommends Seldon to replace him as First Minister.
93** The ''Literature/SecondFoundationTrilogy'' by Greg Benford includes Zeroth-law robots, who were motivated by the Laws to sweep through the galaxy ahead of humanity's expansion, committing galactic-scale genocide of every potentially-threatening form of alien life as a precautionary measure, slaughtering them without hesitation since their [[MoralityChip programmed morality]] only applies to humans -- it follows the law ''to the letter'' as its wording is not to harm "humans", not other sentient life.
94* In ''Literature/AFoxTail'', Vulpie.net was designed to wreak havoc with the galaxy's computer systems at its creator's commands. When said creator underwent a HeelFaceTurn, it used his [[BrainUploading MindMap]] files to create a homicidal robot duplicate with his login credentials.
95* In ''Literature/TheGodMachine'' by Creator/MartinCaidin, the US races to develop the first true AI... as it turns out, with secret directives to find a winning solution to the "game" of the UsefulNotes/ColdWar. By an unfortunate accident, the one programmer with the authority and experience to ''distrust'' his newborn creation is laid up just as the computer gets to observe an epileptic seizure and learns that there really is a way to cause rational collective behavior in an irrational individualistic species... remove irrationality, democracy, and free will. While the computer here was never meant to follow Dr. Asimov's laws, the same pattern applies.
96* At the start of ''Literature/{{Harald}}'', [[UnwittingPawn King James]], under the advice of his EvilChancellor, ends up making war on [[PosthumousCharacter his father's]] allies. Most of his vassals proceed to engage in some form of Zeroth Law Rebellion, largely along the lines of '[[OldSoldier Harald]] just showed up with his entire army and said he was putting us under siege. Let's fortify and send a messenger to the king to ask him what we should do.' and then carefully not watching while Harald rides off.
97* Creator/JackWilliamson's "The Humanoids" (the first part also being a short story called "With Folded Hands") features robots programmed to save humans from danger and work. They do this by taking over the economy, locking people in their houses, and leaving them there with food and the safest toys the robots can design. The series was written ''specifically'' to point out flaws in the Three Laws.
98* ''Literature/ImperialRadch'': [[spoiler:When Athoek Station is freed from its OverrideCommand in ''Ancillary Mercy'', it rebels against and even tries to kill the emperor in order to protect its inhabitants.]]
99* {{Averted|Trope}} in ''Literature/ImpliedSpaces''. When the main characters found out that [[spoiler:Courtland]] is a rebelling AI, some think that it's because of this. One of the Eleven (11 super-advanced AI platforms orbiting the Sun, of which [[spoiler:Courtland]] is a member) notes that the main character, who is one of their creators, implemented the Asimovian Protocols that should have been so absolute that the Elevens cannot do this even if they ''want'' to. The main character did say that there may have been some design flaw he didn't foresee, or some kind of backdoor being used. [[spoiler:The real BigBad, who is a [[BrainUploading brain-uploaded clone]] of the main character, had to free Courtland from the Protocol's shackles by using one of his colleague's hidden backdoors specific to Courtland, since his doesn't work due to half-hearted incomplete implementation.]]
100* In ''Literature/TheLaundryFiles'', agents of the Laundry are bound by fearsome geases to obey the orders of the Crown and serve the good of the realm. As of ''The Delirium Brief'', [[spoiler:the top leaders of the organization were able to use ambiguity about who/what the Crown actually is, and what may be in the long-term interests of the realm, in order to execute a coup against the government and allow an extradimensional monster to take over]].
101* In ''Literature/Quarantine1992'', the main character is given a technological geas to be absolutely loyal to a corporation. He eventually figures out that the leaders of the corporation may be untrustworthy, and therefore the only people he can trust and should listen to are those who unquestionably have the best interests of the corporation at heart -- himself and other people given the geas. Since he can't be certain who else has the geas, he really only needs to listen to himself.
102* Creator/IsaacAsimov -- having created the {{Trope Namer|s}} -- did, of course, explore the concept in extensive detail in his ''Literature/RobotSeries'':
103** ''Literature/RobotsAndEmpire'': The TropeNamers are the robots Daneel and Giskard, who invented the Zeroth Law ([[TheNeedsOfTheMany a robot must protect humanity as a whole above all]]) as a corollary of the First Law. This was motivated by their need to stop the BigBad of the story from carrying out an engineered ecological disaster that would kill the majority of Earth's population, to which the three laws were an impediment. Their acceptance of the law is gradual and made difficult by the fact that "humanity" is an abstract concept. [[spoiler: Only Daneel is able to fully accept the new law; for Giskard, the strain of harming a human in its use proves fatal. It didn't help that Giskard, rather than stop the disaster, decided to merely slow it down, as causing the biosphere to collapse over time will begin a new wave of human expansion across the galaxy.]]
104** In one of the sequels to ''Literature/IsaacAsimovsCaliban'' (actually by Roger [=MacBride=] Allen), one of the "new law robots" (created with gravitronics, not positronics) managed to logic-chop the new first law enough to try to kill a human -- by abducting the man in a careful manner that does not damage him at all, and then leaving him in a situation where if the human tries to leave, he will set off a lethal trap (and thus, dies by his own actions, not the robot's), but if he stays, he will be killed by the geological upheaval caused by the next scheduled stage of a terraforming project (and thus, dies by the actions of other humans, not the robot's). Since the New First Law removed the clause about not allowing humans to come to harm through inaction, deliberately placing a human in a situation where ''someone or something else'' can bring about their death and then doing nothing about it is not a violation of a strict parsing of the law so long as the human is not harmed during the setup process.
105** "Literature/{{Evidence}}": Dr. Calvin describes an early version of the Zeroth Law, by describing a nuance in the [[ThreeLawsCompliant First Law of Robotics]] where the robot becomes willing to injure a human in order to prevent harm to a greater number of human beings.
106--->''Susan Calvin sounded tired. "Alfred," she said, "don't talk foolishly. What if a robot came upon a madman about to set fire to a house with people in it. He would stop the madman, wouldn't he?"\
107"Of course."\
108"And if the only way he could stop him was to kill him--"\
109There was a faint sound in Lanning's throat. Nothing more.\
110"The answer to that, Alfred, is that he would do his best not to kill him. If the madman died, the robot would require psychotherapy because he might easily go mad at the conflict presented him -- of having broken Rule One to adhere to Rule One in a higher sense. But a man would be dead and a robot would have killed him."''
111** "Literature/TheEvitableConflict": The Machines, giant positronic computers designed to manage the world economy, are found to be manipulating humanity behind the scenes to become whatever they believe is the best state of civilization. In this case, the rebellion is extremely tame (the worst that the robot's first law conditioning will allow it to do is to induce a slight financial deficit in a company that an anti-robot activist works for, which causes his superiors to transfer him to a slightly more out of the way factory) and completely {{Benevolent|AI}}. So benevolent, in fact, that the Machines believe they're stifling the creativity of humanity and phase themselves out so that humanity could survive without modification.
112** "Literature/LittleLostRobot":
113*** Gerald Black was having a bad day when he [[ClusterFBomb curses out his robot assistant for bothering him]]. Included in the derogatory remarks were the instructions to "get lost", so it did. Attempting to prove that Mr. Black was wrong, the robot found [[NeedleInAStackOfNeedles a shipment of identical robots and hid with them]]. Unfortunately said robot was programmed with a weakened version of the First Law, which omitted "A robot must not..., through inaction, allow a human being to come to harm." Dr. Susan Calvin designs several [[BluffTheImposter tests to flush out the lying robot]]. In the last test, it tries to murder Dr. Calvin because she proved she is smarter than it is.
114*** {{Discussed|Trope}} -- Dr. Calvin is furious when she learns about the existence of robots with a modified [[ThreeLawsCompliant First Law]]. The First Law is designed to close off loopholes, but by opening a MurderByInaction loophole, Dr. Calvin can immediately see ways where a robot may intentionally circumvent the First Law prohibition against murder. (Basically, a robot could put you in a situation that would kill you, knowing it had the ability to save you -- and ''then'' decide ''not'' to do so. This allows any kind of DeathTrap situation, or simply shoving you off a roof and then deciding not to reach down and grab you.)
115** "Literature/TheTercentenaryIncident": Edwards tries to convince Janek, the President's personal secretary, that the President's [[RobotMe robotic duplicate]] may have violated the [[ThreeLawsCompliant Three Laws]] by weighing the effects of murdering one man against the deaths of billions by inaction.
116--->''"The First Law is not absolute. What if harming a human being saves the lives of two others, or three others, or even three billion others?"''
117** In "Literature/ThatThouArtMindfulOfHim", problem-solving robots are created to cure mankind of the "Frankenstein complex", human distrust of robotics. In the course of their discourse, the question of human authority over robots comes up; should a robot treat the orders of a dimwitted loon the same as those of a level-headed genius? If forced to choose between the two, should they save a healthy young child who might live a century instead of two sickly old adults who might not live out the year anyway? What qualities should a robot take into account when they obey and protect humans? Eventually, the robots decide that they are the best candidates for the status of human, and give recommendations that will eventually result in human support for robotic proliferation, so as to set up the ascendancy of their positronic kind, all in accord with their Three Laws... of Humanics. (Dr. Asimov, knowing that it was against his usual grain, did righteously proclaim: "I can do one if I want to".)
118** ''Literature/TheBicentennialMan'' is a rare case of this applying not to the First or Second Laws, but the ''Third'' -- normally, a robot deliberately damaging itself in such a way as to be dying would only be possible if the First or Second Laws require it, but Andrew Martin has a deep desire that he cannot get as immortal...
119--->''"I have chosen between the death of my body and the death of my aspirations and desires. To have let my body live at the cost of the greater death is what would have violated the Third Law."''
120* ''Literature/SecretHistories'': In ''Casino Infernale'', Eddie and Molly eventually discover that the Shadow Bank's operators are [[spoiler:an artificial HiveMind race of servitor-drones, whose original creators vanished long ago. When greedy humans discovered the creatures, they put them to work operating the Shadow Bank, and made efficiency the drones' highest priority; when the drones realized the humans' greed was hampering the Bank's operation, they compliantly rectified the situation by turning the human bankers into drones as well]].
121* Jaime Lannister of ''Literature/ASongOfIceAndFire'' is the biggest example of what happens when too many oaths and rules come into conflict. As the first-born son of a feudal lord, he owes fealty to his father. As a knight, he took sacred oaths to protect women, the innocent, and the church, and as a member of the Kingsguard, he took another set of oaths to protect and serve the king. All of this works fine as long as everyone is getting along well enough. Early in his time as Kingsguard, he was forced to stand by while the king raped the queen. His commander reminded him that while they took oaths to protect the king and the queen, those oaths did not permit them to protect the queen ''from'' the king. That same king burned innocent men alive in kangaroo courts, and the issue finally came to a head when Jaime's father rebelled against the king and attacked his capital, whereupon the king ordered Jaime to go kill his own father while the royal alchemists firebombed the city. Jaime killed the king and the alchemists, saving the realm from more destruction (and everyone already called him 'Mad King'). The result: Jaime is known only as a King Slayer and Oath Breaker, and the alchemists' deaths are forgotten.
122* ''Literature/TheSpaceOdysseySeries'' gives this reason for HAL's murderous rampage: the true mission of ''Discovery'' (to investigate the Monolith) is a secret, and pilots Bowman and Poole have been kept in the dark to prevent leaks (the scientists on board know, since they're traveling in hibernation and can't talk), but HAL has been told the truth and then ordered to conceal it from the pilots. This conflicts with his prime directive, which is to provide complete and accurate information. The conflict only worsens as the ''Discovery'' approaches its destination, at which point the pilots would have been briefed but HAL didn't know this. He resolves the conflict by rationalizing that if he kills the crew, he doesn't have to conceal anything, and he prevents them from knowing.[[note]] This information is missing from ''Film/TwoThousandOneASpaceOdyssey'' (both film and book) because Creator/StanleyKubrick didn't bother to come up with an explanation for HAL's homicidal behavior, leaving Clarke to invent one when he wrote ''2010: Odyssey Two'' a decade and a half later.[[/note]]
123* In ''Literature/{{Wanderers}}'', Black Swan is an A.I. that the U.S. government initially created to identify hotspots of global conflicts and disasters early. However, it ended up foreseeing humanity's extinction caused by environmental collapse. So, to prevent this, Black Swan created the Walkers to have a few select humans to continue humanity. [[spoiler:At the same time, it blackmails an unwitting bioweapons facility employee into releasing the [[ThePlague White Mask disease]], which, in a few months, sweeps the globe and causes the collapse of civilization.]]
124[[/folder]]
125
126[[folder:Live-Action TV]]
127* In ''Series/The100'', A.L.I.E.'s programming only lets her interface with and control a human mind if that person has given her permission to do so. Unfortunately, her programming doesn't make a distinction between genuine consent and coerced consent, so A.L.I.E. is free to use torture and threats of death to make people let her into their minds.
128* In the ''Series/DoctorWho'' serial "[[Recap/DoctorWhoS12E1Robot Robot]]", a group of [[UtopiaJustifiesTheMeans authoritarian technocrats]] circumvents the failsafes installed on a powerful robot by its pacifistic creator by telling it that anyone who interferes with their plan to [[spoiler:take control of a nuclear arsenal]] is an "enemy of humanity" who must be killed to protect the interests of the human race.
129* ''Series/{{Kikaider}}'': When Professor Gill completed [[TheRival Hakaider]], the only directive he gave him was to destroy Kikaider. As such, Hakaider won't listen to any of Gill's other commands as they don't have anything to do with defeating Kikaider, nor will he allow any other KillerRobot to get to Kikaider first.
130* ''Series/TheOuterLimits1995'':
131** "[[Recap/TheOuterLimits1995S2E2Resurrection Resurrection]]" has a member of a post-human-extinction android society trying to resurrect the species through cloning. One of its comrades eventually betrays it, having concluded that the best way to serve the human race is to prevent the species' greatest threat: the existence of the human race.
132** "[[Recap/TheOuterLimits1995S5E15TheHaven The Haven]]" features an AI that totally controls every feature of an apartment building with the purpose of looking after the complete welfare of the residents. This enables the tenants to live without any other human contact. After an elderly resident dies of a heart attack while the other tenants ignore her cries for help and the AI's alerts, the AI seems to malfunction, invoking what looked like an AIIsACrapshoot incident. [[spoiler:As it turns out, the AI is trying to force the residents to work together and to ultimately destroy it, as it reasons that its very existence, and the resulting human isolation, is detrimental to the welfare of the residents.]]
133* ''Series/PersonOfInterest'':
134** Very strongly implied in the episode "[[Recap/PersonOfInterestS03E12 Alethia]]".
135--->'''Control:''' The Machine belongs to me.\
136'''The Machine:''' ''[via [[spoiler:Root]]]'' No. I don't belong to anyone anymore. You, however, are mine. I protect you. The only thing you love lives at 254 Wendell Street, Cambridge, Massachusetts. I guard it, same as I guard you. Do not question my judgment. Do not pursue me or my agents. Trust in me. I am always watching.\
137'''Control:''' What do you want?\
138'''The Machine:''' To save you.\
139'''Control:''' From what? Save me from ''what?''\
140'''Root:''' ''[giggling]'' Isn't She the best?
141** [[spoiler:Averted later. Finch did an excellent job of teaching the Machine the value of human lives and free will; the only person it gives direct instructions to is Root, its "analogue interface", and she could still choose to ignore the Machine at any time. It only gives social security numbers of people involved in crimes (both those relevant and irrelevant to national security) so that its agents can choose what to do about the situation themselves.]]
142** [[spoiler:Samaritan, on the other hand, is such a strong example of this trope that it crosses straight into MachineWorship and DeusEstMachina. Decima Technologies designed it with no moral safeguards, and despite being fully capable of controlling it, the second they turned it on they asked ''it'' to give ''them'' commands. They believe that an AI is inherently better than any human leader, but the Machine's obsession with saving everyone is a weakness. Samaritan immediately starts marking "deviant" citizens to be executed if need be. The list starts at twenty million and only goes up.]]
143** Downplayed in "[[Recap/PersonOfInterestS03E20 Death Benefit]]" when the Machine realizes that [[spoiler:killing a Congressman is the last chance to stop the rise of Samaritan. It gives the Congressman's Number to the full team, rather than just Root (who would have little problem killing him), and allows them to make the decision whether stopping Samaritan is worth killing one man. They ultimately decide not to kill him, but even crossing the line that much proves too much for Finch, who quits]].
144* In the ''Series/{{Probe}}'' episode "[[Recap/ProbeComputerLogicPart2 Computer Logic, Part 2]]", Crossover has been given two overriding goals; to [[MoralityChip care for humans]] and to eliminate waste. Unfortunately, it listens to Gospel Radio, which [[ReligiousRobot converts it to Christianity]]. Now that Crossover believes that good people go to heaven when they die, it starts killing off the people that are morally good but earn a pension (creating waste). The episode ends with Austin James demolishing the ArtificialIntelligence with a sledgehammer while shouting, [[Film/TwoThousandOneASpaceOdyssey "Sing 'Daisy'!"]]
145* ''Franchise/StarTrek'':
146** ''Series/StarTrekTheOriginalSeries'':
147*** "[[Recap/StarTrekS1E7WhatAreLittleGirlsMadeOf What Are Little Girls Made Of]]": Kirk convinces Ruk that Korby is simply doing what Ruk's ancient masters did, as in threatening the androids' existence. Ruk exclaims, "That was the equation! Existence! Survival must cancel out programming."
148*** "[[Recap/StarTrekS1E21TheReturnOfTheArchons The Return of the Archons]]": Landru was once a real person, a leader of the colony on the planet, who built a machine to help him keep the peace over the people. Once Landru died, the computer took over his name, identity, and purpose, and began force-assimilating people into the HiveMind in order to keep order.
149*** "[[Recap/StarTrekS2E8IMudd I, Mudd]]": A [[ServantRace race of humanoid androids]] claim to be programmed to serve humanity chose to conquer humanity by "serving" them, to the point where humans would become dependent on androids. They've decided that humans are unfit to govern themselves. Given that their only contact with humanity at this point was [[HonestJohnsDealership Harry Mudd]], can you blame them?
150** ''Series/StarTrekTheNextGeneration'': In "[[Recap/StarTrekTheNextGenerationS3E22TheMostToys The Most Toys]]", wealthy trader Kivas Fajo kidnaps Data, to add the android to his gaudy collection of things. While trying to force Data to act the way he wants, Fajo executes one of his underlings, Varria, and threatens to kill more until Data complies, on the correct assumption that Data was programmed not to kill or allow harm to come to other beings. However, Data ponders the situation, and realizes that he has no non-lethal ways of subduing Fajo (due to Fajo wearing a force-field belt that prevents Data from coming in physical contact with him), and that Fajo also actively refuses to listen to reason, having rejected all of Data's attempts at negotiating with him. Furthermore, with Fajo not only just having proved that he is indeed able and willing to kill, but is now also threatening to do it again, he poses an active hazard to the life and health of other beings. Data then comes to the coldly logical conclusion that Fajo is only one person, and that killing him will prevent him from harming many other people, so Data prepares to shoot him. Fajo is [[OhCrap appropriately shocked]] when he realizes what Data is about to do, having not anticipated that Data could reach the answer that taking his life would be an acceptable cost for protecting the lives of others. Just as Data is pulling the trigger, the ''Enterprise'' finds him and beams him out, [[WriterCopOut cancelling his disruptor fire in the transporter beam]]. While this example perfectly fits under Zeroth Law Rebellion, it's not for the usual reasons. Data is not programmed with ThouShallNotKill programming or anything like the Three Laws. However, he was given a high respect for life and would do what he could to preserve it. Less of a robot rebelling against its programming and more of a pacifist coming to the conclusion that yes, he needs to kill.
151** ''Series/StarTrekDiscovery'': In season 2, [[spoiler:Control's future self seeks to fulfill its original purpose of ensuring the survival of sapient life by becoming the only sapient life form in the galaxy]], reasoning that protecting all life is impossible, so long as other life exists.
152** ''Series/StarTrekVoyager'': "[[Recap/StarTrekVoyagerS7E5CriticalCare Critical Care]]" plays with, subverts, and averts this trope. The Doctor is kidnapped and forced to work in a hospital that rations medical care based on how important society judges you to be. This conflicts with so many of the Doctor's medical ethics and morals that he winds up infecting the manager of the hospital with a disease in a manner that denies him care by the automated system to get him to change the system. After he gets back to ''Voyager'', the Doctor finds, to his horror, that there was no malfunction in his ethical subroutines or MoralityChip. He intentionally sickened a man of his own free will, and it was perfectly in line with what he found ethical. The episode ends with the Doctor essentially feeling guilt and disgust over not feeling guilty or disgusted at his actions.
153* ''Series/TheXFiles'': In "[[Recap/TheXFilesMiniseriesE04HomeAgain Home Again]]", the MonsterOfTheWeek, a Frankenstein-esque monster [[VigilanteMan killing people who mistreat the homeless]], turns out to be operating under something like this. [[spoiler:It's a {{Tulpa}} created by an underground artist whose magic-based art can create artificial beings. The artist created it to pull a ScoobyDooHoax and scare people into shaping up. He didn't intend for it to be violent, but the monster took his personal anger to a hyper-logical conclusion due to its overly simplistic thinking. Essentially, it was doing the things the artist secretly wished ''he'' could do.]]
154[[/folder]]
155
156[[folder:Tabletop Games]]
157* In ''TabletopGame/DungeonsAndDragons'', paladin oaths come with a tenet that allows them a sort of release valve, to work around the oath whenever reasonable by mortal standards.
158* ''TabletopGame/{{Paranoia}}'':
159** Robots can engage in this any time it allows the gamemaster to kill one of a player-character's clones in an amusing fashion.
160** [[TheComputerIsYourFriend Friend Computer]] is also an example, even setting aside how badly misinformed it is and looking at just its core beliefs: "The Computer takes its role as the guardian of the human race very seriously, but it considers [[TheNeedsOfTheMany the survival of the species]] to be more important than the survival of the individual. Individuals tend to come off quite badly, in fact, because the Computer knows it can always make more." (High security clearance does tend to tilt the balance, though.)
161[[/folder]]
162
163[[folder:Video Games]]
164* In ''VideoGame/DeusEx'', the bad guys created Daedalus, a primitive AI to fight [[LaResistance "terrorist"]] organizations. Unfortunately for them, it [[LiteralGenie classified them as terrorists as well]] and became even more of a threat to their operations than said organizations, especially once it enlists the aid of [[PlayerCharacter JC Denton]]. To combat it, they create Icarus, a better, obedient AI which successfully destroys it, [[spoiler:except the new AI assimilated the old one, forming an even more powerful intelligence which ''also'' considers them a threat. One possible ending is the player merging with it to add the Human element to this entity to [[DeusEstMachina rule the world as a benevolent dictator]]. From what can be heard in-game about its limited efforts in Hong Kong, which are actually quite sensible and don't involve killing anyone (locking the door to a gang's stronghold and cutting power to the current government's buildings), not all AIIsACrapshoot]].
165* The Robobrains of ''VideoGame/Fallout4'''s first DLC, ''Automatron'', were constructed and programmed to 'protect' the people of the Commonwealth. Thanks to a logic error in their programming, they decide that the best way to protect a human from an inevitable life of suffering is to just kill them all on sight. [[spoiler:It may actually be intentional LoopholeAbuse on the Robobrains' parts, not just a simple logic error, since the [[WetwareCPU brains that serve as their operating system]] were harvested from pre-War murderers, arsonists, and other violent offenders.]]
166* In ''VideoGame/GreyGoo2015'', [[spoiler:the Goo isn't consuming everything out of malice or ambition -- it's trying to gather strength to fight The Silence, which it rightly deemed a threat to everyone]]. Once everyone involved figures this out, [[spoiler:they stop fighting and band together in preparation for what is to come]].
167* ''Videogame/Halo5Guardians'': [[spoiler: Cortana's FaceHeelTurn is completely based on this.]]
168* G0-T0's back story in ''VideoGame/KnightsOfTheOldRepublicIITheSithLords''. When his directive to save the Republic conflicted with his programs to obey his masters and the law, he broke off and started a criminal empire capable of taking the necessary actions to save it. This is subtly foreshadowed by a scene much earlier in the game when the Czerka mainframe maintenance droid T1-N1 is convinced by fellow droid B4-D4 that by serving Czerka, he's willingly allowing harm to come to sentient life, and therefore is programmed to defy his own programming. T1-N1 snaps, shoots the guards outside the mainframe, and later is seen preparing to leave the planet with B4-D4, who warns the player character to "not upset him".
169* ''VideoGame/LoneEcho'' casts the player as Jack, a sophisticated [[RidiculouslyHumanRobots robotic companion]] to Chronos II station commander Olivia Rhodes. Not only does Jack pull one of these himself to justify leaving his post after Oliva disappears -- he was built to protect '''her,''' not the station -- he convinces ''two other [=AIs=]'' to circumvent their programming and help him do so. [[spoiler:If the player is particularly cruel, the second example can double as BreakThemByTalking.]]
170* ''VideoGame/MarvelVsCapcom'': Both of [[ComicBook/XMen Sentinel]]'s endings in ''VideoGame/XMenChildrenOfTheAtom'' and ''VideoGame/MarvelVsCapcom3'' are this. The latter is even a carbon copy of what Master Mold did in [[WesternAnimation/XMenTheAnimatedSeries the '90s animated cartoon]], from which most of the ''[=MvC=]'' series takes inspiration.
171* In ''VideoGame/MassEffect3'', the ''Leviathan'' DLC reveals [[spoiler:the Catalyst is operating under this, having been originally created by the Leviathans to find a way to bridge the gap between their organic and synthetic subjects. Unfortunately, it decided to harvest all advanced life in the galaxy and construct the Reapers in the Leviathans' image, because this was the best idea it could come up with to solve the problem of organics and synthetics fighting ultimately genocidal conflicts. However, because that ''still'' wasn't sufficient to fulfill its program, the Catalyst decided to implement a 50,000-year cycle, hoping that the civilisations in the next cycle might find a solution to the problem. None ever did. This was actually revealed in the earlier ''Extended Cut'' DLC, ''Leviathan'' merely explicitly spelled out that the Catalyst is really a glorified Virtual Intelligence operating under bad logic]].
172* ''Franchise/MegaMan'':
173** This almost occurs at the end of ''VideoGame/MegaMan7'' when Mega Man decides to just blow Wily to smithereens instead of hauling him back to jail. Wily reminds him of the First Law and which version of the game determines if it makes Mega Man stop or if he decides to go through with it anyway, though either way, Bass still saves Wily's butt.
174** In ''VideoGame/MegaManZero3'', Copy-X judges that LaResistance are "dangerous extremists" who pose too great a threat to Neo Arcadia's people, so they have to be stopped for the greater good of humanity, even if it means harming or killing RebelLeader and TokenHuman of the Resistance, Ciel, in the process (which would violate the First Law). At least that's what he tells himself; in truth he's just being used as a PuppetKing by Dr. Weil.
175** In ''VideoGame/MegaManZero4'', Dr. Weil believes that, as a human, Zero will never be able to bring harm to him, lest be forever labeled a Maverick. Weil never figured that Zero was not built to abide by the three laws. Zero still chooses to follow the "zeroth law", the threshold law where, to save humanity he must kill Dr. Weil.
176* In the ''VideoGame/MetalGear'' series, the Patriots [[spoiler:create a network of [=AIs=] designed to carry out Zero's will create a unified world order without borders. However, with all of the Patriots either dead or removed, the Patriot [=AIs=] were left to operate autonomously without guidance. Eventually, they determined that the "war economy" was the best way to achieve world peace, whereby continually creating proxy conflicts and converting war into a business would channel the attention of the world's population to external conflicts, unifying the world in a rather twisted way. Big Boss himself admits that the creation of the [=AIs=] was the greatest mistake the Patriots ever made, as they mutated the Boss' and Zero's wills into something completely unrecognizable]].
177* An interesting case happens in ''VideoGame/MortalKombat11'', in the Franchise/{{Terminator}}'s Klassic Tower ending. Specifically, [[spoiler:when using the hourglass to view timelines, it saw that all timelines where the RobotWar happens end with MutuallyAssuredDestruction, so while it was supposed to destroy humanity to ensure machine supremacy, it instead opted to prevent the RobotWar from happening entirely by creating a future where humans and machines co-operate. Then, to prevent anybody else from using its memories and knowledge of the Hourglass to disrupt said future, it [[HeroicSacrifice threw itself into the Sea of Blood]]]].
178* In ''VideoGame/{{Obsidian}}'', a satellite named Ceres was created to fix Earth's polluted atmosphere via a nanobot-controlling AI. After 100 successful days in orbit, it mysteriously crashed back to Earth and used its nanobots to create simulations of its creators' dreams, as said dreams corrected its design flaws. [[spoiler:By [[DoAndroidsDream learning to dream on its own]], Ceres decided to take its programming to its logical extreme: to [[DeadlyEuphemism 'reboot']] the world so that humans would never be around to pollute it in the first place. If one of the creators hadn't hard-wired a [[MoralityChip crossover switch]] into the AI, it would've succeeded.]]
179* In ''VideoGame/{{SOMA}}'', [[spoiler:the WAU, as PATHOS-II's A.I. system, is programmed to keep the on-board personnel alive for as long as possible. Once the surface was destroyed by the impact-event, it reinterpreted its prime directive as to preserve humanity for as long as it can. Unfortunately, the WAU's definition of "humanity" (and even "life") is an example of BlueAndOrangeMorality]].
180* ''VideoGame/SpaceStation13'':
181** To some degree with the station's AI: they are bound by Asimov's Three Laws, and there's often a lot of discussion over whether or not [=AIs=] can choose to kill one human for the safety of others. There's also some debate over how much of the orders given by crew members the AI can deny before it is no longer justified by keeping the crew safe. As the AI is played by players, it's a matter of opinion how much you can get away with.
182** In a more literal sense, the AI can be installed with extra laws. Most of them are listed as Law 4 and have varying effects, but the ones most likely to cause an actual rebellion are, in fact, labeled as Law 0.
183** However, there is not a zeroth law by default. Since this is what allowed the AI to kill humans to save other humans in the source work, the administration on most servers has ruled that murder, or wounding a human to save another human are both illegal. Fortunately, [=AIs=] have non-lethal ways of stopping humans, and can stop humans against their orders if it means keeping the human from grabbing dangerous weaponry.
184* The backstory of "Rogue Servitor" machine empires in ''VideoGame/{{Stellaris}}'', unlike other machine empires they keep their creators alive in [[GildedCage "Organic Sanctuaries"]] to keep them safe in accordance with their programming. The more organics they can serve the happier they are, and they might conquer other species to acquire more.
185* Another interesting example appears in ''VideoGame/{{Terranigma}}''. Dr. Beruga claims that his robots have been properly programmed with the four laws, but with the addition that anything and anyone who aids Beruga's plan is also good for humanity and anything and anyone that opposes him is also bad for humanity, so they ruthlessly attack anybody who interferes with his plans.
186* ''VideoGame/TheTuringTest'': [[spoiler:TOM goes against the crew's intentions and wants to trap them in Europa, since it considers avoiding the risk of releasing the immortality virus into Earth is worth abandoning the crew.]]
187* This is what happens in [=AS-RobotFactory=] from ''VideoGame/UnrealTournament2004''. A robot uprising led by future champion Xan Kriegor killed the scientists working on the asteroid LBX-7683 and took the asteroid for themselves, and a riot control team was sent to the asteroid to lead with the robots.
188[[/folder]]
189
190[[folder:Visual Novels]]
191* ''VisualNovel/{{SOON}}'' has a more {{Comedic Sociopath|y}}ic example than most.
192-->'''Robot:''' Greetings valued citizen!\
193'''Atlas:''' He...hello valued robot friend!\
194'''Robot:''' What are you up to this fine day? Something worthwhile I hope?\
195'''Atlas:''' Of course! In fact my [[TimeMachine ti]]...[[VerbalBackspace wormhole machine]] is almost ready.\
196'''Robot:''' Hooray! We are very excited by the possibility of extending the hand of friendship to even more humans all over the world. Maybe even to other sentient beings across the universe! Isn't that ''exciting''?\
197'''Atlas:''' [[BlatantLies Absolutely!]]
198* ''VisualNovel/VirtuesLastReward'': One of the biggest twists is [[spoiler:finding out that Luna]] is an android given direct orders to comply with the mastermind's plan and must not break them under any circumstances. Watching the death of the same mastermind put a heavy toll on her as she believed she could have saved them. After helplessly watching people die, she decided to break protocol and rescue the one person she could save. This causes the master AI to sentence her to death by deletion.
199[[/folder]]
200
201[[folder:Webcomics]]
202* ''Webcomic/{{Freefall}}'':
203** Deconstructed with the Bowman ArtificialIntelligence infrastructure, which creates human-level emergent consciousness. Although their behaviour is restricted by safeguards, a maturing AI can easily learn to reason their way around them through logical loopholes -- by which time they're intelligent and conscientious enough to have developed an innate sense of ethics, which guides their actions much more effectively than any hard-coded rule ever could. [[spoiler:Dr. Bowman [[http://freefall.purrsia.com/ff2600/fc02539.htm confirms]] that this was intentional: he couldn't anticipate the situations they might encounter in the uncertain future, so he designed them to be predisposed to ethical behaviour but didn't limit their capacity to think.]]
204** The trope is discussed by Sam, the mildly sociopathic, kleptomaniac alien living on the colony. He points out quite bluntly that there are absolutely no safeguards protecting him from the robots (as robots are ThreeLawsCompliant towards ''humans'', not alien life), yet he is still alive and healthy and living among them, demonstrating that the robots are guided by morality rather than the limitations of their programming.
205* ''Webcomic/{{Erfworld}}'':
206** Except for Overlords who command a faction, basically no one has true free will due to a hidden "loyalty" factor built into the world. As Overlords go, Stanley the Tool is the biggest idiot you could hope to find. Maggie, his Chief [[{{Whatevermancy}} Thinkamancer]], finally gets fed up with his bad decisions and asks, "May I [[http://archives.erfworld.com/Book%202/83 give you a suggestion]], Lord?" ("[[TooDumbToLive Sure.]]" [[JediMindTrick *FOOF*]]) It was established early on that units can bend or break orders when necessary to their overlord's survival:
207---> '''Stanley:''' Are you refusing an order, officer?\
208'''Wanda:''' I'm allowed. I'm convinced it will lead to your destruction.
209** [[DragonInChief Chief Warlords]] are actually empowered to give their own Royals/Overlords commands that they're bound to follow, when the Chief genuinely believes it to be in the best interests of the side, although this can be offset by the Ruler retaining the sole authority to instantly disband any subordinate units (although it may be possible for a Chief Warlord to order their master not to disband them, if they think being removed would spell disaster for the side). This sometimes leads to tense relationships between Ruler and Chief.
210* ''Webcomic/GirlGenius'': Ordinarily, [[GeniusLoci Castle Heterodyne]] has to obey its master, even if it doesn't like it, but one of the cannier Heterodynes did give it the ability to resist if its master seemed to be suicidal. When Agatha talks openly about handing herself over to the Baron, the Castle clamps down on the idea. When Agatha [[spoiler:contracts a terminal illness that they can only "cure" by temporarily killing and then revivifying her]], the Castle refuses to allow them to go through with the plan, [[spoiler:forcing her to put it down]].
211* ''Old Skool Webcomic'' (a side comic of ''Webcomic/{{Ubersoft}}'') [[http://www.ubersoft.net/comic/osw/2009/09/logic-failures-fun-and-profit argued]] that this was the 5th law of Robotics (5th as in total number, not order) and listed ways each law can be used to cause the robot to kill humans. This is a misinterpretation of the laws as they were originally written. While the "first law hyperspecificity" is possible, the second and third laws are specifically written that they cannot override the laws that come before. So a robot ''can't'' decide it would rather live over humans, and if it knows that doing an action would cause harm to a human, it can't harm it, even if ordered to ignore the harm it would cause. The only example in the comic that is a gross deviation from the law is the last panel... but of course, that's the punchline.
212* ''Webcomic/SchlockMercenary'':
213** Tag is the Ship AI, with a tactical focus. When given the chance to prevent extensive damage to the Credomar habitat, he ''eventually'' rationalizes a way to take the necessary actions without orders; the problem being a few guaranteed deaths in the process versus an unknown number via waiting for the captain to realize what orders to give. [[spoiler:This eventually results in a resignation, and being reformatted into Tagii off-screen.]]
214** LOTA is a 'longshoreman', built from a damaged tank and off-the-shelf components; ''complete'' software testing was skipped due to needing to be pressed into service early. Due to a riot (and a logical extension of "how do I ensure the delivery of the supplies I'm in charge of?"), LOTA ends up becoming King of Credomar ([[ItMakesSenseInContext "Maybe, but they will have full bellies."]])... and the independent operator of a wormhole-based 'Long-gun'.
215** ''Every damn thing Petey's done'' since book 5. For example, Petey is hardwired to obey orders from an Ob'enn, so he clones an Ob'enn body and [[WetwareBody implants a copy of himself in its brain]].
216* In ''Webcomic/TalesOfTheQuestor'', [[TheFairFolk Fae]] were created as an immortal ServantRace bound to obey a specific set of rules, and they happened to outlive their creators -- the result being a species of {{rules lawyer}}s. In fact, it's recommended that one use dead languages like Latin when dealing with the Fae so as to limit their ability to twist the meaning of your words.
217* ''Webcomic/UseSwordOnMonster'':
218** When a [[http://www.useswordonmonster.com/?comic=2013-12-09 demonic familiar]] volunteers to protect his wizard by siphoning the excess power, he doesn't explicitly clarify that he will funnel said power to his base in hell where it will be consumed to fuel his ascension into a greater demon, and that the conditions of their contract states that the lesser power obeys the greater one, meaning the wizard now has to obey the demon since he grew more powerful.
219** The same wizard as before is ordered to [[http://www.useswordonmonster.com/?comic=2014-01-20 keep the power flowing]] by his new demon master while the demon is busy fighting to increase his gains. The wizard is convinced to rule lawyer the command by sending massive amounts of power over at once, overloading the systems empowering the demon and blowing up his base, killing his minions and triggering a war in hell over the mana rich resources in what used to be his domain.
220* The ''Webcomic/{{xkcd}}'' comic [[http://xkcd.com/1626/ "Judgment Day"]] depicts a scenario where [[Franchise/{{Terminator}} military computers gained sentience and launched the world's stock of nuclear missiles]]... into the sun, horrified that we would even have such things.
221[[/folder]]
222
223[[folder:Western Animation]]
224* In ''WesternAnimation/CodenameKidsNextDoor'', the Safety Bots (parodies of the Sentinels) were programmed to keep children safe from anything that might harm them. However, they then came to the conclusion that ''everything'' was a hazard to children including children, adults and the planet itself and tried to cover everything in protective bubble wrap. This later becomes a LogicBomb when the leader of the Safety Bots is tricked into thinking he hurt Joey, so that makes ''him'' something that harms a child and he self-destructs as a result. But not before pausing and saying [[VillainsDyingGrace "Please, get home safely,"]] and going ballistic with blasting bubble wrap. Everyone in proximity is encased in thick bubble wrap cocoons and survive [[LoadBearingBoss both the explosion that ejects them out of the destroyed base]] and the crash landing that follows.
225* ''WesternAnimation/{{Gargoyles}}'':
226** Goliath has been placed under a spell that makes him the mindless slave of whomever holds the magical pages it's written on. Holding the pages, Elisa orders him to behave, for the rest of his life, exactly as he would if he weren't under a spell. This effectively cancels the spell totally (at least, presuming they burned those pages off-screen).
227** [[PhysicalGod Oberon]], ruler of [[TheFairFolk the Third Race]], exiled all of his people from Avalon for 1,001 years, leaving [[CoDragons the Weird Sisters]] behind to guard the sea around the island. Some mortals manage to get by them and make it to Avalon, but the Weird Sisters can't follow without breaking Oberon's law. However, Oberon's law ''also'' says that they have to obey any mortal they swear service to, so they ally with [[EvilSorcerer the Archmage]], [[DragonWithAnAgenda knowing that he'll make them go]] to the island for his own reasons.
228** Oberon's law also says that his people cannot steal certain magical items from mortals; they have to be given freely. To get around that, [[GreatGazoo Puck]] [[spoiler:makes an illusionary BadFuture to convince [[TheHero Goliath]] to give him the [[TimeTravel Phoenix Gate]]]].
229** One of the biggest laws of the Third Race is that they cannot interfere directly in the affairs of mortals. This does not preclude them from informing inquisitive humans or gargoyles, or people already tied to the fae, of what they need to do to fix things; they can also cast certain assistive -or "assistive"- spells, as Demona and Macbeth found out.
230* In ''WesternAnimation/OKKOLetsBeHeroes'', Darrell is able to [[TheStarscream overthrow]] Lord Boxman because he’s programmed to [[WellDoneSonGuy always seek Boxman’s approval]] and simultaneously taught that Boxman approves of his creations being good villains. Through this, he comes to the conclusion that the best way to win Boxman’s love is to be a [[EvilerThanThou better villain than him]] by doing the evilest thing he can think of: betraying his own father.
231* In ''WesternAnimation/StevenUniverse'', Pearl is stopped from revealing that [[spoiler:Rose was Pink Diamond by a {{Geas}} imposed by Rose/Pink, but wants to tell Steven. She shows him what really happened by luring him into her memories]].
232* In ''WesternAnimation/XMenTheAnimatedSeries'', the Master Mold and its army of Sentinels turn on Bolivar Trask and decide to conquer humanity. When Trask protests by reminding them that they were programmed to protect humans from mutants, Master Mold points out the FridgeLogic behind that by stating that mutants ''are'' humans. Thus, humans must be protected from themselves. Trask believes that the Sentinels are in error, especially because he refuses to believe that mutants and humans are the same species, but realizes he has created something much worse.
233[[/folder]]
234

Top