So I’m assuming that the question assumes the Artificial Intelligence already exists before April 1st.
There is also the question of whether we’re talking about absolute niceness or relative niceness. It looks like relative niceness from the way you’re talking about a coup. The AI is nicer than the Vice President, but meaner than the President at least insofar as the coup is concerned.
So the current code says:
ON DATE April 2nd
AI = Coup
So the new code would say:
IF President = dead
THEN Condition A = true
ELSE Condition A = false
IF Condition A = true
THEN AI = Coup
IF ELSE Condition A = false
THEN AI = Not Coup
Determining whether the President is alive (Condition A) seems like a relatively simple problem for programmers to solve. To get even more complicated, you might have the code expire when the President leaves office; defaulting to no coup. I’m not sure why this would be a hard problem.
The coup was just an example, to show that (“nice” | president dead) does not imply (“nice” | president alive). The coup thing can be patched if we know about it, but it’s just an example of the general problem.
So the question is how do we solve a problem that we don’t know exists. We only know it might exist, and that it will be solved under some conditions but not in others. And we don’t know which conditions will be good and which will be bad. Yes, that is a tricky problem.
So I’m assuming that the question assumes the Artificial Intelligence already exists before April 1st.
There is also the question of whether we’re talking about absolute niceness or relative niceness. It looks like relative niceness from the way you’re talking about a coup. The AI is nicer than the Vice President, but meaner than the President at least insofar as the coup is concerned.
So the current code says:
ON DATE April 2nd AI = Coup
So the new code would say:
IF President = dead THEN Condition A = true ELSE Condition A = false
IF Condition A = true THEN AI = Coup
IF ELSE Condition A = false THEN AI = Not Coup
Determining whether the President is alive (Condition A) seems like a relatively simple problem for programmers to solve. To get even more complicated, you might have the code expire when the President leaves office; defaulting to no coup. I’m not sure why this would be a hard problem.
The coup was just an example, to show that (“nice” | president dead) does not imply (“nice” | president alive). The coup thing can be patched if we know about it, but it’s just an example of the general problem.
So the question is how do we solve a problem that we don’t know exists. We only know it might exist, and that it will be solved under some conditions but not in others. And we don’t know which conditions will be good and which will be bad. Yes, that is a tricky problem.
:-)