I think the law is not provable in Agda or Kok.
Roughly, we have only one hypothesis
(v1 = v2 -> False) -> False
and we need to prove the thesis v1 = v2 .
Consider the inconclusive evidence of what is in the evidence-based system of evidence. What will be the last rule?
This cannot be the introduction of v1 = v2 , because Refl does not have this type ( v1,v2 are various variables).
Thus, this should be the elimination of the hypothesis, i.e.
H1: (v1 = v2 -> False) -> False |- v1 = v2 -> False H2: (v1 = v2 -> False) -> False , False |- v1 = v2 --------------------------------------------------- (->E) (v1 = v2 -> False) -> False |- v1 = v2
However, if H1 indeed provable, we must also have
(v1 = v2 -> False) -> False |- False
from which it is deduced
|- ((v1 = v2 -> False) -> False) -> False
which is equivalent
|- v1 = v2 -> False
which is clearly not provable without any other assumptions on v1,v2 . Indeed, otherwise we could generalize this to
|- forall v1 v2, v1 = v2 -> False
which is clearly wrong.
On the other hand, I believe that Agda / Coq / ... complies with the Law of the Excluded Middle, which implies the proposed law. Consequently, the law cannot break the sequence.