I have a basic question about propositional truncation $||$-$||$ and double negation $\neg\neg$.
According to the recursion rule of $||$-$||$, $A\rightarrow B=||A||\rightarrow B$ as long as $B$ is a mere proposition (i.e., proof-irrelevant). Now let $B=\neg\neg A$, since $\neg\neg A$ is a mere proposition, and $A\rightarrow\neg\neg A$ is a tautology, we naturally conclude that
$$||A||\rightarrow\neg\neg A.\quad\quad(1)$$
Since $||A||\rightarrow\neg\neg A$ is a tautology, then $\neg\neg(||A||\rightarrow\neg\neg A)$ is also a tautology. Since $\neg\neg$ distributes over $\rightarrow$, we get the following
$$\neg\neg||A||\rightarrow\neg\neg A.\quad\quad(2)$$
Therefore, the following is also true:
$$\neg\neg(||A||\rightarrow A).\quad\quad(3)$$
But (3) looks quite crazy because it's almost the inverse of $A\rightarrow||A||$, though under $\neg\neg$. I don't know if these are all correct. I would appreciate if someone can tell if it's correct or if there is anything wrong with my derivations.
More: Since there is a mapping for $A\rightarrow||A||$, its double negation $\neg\neg(A\rightarrow||A||)$ is also a tautology. Together with (3), we have $\neg\neg(A\leftrightarrow||A||)$. Is there any place wrong with my derivation?
Everything you’ve said works, and there’s a simple intuition for it all: $\neg\neg\cdot$ is a modality, and so is $\Vert\cdot\Vert$, and the latter is a “loosening” of the former. Specifically, they’re equivalent under the former (that is, $\prod_{A : \mathcal{U}} \neg\neg (\Vert A\Vert \simeq \neg\neg A)$), because we can prove $\mathrm{LEM}_{\neg\neg} :\equiv \prod_{A : \mathcal{U}} \neg\neg (A + \neg A)$. So if we assume $\mathrm{LEM}_{-1} :\equiv \prod_{A : \mathcal{U}} \mathrm{isProp}(A) \to \left\Vert A + \neg A\right\Vert$, then the two modalities are purely equivalent too.
The way I like to think about this is that, in a classical setting, propositional truncation is just the same thing as double negation, which is already well known to produce a classical environment in an otherwise constructive setting. So in the general constructive-by-default setting of MLTT and its descendants, propositional truncation isn’t automatically equivalent to double negation, but you also can’t prove that it’s disequivalent without an explicit anticlassicality principle—and they’ll always be equivalent in the “forced classical” environment underneath double negation.