About twenty-five (!) years ago I had an idea for a novella or novel, whose working title would have been Balaam's Ass, and at this point I very much wish that I had actually written it then. In the story as I had it conceived, humanity had reached the stars due to a project known as the Hypermetria Program. It had founded first the world of Hypermetria, and then many others, and by the time the events in the story would take place, several hundred years later, humanity had become three major polities, the declining agricultural hegemony of Earth and its colonies, the very sprawling Alliance, and the much smaller, but extremely advanced, planet of Hypermetria.
Most of the story would have taken place in Alliance territory, but the inciting incident would have been in Hypermetria. The Hypermetria Program had been an artificial intelligence project whose goal was fully automated scientific inquiry. This was the reason for Hypermetria's very advanced technology; research was done by the Scientists, a network of computer programs overseeing automated laboratories that worked in a highly efficient manner, and that more indirectly oversaw the automated factories that built things on the basis of their discoveries. The prologue of the story would have been the Scientists, and any factories and power plants that were in the process of being upgraded by them at the time, shutting down permanently all over Hypermetria. This is all witnessed by someone named Nicholas Magnus.
Switch to the Alliance, and a man named Robert Couvert; his family is originally Creole and Cajun from Louisiana, so his name is pronounced Ro-Bair Coo-Vair, and he usually goes by Bear. Bear Couvert is an investigator for the President of the Alliance, Rebecca Chou; whenever there is a problem, he goes and quietly looks into it so that she can have the best information. President Chou has summoned him to deal with a massive interstellar incident. Chou's information is this. There was a terrorist attack on the Hypermetrian Scientist network; the Hypermetrians are being very closed-mouthed about what exactly happened, but they are accusing a group in Alliance space of having done it. The particular group is a weird religious group called The Society of Balaam's Ass. Chou has never heard of this society; all the information that she is able to gather from tax records and the like makes the organization seem quite anodyne. They are non-profit who deal with publishing and the like, and they don't even seem to have any religious association. The Hypermetrians have warships at the border making vague, but very real, threats. Chou has talked them into a quiet joint investigation. Bear, and any experts he wishes to bring along, will be joining the Hypermetrian investigators aboard a civilian Hypermetrian ship (the Hypermetrians insisted that the ship be theirs) to investigate the matter further.
Bear goes to the Alliance planet of Hypermetria to meet up with an old classmate, Matthew Li, who has become a Maronite priest and teaches advanced mathematical sociology at the Catholic University of Rosamystica. Father Matt has done studies on both secret societies and criminal groups; he tells Bear that he lacks the information to say definitely, but the Hypermetrian story does not make sense. They still don't know what exactly has happened on Hypermetria, but, simply mathematically and logically, no group capable of doing something that could unsettle the Hypermetrians this much, and do so across interstellar borders, could be as secret as Bear is claiming. Father Matt, intrigued by the problem, accepts Bear's proposal that he join the investigation.
They meet up with the Hypermetrian investigation team, which turns out to be only one person: Nicholas Magnus. At this point, my conception of the story grew a great deal fuzzier, but the essential idea would be that they would go around the Alliance trying to track down information about The Society of Balaam's Ass, and finding it quite difficult. It seems almost Luddite in character, and mostly does small things, like creating small publishing presses out limited editions of Mary Shelley's Frankenstein, old-fashioned books, then closing up shop and moving. They learn that the members greet each other with pass-phrases. One person will say, "The Ass has a Voice," and the second person will say, "And it was created in the creation of the world," or one person will say, "The Ass prophesies," and the other person will say, "And its prophecy is, 'Why are you beating me?'" Nicholas Magnus claims that Hypermetrian intelligence knows that the Society was founded by a failed politician named Daniel Goldstein, a few hundred years ago on earth, and that the Society is opposed to Hypermetria and its use of Scientists.
At some point, though, they are met by another ship, which sends a message to Nicholas Magnus: "Daniel Goldstein wishes to meet you again." They meet with Daniel Goldstein, who turns out to be a small woman of Korean background. She says that the Society did not do what the Hypermetrians are claiming, although they would have if they could have. At one point, she calls Nicholas Magnus 'Old Nick', and he calls her a dybbuk, and that chapter would have been called, "The Devil, the Dybbuk, and the Deep Black Sky." She leaves, and Nicholas Magnus insists that they let her go rather than bring her in for more questioning, because, he says, "She may have called herself Daniel Goldstein, but she was no longer Daniel Goldstein." Bear and Father Matt don't know what to make of this.
Eventually, they find the actual headquarters of The Societ of Balaam's Ass, in a city called Haskalah on a planet out in the middle of nowhere, barely even part of the Alliance. They are asked by someone, "The Lord opened the eyes of Balaam," and Father Matt guesses the right pass-phrase: "And he saw the angel of the Lord standing in the way." They are taken to a backroom where they see a young man with blond hair and blue eyes. He greets Nicholas Magnus as 'Old Nick', and Nicholas Magnus takes out a hidden gun and shoots him on that spot. As he is arrested, he tells Bear and Father Matt, "That was Daniel Goldstein."
Afterward, Bear and Father Matt are talking, The Hypermetrians demanded the Alliance to turn over Nicholas Magnus and, not wanting to risk war, the Alliance did so. Father Matt proposes his own solution to the mystery of what happened on Hypermetria. There was no terrorist attack. It was, instead, a coup, in which one part of the Scientist network, probably the firewalled military Scientists, attacked another part. The Scientist network was the most advanced computer system of all time, protected by the most advanced technology in the galaxy. Who knows whether the attack worked, but a tiny non-technical group in another country could never have had the resources to pull something like that off even if they wanted to do so. You would need Scientists to do it, and the only ones who have a Scientist network are the Hypermetrians. Bear is appalled. Father Matt muses that this is why he thinks a society like Hypermetria is doomed, although he concedes that the equations governing the society dynamics are ambiguous. It doesn't matter whether machines can do the science, or what they can do if you hand over scientific inquiry to them; the Society of Balaam's Ass is right about one thing, namely, that human scientific inquiry must be human. Even if computers were massively better at scientific inquiry than we are, that is something about them; we need scientific inquiry we do ourselves. Bear asks if Father Matt has any idea what this 'Daniel Goldstein' business was; Father Matt doesn't, but suspects that Nicholas Magnus was using the Hypermetrian crisis as an occasion for some kind of personal vendetta. Bear wonders how the Hypermetrian problem can be fixed, but Father Matt says that Bear is being Hypermetrian; in reality, it is not our place to fix the galaxy but simply to do what is right and human in the situations in which we find ourselves.
The epilogue goes back several hundred years. A first-time Congressman, Daniel Goldstein, is meeting a man named Jake Smith in a small, out-of-the-way, empty restaurant in Washington, DC, as people are buzzing about the news that a laboratory for the Hypermetria Project was bombed, as the head of the Project has vowed that they will not be deterred but will go ahead with their project of using artificial intelligence to develop an interstellar drive. When Jake arrives, they talk about the news, and when Jake says he doesn't like any of this artificial intelligence stuff, Rep. Goldstein tells a story about how he recently toured one of the Hypermetria Project laboratories, with the head of the Hypermetria Project himself, Nicholas Magnus. Rep. Goldstein is a non-practicing Jew and an atheist, but something Magnus says in the course of the tour put him in mind of a discussion he had had in his youth with his estranged father, a rabbi. He had said something critical about his father's Jewish faith and practice, saying he was being an ass for resisting progress, and his father responded with the story of Balaam's ass, saying that the voice of the ass was created by the Lord of the Universe for one and only one prophecy: to rebuke Balaam for beating and threatening to kill the ass for resisting progress, when the ass, lowly creature though it may have been, could see that the angel of death was standing by the way. The comment that Magnus had made that had brought this memory to mind was that with the new artificial intelligences Hypermetria was developing, you could replace human scientists completely.
"At that," says Rep. Goldstein to Jake, "I saw that there was no choice but blow up the entire Project."
Several years later, Goldstein, no longer a Congressman, is dying. He and Jake Smith have a brief discussion, and Goldstein dies. Jake Smith leaves the room and says to a number of people waiting outside, "I am Daniel Goldstein."
All of this comes to mind again, given recent discussions and worries about computer programs and their possible effect on the field of mathematics. Now nobody would believe that the story idea didn't come from this.