Russians who protested the fixed elections were branded as national enemies. Nongovernmental organizations were forced to register as “foreign agents.” Mr. Putin even claimed that Hillary Clinton, then secretary of state, “gave the signal” to the Russian opposition to go on the streets. The notion that defending democracy meant betraying Russia was perfectly consistent with Ilyin’s view.

Since then, Mr. Putin has relied on Ilyin’s authority at every turning point in Russian politics — from his return to power in 2012 to the decision to intervene in Ukraine in 2013 and the annexation of Ukrainian territory in 2014. Last spring, he claimed that the American intelligence services would intervene in the Russian parliamentary elections held this past weekend and in the Russian presidential elections of 2018. The question of whether anyone in the Kremlin actually believes this is beside the point. These claims of constant American interference are intended to show that the democratic process is nothing more than a geopolitical game.

While Russian leaders consciously work to hollow out the idea of democracy in their own country, they also seek to discredit democracy abroad — including, this year, in the United States. Russia’s interventions in our presidential elections are not only the opportunistic support of a preferred candidate, Donald J. Trump, who backs Russian foreign policy. They are also the logical projection of the new ideology: Democracy is not a means of changing leadership at home, but a means of weakening enemies abroad. If we see politics as Ilyin did, Russia’s ritualization of elections becomes a virtue rather than a vice. Degrading democracy around the world would be a service to mankind.

If democracy is merely an invitation to foreign influence, then hacking a foreign political party’s email is the most natural thing in the world. If civil society is nothing but the decadent opening of a rotting society to foreign influence, then constant trolling of media is obviously appropriate. If, as Ilyin wrote, the “arithmetical understanding of politics” is harmful, then digital meddling in foreign elections would be just the thing.

For a decade, Russia has been sponsoring right-wing extremists as “election observers” — most recently, in the farcical referendums in the Crimea and in the Donbas region of Ukraine — in order to discredit both elections and their observation. Since democracy is a sham, as Ilyin believed, then it is right and good to imitate its language and procedures in order to discredit it. It is noteworthy that the Trump campaign has now imitated this very practice, supplying both its own private “observers” and the advance conclusion about the fraud they will find.

The technique of undermining democracy abroad is to generate doubt where there had been certainty. If democratic procedures start to seem shambolic, then democratic ideas will seem questionable as well. And so America would become more like Russia, which is the general idea. If Mr. Trump wins, Russia wins. But if Mr. Trump loses and people doubt the outcome, Russia also wins.

From Moscow’s point of view, it is easier to bring down democracy everywhere than it is to hold free, fair elections at home. Russia will seem stronger if other states follow its course of development toward a cynicism about democracy that allows authoritarianism to thrive. So we might as well get used to the interference, and take sensible precautions. It no longer makes sense to carry out elections and regulate campaign finance as if such matters were of no interest to hostile foreign powers.

Americans have plenty of other reasons to reform the democratic process, but protecting their integrity should take priority. Paper ballots for every voter and public financing of campaigns, to give two examples, would make sense both for citizens and for the electoral system. A simpler democracy would be a more secure one — and a more exemplary one.