\section{Introduction}

Recently, the study of higher homological algebra is an active topic, and
 its aim is to provide a higher version  of the classical theory. Let $n$ be an integer greater than or equal to three.
Geiss, Keller and Oppermann \cite{GKO} introduced the notion of $n$-angulated categories, which is a ``higher dimensional" analogue of triangulated categories.
Since then,  the theory of $n$-angulated categories has been developed by many authors. For example, Geiss, Keller and Oppermann gave a construction of
$n$-angulated categories in terms of certain cluster tilting subcategories.  Bergh,  Jasso and Thaule \cite{BJT} showed that for a commutative local ring with principal maximal ideal
squaring to zero, the category of finitely generated free modules is $n$-angulated for every $n\geq 3$. More generally, Lin \cite{L} presented a general framework to unify the two constructions
of $n$-angulated categories in \cite{GKO} and \cite{BJT}, and also constructed new examples of $n$-angulated
categories.
Besides, Jacobsen and J{\o}rgensen \cite{JJ}, and Zhou and Zhu \cite{ZZ} investigated the quotient categories of $n$-angulated categories. For more references, see \cite{BS,BT1,BT2,F,F2,J,L0,L2,Z}.

In an abstract category, objects and morphisms are two essential components; and by a
well-known embedding from a category to its morphism category, objects can be viewed as
special morphisms. In the classical approximation theory, we mainly concern the objects
and the associated subcategories. However, in general case, it seems that the morphisms
and the associated ideals also should be concerned in the approximation theory. From this
point of view, Fu, Guil Asensio, Herzog and Torrecillas  \cite{Fu-et-al} introduced the notion of ideal
cotorsion pairs and developed the ideal approximation theory of exact categories. Inside
it, the phantom ideal plays an important role in the aspect of providing a certain ideal
cotorsion pair. Recently, Breaz and  Modoi \cite{BM} extended ideal approximation theory into triangulated categories,
and  Asadollahi and Sadeghi \cite{AS} extended ideal approximation theory into $n$-exact categories which is a ``higher dimensional" analogue of exact categories.
The theory of ideal approximation has been developed
further, see e.g. \cite{Ch-98,Estrada-et-al,Fu-Herzog,H}.

Following these ideas, in the present paper we will study the higher dimensional analogy of Breaz and Modoi's result in \cite{BM} in extension closed subcategories of $n$-angulated categories. For $n = 3$,
an $n$-angulated category is nothing but a classical triangulated category. Moreover, since every exact category can be embedded as an extension closed subcategory
of a triangulated category, the theory presented here includes important parts from the theory developed in \cite{Fu-et-al} and \cite{BM}.

In Section \ref{Section-weak-proper}, we give some terminology and some preliminary results. We recall the definition of $n$-angulated categories, and introduce the notion of
 almost $n$-exact structures in an extension closed subcategory ${\mathcal A}$ of an $n$-angulated category.

In Section \ref{section-precovering}, we study some general properties of precovers and preenvelops associated to some (phantom) ideals in ${\mathcal A}$. We introduce the notions of ${\mathfrak{E}_n}$-projective and ${\mathfrak{E}_n}$-injective morphisms associated to an almost $n$-exact structure ${\mathfrak{E}_n}$.  It is proved that the existence of enough ${\mathfrak{E}_n}$-injective or ${\mathfrak{E}_n}$-projective morphisms is connected with the existence of some ideal precovers or preenvelopes, see Theorem \ref{Th-procov-vs-Iinj}.
Then we define the orthogonality of morphisms associated to an almost $n$-exact structure ${\mathfrak{E}_n}$, and we introduce special precovering and special preenveloping ideals.  In this context one of the main results is Salce's Lemma (Theorem \ref{salce-lemma}) which tells us that in many cases all
precovers/preenvelopes are special.
This lemma was appeared firstly in the study of approximation theory of objects, especially in the study of cotorsion theory \cite{Sa}, and  was extended to the ideal version associated to exact categories in \cite{Fu-et-al}, and associated to triangulated categories in \cite{BM}. In Theorem \ref{salce-lemma} we will prove the corresponding result in the setting of $n$-angulated categories. We also introduce the notion of (complete) ideal cotrosion pairs in terms of the orthogonality of morphisms and ideals, and  apply the previous work  to obtain a characterization for complete ideal cotorsion pairs, see Theorem \ref{cotorsion-precovering}.

The main aim of Section \ref{Section-relative-cotorsion-pairs} is to provide characterizations for complete ideal torsion pairs.
Let ${\mathfrak{F}_n}$ be an almost $n$-exact structure which is included in ${\mathfrak{E}_n}$. We first construct ideals from almost $n$-exact structures by introducing the notions of ${\mathfrak{F}_n}$-phantoms and ${\mathfrak{F}_n}$-cophantoms (relative to ${\mathfrak{E}_n}$). Following them, we can get
some kinds of orthogonal pairs of ideals. On the other hand, we can reverse this process by starting with an ideal, namely   we can define two kinds of almost $n$-exact structures $\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})$ and $\mathfrak{PO}_{\mathfrak{E}_n}({\mathcal I})$ associated to an ideal ${\mathcal I}$, which are called pullback and pushout
almost $n$-exact structures respectively. In this way we obtain two Galois correspondences between the class of ideals in ${\mathcal A}$ and the class of
 almost $n$-exact structures included in ${\mathfrak{E}_n}$ (Theorem \ref{Galois-correspondences}).
Based on the above work, we get the main result of this paper:

\medskip

{\bf Theorem.} {\rm (Theorem \ref{mainthA})}
Let $\mathcal{T}$ be an $n$-angulated category, and ${\mathcal A}$ a full subcategory of $\mathcal{T}$ which is closed under extensions.
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$ such that there are enough ${\mathfrak{E}_n}$-injective morphisms
and ${\mathfrak{E}_n}$-projective morphisms, and let $({\mathcal I},{\mathcal J})$ be an ideal cotorsion pair in ${\mathcal A}$.
Then the following statements are equivalent.
\begin{enumerate}[{\rm (a)}]
 \item ${\mathcal I}$ is precovering.
 \item ${\mathcal I}$ is special precovering.
 \item ${\mathcal J}$ is preenveloping.
 \item ${\mathcal J}$ is special preenveloping.
\item There exists an almost $n$-exact structure ${\mathfrak{H}_n}\subseteq {\mathfrak{E}_n}$ with enough special injective morphisms such that ${\mathcal I}=\mathrm{\Phi}_{\mathfrak{E}_n}({\mathfrak{H}_n})$.
\item There exists an almost $n$-exact structure ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$ with enough injective morphisms such that ${\mathcal I}={\Phi}_\frakE(\frakF)$.
\item There exists an almost $n$-exact structure ${\mathfrak{H}_n}\subseteq {\mathfrak{E}_n}$ with enough special injective morphisms such that
${\mathcal J}={\mathfrak{H}_n}\text{-}\mathrm{inj}$.
\item There exists an almost $n$-exact structure $\mathfrak{G}_n\subseteq {\mathfrak{E}_n}$ with enough special projective morphisms such that ${\mathcal J}={\Phi}^\frakE(\frakG)$.
\item There exists an almost $n$-exact structure $\mathfrak{F}_n\subseteq {\mathfrak{E}_n}$ with enough projective morphisms such that ${\mathcal J}={\Phi}^\frakE(\frakF)$.
\item There exists an almost $n$-exact structure $\mathfrak{G}_n\subseteq {\mathfrak{E}_n}$ with enough special projective morphisms such that
${\mathcal I}=\mathfrak{G}_n\text{-}\mathrm{proj}$.
\end{enumerate}

\section{Almost $n$-exact structures in $n$-angulated categories and ideals}\label{Section-weak-proper}

\subsection{$n$-angulated categories}

Let $\mathcal{T}$ be an additive category with an automorphism
$\Sigma$, and $n$ an integer greater or equal than three. A sequence of morphisms
in $\mathcal{T}$
\[
\mathfrak{d}: \ \ A_1\xra{\alpha_1} A_2\xra{\alpha_2}\cdots\xra{\alpha_{n-1}} A_n\xra{\alpha_n}\Sigma A_1
\]
is an $n$-$\Sigma$-\emph{sequence}. Its \emph{left rotation} is the
$n$-$\Sigma$-sequence
\[
A_2 \xra{\alpha_2} A_3 \xra{\alpha_3}\cdots\xra{\alpha_n}
\Sigma A_1\xra{(-1)^n\Sigma\alpha_1} \Sigma A_2.
\]
The $n$-$\Sigma$-sequences of the form
$A\xra{1_A} A \xra{} 0 \xra{}\cdots  \xra{}0 \xra{} \Sigma A$
for $A\in\mathcal{T}$, and their rotations, are called \emph{trivial}.

An $n$-$\Sigma$-sequence $\mathfrak{d}$ is \emph{exact} if the induced sequence
\[
\mathcal{T}(-,\mathfrak{d}):\quad\cdots\rightarrow\mathcal{T}(-,A_1)\rightarrow\mathcal{T}(-,A_2)\rightarrow\cdots\rightarrow\mathcal{T}(-,A_n)\rightarrow
\mathcal{T}(-,\Sigma A_1)\rightarrow\cdots
\]
 is exact. In particular, the trivial
$n$-$\Sigma$-sequences are exact.

A \emph{morphism} of $n$-$\Sigma$-sequences is given by
a sequence of morphisms $\varphi=(\varphi_1,\varphi_2,\ldots,\varphi_n)$ such
that the following diagram commutes:
\[
\xymatrix@=0.7cm{
& A_1\ar[r]^{\alpha_1}\ar[d]^{\varphi_1} & A_2\ar[r]^{\alpha_2}\ar[d]^{\varphi_2} &
A_3\ar[r]\ar[d]^{\varphi_3}&\cdots\ar[r] & A_n\ar[r]^{\alpha_n}\ar[d]^{\varphi_n} &\Sigma A_1\ar[d]^{\Sigma\varphi_1}  \\
&B_1\ar[r]^{\beta_1} &B_2\ar[r]^{\beta_2} & B_3\ar[r] &\cdots\ar[r]&B_n\ar[r]^{\beta_n} &\Sigma B_n
}
\]

We call a collection $\pentagon$ of $n$-$\Sigma$-sequences an
{\em $n$-angulation of  $(\mathcal{T},\Sigma)$}
and its elements $n$-\emph{angles}
if $\pentagon$ fulfills the following axioms:
\begin{itemize}
\item[(F1)]
  \begin{itemize}
  \item[(a)]
    $\pentagon$ is closed under direct sums and under taking direct summands.
  \item[(b)]
For each $A\in\mathcal{T}$, the trivial $n$-$\Sigma$ sequence
$$A\xra{1_A} A \xra{} 0 \xra{}\cdots  \xra{}0 \xra{} \Sigma A$$
  belongs to $\pentagon$.
  \item[(c)]
    For each morphism $\alpha_1: A_1\rightarrow A_2$ in $\mathcal{T}$, there exists an
    $n$-angle
    \[
A_1\xra{\alpha_1} A_2\xra{}\cdots\xra{} A_n\xra{}\Sigma A_1
\]
  \end{itemize}
\item[(F2)]
An $n$-$\Sigma$-sequence $\mathfrak{d}$ belongs to $\pentagon$
if and only if its left rotation
\[
A_2 \xra{\alpha_2} A_3 \xra{\alpha_3}\cdots\xra{\alpha_n}
\Sigma A_1\xra{(-1)^n\Sigma\alpha_1} \Sigma A_2
\]
belongs to $\pentagon$.
\item[(F3)] Each commutative diagram
\[
\xymatrix@=0.7cm{
& A_1\ar[r]^{\alpha_1}\ar[d]^{\varphi_1} & A_2\ar[r]^{\alpha_2}\ar[d]^{\varphi_2} &
A_3\ar[r]&\cdots\ar[r] & A_n\ar[r]^{\alpha_n} &\Sigma A_1\ar[d]^{\Sigma\varphi_1}  \\
&B_1\ar[r]^{\beta_1} &B_2\ar[r]^{\beta_2} & B_3\ar[r] &\cdots\ar[r]&B_n\ar[r]^{\beta_n} &\Sigma B_n
}
\]
with rows in $\pentagon$ can be completed to a morphism of $n$-$\Sigma$-sequences
\[
\xymatrix@=0.7cm{
& A_1\ar[r]^{\alpha_1}\ar[d]^{\varphi_1} & A_2\ar[r]^{\alpha_2}\ar[d]^{\varphi_2} &
A_3\ar[r]\ar@{-->}[d]^{\varphi_3}&\cdots\ar[r] & A_n\ar[r]^{\alpha_n}\ar@{-->}[d]^{\varphi_n} &\Sigma A_1\ar[d]^{\Sigma\varphi_1}  \\
&B_1\ar[r]^{\beta_1} &B_2\ar[r]^{\beta_2} & B_3\ar[r] &\cdots\ar[r]&B_n\ar[r]^{\beta_n} &\Sigma B_n.
}
\]

\item[(F4)]
In the situation of (F3) the morphisms $\varphi_3,\varphi_4,\ldots,\varphi_n$ can be
chosen such that the cone ${\rm Cone}(\varphi)$:
\[
\xymatrix{
A_2\oplus B_1\quad
\ar[r]^{\left(\begin{smallmatrix} -\alpha_2& 0\\ \phantom{-}\varphi_2&\beta_1\end{smallmatrix}\right)}&
\quad A_3\oplus B_2\quad
\ar[r]^{\left(\begin{smallmatrix} -\alpha_3& 0\\ \phantom{-}\varphi_3&\beta_2\end{smallmatrix}\right)}&
\quad \cdots\quad
\ar[r]^{\left(\begin{smallmatrix} -\alpha_n& 0\\ \phantom{-}\varphi_n&\beta_{n-1}\end{smallmatrix}\right)}&
\qquad\Sigma A_1\oplus B_n\quad
\ar[r]^{\left(\begin{smallmatrix} -\Sigma\alpha_1& 0\\ \phantom{-}\Sigma\varphi_1& \beta_n\end{smallmatrix}\right)}&
\quad \Sigma A_2\oplus \Sigma B_1
}
\]
belongs to $\pentagon$.
\end{itemize}

Let $\mathcal{T}$ be an additive category with an automorphism
$\Sigma$, and $n$ an integer greater or equal than three.  The triple $(\mathcal{T},\Sigma,\pentagon)$ is called an $n$-\emph{angulated} category if $\pentagon$ is an
{ $n$-angulation of  $(\mathcal{T},\Sigma)$}. We usually say that $\mathcal{T}$ is an $n$-angulated category if there is no confusion.

\begin{remark}\label{2.1.1}
Let $\mathcal{T}$ be an $n$-angulated category.
\begin{itemize}
  \item[(1)] Given any $n$-angle $$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_n\overset{\alpha_n}\to \Sigma A_1$$
  and any morphism $g:A_1\to C_1$ in $\mathcal{T}$. By (F1)(c), we have an $n$-angle
  $$A_n\overset{\Sigma g\alpha_n}\to \Sigma C_1\to \Sigma C_2\to \cdots \to \Sigma C_{n-1}\to \Sigma A_n$$
  in $\mathcal{T}$.  Moreover, by (F3) and (F2), we can get the following morphism of $n$-angles
 \[\xymatrix@=0.5cm{
  \mathfrak{d}:& A_1\ar[r]^{\alpha_1}\ar[d]^g & A_2\ar[r]^{\alpha_2}\ar[d]& \cdots \ar[r]& A_{n-1}\ar[r] \ar[d]   & A_n\ar[r]^{\alpha_n}  \ar@{=}[d]   & \Sigma A_1 \ar[d]^{\Sigma g}\\
  g\mathfrak{d}: & C_1\ar[r] &C_2\ar[r]& \cdots \ar[r]& C_{n-1}\ar[r]    & A_n\ar[r]^{\Sigma g \alpha_n}     & \Sigma C_1.         }\

  Dually,  given any $n$-angle
 $$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_n\overset{\alpha_n}\to \Sigma A_1$$  and any morphism $f:B_n\to A_n$  in ${\mathcal A}$. By (F1)(c) and (F2), we have an $n$-angle
  \[\xymatrix@=0.5cm{
  \mathfrak{d}f:& A_1\ar[r] & B_2\ar[r]& \cdots \ar[r]& B_{n-1}\ar[r]    & B_n\ar[r]^{\alpha_n f}     & \Sigma A_1. }\]
 Moreover, by (F3) and (F2), we can get the following morphism of $n$-angles
 \[\xymatrix@=0.5cm{
  \mathfrak{d}f:& A_1\ar[r]\ar@{=}[d] & B_2\ar[r]\ar[d]& \cdots \ar[r]& B_{n-1}\ar[r] \ar[d]   & B_n\ar[r]^{\alpha_n f}  \ar[d]^f   & \Sigma A_1 \ar@{=}[d]\\
  \mathfrak{d}: & A_1\ar[r]^{\alpha_1} &A_2\ar[r]^{\alpha_2}& \cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]^{\alpha_n}     & \Sigma A_1.         }\

 \item[(2)] By \cite[Proposition 2.5]{GKO}, each $n$-angle is  exact. The following statements are obvious.
 \begin{itemize}
   \item [(i)] Given any $n$-angle $$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_n\overset{\alpha_n}\to \Sigma A_1$$ in $\mathcal{T}$. Then $\alpha_{i+1}\alpha_i=0$ for any $1\leq i\leq n-1$, and $(\Sigma \alpha_1)\alpha_n=0$.
   \item [(ii)] For any $1\leq i\leq n-1$, if $f:A_i\to B$ is a morphism with $f\alpha_{i-1}=0$, then there exists a morphism $g:A_{i+1}\to B$ such that $f=g\alpha_i$, that is, there is the following commutative diagram:
      \[\xymatrix@=0.5cm{
   A_1\ar[r]^{\alpha_1} & \cdots \ar[r]& A_{i-1}\ar[r]^{\alpha_{i-1}}\ar[rd]_0& A_{i}\ar[r]^{\alpha_i}\ar[d]^f & A_{i+1}\ar[r]^{\alpha_{i+1}}\ar@{.>}[ld]^g&\cdots\ar[r]   & A_n\ar[r]^{\alpha_n}    & \Sigma A_1 \\
     &&&B&& & }.\]
     \item [(iii)] For any $1\leq i\leq n-1$, if $f:B\to A_i$ is a morphism with $\alpha_{i}f=0$, then there exists a homomorphism $g:B\to A_{i-1}$ such that $f=\alpha_{i-1}g$, that is, there is the following commutative diagram:
      \[\xymatrix@=0.7cm{
      &&&B\ar@{.>}[ld]_g\ar[d]^f\ar[rd]^0&& &\\
   A_1\ar[r]^{\alpha_1} & \cdots \ar[r]& A_{i-1}\ar[r]^{\alpha_{i-1}}& A_{i}\ar[r]^{\alpha_i} & A_{i+1}\ar[r]^{\alpha_{i+1}}&\cdots\ar[r]   & A_n\ar[r]^{\alpha_n}    & \Sigma A_1
     }.\]
 \end{itemize}
 \item[(3)] Following \cite[Lemma 3.1.3]{F}, for an $n$-angle $$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_{n-1}\overset{\alpha_{n-1}}\to A_n\overset{\alpha_n}\to \Sigma A_1$$ in $\mathcal{T}$, the following are equivalent:
     \begin{enumerate}[{\rm (i)}]
       \item $\alpha_n=0$.
       \item $\alpha_1$ is a split monomorphism.
       \item $\alpha_{n-1}$ is a split epimorphism.
     \end{enumerate}
     If one of the above condition holds, then we call the $n$-angle $\mathfrak{d}$ \emph{split}.
  \end{itemize}
\end{remark}

\subsection{Almost $n$-exact structures}

Let ${\mathcal{T}}$ be an $n$-angulated category. If
$$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_n\overset{\alpha_n}\to \Sigma A_1$$ is an $n$-angle in ${\mathcal{T}}$, we will say that $\alpha_n$ is the phantom map corresponding to
$\mathfrak{d}$.

If ${\mathcal A}$ is a full subcategory (closed with respect to isomorphisms)
of ${\mathcal{T}}$, one says that it is \textsl{closed under extensions} if for every $n$-angle
$$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_n\overset{\alpha_n}\to \Sigma A_1$$ in ${\mathcal{T}}$
such that
 $A_1$ and $A_n$ are objects in ${\mathcal A}$ then $A_2,\cdots, A_{n-1}$ are  objects in ${\mathcal A}$, see \cite[Definition 3.6]{L0}. We will denote by $\mathfrak{D}_{\mathcal A}$ the class of all
  $n$-angles
  $$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_{n-1}\overset{\alpha_{n-1}}\to A_n\overset{\alpha_n}\to \Sigma A_1$$
   such that $A_1,A_2,\cdots, A_n\in{\mathcal A}$. In this case, we will say that
\begin{itemize}
  \item $\mathfrak{d}$ is an \textsl{$n$-angle from ${\mathcal A}$} or in $\mathfrak{D}_{\mathcal A}$.
  \item $\alpha_1$ is a $\mathfrak{D}_{\mathcal A}$-inflation.
  \item $\alpha_{n-1}$ is a $\mathfrak{D}_{\mathcal A}$-deflation.
\end{itemize}

Assume that $\mathcal{A}$ is a full subcategory of ${\mathcal{T}}$ which is closed under extensions.
A class of $n$-angles ${\mathfrak{E}_n}\subseteq \mathfrak{D}_{\mathcal A}$ is called an \textsl{almost $n$-exact structure} for ${\mathcal A}$ if it satisfies the following conditions:
\begin{enumerate}[{\rm (N1)}]
 \item ${\mathfrak{E}_n}$ is closed under
 direct sums and contains {all split $n$-angles},
 \item If
 $$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_n\overset{\alpha_n}\to \Sigma A_1$$ is an $n$-angle in ${\mathfrak{E}_n}$ and $f:B_n\to A_n$ is a morphism in ${\mathcal A}$, then
 the top $n$-angle $\mathfrak{d}f$ in each morphism of $n$-angles
 \[\xymatrix@=0.5cm{
  \mathfrak{d}f:& A_1\ar[r]\ar@{=}[d] & B_2\ar[r]\ar[d]& \cdots \ar[r]& B_{n-1}\ar[r] \ar[d]   & B_n\ar[r]^{\alpha_n f}  \ar[d]^f   & \Sigma A_1 \ar@{=}[d]\\
  \mathfrak{d}: & A_1\ar[r]^{\alpha_1} &A_2\ar[r]^{\alpha_2}& \cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]^{\alpha_n}     & \Sigma A_1         }\
is in ${\mathfrak{E}_n}$.
\item
 If
 $$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_n\overset{\alpha_n}\to \Sigma A_1$$ is an $n$-angle in ${\mathfrak{E}_n}$ and $g:A_1\to C_1$ is a morphism in ${\mathcal A}$, then
 the bottom $n$-angle $g\mathfrak{d}$ in each morphism of $n$-angles
 \[\xymatrix@=0.5cm{
  \mathfrak{d}:& A_1\ar[r]^{\alpha_1}\ar[d]^g & A_2\ar[r]^{\alpha_2}\ar[d]& \cdots \ar[r]& A_{n-1}\ar[r] \ar[d]   & A_n\ar[r]^{\alpha_n}  \ar@{=}[d]   & \Sigma A_1 \ar[d]^{\Sigma g}\\
  g\mathfrak{d}: & C_1\ar[r] &C_2\ar[r]& \cdots \ar[r]& C_{n-1}\ar[r]    & A_n\ar[r]^{\Sigma g \alpha_n}     & \Sigma C_1         }\
is in ${\mathfrak{E}_n}$.
\end{enumerate}

Throughout this paper, unless otherwise stated, {we always assume that ${\mathcal{T}}$ is an $n$-angulated category, ${\mathcal A}$ is a full subcategory which is closed under extensions,
and ${\mathfrak{E}_n}$ is an almost $n$-exact structure for ${\mathcal A}$.}

Let
$$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_{n-1}\overset{\alpha_{n-1}}\to A_n\overset{\alpha_n}\to \Sigma A_1$$
be an $n$-angle which lies in  ${\mathfrak{E}_n}$.
We will say that \begin{itemize} \item  $\alpha_1$ is a
{\it ${\mathfrak{E}_n}$-inflation},
\item $\alpha_{n-1}$ is a {\it ${\mathfrak{E}_n}$-deflation}, and
\item $\alpha_n$ is a {\it ${\mathfrak{E}_n}$-phantom}.
\end{itemize}
We denoted by ${{\Phi}_n}({\mathfrak{E}_n})$ the class of all ${\mathfrak{E}_n}$-phantoms.

\begin{lemma}\label{infl-defl-factors}\label{lemma-factorizari-2}
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for $\mathcal{A}$, and let $f:A_1\to B_2$ and $g:B_2\to A_2$  be morphisms in ${\mathcal A}$.
\begin{enumerate}[{\rm (1)}]
\item If $f$ is a $\mathfrak{D}_{\mathcal A}$-inflation and $gf$ is a ${\mathfrak{E}_n}$-inflation then  $f$ is a ${\mathfrak{E}_n}$-inflation.
\item If $g$ is a $\mathfrak{D}_{\mathcal A}$-deflation and $gf$ is a ${\mathfrak{E}_n}$-deflation then  $g$ is a ${\mathfrak{E}_n}$-deflation.
\end{enumerate}
\end{lemma}

\begin{proof}
We only prove (1), and (2) is similar. Since $f$ is a $\mathfrak{D}_{\mathcal A}$-inflation, there is an  $n$-angles
\[\xymatrix@=0.5cm{
   A_1\ar[r]^f & B_2\ar[r]& \cdots \ar[r]& B_{n-1}\ar[r]   & B_n\ar[r]   & \Sigma A_1 }\
 in $\mathfrak{D}_{\mathcal A}$. Since  $gf$ is a ${\mathfrak{E}_n}$-inflation, there is an $n$-angle
\[\xymatrix@=0.5cm{
    A_1\ar[r]^{gf} &A_2\ar[r]& \cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]     & \Sigma A_1.         }\
in ${\mathfrak{E}_n}$ (of course, in $\mathfrak{D}_{\mathcal A}$).  By (F3), there is a morphism of $n$-angles
\[\xymatrix@=0.5cm{
   A_1\ar[r]^f\ar@{=}[d] & B_2\ar[r]\ar[d]^g& \cdots \ar[r]& B_{n-1}\ar[r] \ar[d]   & B_n\ar[r]  \ar[d]   & \Sigma A_1 \ar@{=}[d]\\
    A_1\ar[r]^{gf} &A_2\ar[r]& \cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]     & \Sigma A_1.         }\
    Finally, since ${\mathfrak{E}_n}$ is an almost $n$-exact structure for $\mathcal{A}$, the top row is in ${\mathfrak{E}_n}$ by (N2), and hence $f$ is a ${\mathfrak{E}_n}$-inflation.
\end{proof}

\subsection{Phantom ${\mathcal A}$-ideals}

For a subcategory ${\mathcal A}$  of ${\mathcal{T}}$ we denote  by ${\mathcal A}^{\to}$ the class of all morphisms in ${\mathcal A}$. Recall that an \textsl{ideal} $\mathcal{I}$ in ${\mathcal A}$ is a class of morphisms in ${\mathcal A}^\to$ which is closed under  sums of morphisms,
and for every chain
of composable  morphisms $A\overset{f}\to B\overset{i}\to C\overset{g}\to D$ in ${\mathcal A}$,
if $i\in{\mathcal I}$ then $gif\in{\mathcal I}$, or equivalently, ${\mathcal I}(-,-)$ is a subfunctor of the Hom-bifunctor ${\mathcal A}(-,-)$.

Let $\mathcal{I}$ be a
class of morphisms in ${\mathcal A}$. We write ${\rm Ob}(\mathcal{I}) := \{A\in{\mathcal A}  \mid 1_A \in \mathcal{I}\}$. Let ${\mathcal X}$ be a full subcategory of ${\mathcal A}$.
 Then we define
  \[<{\mathcal X}>=\{i\in{\mathcal A}^\to\mid i\hbox{ factors through an object in }{\mathcal X}\}.\]
 If $\mathcal{I} = <{\rm Ob}(\mathcal{I})>$, then we call $\mathcal{I}$ an object ideal, that is,
it is generated by itself objects.

Recall from \cite[Definition 2.2.2]{BM} that  a class ${\mathcal E}$ of morphisms in ${\mathcal{T}}$ is called a \textsl{phantom ${\mathcal A}$-ideal} if
\begin{enumerate}[(P1)]
\item ${\mathcal E}\subseteq {\mathcal{T}}({\mathcal A},\Sigma{\mathcal A})=\bigcup_{A,B\in {\mathcal A}}{\mathcal{T}}(A,\Sigma B),$
\item ${\mathcal E}$ is closed under  sums of morphisms,
and
\item $\Sigma{\mathcal A}^{\to}{\mathcal E}{\mathcal A}^\to\subseteq {\mathcal E}$, i.e. for every chain
of composable  morphisms $$A\overset{f}\to B\overset{i}\to \Sigma C\overset{\Sigma g}\to \Sigma D$$ in ${\mathcal{T}}$
such that $i\in{\mathcal E}$ and $f,g\in{\mathcal A}^\to$ we have $(\Sigma g)if\in{\mathcal E}$.
\end{enumerate}

In general, phantom ${\mathcal A}$-ideals and ideals in ${\mathcal A}$ are different notions. However,
if $\Sigma{\mathcal A}={\mathcal A}$, in particular for ${\mathcal A}={\mathcal{T}}$, then  a class of morphisms ${\mathcal I}$ is a phantom ${\mathcal A}$-ideal if and only if it is an ideal in ${\mathcal A}$.

It is easy to check that ${{\Phi}_n}({\mathfrak{E}_n})$ is a phantom ${\mathcal A}$-ideal.  In fact,
there is an 1-to-1 correspondence between almost $n$-exact structures and
phantom ${\mathcal A}$-ideals as follows.

\begin{proposition}\label{pseudo-ph-vs-wpc}
Let ${\mathfrak{E}_n}$ be a class of $n$-angles in $\mathfrak{D}_{\mathcal A}$. %
Then the following are equivalent.
\begin{enumerate}[{\rm (a)}]
 \item ${\mathfrak{E}_n}$ is an almost $n$-exact structure for ${\mathcal A}$;
 \item $\Sigma{\mathcal A}^{\to}{{\Phi}_n}({\mathfrak{E}_n}){\mathcal A}^\to\subseteq {{\Phi}_n}({\mathfrak{E}_n})$ and ${{\Phi}_n}({\mathfrak{E}_n})$ is closed under (direct) sums of morphisms.
\end{enumerate}

Consequently, \begin{enumerate}[{\rm (i)}]
               \item
If ${\mathfrak{E}_n}$ is an almost $n$-exact structure for ${\mathcal A}$, then ${{\Phi}_n}({\mathfrak{E}_n})$ is a phantom ${\mathcal A}$-ideal,
and
\item for every phantom ${\mathcal A}$-ideal ${\mathcal I}$ the class $$\mathfrak{D}_{\mathcal A}({\mathcal I}):=\{\mathfrak{d}\in\mathfrak{D}_{\mathcal A}\mid \hbox{the phantom of }\mathfrak{d}\hbox{ is in }{\mathcal I}\}$$
is an almost $n$-exact structure for ${\mathcal A}$.
\item The correspondences from {\rm (i)} and {\rm (ii)} above are inverse to each other.
\end{enumerate}
\end{proposition}

\begin{example}
Let $\mathcal{B}$ be a full subcategory in ${\mathcal{T}}
and let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$.
Then ${\mathcal B}$ induces
an almost $n$-exact structure $\mathfrak{F}_{\mathcal B}\subseteq {\mathfrak{E}_n}$ defined by the condition
$${{\Phi}_n}(\mathfrak{F}_{\mathcal B})=\{\varphi\in{{\Phi}_n}({\mathfrak{E}_n})\mid \varphi \text{ factorizes through an object } X\in{\mathcal B}\}.$$
\end{example}

Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$.
Given two $n$-angles
\[\xymatrix@=0.5cm{
 \mathfrak{d}: & A_1\ar[r] & B_2\ar[r]& \cdots \ar[r]& B_{n-1}\ar[r]   & A_n\ar[r]^{\alpha_n}    & \Sigma A_1 }\
and
\[\xymatrix@=0.5cm{
\mathfrak{d'}:& A_1\ar[r] &A_2\ar[r]& \cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]^{\alpha_n}     & \Sigma A_1.         }\
in ${\mathfrak{E}_n}$.
We write $\mathfrak{d}\rightsquigarrow\mathfrak{d'}$  if there is a morphism of $n$-angles of the form:
\[\xymatrix@=0.5cm{
 \mathfrak{d}: & A_1\ar[r]\ar@{=}[d] & B_2\ar[r]\ar[d]^{f_2}& \cdots \ar[r]& B_{n-1}\ar[r] \ar[d]^{f_{n-1}}   & A_n\ar[r]  \ar@{=}[d]   & \Sigma A_1 \ar@{=}[d]\\
\mathfrak{d'}:& A_1\ar[r] &A_2\ar[r]& \cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]     & \Sigma A_1.         }\
The relation $\rightsquigarrow$ satisfies the properties of reflexivity and transitivity, and thus generates  an equivalence relation $\thicksim$ on the class of all $n$-angles in ${\mathfrak{E}_n}$
starting in $A_1$ and ending in $A_n$.

Since two $n$-angles in ${\mathfrak{E}_n}$ are equivalent if and only if they have the same ${\mathfrak{E}_n}$-phantom, it follows that the class of all $n$-angles in ${\mathfrak{E}_n}$ starting in $A_1$ and ending in $A_n$ is a set modulo the equivalence of $n$-angles. We denote by ${\mathfrak{E}_n}(A_n,A_1)$ this set.

By assigning to each $n$-angle in ${\mathfrak{E}_n}$ its ${\mathfrak{E}_n}$-phantom map we have an isomorphism
\[{\mathfrak{E}_n}(A_n,A)\cong{{\Phi}_n}({\mathfrak{E}_n})(A_n,\Sigma A).\]

\begin{remark}
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$ and let
$$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_n\overset{\alpha_n}\to \Sigma A_1$$
 be an $n$-angle in ${\mathfrak{E}_n}$.
If $f:X\to A_n$ and $g:A_1\to Y$ are two morphisms, we can construct the following morphisms of $n$-angles:
\[ \xymatrix@=0.5cm{ \mathfrak{d}: & A_1\ar[r]\ar@{=}[d] & A_2\ar[r]\ar@{<-}[d]&\cdots\ar[r]& A_{n-1} \ar[r]\ar@{<-}[d]  & A_n \ar[r]^{\phi}\ar@{<-}[d]^{f} & \Sigma A_1\ar@{=}[d]\\
\mathfrak{d}f: & A_1\ar[r]\ar[d]^{g} & B_2\ar[r]\ar[d] &\cdots\ar[r]& B_{n-1} \ar[r]\ar[d] &X \ar[r]^{\phi f}\ar@{=}[d] & \Sigma A_1\ar[d]^{\Sigma g} \\
g(\mathfrak{d}f): & Y\ar[r] & C_2\ar[r]&\cdots\ar[r] & C_{n-1} \ar[r]& X \ar[r]^{(\Sigma g)\phi f} & \Sigma C_1
}\]
We can also construct the following morphisms of $n$-angles:
 \[ \xymatrix@=0.5cm{ \mathfrak{d}: & A_1\ar[r]\ar[d]^g & A_2\ar[r]\ar[d]&\cdots\ar[r]& A_{n-1} \ar[r]\ar[d]  & A_n \ar[r]^{\phi}\ar@{=}[d] & \Sigma A_1\ar[d]^{\Sigma g}\\
g\mathfrak{d}: & Y\ar[r]\ar@{=}[d] & B'_2\ar[r] &\cdots\ar[r]& B'_{n-1} \ar[r] &A_n\ar[r]^{(\Sigma g)\phi} & \Sigma Y\ar@{=}[d] \\
(g\mathfrak{d})f: & Y\ar[r] & C'_2\ar[u]\ar[r]&\cdots\ar[r] & C'_{n-1} \ar[u]\ar[r]& X\ar[u]^f \ar[r]^{(\Sigma g)\phi f} & \Sigma C_1
}\]
Since both $n$-angles $g(\mathfrak{d}f)$ and $(g\mathfrak{d})f$ have the same ${\mathfrak{E}_n}$-phantom map, namely $(\Sigma g)\alpha_n f$, it follows that $g(\mathfrak{d}f)$ and $(g\mathfrak{d})f$  are equivalent.
\end{remark}

An almost $n$-exact structure ${\mathfrak{E}_n}$ is called an {\it $n$-exact structure} provided that it satisfies one of the equivalent conditions in the following lemma.

\begin{lemma}
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$.
The following statements are equivalent.

\begin{enumerate}[{\rm (a)}]
\item If $A_1,C_1,A_n\in{\mathcal A}$, $i:A_1\to C_1$ is a ${\mathfrak{E}_n}$-inflation and $\alpha_n:A_n\to \Sigma A_1$, then $(\Sigma i)\alpha_n\in{{\Phi}_n}({\mathfrak{E}_n})$ implies $\alpha_n\in{{\Phi}_n}({\mathfrak{E}_n})$.
\item  Given any commutative diagram
\[\xymatrix@=0.5cm{
  \mathfrak{d}:& A_1\ar[r]^{\alpha_1}\ar[d]^i & A_2\ar[r]^{\alpha_2}\ar[d]& \cdots \ar[r]& A_{n-1}\ar[r] \ar[d]   & A_n\ar[r]^{\alpha_n}  \ar@{=}[d]   & \Sigma A_1 \ar[d]^{\Sigma i}\\
 i\mathfrak{d}: & C_1\ar[r] &C_2\ar[r]& \cdots \ar[r]& C_{n-1}\ar[r]    & A_n\ar[r]^{(\Sigma i) \alpha_n}     & \Sigma C_1         }\
   of $n$-angles in $\mathfrak{D}_{\mathcal A}$ with $i$ a ${\mathfrak{E}_n}$-inflation.
Then  $i\mathfrak{d}\in{\mathfrak{E}_n}$ implies  $\mathfrak{d}\in{\mathfrak{E}_n}$.
\item If $A_1,B_n,A_n\in{\mathcal A}$, $p:B_n\to A_n$ is a ${\mathfrak{E}_n}$-deflation and $\phi:A\to \Sigma C$, then $\alpha_n p\in{{\Phi}_n}({\mathfrak{E}_n})$ implies $\alpha_n\in{{\Phi}_n}({\mathfrak{E}_n})$.
\item Given any commutative diagram
 \[\xymatrix@=0.5cm{
  \mathfrak{d}p:& A_1\ar[r]\ar@{=}[d] & B_2\ar[r]\ar[d]& \cdots \ar[r]& B_{n-1}\ar[r] \ar[d]   & B_n\ar[r]^{\alpha_n p}  \ar[d]^p   & \Sigma A_1 \ar@{=}[d]\\
  \mathfrak{d}: & A_1\ar[r]^{\alpha_1} &A_2\ar[r]^{\alpha_2}& \cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]^{\alpha_n}     & \Sigma A_1         }\
   of $n$-angles in $\mathfrak{D}_{\mathcal A}$ with $p$ a ${\mathfrak{E}_n}$-deflation.
Then  $\mathfrak{d}p\in{\mathfrak{E}_n}$ implies $\mathfrak{d}\in {\mathfrak{E}_n}$.
\end{enumerate}
\end{lemma}

\begin{proof}
The equivalences (a)$\Leftrightarrow$(b) and (c)$\Leftrightarrow$(d) are obvious. Moreover, (a)$\Rightarrow$(c) and (c)$\Rightarrow$(a) are dual to each other, so we only prove (a)$\Rightarrow$(c).

{ Let $p:B_n\to A_n$ be a ${\mathfrak{E}_n}$-deflation and let $\alpha_n:A_n\to \Sigma A_1$ be a map such that $A_1,B_n,A_n\in{\mathcal A}$ and $\alpha_n p\in{{\Phi}_n}({\mathfrak{E}_n})$. Completing both $p$ and $\alpha_n p$ to $n$-angles we obtain the following commutative diagram:
\[\xymatrix{
 & A_2\ar[r]\ar[d] &\cdots\ar[r]&A_{n-1}\ar[r]\ar[d]& B_n\ar@{=}[d]\ar[r]^{p}    & A_n\ar[r]^{\psi}\ar[d]^{\alpha_n}   & \Sigma A_2\ar[d]\\
A_1\ar[r]^{i} & B_2\ar[r]&\cdots\ar[r]&B_{n-1}\ar[r]           & B_n\ar[r]^{\alpha_n p}    & \Sigma A_1\ar[r]^{-\Sigma i} &\Sigma B_2          \\
}\]
By hypothesis, $\psi\in{{\Phi}_n}({\mathfrak{E}_n})$, $i$ is an ${\mathfrak{E}_n}$-inflation and $(\Sigma i)\alpha_n\in{{\Phi}_n}({\mathfrak{E}_n})$. Then (a) implies
$\alpha_n\in{{\Phi}_n}({\mathfrak{E}_n})$.
}
\end{proof}

\section{Precovering and preenveloping ideals}\label{section-precovering}

\subsection{Precovers and preenvelopes}

Let ${\mathcal I}$ be an ideal in ${\mathcal A}$, and $A$ an object in ${\mathcal A}$.

A morphism $i:X\to A$ is called an {\it ${\mathcal I}$-precover} of $A$
if $i\in{\mathcal I}$ and for any other morphism $i':X'\to A$ in ${\mathcal I}$, there exists a morphism $g:X'\to X$ such that
the following diagram
\[
\xymatrix{&X'\ar@{.>}[ld]_g\ar[d]^{i'}\\
X\ar[r]^i&A}
\]
commutes.

The notion of an {\it ${\mathcal I}$-preenvelope} for an object is given dually.

The ideal ${\mathcal I}$ is a {\it precovering} (respectively, {\it preenveloping}) ideal
if every object from ${\mathcal A}$ has an ${\mathcal I}$-precover (respectively, ${\mathcal I}$-preenvelope).

Since the suspension functor is an equivalence, for every $n\in{\mathbb Z}$,
$i:X\to A$ is an ${\mathcal I}$-precover of $A$ if and only if $\Sigma^ni:\Sigma^nX\to \Sigma^nA$ is a $\Sigma^n{\mathcal I}$-precover of
$\Sigma^nA$. Similarly, $j:B\to Y$ is an ${\mathcal I}$-preenvelope of $B$ if and only if $\Sigma^nj:\Sigma^nB\to \Sigma^nY$ is a $\Sigma^n{\mathcal I}$-preenvelope of
$\Sigma^nB$.

We extend these notions for phantom ${\mathcal A}$-ideals in the following way: if ${\mathcal E}$ is a phantom ${\mathcal A}$-ideal and $A\in{\mathcal A}$,
we say that a morphism $\phi:X\to \Sigma A$ is an \textsl{${\mathcal E}$-precover} for $\Sigma A$
if $\phi\in{\mathcal E}$ and all morphisms $\phi':X'\to \Sigma A$ in ${\mathcal E}$ factorize through $\phi$. Dually,
an \textsl{${\mathcal E}$-preenvelope} for an object $B$ in ${\mathcal A}$ is a morphism
$\phi:B\to \Sigma Y$ which lies in ${\mathcal E}$ such that every other morphism $\phi':B\to \Sigma Y'$ from ${\mathcal E}$
factorizes through $\phi$. The phantom
${\mathcal A}$-ideal ${\mathcal E}$ is \textsl{precovering} (respectively, \textsl{preenveloping})
if every object from $\Sigma {\mathcal A}$ (respectively, ${\mathcal A}$) has an ${\mathcal E}$-precover (respectively, ${\mathcal E}$-preenvelope).

Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$.
We say that a morphism $f:X\to A$ in ${\mathcal A}$ is
\textsl{${\mathfrak{E}_n}$-projective} if $f$ is projective with respect to  all $n$-angles in ${\mathfrak{E}_n}$,
that is, $f$ factorizes through all ${\mathfrak{E}_n}$-deflations $A_{n-1}\to A$.
Dually, $g:A\to Y$ is \textsl{${\mathfrak{E}_n}$-injective} in ${\mathcal A}$ if $g$ is injective with respect to  all $n$-angles in ${\mathfrak{E}_n}$, that is,
$g$ factorizes through all ${\mathfrak{E}_n}$-inflations $A\to A_2$.
We denote by ${\mathfrak E}_n\text{-}\mathrm{proj}$ (${\mathfrak E}_n\text{-}\mathrm{inj}$) the class of all ${\mathfrak{E}_n}$-projective
(respectively, ${\mathfrak{E}_n}$-injective) morphisms.

\begin{lemma}\label{basic-CI-inj}
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$.
\begin{enumerate}[{\rm (a)}]
 \item A morphism $f:X\to A$ in ${\mathcal A}$ is ${\mathfrak{E}_n}$-projective if and only if ${{\Phi}_n}({\mathfrak{E}_n}) f=0$.
 \item  A morphism $g:A\to Y$ in ${\mathcal A}$ is ${\mathfrak{E}_n}$-injective if and only if $(\Sigma g) {{\Phi}_n}({\mathfrak{E}_n})=0$.
 \item ${\mathfrak E}_n\text{-}\mathrm{proj}$ and ${\mathfrak E}_n\text{-}\mathrm{inj}$ are ideals in ${\mathcal A}$.
 \item $\Sigma^m{\mathfrak{E}_n}\text{-}\mathrm{proj}=\Sigma^m({\mathfrak E}_n\text{-}\mathrm{proj})$ and $\Sigma^m{\mathfrak{E}_n}\text{-}\mathrm{inj}=\Sigma^m({\mathfrak E}_n\text{-}\mathrm{inj})$ for all $m\in{\mathbb Z}$,
 where $\Sigma^m{\mathfrak{E}_n}$ is viewed as an almost $n$-exact structure relative to the full subcategory $\Sigma^m{\mathcal A}$.
\end{enumerate}
\end{lemma}

\begin{proof}
We only prove (a), (b) is dual, and (c) and (d) are easy.

The if part of (a).
Assume  ${{\Phi}_n}({\mathfrak{E}_n}) f=0$. For any ${\mathfrak{E}_n}$-deflation $\alpha_{n-1}:A_{n-1}\to A$, we choose an $n$-angle
\[
\xymatrix@=0.5cm{A_1\ar[r]&\cdots\ar[r]&A_{n-1}\ar[r]^{\alpha_{n-1}}&A\ar[r]^\alpha&\Sigma A_1}
\]
in ${\mathfrak{E}_n}$. In particular, $\alpha\in{{\Phi}_n}({\mathfrak{E}_n})$, and hence
 $\alpha f=0$ by assumption. Thus $f$ factors through $\alpha_{n-1}$  by Remark \ref{2.1.1}(2)(iii).

 The only if part of (a). Assume that $f:X\to A$ is ${\mathfrak{E}_n}$-projective. For any $\alpha: A\to \Sigma A_1\in{{\Phi}_n}({\mathfrak{E}_n})$,
  we choose an $n$-angle
\[
\xymatrix@=0.5cm{A_1\ar[r]&\cdots\ar[r]&A_{n-1}\ar[r]^{\alpha_{n-1}}&A\ar[r]^-\alpha&\Sigma A_1}
\]
in ${\mathfrak{E}_n}$. By the definition of ${\mathfrak{E}_n}$-projective morphisms, there exists a morphism $g:X\to A_{n-1}$ such that the following diagram
\[
\xymatrix@=0.7cm{&&&X\ar@{.>}[ld]_g\ar[d]^f&\\
A_1\ar[r]&\cdots\ar[r]&A_{n-1}\ar[r]^-{\alpha_{n-1}}&A\ar[r]^-\alpha&\Sigma A_1}
\]
is commutative.
By Remark \ref{2.1.1}(2)(i), $\alpha f=\alpha \alpha_{n-1} g=0$. Thus ${{\Phi}_n}({\mathfrak{E}_n}) f=0$.
\end{proof}

The above mentioned connection is presented in the following results.

\begin{lemma}\label{Icov-vs-Iinjenv} Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure  for ${\mathcal A}$, and let
  $$\mathfrak{d}:A_1\overset{\alpha_1}\to A_2\overset{\alpha_2}\to \cdots\to A_{n-1}\overset{\alpha_{n-1}}\to A_n\overset{\alpha_n}\to \Sigma A_1$$
   be an $n$-angle in ${\mathfrak{E}_n}$.
  \begin{enumerate}[{\rm (1)}]
\item If  $\alpha_n$ is a ${{\Phi}_n}({\mathfrak{E}_n})$-precover for $\Sigma A_1$ and $d:X\to A_2$ is a morphism
 such that $\alpha_2d=0$, then $d\in{\mathfrak E}_n\text{-}\mathrm{inj}$. In particular $\alpha_1$ is a ${\mathfrak E}_n\text{-}\mathrm{inj}$-preenvelope of $A_1$.

 As a consequence, the following statements are equivalent:
 \begin{enumerate}[{\rm (a)}]
   \item $\alpha_n$ is a ${{\Phi}_n}({\mathfrak{E}_n})$-precover for $\Sigma A_1$.
   \item  $\alpha_1$ is a ${\mathfrak E}_n\text{-}\mathrm{inj}$-preenvelope of $A_1$.
   \item $\alpha_1$ is ${\mathfrak{E}_n}$-injective.
 \end{enumerate}

\item If  $\alpha_n$ is a ${{\Phi}_n}({\mathfrak{E}_n})$-preenvelope for $A_n$ and $d:A_{n-1}\to X$ is a morphism such that
$d\alpha_{n-2}=0$, then $d\in{\mathfrak E}_n\text{-}\mathrm{proj}$. In particular $\alpha_{n-1}$ is a ${\mathfrak E}_n\text{-}\mathrm{proj}$-precover for $A_n$.

As a consequence, the following statements are equivalent:
 \begin{enumerate}[{\rm (a)}]
   \item $\alpha_n$ is a ${{\Phi}_n}({\mathfrak{E}_n})$--preenvelope for $A_n$.
   \item  $\alpha_{n-1}$ is a ${\mathfrak E}_n\text{-}\mathrm{proj}$-precover for $A_n$.
   \item $\alpha_{n-1}$ is ${\mathfrak{E}_n}$-projective.
 \end{enumerate}
\end{enumerate}
\end{lemma}

\begin{proof} We only prove (1), and (2) is dual.

 Let $\psi:Y\to \Sigma X$ be a morphism in ${{\Phi}_n}({\mathfrak{E}_n})$.
Since $\alpha_2d=0$, by Remark \ref{2.1.1}(2)(ii) there exists a morphism $h:X\to A_1$ such that  $d=\alpha_1h$. Now $(\Sigma h)\psi:Y\to \Sigma A_1$ is in ${{\Phi}_n}({\mathfrak{E}_n})$
 because ${{\Phi}_n}({\mathfrak{E}_n})$ is a phantom ${\mathcal A}$-ideal. Since $\alpha_n$
 is a ${{\Phi}_n}({\mathfrak{E}_n})$-precover for $\Sigma A_1$,
 there exists a morphism $k:Y\to A_n$ such that  $(\Sigma h)\psi=\alpha_n k$. That is, we obtain the following commutative diagram:
 \[ \xymatrix{ & X\ar@{-->}[dl]_{h}\ar[d]^{d} && & & Y \ar@{-->}[dl]_{k}\ar[r]^{\psi} & \Sigma X\ar@{-->}[dl]_{\Sigma h}\ar[d]^{\Sigma d}   \\
 A_1 \ar[r]^{\alpha_1}& A_2\ar[r]^{\alpha_2}&\cdots\ar[r] & A_{n-1}\ar[r]^{\alpha_{n-1}} & A_n \ar[r]^{\alpha_n} & \Sigma A_1\ar[r]^{\Sigma \alpha_1} & \Sigma A_2
 .} \]
 Now $(\Sigma d)\psi=(\Sigma \alpha_1)(\Sigma h)\psi=(\Sigma \alpha_1)\alpha_n k=0$ by Remark \ref{2.1.1}(2)(i). Therefore $(\Sigma d){{\Phi}_n}({\mathfrak{E}_n})=0$, and so $d\in{\mathfrak E}_n\text{-}\mathrm{inj}$ by Lemma \ref{basic-CI-inj}(2).

In particular,  since $\alpha_2\alpha_1=0$, $\alpha_1$ is ${\mathfrak{E}_n}$-injective by the first assertion.
 Moreover, if
 $f':A_1\to B'$ is a morphism in ${\mathfrak E}_n\text{-}\mathrm{inj}$, by the definition of ${\mathfrak{E}_n}$-injective morphisms $f'$ has to factor through $\alpha_1$. Thus $\alpha_1$ is a ${\mathfrak E}_n\text{-}\mathrm{inj}$-preenvelope of $A_1$.

Finally, if $\alpha_1\in{\mathfrak E}_n\text{-}\mathrm{inj}$, then for every map $\psi:X\to \Sigma A_1$ from ${{\Phi}_n}({\mathfrak{E}_n})$ we
have $(\Sigma \alpha_1)\psi=0$  by Lemma \ref{basic-CI-inj}(2). Hence $\psi$ factors through $\alpha_n$ by Remark \ref{2.1.1}(2)(ii), and thus $\alpha_n$ is a ${{\Phi}_n}({\mathfrak{E}_n})$-precover for $\Sigma A_1$.
 \end{proof}

\begin{definition}\label{def-suficiente}
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$. We say that there are \textsl{enough ${\mathfrak{E}_n}$-injective morphisms}
if for every object $A$ there
 exists a ${\mathfrak{E}_n}$-inflation $f:A\to E$ which is ${\mathfrak{E}_n}$-injective.

Dually, there are \textsl{enough ${\mathfrak{E}_n}$-projective morphisms} if for every object $C$ there
 exists a ${\mathfrak{E}_n}$-deflation $g:P\to C$ which is ${\mathfrak{E}_n}$-projective.
\end{definition}

Now we show that the existence of enough ${\mathfrak{E}_n}$-injective (respectively, ${\mathfrak{E}_n}$-projective) morphisms is
equivalent to the precovering (respectively, preenveloping) property of the phantom ${\mathcal A}$-ideal ${{\Phi}_n}({\mathfrak{E}_n})$, and it recover \cite[Theorem 3.1.5]{BM} in case $n=3$.

\begin{theorem}\label{Th-procov-vs-Iinj}
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$
	\begin{enumerate}[{\rm (1)}]
\item The following are equivalent: \begin{enumerate}[{\rm (a)}]
\item  there are enough ${\mathfrak{E}_n}$-injective morphisms;
 \item ${{\Phi}_n}({\mathfrak{E}_n})$ is a precovering phantom ${\mathcal A}$-ideal.

 \end{enumerate}
\item The following are equivalent:  \begin{enumerate}[{\rm (a)}] \item there are enough ${\mathfrak{E}_n}$-projective morphisms;
 \item ${{\Phi}_n}({\mathfrak{E}_n})$ is a preenveloping phantom ${\mathcal A}$-ideal.
 \end{enumerate}
\end{enumerate}
\end{theorem}

\begin{proof}

(a)$\Rightarrow$(b) Let $A\in{\mathcal A}$. By (a), there exists an $n$-angle
$$A\overset{f}\to A_2\to \cdots \to A_{n}\overset{\phi}\to \Sigma A$$ in ${\mathfrak{E}_n}$ such that $f$ is ${\mathfrak{E}_n}$-injective. By  Lemma \ref{Icov-vs-Iinjenv}(1),
 $\phi$ is a
${{\Phi}_n}({\mathfrak{E}_n})$-precover for $\Sigma A$.

(b)$\Rightarrow$(a)
Suppose that ${{\Phi}_n}({\mathfrak{E}_n})$ is a precovering phantom ${\mathcal A}$-ideal. Let $A\in{\mathcal A}$.
If $\phi:A_n\to \Sigma A$ is a ${{\Phi}_n}({\mathfrak{E}_n})$-precover, we choose an $n$-angle
$A\overset{f}\to A_2\to \cdots \to A_n\overset{\phi}\to \Sigma A$ in ${\mathfrak{E}_n}$. Using Lemma \ref{Icov-vs-Iinjenv}(1), we
conclude that $f$ is a ${\mathfrak{E}_n}$-injective ${\mathfrak{E}_n}$-inflation.
\end{proof}

In the following we will present a method to construct almost $n$-exact structures with enough injective/projective morphisms.
We start with an construction of  almost $n$-exact structures for ${\mathcal A}$

Let ${\mathcal I}$ be an ideal in ${\mathcal A}$. Then $$\mathcal{E}^{{\mathcal I}}=\{\varphi\in{\mathcal{T}}({\mathcal A},\Sigma {\mathcal A})\mid (\Sigma i)\varphi=0\mbox{ for any }i\in{\mathcal I}\}$$ is a phantom ${\mathcal A}$-ideal,
hence the class ${\mathfrak{E}_n}^{\mathcal I}:=\mathfrak{D}_{{\mathcal A}}(\mathcal{E}^{{\mathcal I}})$ is an almost $n$-exact structure for ${\mathcal A}$ by Proposition \ref{pseudo-ph-vs-wpc}.
It is easy to see that ${\mathfrak{E}_n}^{\mathcal I}$ consists  of all $n$-angles
$A_1\to A_2\to\cdots \to A_n\overset{\varphi}\to \Sigma A_1$ from $\mathfrak{D}_{\mathcal A}$ with the property that all morphisms from ${\mathcal I}$ are ${\mathfrak{E}_n}^{\mathcal I}$-injective, that is,
 ${\mathcal I}\subseteq {\mathfrak{E}_n}^{\mathcal I}\mbox{-inj}$.

Dually, if we consider the phantom ${\mathcal A}$-ideal $$\mathcal{E}_{{\mathcal I}}=\{\varphi\in{\mathcal{T}}({\mathcal A},\Sigma {\mathcal A})\mid \varphi i=0\mbox{ for any }i\in{\mathcal I}\},$$
we obtain an almost $n$-exact structure ${\mathfrak{E}_n}_{\mathcal I}:= \mathfrak{D}_{{\mathcal A}}(\mathcal{E}_{{\mathcal I}})$ consisting of all $n$-angles
$A_1\to A_2\to\cdots \to A_n\overset{\varphi}\to \Sigma A_1$ from $\mathfrak{D}_{\mathcal A}$ with the property that ${\mathcal I}\subseteq{\mathfrak{E}_n}_{\mathcal I}\mbox{-proj}$.

\begin{proposition}\label{prop1-suficiente}
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$.
\begin{enumerate}[{\rm (1)}]
\item If there are enough ${\mathfrak{E}_n}$-injective morphisms, then ${\mathfrak{E}_n}={\mathfrak{E}_n}^{{\mathfrak{E}_n}\textrm{-}\mathrm{inj}}$.
\item If there are enough ${\mathfrak{E}_n}$-projective morphisms, then ${\mathfrak{E}_n}={\mathfrak{E}_n}_{{\mathfrak{E}_n}\textrm{-}\mathrm{proj}}$.
\end{enumerate}
\end{proposition}

\begin{proof} We only prove (1), and (2) is dual.

 Take ${\mathcal I}:={\mathfrak{E}_n}\textrm{-inj}$. By Lemma \ref{basic-CI-inj}(b), ${\mathfrak{E}_n}\subseteq{\mathfrak{E}_n}^{\mathcal I}$. Thus it is enough to prove the inclusion ${\mathfrak{E}_n}^{\mathcal I}\subseteq {\mathfrak{E}_n}$.

Let $$\xymatrix@=0.5cm{
  \mathfrak{d}:& A_1\ar[r] & A_2\ar[r]& \cdots \ar[r]& A_{n-1}\ar[r]   & A_n\ar[r]  & \Sigma A_1   }$$
   be an $n$-angle in ${\mathfrak{E}_n}^{\mathcal I}$. Let $\alpha:A_1\to B_2$ be a ${\mathfrak{E}_n}$-injective ${\mathfrak{E}_n}$-inflation. Since $\alpha\in{\mathcal I}\subseteq {\mathfrak{E}_n}^{\mathcal I}\mbox{-inj}$,
 we can construct a commutative diagram
\[\xymatrix@=0.5cm{
  A_1\ar[r]\ar@{=}[d] & A_2\ar[r]\ar[d]& \cdots \ar[r]& A_{n-1}\ar[r] \ar[d]   & A_n\ar[r]  \ar[d]   & \Sigma A_1 \ar@{=}[d]\\
   A_1\ar[r]^{\alpha} &B_2\ar[r]& \cdots \ar[r]& B_{n-1}\ar[r]    & B_n\ar[r]     & \Sigma A_1         }\
where the horizontal lines are $n$-angles in $\mathfrak{D}_{\mathcal A}$. Since the below $n$-angle is in ${\mathfrak{E}_n}$, the top one is also in ${\mathfrak{E}_n}$ by the condition (N2). Thus ${\mathfrak{E}_n}^{\mathcal I}\subseteq {\mathfrak{E}_n}$.
\end{proof}

It is easy to see that if ${\mathfrak{F}_n}$ and ${\mathfrak{E}_n}$ are almost $n$-exact structures for ${\mathcal A}$ such that ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$, then ${\mathfrak{E}_n}\text{-}\mathrm{inj}\subseteq
{\mathfrak{F}_n}\text{-}\mathrm{inj}$ and ${\mathfrak{E}_n}\text{-}\mathrm{proj}\subseteq {\mathfrak{F}_n}\text{-}\mathrm{proj}$. We can use the previous proposition to prove a converse for this implication.

\begin{corollary}\label{cor-prop1-suficiente}
Let ${\mathfrak{E}_n}$ and ${\mathfrak{F}_n}$ be almost $n$-exact structures for ${\mathcal A}$.
\begin{enumerate}[{\rm (1)}]
\item Suppose that there are enough ${\mathfrak{E}_n}$-injective morphisms. Then ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$
if and only if ${\mathfrak{E}_n}\text{-}\mathrm{inj}\subseteq {\mathfrak{F}_n}\text{-}\mathrm{inj}$
\item Suppose that there are enough ${\mathfrak{E}_n}$-projective morphisms. Then ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$
if and only if ${\mathfrak{E}_n}\text{-}\mathrm{proj}\subseteq {\mathfrak{F}_n}\text{-}\mathrm{proj}$.
\end{enumerate}
\end{corollary}

\begin{proof}
We only prove (1).  Suppose ${\mathfrak{E}_n}\text{-}\mathrm{inj}\subseteq {\mathfrak{F}_n}\text{-}\mathrm{inj}$. Since $\Sigma({\mathfrak{F}_n}\text{-}\mathrm{inj}){{\Phi}_n}({\mathfrak{F}_n})=0$, we have ${{\Phi}_n}({\mathfrak{F}_n})\subseteq \mathcal{E}^{{\mathfrak{F}_n}\text{-}\mathrm{inj}}$,
which implies that ${\mathfrak{F}_n}= \mathfrak{D}_{{\mathcal A}}({{\Phi}_n}({\mathfrak{F}_n}))\subseteq\mathfrak{D}_{{\mathcal A}}(\mathcal{E}^{{\mathfrak{F}_n}\text{-}\mathrm{inj}})={\mathfrak{E}_n}^{{\mathfrak{F}_n}\text{-}\mathrm{inj}}$. Then  ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}^{{\mathfrak{F}_n}\text{-}\mathrm{inj}}\subseteq {\mathfrak{E}_n}^{{\mathfrak{E}_n}\text{-}\mathrm{inj}}={\mathfrak{E}_n}$ by Proposition \ref{prop1-suficiente}.
\end{proof}

The following proposition shows that we can construct an almost $n$-exact structure with enough injective (respectively, projective) morphisms in terms of
a certain preenveloping (respectively, precovering) ideal, which extends \cite[Proposition 3.1.8]{BM}.

\begin{proposition}\label{subclasses-enough-inj}
Let ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$ be almost $n$-exact structures for ${\mathcal A}$.
\begin{enumerate}[{\rm (1)}]
\item If there are enough ${\mathfrak{E}_n}$-injective morphisms, then the following are equivalent:  \begin{enumerate}[{\rm (a)}]
\item there are enough ${\mathfrak{F}_n}$-injective morphisms;
\item  there exists a preenveloping ideal ${\mathcal I}$ in ${\mathcal A}$ such that ${\mathfrak{E}_n}\textrm{-}\mathrm{inj}\subseteq {\mathcal I}$, and ${\mathfrak{F}_n}={\mathfrak{E}_n}^{\mathcal I}$.
\end{enumerate}

\noindent Under these conditions, ${\mathfrak{F}_n}\text{-}\mathrm{inj}={\mathcal I}$.
\item If there are enough ${\mathfrak{E}_n}$-projective morphisms, then the following are equivalent: \begin{enumerate}[{\rm (a)}]
\item there are enough ${\mathfrak{F}_n}$-projective morphisms;
\item  there exists a precovering ideal ${\mathcal I}$ in ${\mathcal A}$ such that ${\mathfrak{E}_n}\textrm{-}\mathrm{proj}\subseteq {\mathcal I}$ and ${\mathfrak{F}_n}={\mathfrak{E}_n}_{\mathcal I}$.
 \end{enumerate}

\noindent Under these conditions, ${\mathfrak{F}_n}\text{-}\mathrm{proj}={\mathcal I}$.
\end{enumerate}
\end{proposition}

\begin{proof} We only prove (1).

(a)$\Rightarrow$(b) Take ${\mathcal I}={\mathfrak{F}_n}\textrm{-}\mathrm{inj}$. The conclusion follows from Definition \ref{def-suficiente} and Proposition
\ref{prop1-suficiente}.

(b)$\Rightarrow$(a) Suppose that ${\mathcal I}$ is a preenveloping ideal in ${\mathcal A}$ such that ${\mathfrak{E}_n}\textrm{-}\mathrm{inj}\subseteq {\mathcal I}$, and ${\mathfrak{F}_n}={\mathfrak{E}_n}^{\mathcal I}$. We will prove that there are  enough ${\mathfrak{E}_n}^{\mathcal I}$-injective morphisms. Let $A\in{\mathcal A}$.
We start with an $n$-angle
$$\xymatrix@=0.5cm{
 & A\ar[r]^e & E\ar[r]&B_3\ar[r]& \cdots \ar[r]& B_{n-1}\ar[r]   & B_n\ar[r]  & \Sigma A   }$$
  in ${\mathfrak{E}_n}$
such that $e$ is ${\mathfrak{E}_n}$-injective. Let $i:A\to I$ be an
${\mathcal I}$-preenvelope for $A$. Since $e\in {\mathfrak{E}_n}\textrm{-}\mathrm{inj}\subseteq{\mathcal I}$, there exists a morphism $g:I\to E$ such that $e=gi$. Choose an $n$-angle
$$\xymatrix@=0.5cm{
 & A\ar[r]^i & I\ar[r]&A_3\ar[r]& \cdots \ar[r]& A_{n-1}\ar[r]   & A_n\ar[r]  & \Sigma A.   }$$
Then we have a morphism of $n$-angles as follows:
\[\xymatrix@=0.5cm{
  A\ar[r]^i\ar@{=}[d] & I\ar[r]\ar[d]^g& A_3\ar[r]\ar[d]&\cdots \ar[r]& A_{n-1}\ar[r] \ar[d]   & A_n\ar[r]  \ar[d]   & \Sigma A \ar@{=}[d]\\
   A\ar[r]^{e} &E\ar[r]&B_3\ar[r]&  \cdots \ar[r]& B_{n-1}\ar[r]    & B_n\ar[r]     & \Sigma A         }\
By the condition (N2), we know that the top $n$-angle is in ${\mathfrak{E}_n}$, and hence  $i$ is an ${\mathfrak{E}_n}$-inflation.
Moreover, since $i$ is an ${\mathcal I}$-preenvelope, for any $i':A\to I'$, there exists a morphism $g:I\to I'$ such that $i'=gi$, which implies that
 $(\Sigma i')\varphi=(\Sigma g)(\Sigma i)\varphi=0 $. Thus the $n$-angle $$\xymatrix@=0.5cm{
 & A\ar[r]^i & I\ar[r]&A_3\ar[r]& \cdots \ar[r]& A_{n-1}\ar[r]   & A_n\ar[r]^{\varphi}  & \Sigma A   }$$
  is in ${\mathfrak{E}_n}^{\mathcal I}$, and hence
$i$ is a ${\mathfrak{E}_n}^{\mathcal I}$-injective ${\mathfrak{E}_n}^{\mathcal I}$-inflation.

For the last statement, let us observe that for every $A\in {\mathcal A}$ every ${\mathcal I}$-preenvelope $i:A\to I$ is a ${\mathfrak{F}_n}$-inflation.
Therefore, every ${\mathfrak{F}_n}$-injective morphism $A\to X$ factorizes through $i$,
hence ${\mathfrak{F}_n}\text{-}\mathrm{inj}\subseteq {\mathcal I}$ since ${\mathcal I}$ is an ideal. On the other hand, ${\mathcal I}\subseteq {\mathfrak{E}_n}^{\mathcal I}\text{-}\mathrm{inj}={\mathfrak{F}_n}\text{-}\mathrm{inj}$ since ${\mathfrak{F}_n}={\mathfrak{E}_n}^{\mathcal I}$.
Thus ${\mathfrak{F}_n}\text{-}\mathrm{inj}={\mathcal I}$.
\end{proof}

{

\begin{example}\label{ex-constr-suf-proj}
If ${\mathcal A}={\mathcal{T}}$ and ${\mathfrak{E}_n}=\pentagon$ is the class consisting of all $n$-angles in ${\mathcal{T}}$ then $\pentagon\mbox{-inj}=0$ and $\pentagon\mbox{-proj}=0$. Since in this case all morphisms are $\pentagon$-inflations and $\pentagon$-deflations, it follows that there are enough
$\pentagon$-injective morphisms and $\pentagon$-projective morphisms.

If ${\mathcal I}$ is a preenveloping (respectively, precovering) ideal, we consider the almost $n$-exact structure $\pentagon^{\mathcal I}$ (respectively, $\pentagon_{\mathcal I}$) of all $n$-angles $\mathfrak{d}$ such that all $i\in {\mathcal I}$ are injective (respectively, projective) relative to $\mathfrak{d}$. By what we just proved we obtain that $\pentagon^{\mathcal I}$
(respectively, $\pentagon_{\mathcal I}$) has enough injective (respectively, projective) morphisms and $\pentagon^{\mathcal I}\text{-}\mathrm{inj}={\mathcal I}$ (respectively, $\pentagon_{\mathcal I}\text{-}\mathrm{proj}={\mathcal I}$).
\end{example}
}

\subsection{Orthogonality}

\begin{definition}
We say that a morphism $f:X\to A$ from ${\mathcal A}$ is \textsl{left orthogonal}
(with respect to ${\mathfrak{E}_n}$)
to a morphism $g:B\to Y$ from ${\mathcal A}$,
and we denote this by $f\perp g$,
if $${\mathcal{T}}(f,\Sigma g)({{\Phi}_n}({\mathfrak{E}_n}))=0,$$ i.e.
$$(\Sigma g)\phi f=0$$
for all morphisms $\phi:A\to \Sigma B$ in ${{\Phi}_n}({\mathfrak{E}_n})$
\end{definition}

\begin{remark}
Let $f:X\to A$ and $g:B\to Y$ be morphisms in ${\mathcal A}$. The following are equivalent:
\begin{enumerate}[{\rm (a)}]
  \item $f\perp g$.
  \item for every $n$-angle \[\xymatrix@=0.5cm{ A_1\ar[r] & A_2\ar[r]&\cdots\ar[r]& A_{n-1} \ar[r]  & A_n \ar[r]^{\phi} & \Sigma A_1}\] in ${\mathfrak{E}_n}$, the bottom $n$-angle obtained in the following diagrams
 \[ \xymatrix@=0.5cm{ A_1\ar[r]\ar@{=}[d] & A_2\ar[r]\ar@{<-}[d]&\cdots\ar[r]& A_{n-1} \ar[r]\ar@{<-}[d]  & A_n \ar[r]^{\phi}\ar@{<-}[d]^{f} & \Sigma A_1\ar@{=}[d]\\
A_1\ar[r]\ar[d]^{g} & B_2\ar[r]\ar[d] &\cdots\ar[r]& B_{n-1} \ar[r]\ar[d] & B_n \ar[r]^{\phi f}\ar@{=}[d] & \Sigma A_1\ar[d]^{\Sigma g} \\
C_1\ar[r] & C_2\ar[r]&\cdots\ar[r] & C_{n-1} \ar[r]& B_n \ar[r]^{(\Sigma g)\phi f} & \Sigma C_1
}\]
is split.
\end{enumerate}
\end{remark}

\begin{example}
If ${\mathcal A}={\mathcal{T}}$ and
${\mathfrak{E}_n}=\pentagon$, then $f\perp g$ if and only if ${\mathcal{T}}(f,\Sigma g)=0$.
\end{example}

\begin{lemma}\label{lema-ort-basic}
Let $f:A_{n-1}\to A_n$ and $g:B_1\to  B_2$ be two morphisms in ${\mathcal A}$. The following are equivalent:
\begin{enumerate}[{\rm (1)}]
 \item $f\perp g$;
 \item every morphism $\phi:A_n\to \Sigma B_1$ in ${{\Phi}_n}({\mathfrak{E}_n}) $ induces a morphism of $n$-angles
 \[ \xymatrix@=0.5cm{ A_1 \ar[r] \ar@{-->}[d]&A_2\ar[r]\ar@{-->}[d]&\cdots\ar[r] & A_{n-1}\ar[r]^f \ar@{-->}[d] & A_n \ar[r] \ar[d]^{\phi} & \Sigma A_1\ar@{-->}[d]  \\
 B_2 \ar[r]& B_2\ar[r]&\cdots\ar[r]  & B_n\ar[r]&\Sigma B_1 \ar[r]_{\Sigma g}  & \Sigma B_2
 .}
 \]
 \end{enumerate}
\end{lemma}

\begin{proof}
Let $\phi:A\to \Sigma B$ be a morphism in ${{\Phi}_n}({\mathfrak{E}_n}) $. If we complete $f$ and $g$ to $n$-angles above, respectively below, we obtain a
diagram \[ \xymatrix@=0.5cm{ A_1 \ar[r] &A_2\ar[r]&\cdots\ar[r] & A_{n-1}\ar[r]^f  & A_n \ar[r] \ar[d]^{\phi} & \Sigma A_1  \\
 B_2 \ar[r]& B_2\ar[r]&\cdots\ar[r]  & B_n\ar[r]&\Sigma B_1 \ar[r]_{\Sigma g}  & \Sigma B_2
 .}
 \]
Therefore, $f\perp g$ if and only if $(\Sigma g)\phi f=0$, if and only if there exists a morphism $A_{n-1}\to B_n$ such that the square
\[ \xymatrix@=0.5cm{  A_{n-1}\ar[r]^f \ar@{-->}[d] & A_n  \ar[d]^{\phi}   \\
  B_n\ar[r]  & \Sigma B_1
 }
 \]
 is commutative.
 \end{proof}

 Let ${\mathcal M}$ be a class of maps in ${\mathcal A}$. We define
 \begin{align*}
    {\mathcal M}^{\perp}&=\{g\in{\mathcal A}^\to \mid m\perp g \text{ for all } m\in {\mathcal M}\} \\
    & =\{g\in{\mathcal A}^\to \mid (\Sigma g)\phi m=0 \text{ for all } m\in {\mathcal M}\mbox{ and for all } \phi\in {{\Phi}_n}({\mathfrak{E}_n})\},
 \end{align*}
 and
\begin{align*}
    {^{\perp}{\mathcal M}}&=\{g\in{\mathcal A}^\to \mid g\perp m \text{ for all } m\in {\mathcal M}\} \\
    & =\{g\in{\mathcal A}^\to \mid (\Sigma m)\phi g=0 \text{ for all } m\in {\mathcal M}\mbox{ and for all } \phi\in {{\Phi}_n}({\mathfrak{E}_n})\}.
 \end{align*}

  The proof of the next lemma is straightforward:

 \begin{lemma}
  Let ${\mathcal M}$ be a class of morphisms in ${\mathcal A}$. Then
  \begin{enumerate}[{\rm (1)}]
 \item ${\mathcal M}^{\perp}$ and ${^{\perp}{\mathcal M}}$ are ideals in ${\mathcal A}$.
 \item $\Sigma^m{\mathcal M}^\perp=\left(\Sigma^m{\mathcal M}\right)^\perp$ and $\Sigma^m{^\perp}{{\mathcal M}}={^\perp}{\left(\Sigma^m{\mathcal M}\right)}$ for all $m\in{\mathbb Z}$,
 where the ideals $\left(\Sigma^m{\mathcal M}\right)^\perp$ and ${^\perp}{\left(\Sigma^m{\mathcal M}\right)}$ of $\Sigma^m{\mathcal A}$ are computed with respect to
 $\Sigma^m{\mathfrak{E}_n}$.
\end{enumerate}
   \end{lemma}

\subsection{Special precovers and special preenvelopes}

If ${\mathcal I}$ is an ideal in ${\mathcal A}$, a morphism $i:X\to A$ in ${\mathcal I}$ is a \textsl{special ${\mathcal I}$-precover (with respect to  ${\mathfrak{E}_n}$)} of $A$
if in the corresponding $n$-angle $$\xymatrix@=0.5cm{
  \mathfrak{d}:& A_1\ar[r] & \cdots \ar[r]&A_{n-2}\ar[r]& X\ar[r]^i   & A\ar[r]^-{\psi}  & \Sigma A_1   }$$
   we have $\psi\in (\Sigma{\mathcal I}^\perp) {{\Phi}_n}({\mathfrak{E}_n})$,
i.e. $\psi=(\Sigma j)\phi$ for some $j\in{\mathcal I}^\perp$ and some $\phi\in{{\Phi}_n}({\mathfrak{E}_n})$.

Note that $j\in{\mathcal I}^\perp$ means $(\Sigma j)\varphi i=0$ for all $\varphi\in{{\Phi}_n}({\mathfrak{E}_n})$ and all $i\in {\mathcal I}$.

We say that ${\mathcal I}$ is a \textsl{special precovering ideal} if every object  in ${\mathcal A}$ has a special ${\mathcal I}$-precover.

Dually, if ${\mathcal J}$ is an ideal in ${\mathcal A}$, a morphism $j:B\to Y$ in ${\mathcal J}$ is a \textsl{special ${\mathcal J}$-preenvelope (with respect to  ${\mathfrak{E}_n}$)} of $B$
if in the corresponding $n$-angle $$\xymatrix@=0.5cm{
  \mathfrak{d}:& B\ar[r]^j&Y\ar[r]&B_3 \ar[r]& \cdots \ar[r]& B_n\ar[r]^\psi   &  \Sigma B   }$$ we have
$\psi\in {{\Phi}_n}({\mathfrak{E}_n})\,({^\perp{ {\mathcal J}}})$, i.e. $\psi=\phi i$ with $i\in {^\perp{ {\mathcal J}}}$,
$\phi\in{{\Phi}_n}({\mathfrak{E}_n})$.

Note that $i\in {^\perp{ {\mathcal J}}}$ means $(\Sigma j)\varphi i=0$ for all $j\in{\mathcal J}$ and all $\varphi\in{{\Phi}_n}({\mathfrak{E}_n})$.

We say that ${\mathcal J}$ is a \textsl{special preenveloping ideal} if every object  in ${\mathcal A}$ has a special ${\mathcal J}$-preenvelope.

\begin{remark}
A morphism $i:X\to A$ is a {special ${\mathcal I}$-precover} of $A$ if and only if
there exists a morphism of $n$-angles
\[{\rm (SPC)}\xymatrix@=0.5cm{
  \mathfrak{d}:& B_1\ar[r]\ar[d]_j & B_2\ar[r]\ar[d]& \cdots \ar[r]& B_{n-2}\ar[r] \ar[d]& B_{n-1}\ar[r] \ar[d]   & A\ar[r]^-\phi  \ar@{=}[d]   & \Sigma B_1 \ar[d]^{\Sigma j}\\
  j\mathfrak{d}: & A_1\ar[r] &A_2\ar[r]& \cdots \ar[r]& A_{n-2}\ar[r] & X\ar[r]^i    & A\ar[r]^-{\psi}     & \Sigma A_1         }\
such that $j\in {\mathcal I}^{\perp}$, and the top $n$-angle $\mathfrak{d}\in{\mathfrak{E}_n}$

Dually, a morphism $j:B\to Y$ is a {special ${\mathcal J}$-preenvelope} of $B$
if and only if there exists  a morphism of $n$-angles
\[{\rm (SPE)}\xymatrix@=0.5cm{
  \mathfrak{d}i:& B\ar[r]^j\ar@{=}[d] & Y\ar[r]\ar[d]&B_3\ar[r]\ar[d]& \cdots \ar[r]& B_{n-1}\ar[r] \ar[d]   & B_n\ar[r]^-{\psi}  \ar[d]^i  & \Sigma B \ar@{=}[d]\\
  \mathfrak{d}: & B\ar[r] &A_2\ar[r]& A_3\ar[r]&\cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]^-\phi     & \Sigma B         }\
such that $i\in {^{\perp}}{\mathcal J}$, and the bottom $n$-angle $\mathfrak{d}\in{\mathfrak{E}_n}$
\end{remark}

In both diagrams (SPC) and (SPE), since $\phi\in {{\Phi}_n}({\mathfrak{E}_n})$, $\psi\in{{\Phi}_n}({\mathfrak{E}_n}) $, then all horizontal $n$-angles are in ${\mathfrak{E}_n}$
. This shows that every special ${\mathcal I}$-precover (respectively, ${\mathcal J}$-preenvelope)
is a ${\mathfrak{E}_n}$-deflation (respectively, ${\mathfrak{E}_n}$-inflation).

Moreover, since $\psi=(\Sigma j) \phi$ and $j\in {\mathcal I}^{\perp}$, we have $\psi {\mathcal I}=0$ in (SPC). Similarly, $(\Sigma{\mathcal J}) \psi=0$ in (SPE).

\begin{lemma}\label{3.3.2}
Let ${\mathcal I}$ and ${\mathcal J}$ be ideals  in ${\mathcal A}$.
\begin{enumerate}[{\rm (1)}]
\item Every special ${\mathcal I}$-precover is an ${\mathcal I}$-precover.
\item Every special ${\mathcal J}$-preenvelope is a ${\mathcal J}$-preenvelope.
\end{enumerate}
\end{lemma}

\begin{proof} We only prove (1). Let $i:X\to A$ be a {special ${\mathcal I}$-precover} of $A$. If $i':X\to A$ is a map in ${\mathcal I}$ then in (SPC) we have $\psi i'=(\Sigma j)\phi i'=0$. Consequently
$i'$ has to factor through $i$.
\end{proof}

The role of special precovers and special preenvelopes is exhibited by the following
version of Salce's Lemma, which is a higher dimensional version for \cite[Theorem 18]{Fu-et-al} and \cite[Theorem 3.3.3]{BM}.

\begin{theorem}\label{salce-lemma} (Salce's Lemma)
Let ${\mathcal I}$ and ${\mathcal J}$ be ideals in ${\mathcal A}$.
 \begin{enumerate}[{\rm (1)}]
  \item If there are enough ${\mathfrak{E}_n}$-injective morphisms and ${\mathcal I}$ is a precovering ideal,
 then
     ${\mathcal I}^{\perp}$ is a special preenveloping ideal.
    \item If there are enough ${\mathfrak{E}_n}$-projective morphisms and ${\mathcal J}$ is a preenveloping ideal,
 then
  ${^{\perp}{\mathcal J}}$ is a special precovering ideal.
 \end{enumerate}
\end{theorem}

\begin{proof} We only prove (1).

Let $A\in{\mathcal A}$ and choose an $n$-angle \[\tag{IE} A\overset{e}\to E\to A\to \cdots\to A_n\overset{\psi}\to \Sigma A\]
such that $e$ is an ${\mathfrak{E}_n}$-inflation which is ${\mathfrak{E}_n}$-injective.

Since ${\mathcal I}$ is a precovering ideal, there exists an ${\mathcal I}$-precover $i:I\to A_n$. Consider a morphism of $n$-angles
\[\xymatrix@=0.5cm{
   A\ar[r]^{a}\ar@{=}[d] & J\ar[d]\ar[r] &B_3\ar[r]\ar[d]&\cdots\ar[r]   & I\ar[d]^{i} \ar[r]^-{\psi i}&\Sigma A\ar@{=}[d] \\
   A\ar[r]^{e}           & E\ar[r] &A_3\ar[r]  &\cdots\ar[r] & A_n         \ar[r]^-{\psi}&\Sigma A.
}\]
We claim that $a$ is a special ${\mathcal I}^{\perp}$-preenvelope of $A$.
In order to prove this, it is enough to show that $a\in{\mathcal I}^{\perp}$ since from the obvious inclusion ${\mathcal I}\subseteq{^{\perp}({\mathcal I}^{\perp})}$  we know that $i\in {^{\perp}({\mathcal I}^{\perp})}$.

Since $\Sigma$ is an equivalence, in the subcategory $\Sigma^{-1}{\mathcal A}$, the morphism $\Sigma^{-1}i:\Sigma^{-1}I\to \Sigma^{-1}A_n$ is an $\Sigma^{-1}{\mathcal I}$-precover of $\Sigma^{-1}A_n$, and we have
the solid part of the following commutative diagram:
\[\xymatrix@=0.6cm{ \Sigma^{-1}Y\ar@{-->}[r]^{\Sigma^{-1}\kappa} \ar@{..>}[d]^{\eta} & \Sigma^{-1}B \ar@{-->}[d]^{\Sigma^{-1}\varphi} \ar@{..>}[ddl]_<<<<<<<{\zeta} & &  &&&& \\
  \Sigma^{-1}I\ar[r]_{\ \ \ \ \ \ u}\ar[d]_{\Sigma^{-1}i} & A\ar[r]^{a}\ar@{=}[d] & J\ar[d]\ar[r]    &B_3\ar[r]\ar[d]&\cdots\ar[r]   & I\ar[d]^{i} \ar[r]^-{\psi i}&\Sigma A\ar@{=}[d]\\
  \Sigma^{-1}A_n\ar[r]^{(-1)^n\Sigma^{-1}\psi} & A\ar[r]^{e}         & E\ar[r] &A_3\ar[r]  &\cdots\ar[r] & A_n         \ar[r]^-{\psi}&\Sigma A.
}\]

Let $\kappa:Y\to B$ be in ${\mathcal I}$ and let $\varphi:B\to \Sigma A$ be in $\Phi_n({\mathfrak{E}_n})$. Since $e$ is ${\mathfrak{E}_n}$-injective
we have $e(\Sigma^{-1}\varphi)=0$, hence there exists a morphism $\zeta:\Sigma^{-1}B\to \Sigma^{-1}A_n$ such that $\Sigma^{-1}\varphi=((-1)^n\Sigma^{-1}\psi)\zeta$. Since $\Sigma^{-1}{\mathcal I}$
is an ideal in $\Sigma^{-1}{\mathcal A}$, we have $\zeta(\Sigma^{-1}\kappa)\in\Sigma^{-1}{\mathcal I}$, hence $\zeta(\Sigma^{-1}\kappa)$ factorizes through the $\Sigma^{-1}{\mathcal I}$-precover $\Sigma^{-1}i$, that is, there exists a morphism $\eta:\Sigma^{-1}Y\to \Sigma^{-1}I$
such that $\zeta(\Sigma^{-1}\kappa)=(\Sigma^{-1}i)\eta$.
Finally, $$a(\Sigma^{-1}\varphi)(\Sigma^{-1}\kappa)=(-1)^na(\Sigma^{-1}\psi)\zeta(\Sigma^{-1}\kappa)=
(-1)^na(\Sigma^{-1}\psi)(\Sigma^{-1} i) \eta=au\eta=0,$$
hence $(\Sigma a)\varphi\kappa=0$. Therefore, $a\in{\mathcal I}^{\perp}$.
\end{proof}

In the proof of Theorem \ref{salce-lemma} we actually obtain the following corollary.

\begin{corollary}\label{salce-lemma-cor}
{\rm (1)} If ${\mathcal I}$ is an ideal in ${\mathcal A}$ and \[\xymatrix@=0.5cm{
   A\ar[r]^{a}\ar@{=}[d] & J\ar[d]\ar[r] &B_3\ar[r]\ar[d]&\cdots\ar[r]   & I\ar[d]^{i} \ar[r]^-{\psi i}&\Sigma A\ar@{=}[d] \\
   A\ar[r]^{e}           & E\ar[r] &A_3\ar[r]  &\cdots\ar[r] & A_n         \ar[r]^-{\psi}&\Sigma A.
}\] is a commutative diagram in ${\mathcal A}$ such that the horizontal lines are $n$-angles in ${\mathfrak{E}_n}$, the morphism $e$ is
${\mathfrak{E}_n}$-injective and $i$ is an ${\mathcal I}$-precover of $A_n$, then the morphism $a$ is a special
${\mathcal I}^\perp$-preenvelope of $A$.

{\rm (2)} If ${\mathcal J}$ is an ideal in ${\mathcal A}$  and \[\xymatrix@=0.6cm{
 A_1\ar[d]^{j}\ar[r] &\ar[r]A_2\ar[r]\ar[d]&\cdots\ar[r]   & A_{n-1}\ar[d] \ar[r]^p& A\ar@{=}[d] \ar[r] & \Sigma A_1 \ar[d]^{\Sigma j} \\
 J\ar[r]  &B_2\ar[r]&\cdots\ar[r]  & Y          \ar[r]^{b} & A \ar[r] & \Sigma J
}\] is a commutative diagram in ${\mathcal A}$ such that the horizontal lines are $n$-angles in ${\mathfrak{E}_n}$, $p$ is
${\mathfrak{E}_n}$-projective  and $j$ is a ${\mathcal J}$-preenvelope of $A_1$, then $b$ is a special
${^\perp{\mathcal J}}$-precover of $A$.
\end{corollary}

\subsection{Ideal cotorsion pairs}

\begin{definition}
Let ${\mathcal I},{\mathcal J}$ be ideals in ${\mathcal A}$.
\begin{enumerate}[{\rm (1)}]
  \item The pair $({\mathcal I},{\mathcal J})$  is said to be \textsl{orthogonal} (with respect to  ${\mathfrak{E}_n}$) if $i\perp j$ for all $i\in {\mathcal I}$ and $j\in {\mathcal J}$,
i.e. ${\mathcal J}\subseteq {\mathcal I}^\perp$ and ${\mathcal I}\subseteq {^\perp {\mathcal J}}$.
  \item An \textsl{ideal cotorsion pair} (with respect to  ${\mathfrak{E}_n}$) is a pair of ideals
$({\mathcal I}, {\mathcal J})$ in ${\mathcal A}$ such that ${\mathcal J}={\mathcal I}^\perp$ and ${\mathcal I}=\, {^\perp {\mathcal J}}$.
\item The ideal cotorsion pair $({\mathcal I},{\mathcal J})$ is \textsl{complete} if ${\mathcal I}$ is a special precovering ideal and ${\mathcal J}$ is a special
preenveloping ideal.
\end{enumerate}
\end{definition}

Now using the terminology of complete ideal cotorsion pairs, we can give another expression of Salce's Lemma, which is just \cite[Theorem 3.4.1]{BM} in case
$n=3$.

\begin{theorem}\label{cotorsion-precovering}
Let ${\mathcal I},{\mathcal J}$ be ideals in ${\mathcal A}$.
\begin{enumerate}[{\rm (1)}]
  \item If ${\mathcal I}$ is a special precovering ideal, then $({\mathcal I},{\mathcal I}^{\perp})$ is an ideal cotorsion pair.
Moreover, if there are enough ${\mathfrak{E}_n}$-injective morphisms, then the ideal cotorsion pair
$({\mathcal I},{\mathcal I}^\perp)$ is complete.
  \item If ${\mathcal J}$ is a special preenveloping ideal, then $({^\perp {\mathcal J}},{\mathcal J})$ is an ideal cotorsion pair.
Moreover, if there are enough ${\mathfrak{E}_n}$-projective morphisms, then the ideal cotorsion pair
$({^\perp {\mathcal J}},{\mathcal J})$ is complete.
\end{enumerate}
\end{theorem}

\begin{proof}
We have to show that ${\mathcal I}={^{\perp}({\mathcal I}^{\perp})}$. The inclusion ${\mathcal I}\subseteq {^{\perp}({\mathcal I}^{\perp})}$
is obvious.

Let $i':X'\to A$ be in ${^{\perp}({\mathcal I}^{\perp})}$. Since ${\mathcal I}$ is a special precovering ideal,
we can choose an $n$-angle $$\xymatrix@=0.5cm{
  \mathfrak{d}:& A_1\ar[r] & \cdots \ar[r]&A_{n-2}\ar[r]& X\ar[r]^i   & A\ar[r]^-{\psi}  & \Sigma A_1   }$$ such that $i$ is a special ${\mathcal I}$-precover for $A$.
Then $\psi= (\Sigma j)\phi$ for some $j\in {\mathcal I}^{\perp}$ and some $\phi\in{{\Phi}_n}({\mathfrak{E}_n})$.
All these data are represented in the solid part of the following commutative
diagram: \[\xymatrix@=0.5cm{
  B_1\ar[r]\ar[d]_j & B_2\ar[r]\ar[d]& \cdots \ar[r]& B_{n-2}\ar[r] \ar[d]& B_{n-1}\ar[r] \ar[d]   & A\ar[r]^-\phi  \ar@{=}[d]   & \Sigma B_1 \ar[d]^{\Sigma j}\\
   A_1\ar[r] &A_2\ar[r]& \cdots \ar[r]& A_{n-2}\ar[r] & X\ar[r]^i    & A\ar[r]^-{\psi}     & \Sigma A_1        \\
   &&&&&X'\ar[u]_{i'}\ar@{-->}[ul]^g&}\]

Because $i'\perp j$ we obtain
$\psi i'=(\Sigma j)\phi i'=0$, thus there exists a morphism $g:X'\to X$ such that $i'=ig$ by Remark \ref{2.1.1}(2)(iii).
Hence $i'\in{\mathcal I}$, and therefore,  ${^{\perp}({\mathcal I}^{\perp})}\subseteq{\mathcal I}$.

The second statement follows from Theorem \ref{salce-lemma}.
\end{proof}

{
\begin{example}\label{trivial-case-special}\label{ex-trivial}
If ${\mathcal A}={\mathcal{T}}$ and ${\mathfrak{E}_n}=\pentagon$, then every precovering ideal ${\mathcal I}$ is special since
every $n$-angle $$\xymatrix@=0.5cm{
  \mathfrak{d}:& A_1\ar[r] & \cdots \ar[r]&A_{n-2}\ar[r]& X\ar[r]^i   & A\ar[r]^-{\psi}  & \Sigma A_1   }$$
   can be embedded in a commutative diagram
\[\xymatrix@=0.5cm{
  \Sigma^{-1}A\ar[r]\ar[d]_{\Sigma^{-1}\psi} & 0\ar[r]\ar[d]& \cdots \ar[r]& 0\ar[r] \ar[d]& 0\ar[r] \ar[d]   & A\ar[r]^{1_A}  \ar@{=}[d]   & A \ar[d]^{\psi}\\
   A_1\ar[r] &A_2\ar[r]& \cdots \ar[r]& A_{n-2}\ar[r] & X\ar[r]^i    & A\ar[r]^-{\psi}     & \Sigma A_1        }\]
   Indeed, assume that $i$ is an ${\mathcal I}$-precover of $A$. For any $\phi:B\to A\in{\mathcal{T}}$ and any $i': X'\to B\in{\mathcal I}$, since ${\mathcal I}$ is an ideal, $\phi i'\in{\mathcal I}$, and hence there exists $h:X'\to X$ such that $ih=\phi i'$, and hence $\psi \phi i'=\psi i h=0$. Thus $\Sigma^{-1}\psi\in{\mathcal I}^\perp$ which shows that
   $i$ is a special ${\mathcal I}$-precover of $A$.

Dually, every preenveloping ideal in ${\mathcal{T}}$ is special.

Therefore, for every precovering ideal ${\mathcal I}$  we obtain that $({\mathcal I},{\mathcal I}^\perp)$ is a complete ideal cotorsion pair,
hence ${\mathcal I}^\perp$ is
a special preenveloping ideal.
\end{example}

\section{Ideal cotorsion pairs and relative phantom ideals}\label{Section-relative-cotorsion-pairs}

In this section we extend the ideal cotorsion theory introduced in \cite{Fu-et-al} and \cite{BM} to $n$-angulated categories.

\subsection{Relative phantom ideals}
Given two almost $n$-exact structures ${\mathfrak{F}_n}\subseteq{\mathfrak{E}_n}$, we will construct the ideal of  phantom morphisms of ${\mathfrak{F}_n}$ relative to ${\mathfrak{E}_n}$.

\begin{definition} Let ${\mathfrak{F}_n}$ be an almost $n$-exact structure for ${\mathcal A}$ such that ${\mathfrak{F}_n}\subseteq{\mathfrak{E}_n}$.
A morphism $\phi:X\to A$ in ${\mathcal A}$ is called an \textsl{${\mathfrak{F}_n}$-phantom relative to ${\mathfrak{E}_n}$}, if $h\phi\in{{\Phi}_n}({\mathfrak{F}_n})$,
whenever $h\in{{\Phi}_n}({\mathfrak{E}_n}) $. We denote by $${\Phi}_\frakE(\frakF)=\{\phi\mid h\phi\in{{\Phi}_n}({\mathfrak{F}_n})\hbox{ for all }h\in{{\Phi}_n}({\mathfrak{E}_n})\}$$
 the class of all
${\mathfrak{F}_n}$-phantoms  relative to ${\mathfrak{E}_n}$.

Dually, a morphism $\psi:A\to X$ in ${\mathcal A}$ is called an \textsl{${\mathfrak{F}_n}$-cophantom relative to ${\mathfrak{E}_n}$}, if $\psi h\in\Sigma^{-1}{{\Phi}_n}({\mathfrak{F}_n})$,
whenever $h\in\Sigma^{-1}{{\Phi}_n}({\mathfrak{E}_n}) $. We denote by $${\Phi}^\frakE(\frakF)=\{\psi\mid \psi h\in\Sigma^{-1}{{\Phi}_n}({\mathfrak{F}_n})\hbox{ for all }h\in\Sigma^{-1}{{\Phi}_n}({\mathfrak{E}_n})\}$$
the class of all
${\mathfrak{F}_n}$-cophantoms  relative to ${\mathfrak{E}_n}$.
\end{definition}

 The proof of the following lemma is straightforward.

\begin{lemma}
If ${\mathfrak{F}_n}$ is an almost $n$-exact structure for ${\mathcal A}$ and ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$, then ${\Phi}_\frakE(\frakF)$ and ${\Phi}^\frakE(\frakF)$ are ideals in ${\mathcal A}$.
\end{lemma}

\begin{remark}
\begin{enumerate}[{\rm (a)}]
  \item A morphism $\phi:X\to A$ belongs to ${\Phi}_\frakE(\frakF)$ if and only if for every  morphism of $n$-angles
 in ${\mathfrak{E}_n}$ along $\phi$
\[\xymatrix@=0.5cm{
  \mathfrak{d}i:& A_1\ar[r]\ar@{=}[d] & B_2\ar[r]\ar[d]&B_3\ar[r]\ar[d]& \cdots \ar[r]& B_{n-1}\ar[r] \ar[d]   & X\ar[r]^-{h\phi}  \ar[d]^{\phi}  & \Sigma A_1 \ar@{=}[d]\\
  \mathfrak{d}: & A_1\ar[r] &A_2\ar[r]& A_3\ar[r]&\cdots \ar[r]& A_{n-1}\ar[r]    & A\ar[r]^-h     & \Sigma A_1         }\
the top $n$-angle $\mathfrak{d}i$ is in ${\mathfrak{F}_n}$.
  \item A morphism $\psi:A\to X$ belongs to ${\Phi}^\frakE(\frakF)$ if and only if for every morphism of $n$-angles
 in ${\mathfrak{E}_n}$ along $\psi$
\[\xymatrix@=0.6cm{
\mathfrak{d}:& A\ar[d]^{\psi}\ar[r] &\ar[r]A_2\ar[r]\ar[d]&\cdots\ar[r]   & A_{n-1}\ar[d] \ar[r]& A_{n}\ar@{=}[d] \ar[r]^{\Sigma h} & \Sigma A \ar[d]^{\Sigma \psi} \\
\psi \mathfrak{d}:& X\ar[r]  &B_2\ar[r]&\cdots\ar[r]  & B_{n-1}          \ar[r] & A_n \ar[r]^{\Sigma (\psi h)} & \Sigma X
}\]
the bottom $n$-angle $\psi \mathfrak{d}$ is in ${\mathfrak{F}_n}$.
\end{enumerate}
\end{remark}

Remark that ${\Phi}_\frakE(\frakF)$ and ${\Phi}^\frakE(\frakF)$ are ideals in ${\mathcal A}$ whereas ${{\Phi}_n}({\mathfrak{E}_n})$ is a
phantom ${\mathcal A}$-ideal.

\begin{theorem}\label{orth-F}
Let ${\mathfrak{F}_n}$ be an almost $n$-exact structure for ${\mathcal A}$ such that ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$. \begin{enumerate}[{\rm (1)}]
\item \begin{enumerate}[{\rm (a)}] \item
The pair $(\Phi_{\mathfrak{E}_n}({\mathfrak{F}_n}), {\mathfrak{F}_n}\textrm{-}\mathrm{inj})$ is orthogonal.

\item Assume that there are enough ${\mathfrak{F}_n}$-injective morphisms. Then ${^{\perp} {\mathfrak{F}_n}\textrm{-}\mathrm{inj}}=
{\Phi}_\frakE(\frakF)$.
\end{enumerate}
\item \begin{enumerate}[{\rm (a)}] \item
The pair $({\mathfrak{F}_n}\textrm{-}\mathrm{proj}, {\Phi}^\frakE(\frakF))$ is orthogonal.

\item Asssume that there are enough ${\mathfrak{F}_n}$-projective morphisms. Then ${ {\mathfrak{F}_n}\textrm{-}\mathrm{proj}^{\perp}}=
{\Phi}^\frakE(\frakF)$.
\end{enumerate}
\end{enumerate}
\end{theorem}

\begin{proof}
We only prove (1).
(a) Let $e:B\to Y$ be an ${\mathfrak{F}_n}$-injective morphism, $f:X\to A\in\Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})$, and $\varphi:A\to \Sigma B\in{{\Phi}_n}({\mathfrak{E}_n})$.
We have $\varphi f\in{{\Phi}_n}({\mathfrak{F}_n})$, hence $(\Sigma e)\varphi f=0$ since $e$ is ${\mathfrak{F}_n}$-injective. Then $f\perp e$.

(b) By (a), it is enough to show that
${^{\perp} {\mathfrak{F}_n}\textrm{-}\mathrm{inj}}\subseteq \Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})$.
In order to do this, let  $f:X\to A\in{^{\perp}{\mathfrak{F}_n}\textrm{-}\mathrm{inj}}$ and
$\varphi:A\to \Sigma B\in{{\Phi}_n}({\mathfrak{E}_n})$. Let $e:B\to C$ be an ${\mathfrak{F}_n}$-injective ${\mathfrak{F}_n}$-inflation.

Consider the following commutative
diagram
\[ \xymatrix@C=0.7cm@R=0.5cm{ B_1\ar[r]\ar@{=}[d] & A_2\ar[r]\ar@{<-}[d]&\cdots\ar[r]& A_{n-1} \ar[r]\ar@{<-}[d]  & A \ar[r]^-{\varphi}\ar@{<-}[d]^{f} & \Sigma B_1\ar@{=}[d]\\
B_1\ar[r]^i\ar[d]_{e} & B_2\ar[r]\ar[d]^{e_2}\ar@{-->}[dl]_z &\cdots\ar[r]& B_{n-1} \ar[r]\ar[d] & B \ar[r]^-{\varphi f}\ar@{=}[d] & \Sigma B_1\ar[d]^{\Sigma g} \\
C\ar[r]^{c_1}\ar@/_/ @{<--}[r]_{c_1'}  & C_2\ar[r]&\cdots\ar[r] & C_{n-1} \ar[r]& B \ar[r]^{(\Sigma e)\varphi f} & \Sigma C
}\]
Since $(\Sigma e)\varphi f=0$, it follows that the bottom $n$-angle splits. By Remark \ref{2.1.1}(3), there exists a morphism $c_1':C_2\to C$ such that
$c_1'c_1=1_C$. Setting $z:=c_1'e_2$. Then  $zi=c_1'e_2 i=c_1'c_1e=e$.
Since $e$ is an ${\mathfrak{F}_n}$-inflation, by Lemma \ref{infl-defl-factors} it follows that $i$ is an ${\mathfrak{F}_n}$-inflation,
hence $\varphi f\in{{\Phi}_n}({\mathfrak{F}_n})$.
Therefore,  $f\in \Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})$, and hence ${^{\perp} {\mathfrak{F}_n}\textrm{-}\mathrm{inj}}\subseteq \Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})$.
\end{proof}

The following result shows us that ${\mathfrak{E}_n}$-projective ${\mathfrak{E}_n}$-deflations (respectively, ${\mathfrak{E}_n}$-injective ${\mathfrak{E}_n}$-inlations)
are test maps for ${\mathfrak{F}_n}$-phantoms relative to ${\mathfrak{E}_n}$ (respectively, ${\mathfrak{F}_n}$-cophantoms  relative to ${\mathfrak{E}_n}$).

\begin{proposition}\label{rel-phantom-vs-proj}
{\rm (1)} Let $$A_1\to \cdots\to A_{n-2}\to P\overset{p}\to A\overset{\psi}\to \Sigma A_1$$ be an $n$-angle in ${\mathfrak{E}_n}$ such that $p$ is ${\mathfrak{E}_n}$-projective.
A morphism $\varphi:X\to A$ belongs to $\Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})$
if and only if $\psi\varphi$ belongs to ${{\Phi}_n}({\mathfrak{F}_n})$.

{\rm (2)} Let $$ A\overset{e}\to E\to A_3\to \cdots\to A_n\overset{\psi}\to \Sigma A$$ be an $n$-angle in ${\mathfrak{E}_n}$ such that
$e$ is ${\mathfrak{E}_n}$-injective.
A morphism $\varphi:A\to Y$ belongs to $\Phi^{\mathfrak{E}_n}({\mathfrak{F}_n})$ if and only if $(\Sigma \varphi)\psi$ belongs to ${{\Phi}_n}({\mathfrak{F}_n})$.
\end{proposition}

\begin{proof} We only prove (1).
Suppose that $\psi\varphi\in{{\Phi}_n}({\mathfrak{F}_n})$.
We have to show that  $\zeta\varphi\in {{\Phi}_n}({\mathfrak{F}_n})$ for every morphism $\zeta:A\to \Sigma B$ in ${{\Phi}_n}({\mathfrak{E}_n})$.

Let $\zeta:A\to \Sigma B$ be in ${{\Phi}_n}({\mathfrak{E}_n})$.
Since $p$ is ${\mathfrak{E}_n}$-projective, we have $\zeta p=0$ by Lemma \ref{basic-CI-inj},
hence there exists a morphism $\Sigma g:\Sigma A_1\to \Sigma B$ in $\Sigma{\mathcal A}$ such that $(\Sigma g)\psi=\zeta$.  Moreover, we have $\psi\varphi\in{{\Phi}_n}({\mathfrak{F}_n})$,
and it follows that $\zeta\varphi=(\Sigma g)\psi\varphi\in{{\Phi}_n}({\mathfrak{F}_n})$, hence $\varphi\in\Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})$.

The converse is obvious by applying the definition of $\Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})$.
\end{proof}

}

\subsection{The pullback and pushout almost $n$-exact stuctures}
In this subsection we intend to construct almost $n$-exact structures which are included in ${\mathfrak{E}_n}$  from ideals in ${\mathcal A}$.

The \textsl{pullback almost $n$-exact structure associated to an ideal ${\mathcal I}$} in ${\mathcal A}$ is defined to be the  class
\begin{align*}
  \mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})= & \left\{\mathfrak{d}\in{\mathfrak{E}_n}\mid \mbox{the ${\mathfrak{E}_n}$-phantom } \phi \mbox{ of } \mathfrak{d} \mbox{ can be written as }\phi=\psi i \right. \\
   & \left.\mbox{ with }i\in\mathcal{I} \mbox{ and }\psi\in{{\Phi}_n}({\mathfrak{E}_n})\right\},
\end{align*}
the corresonding phantom ${\mathcal A}$-ideal is ${\mathrm{PB}}_{\mathfrak{E}_n}({\mathcal I}):={{\Phi}_n}(\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I}))={{\Phi}_n}({\mathfrak{E}_n}){\mathcal I}$.

Dually, we define \textsl{the pushout almost $n$-exact structure associated to an ideal ${\mathcal J}$} of ${\mathcal A}$
 \begin{align*}
  \mathfrak{PO}_{\mathfrak{E}_n}({\mathcal I})= & \left\{\mathfrak{d}\in{\mathfrak{E}_n}\mid \mbox{the ${\mathfrak{E}_n}$-phantom } \phi \mbox{ of } \mathfrak{d} \mbox{ can be written as }\phi= (\Sigma j)\psi \right. \\
   & \left.\mbox{ with }j\in\mathcal{J} \mbox{ and }\psi\in{{\Phi}_n}({\mathfrak{E}_n})\right\},
\end{align*}
 the corresponding phantom ${\mathcal A}$-ideal
${\mathrm{PO}}_{\mathfrak{E}_n}({\mathcal J}):={{\Phi}_n}(\mathfrak{PO}_{\mathfrak{E}_n}({\mathcal I}))=(\Sigma{\mathcal J}){{\Phi}_n}({\mathfrak{E}_n})$.

\begin{proposition}\label{fantome-prin-proiective}
Let ${\mathfrak{F}_n}$ be an almost $n$-exact structure for ${\mathcal A}$ such that ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$, and let ${\mathcal I}$ be an ideal in ${\mathcal A}$.
\begin{enumerate}[{\rm (1)}]
\item Assume that there exist enough ${\mathfrak{F}_n}$-projective morphisms. Then the following are equivalent:
\begin{enumerate}[{\rm (a)}]
\item ${\mathcal I}\subseteq {\Phi}_\frakE(\frakF)$;
\item ${\mathcal I}({\mathfrak{F}_n}\text{-}\mathrm{proj})\subseteq {\mathfrak{E}_n}\text{-}\mathrm{proj}$.
\end{enumerate}
\item Assume that there exist enough ${\mathfrak{F}_n}$-injective homomorphisms. Then the following are equivalent:
\begin{enumerate}[{\rm (a)}]
\item ${\mathcal I}\subseteq{\Phi}^\frakE(\frakF)$;
\item $({\mathfrak{F}_n}\text{-}\mathrm{inj}){\mathcal I}\subseteq {\mathfrak{E}_n}\text{-}\mathrm{inj}$.
\end{enumerate}
\end{enumerate}
\end{proposition}

\begin{proof} We only prove (1).

(a)$\Rightarrow$(b) Assume ${\mathcal I}\subseteq {\Phi}_\frakE(\frakF)$. Then ${{\Phi}_n}({\mathfrak{E}_n}){\mathcal I}\subseteq {{\Phi}_n}({\mathfrak{E}_n}){\Phi}_\frakE(\frakF)\subseteq {{\Phi}_n}({\mathfrak{F}_n})$. Thus ${{\Phi}_n}({\mathfrak{E}_n}){\mathcal I}({\mathfrak{F}_n}\text{-}\mathrm{proj})\subseteq {{\Phi}_n}({\mathfrak{F}_n})({\mathfrak{F}_n}\text{-}\mathrm{proj})=0$,
 and hence ${\mathcal I}({\mathfrak{F}_n}\text{-}\mathrm{proj})\subseteq {\mathfrak{E}_n}\text{-}\mathrm{proj}$ by Lemma \ref{basic-CI-inj}.

(b)$\Rightarrow$(a) Assume ${\mathcal I}({\mathfrak{F}_n}\text{-}\mathrm{proj})\subseteq {\mathfrak{E}_n}\text{-}\mathrm{proj}$. Then
$${{\mathrm{PB}}}_{\mathfrak{E}_n}({\mathcal I})({\mathfrak{F}_n}\text{-}\mathrm{proj})= {{\Phi}_n}({\mathfrak{E}_n}) {\mathcal I} ({\mathfrak{F}_n}\text{-}\mathrm{proj})\subseteq {{\Phi}_n}({\mathfrak{E}_n}) ({\mathfrak{E}_n}\text{-}\mathrm{proj})=0,$$
thus ${\mathfrak{F}_n}\text{-}\mathrm{proj}\subseteq \mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})\text{-}\mathrm{proj}$. By Corollary \ref{cor-prop1-suficiente},
$\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})\subseteq {\mathfrak{F}_n}$.
Now let $i\in\mathcal{I}$. For any $\psi\in {{\Phi}_n}({\mathfrak{E}_n})$, $\psi i\in{{\Phi}_n}({\mathfrak{E}_n}){\mathcal I}={{\Phi}_n}(\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I}))\subseteq {{\Phi}_n}({\mathfrak{F}_n})$, which means $i\in  {\Phi}_\frakE(\frakF)$.
Thus ${\mathcal I}\subseteq {\Phi}_\frakE(\frakF)$.
\end{proof}

We denote by $\mathbf{Ideals}({\mathcal A})$  the class
 of all ideals in ${\mathcal A}$, and by $\mathbf{Ex}({\mathfrak{E}_n})$ the class of all  almost $n$-exact structures included in ${\mathfrak{E}_n}$.
 We will construct two Galois correspondences between $\mathbf{Ideals}({\mathcal A})$ and $\mathbf{Ex}({\mathfrak{E}_n})$
for ${\mathcal A}$.

\begin{theorem}\label{Galois-correspondences}

 The pairs of correspondences %
  $$\mathfrak{PB}_{\mathfrak{E}_n}:\mathbf{Ideals}({\mathcal A})\rightleftarrows \mathbf{Ex}({\mathfrak{E}_n}):{\Phi}_{\mathfrak{E}_n},$$
 respectively
 $$\mathfrak{PO}_{\mathfrak{E}_n}:\mathbf{Ideals}({\mathcal A})\rightleftarrows \mathbf{Ex}({\mathfrak{E}_n}):{\Phi}^{\mathfrak{E}_n},$$
 determine two monotone Galois connections with respect to inclusion.
 \end{theorem}

\begin{proof}
Let ${\mathcal I}\in \mathbf{Ideals}({\mathcal A})$  and  ${\mathfrak{F}_n}\in\mathbf{Ex}({\mathfrak{E}_n})$. We have to prove that
$\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})\subseteq {\mathfrak{F}_n}$ if and only if ${\mathcal I}\subseteq{\Phi}_\frakE(\frakF)$.

The inclusion
$${\mathcal I}\subseteq {\Phi}_\frakE(\frakF)=\{\phi\mid h\phi\in{{\Phi}_n}({\mathfrak{F}_n})\hbox{ for all }h\in{{\Phi}_n}({\mathfrak{E}_n})\}$$
is equivalent to ${{\Phi}_n}({\mathfrak{E}_n}){\mathcal I}\subseteq {{\Phi}_n}({\mathfrak{F}_n})$. Since ${{\Phi}_n}({\mathfrak{E}_n}){\mathcal I}={\mathrm{PB}}_{\mathfrak{E}_n}({\mathcal I})$, the last inclusion is equivalent
to $\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})\subseteq {\mathfrak{F}_n}$.

The proof for the second pair is similar.
\end{proof}

Using the standard properties of Galois connections we have the following corollary.
\begin{corollary}\label{connection-PB-phantoms}
Let ${\mathcal I}\in \mathbf{Ideals}({\mathcal A})$  and  ${\mathfrak{F}_n}\in\mathbf{Ex}({\mathfrak{E}_n})$.
\begin{enumerate}[{\rm (1)}] \item $\mathfrak{PB}_{\mathfrak{E}_n}({\Phi}_\frakE(\frakF))\subseteq {\mathfrak{F}_n}$ and
${\mathcal I}\subseteq{\Phi}_{\mathfrak{E}_n}(\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I}))$;

\item $\mathfrak{PO}_{\mathfrak{E}_n}({\Phi}^\frakE(\frakF))\subseteq {\mathfrak{F}_n}$ and
${\mathcal I}\subseteq{\Psi}_{\mathfrak{E}_n}(\mathfrak{PO}_{\mathfrak{E}_n}({\mathcal I}))$.
\end{enumerate}
\end{corollary}

The following results exhibit connections between orthogonal ideals and some injective/projective properties.

\begin{proposition}\label{I-perp-ex-PB}
\begin{enumerate}[{\rm (1)}]
  \item Let ${\mathcal I}\in \mathbf{Ideals}({\mathcal A})$. Then ${\mathcal I}^\perp=\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})\text{-}\mathrm{inj}$.
  \item Let ${\mathcal J}\in \mathbf{Ideals}({\mathcal A})$. Then $^\perp {\mathcal J}=\mathfrak{PO}_{\mathfrak{E}_n}({\mathcal J})\text{-}\mathrm{proj}$.
\end{enumerate}
\end{proposition}

\begin{proof}
A homomorphism $j:A\to E$ is in ${\mathcal I}^\perp$  if and only if $(\Sigma j){{\Phi}_n}({\mathfrak{E}_n}){\mathcal I}=0$.
But ${{\Phi}_n}({\mathfrak{E}_n}){\mathcal I}={\mathrm{PB}}_{\mathfrak{E}_n}({\mathcal I})$, and we apply
Lemma \ref{basic-CI-inj} to obtain the conclusion.
\end{proof}

\begin{corollary}\label{PB-inclusions}
\begin{enumerate}[{\rm (1)}]
  \item Let ${\mathcal I}\in \mathbf{Ideals}({\mathcal A})$.  Then $${\mathcal I}\subseteq \Phi_{\mathfrak{E}_n} (\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I}))\subseteq {^{\perp}({\mathcal I}^{\perp})},$$ both inclusions becoming equalities when ${\mathcal I}$ is special precovering.
  \item Let ${\mathcal J}\in \mathbf{Ideals}({\mathcal A})$. Then $${\mathcal J}\subseteq \Phi^{\mathfrak{E}_n} (\mathfrak{PO}_{\mathfrak{E}_n}({\mathcal J}))\subseteq ({^\perp{\mathcal J}})^{\perp},$$ both inclusions becoming equalities when ${\mathcal J}$ is special preenveloping.
\end{enumerate}
\end{corollary}

\begin{proof} We only prove (1).
The first inclusion is
a consequence of Corollary \ref{connection-PB-phantoms}.

For the second inclusion, we replace in Theorem \ref{orth-F} the almost $n$-exact structure ${\mathfrak{F}_n}$ by $\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})$,
hence we have  $$\Phi_{\mathfrak{E}_n} (\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I}))\subseteq  {^\perp(\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})\textrm{-inj})}.$$
By Proposition \ref{I-perp-ex-PB} we have $\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})\textrm{-inj}={\mathcal I}^{\perp}$, hence
$\Phi_{\mathfrak{E}_n} (\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I}))\subseteq {^{\perp}({\mathcal I}^{\perp})}.$
Finally if ${\mathcal I}$ is special preevveloping the equality ${\mathcal I}={^{\perp}({\mathcal I}^{\perp})}$ follows by Theorem \ref{cotorsion-precovering}.
\end{proof}

\begin{corollary} Let ${\mathcal I},{\mathcal J}\in \mathbf{Ideals}({\mathcal A})$.
\begin{enumerate}[{\rm (1)}]
\item If the phantom ${\mathcal A}$-ideal ${\mathrm{PB}}_{\mathfrak{E}_n}({\mathcal I})$ is precovering, then
$\Phi_{\mathfrak{E}_n} (\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I}))= {^{\perp}({\mathcal I}^{\perp})}$.
\item If the phantom ${\mathcal A}$-ideal ${\mathrm{PO}}_{\mathfrak{E}_n}({\mathcal J})$ is preenveloping, then
$\Phi^{\mathfrak{E}_n} (\mathfrak{PO}_{\mathfrak{E}_n}({\mathcal J}))= {({^{\perp}{\mathcal J}})^{\perp}}$.
\end{enumerate}
\end{corollary}

\begin{proof} We only prove (1).
By Theorem \ref{Th-procov-vs-Iinj} we obtain that
there are enough $\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})$-injective morphisms. Using Proposition \ref{I-perp-ex-PB} and
Theorem \ref{orth-F} we have
$${^{\perp}({\mathcal I}^{\perp})}={^\perp (\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})\text{-}\mathrm{inj})}={\Phi}_{\mathfrak{E}_n}(\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})).$$
\end{proof}

\begin{corollary}\label{phi(F)-precovering}
Let ${\mathfrak{F}_n}$ be an almost $n$-exact structure for ${\mathcal A}$ such that ${\mathfrak{F}_n}\subseteq {\mathfrak{E}_n}$.
\begin{enumerate}[{\rm (1)}]
  \item Suppose that there are enough ${\mathfrak{E}_n}$-projective morphisms and there are enough
${\mathfrak{F}_n}$-injective morphisms. Then $\Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})$ is a special precovering ideal.
  \item Suppose that there are enough ${\mathfrak{E}_n}$-injective morphisms and there are enough
${\mathfrak{F}_n}$-projective morphisms. Then $\Phi^{\mathfrak{E}_n}({\mathfrak{F}_n})$ is a special preenveloping ideal.
\end{enumerate}
\end{corollary}

\begin{proof} We only prove (1).
By Theorem \ref{orth-F} we know that $\Phi_{\mathfrak{E}_n}({\mathfrak{F}_n})={^\perp {\mathfrak{F}_n}\text{-}\mathrm{inj}}$. But ${\mathfrak{F}_n}\text{-}\mathrm{inj}$ is a preenveloping ideal,
hence we can apply Theorem \ref{salce-lemma} to obtain the conclusion.
\end{proof}

\subsection{Complete ideal cotorsion pairs}

In order to characterize the ideal cotorsion pairs which are complete, we will study first the existence of some special injective (respectively, projective) preenvelopes (respectively, precovers).

An ${\mathfrak{H}_n}$-injective morphism $e$ is \textsl{special with respect to  ${\mathfrak{E}_n}$}
if it can be embedded in a morphism of $n$-angles
\[\xymatrix@=0.5cm{
  \mathfrak{d}i:& A\ar[r]^e\ar@{=}[d] & E\ar[r]\ar[d]&B_3\ar[r]\ar[d]& \cdots \ar[r]& B_{n-1}\ar[r] \ar[d]   & X\ar[r]  \ar[d]^{\phi}  & \Sigma A \ar@{=}[d]\\
  \mathfrak{d}: & A\ar[r] &A_2\ar[r]& A_3\ar[r]&\cdots \ar[r]& A_{n-1}\ar[r]    & A_n\ar[r]     & \Sigma A         }\]
such that $\mathfrak{d}\in{\mathfrak{E}_n}$ and $\phi\in\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n})$.
The notion of \textsl{special ${\mathfrak{H}_n}$-projective homomorphism} is defined dually.

\begin{example}\label{exemple-special-inj}
From Corollary \ref{PB-inclusions} and Proposition \ref{I-perp-ex-PB} we observe that
\begin{enumerate}[{\rm (1)}]
  \item { if ${\mathcal I}$ is special precovering}, then every special ${\mathcal I}^\perp$-preenvelope is a special $\mathfrak{PB}_{\mathfrak{E}_n}({\mathcal I})$-injective morphism.
  \item { if ${\mathcal J}$ is special preenveloping}, then every special ${^\perp{\mathcal J}}$-precover is a special $\mathfrak{PO}_{\mathfrak{E}_n}({\mathcal J})$-projective morphism.
\end{enumerate}
\end{example}

\begin{proposition}\label{special-injective}
Let ${\mathfrak{H}_n}\in\mathbf{Ex}({\mathfrak{E}_n})$. Then
\begin{enumerate}[{\rm (1)}]
\item Every special ${\mathfrak{H}_n}$-injective morphism { is a special ${\mathfrak{H}_n}\text{-{\rm inj}}$-preenvelope} and
a special $\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n})^{\perp}$-preenvelope.

\item Every special ${\mathfrak{H}_n}$-projective morphism is a special ${\mathfrak{H}_n}\text{-{\rm proj}}$-precover
and a special $^\perp\Phi^{\mathfrak{E}_n}({\mathfrak{H}_n})$-precover.
\end{enumerate}
\end{proposition}

\begin{proof}
{Using Theorem \ref{orth-F} we observe that $\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n})\subseteq{^\perp}{\mathfrak{H}_n}\textrm{-inj}$,
 hence every special ${\mathfrak{H}_n}$-injective morphism is a special ${\mathfrak{H}_n}\textrm{-inj}$-preenvelope.}

Let $e$ be a special ${\mathfrak{H}_n}$-injective morphism.
By Corollary \ref{connection-PB-phantoms} we have the inclusion $\mathfrak{PB}_{\mathfrak{E}_n}(\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n}))\subseteq {\mathfrak{H}_n}$,
hence we can apply
Proposition \ref{I-perp-ex-PB} to obtain
$$e\in {\mathfrak{H}_n}\textrm{-inj}\subseteq \mathfrak{PB}_{\mathfrak{E}_n}(\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n}))\textrm{-inj}=\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n})^{\perp}.$$
Since $\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n})\subseteq {^\perp (\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n})^\perp)}$ we can apply the definition to obtain that $e$ is a
special $\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n})^\perp$-preenvelope.
\end{proof}

The following result provides a method to construct (complete) ideal cotorsion pairs, which  improves Theorem \ref{orth-F}.

\begin{theorem}\label{Iperp=injective} Let ${\mathfrak{H}_n}\in\mathbf{Ex}({\mathfrak{E}_n})$.
\begin{enumerate}[{\rm (1)}]
\item If there are enough special ${\mathfrak{H}_n}$-injective morphisms, then
$$(\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n}),{\mathfrak{H}_n}\textrm{-}\mathrm{inj})$$ is an ideal  cotorsion pair
{which is complete if there are enough ${\mathfrak{E}_n}$-projective morphisms.}

\item If there are enough special ${\mathfrak{H}_n}$-projective morphisms, then
$$({\mathfrak{H}_n}\textrm{-}\mathrm{proj}, \Phi^{\mathfrak{E}_n}({\mathfrak{H}_n}))$$ is an ideal cotorsion pair
{which is complete if there are  enough ${\mathfrak{E}_n}$-injective morphisms.}
\end{enumerate}
\end{theorem}

\begin{proof}
Since there are enough special ${\mathfrak{H}_n}$-injective morphisms, it follows that the ideal ${\mathfrak{H}_n}\text{-inj}$ is
a special preenveloping ideal and there are enough ${\mathfrak{H}_n}$-injective morphisms.
Then we can use Theorem \ref{orth-F} to obtain ${^{\perp} {\mathfrak{H}_n}\textrm{-}\mathrm{inj}}=
\Phi_{\mathfrak{E}_n}({\mathfrak{H}_n})$.
Now the conclusions are
consequences of Theorem \ref{cotorsion-precovering}.%
\end{proof}

Now we give our main result as follows, which extends \cite[Theorem 5.3.4]{BM} from triangulated categories to $n$-angulated categories.

\begin{theorem}\label{mainthA}
Let ${\mathfrak{E}_n}$ be an almost $n$-exact structure for ${\mathcal A}$ such that there are enough ${\mathfrak{E}_n}$-injective morphisms
and ${\mathfrak{E}_n}$-projective morphisms, and let $({\mathcal I},{\mathcal J})$ be an ideal cotorsion pair in ${\mathcal A}$.
Then the following statements are equivalent.
\begin{enumerate}[{\rm (a)}]
 \item ${\mathcal I}$ is precovering.
 \item ${\mathcal I}$ is special precovering.
 \item ${\mathcal J}$ is preenveloping.
 \item ${\mathcal J}$ is special preenveloping.
\item There exists  ${\mathfrak{H}_n}\in\mathbf{Ex}({\mathfrak{E}_n})$ with enough special ${\mathfrak{H}_n}$-injective morphisms such that ${\mathcal I}=\mathrm{\Phi}_{\mathfrak{E}_n}({\mathfrak{H}_n})$.
\item There exists  ${\mathfrak{F}_n}\in\mathbf{Ex}({\mathfrak{E}_n})$ with enough ${\mathfrak{F}_n}$-injective morphisms such that ${\mathcal I}={\Phi}_\frakE(\frakF)$.
\item There exists  ${\mathfrak{H}_n}\in\mathbf{Ex}({\mathfrak{E}_n})$ with enough special ${\mathfrak{H}_n}$-injective morphisms such that
${\mathcal J}={\mathfrak{H}_n}\text{-}\mathrm{inj}$.
\item There exists  $\mathfrak{G}_n\in\mathbf{Ex}({\mathfrak{E}_n})$ with enough special $\mathfrak{G}_n$-projective morphisms such that ${\mathcal J}={\Phi}^\frakE(\frakG)$.
\item There exists  $\mathfrak{F}_n\in\mathbf{Ex}({\mathfrak{E}_n})$ with enough $\mathfrak{F}_n$-projective morphisms such that ${\mathcal J}={\Phi}^\frakE(\frakF)$.

\item There exists  $\mathfrak{G}_n\in\mathbf{Ex}({\mathfrak{E}_n})$ with enough special $\mathfrak{G}_n$-projective morphisms such that
${\mathcal I}=\mathfrak{G}_n\text{-}\mathrm{proj}$.
\end{enumerate}
\end{theorem}

\begin{proof}
We summarize the proof as the following diagram.
\[
\xymatrix@C=1.5cm@R=1cm{&({\rm a})\ar@{<=>}[d]_{{\rm Lem. } \ref{3.3.2}}&({\rm c})\ar@{<=>}[d]^{{\rm Lem. } \ref{3.3.2}}&\\
({\rm e})\ar@{<=>}[d]_{{\rm Thm. } \ref{Iperp=injective}}\ar@{=>}[rd]^{\!\!\!\!\!\!\!\!\!\!\!\!\rm Obvious}&({\rm b})\ar@{=>}[l]_{{\rm Exa. }\ref{exemple-special-inj}}\ar@{<=>}[r]^{{\rm Thm. }\ref{cotorsion-precovering}}&({\rm d})\ar@{=>}[r]^{{\rm Exa. }\ref{exemple-special-inj}}&({\rm h})\ar@{=>}[ld]^{\!\!\!\!\!\!\!\!\!\!\!\!\rm Obvious}\ar@{<=>}[d]^{{\rm Thm. } \ref{Iperp=injective}}\\
({\rm g})&({\rm f})\ar@{=>}[u]_{\!\!\!\!\!\!\!\!{\rm Cor. }\ref{phi(F)-precovering}}&({\rm i})\ar@{=>}[u]_{\!\!\!\!\!\!\!\!\!\!\!\! {\rm Cor. }\ref{phi(F)-precovering}}&({\rm j})}
\]
\end{proof}

\vspace{0.5cm}

{\bf Acknowledgements.}
This work was  supported by NSFC (Nos. 11871301,
11901341, 11971225), the project ZR2019QA015 supported by Shandong Provincial Natural Science Foundation,  the project funded by China Postdoctoral Science
Foundation (2020M682141), and the Young Talents Invitation Program of Shandong Province.