I need to prove that the $\psi=((p\rightarrow q)\rightarrow p)\rightarrow\neg \neg p$ is intuitionistically valid. I tried using the topology of open sets of $\mathbb{R}$ and an arbitrary valuation, but couldn't prove that $v(\psi)=\mathbb{R}$ or superset of $\mathbb{R}$. I tried proving that $\Gamma=\{(p\rightarrow q)\rightarrow p,\neg p \}\vdash \bot$. Reached up to a point where $\Gamma, p\rightarrow q\vdash \bot$ and $\Gamma, p\vdash \bot$ and I was thinking that there must be formulas $\sigma, \tau$ s.t. $\Gamma, p\rightarrow q\vdash \sigma$ (or $\Gamma, p\vdash \sigma$) and $\Gamma \vdash \tau$ so that I can then use firstly use $(\rightarrow I)$ and then $(\rightarrow E)$ and prove what I want, i.e. $\Gamma \vdash (p\rightarrow q) \rightarrow\sigma$, $\Gamma \vdash \tau$ and from $(\rightarrow E)$, I have $\Gamma \vdash \bot$. However I can't think of any. Plus I haven't fully understood Kripke semantics, so I haven't tried it. It seems though that it might be easier than what I have tried since now.
Could anyone help, because my brain isn't working and I have been stuck for over two hours?