A novel that I read in the 1990's. I think the title was 'Bugs' but I can't swear to it. I've googled for books with that title, and none of the hits seem familiar.
Set in the present day. As far as I recall it was only barely science fiction. Protagonist gets a new job, perhaps in a university, or as a laboratory assistant. He meets a brilliant but eccentric professor who is developing an artificial intelligence. The AI is obsessed with Orwell's 1984.
At various points in the novel, the AI tries to prove that Big Brother's slogans are true. The logic for "war is peace" goes something like this (only better):
War is combat. Combat is encounter. Encounter is concurrence. Concurrence is harmony. Harmony is peace.
Finally the AI proves that "truth is lie." When the protagonist says that Orwell didn't write that, the AI replies "he should have."
At one point, the protagonist wonders if the AI is really capable of original thought. he asks "How do you know you're not just repeating your creator's thoughts?" The AI replies "How do you know you aren't?"
As I recall, the AI was only one strand in a larger novel, none of which I can remember, but I don't think it was at all SF.