I'm unable to show the the following is not provable in intuitionistic predicate (first-order) logic:
$$ ∀x ¬¬φ(x) → ¬¬∀x φ(x) $$
(this is not provable according to Wikipedia: https://en.wikipedia.org/wiki/Double-negation_translation#Results)
In particular, I tried to show that there is no proof to this using Gentzen calculus, but got to this proof:
[1] φ(x) → φ(x)
[2] φ(x) → ∀x φ(x)
[3] φ(x),¬∀x φ(x) →
[4] ¬∀x φ(x) → ¬φ(x)
[5] ¬¬φ(x),¬∀x φ(x) →
[6] ∀x ¬¬φ(x),¬∀x φ(x) →
[7] ∀x ¬¬φ(x) → ¬¬∀x φ(x)
Where is my mistake?