Good Hermitian metrics and signed Chern integrals
Let $F$ be a field with an embedding $\sigma:F\hookrightarrow\mathbb C$, and let $X/F$ be smooth, geometrically integral and projective of dimension $d\in\mathbb N$. Fix a finite index set $I$, ranks $m_i\in\mathbb N$, and a rational frame system $E$ of type $0$ as in (Rational frame systems and flag refinementsDefinition AG.D074). For a complex point $y\in X_\sigma(\mathbb C)$, write $\underline y$ for its underlying point of $X$.
Use total rational-function evaluation $\operatorname{val}_y$, algebraic coordinate charts and the chart-supremum construction of measures from (Arithmetic heights and self-intersections of Hermitian line bundlesDefinition ARAK.D041), with base ring $F$. Smooth real functions have the local meaning through finitely many regular functions specified under “Hermitian metrics” in (Arithmetic image models and Hermitian metricsDefinition ARAK.D005).
Metrics in rational frames. Choose functions $$H_A:X_\sigma(\mathbb C)\longrightarrow\prod_{i\in I}\operatorname{Mat}_{m_i}(\mathbb C),\qquad A\in\prod_{i\in I}\operatorname{Mat}_{m_i}(F(X)).$$ Let $O\subseteq X$ be open, and put $O_\sigma=O(\mathbb C)$. A smooth positive Hermitian metric on $E$ over $O_\sigma$ means that, for every $y\in O_\sigma$ and every $A\in E_{\underline y}$, each matrix $H_{A,i}(y)$ is positive definite, and the real and imaginary parts of every entry of $H_{A,i}$ are smooth at $y$ in the preceding local sense. For every $A,A'\in E_{\underline y}$, require $$H_{A',i}(y)=T_i(y)H_{A,i}(y)T_i(y)^*,\qquad T_i(y)=\operatorname{val}_y(A'_iA_i^{-1}),$$ where evaluation is entrywise and $*$ is conjugate transpose.
Connection and curvature. In coordinates on $\mathbb C^d$, use the entrywise Wirtinger operators $$\partial_a=\tfrac12(D_{e_a}-iD_{ie_a}),\qquad \bar\partial_a=\tfrac12(D_{e_a}+iD_{ie_a}),$$ where $D_v$ applies the real Frechet derivative to $v$. A nonexistent real Frechet derivative is taken to be zero, and the inverse of a singular square matrix is zero. For a matrix-valued function $G$, put $$\Gamma_a(G)=(G^{\mathsf T})^{-1}(\partial_aG)^{\mathsf T},\qquad \Omega_{ab}(G)=-\bar\partial_b\Gamma_a(G).$$
Good boundary growth. Such a metric is good if the following holds at every $y\notin O_\sigma$. There are a homeomorphism $e:V\to T$ between open subsets of $X_\sigma(\mathbb C)$ and $\mathbb C^d$, with $y\in V$, and a subset $S\subseteq\{0,\ldots,d-1\}$ such that $$e_a(y)=0\quad(a\in S),\qquad V\setminus O_\sigma=\{x\in V:\ e_a(x)=0\text{ for some }a\in S\}.$$ For every regular function on any open subset of $X$, its pullback along $e^{-1}$ must be holomorphic where defined.
There are a frame $A\in E_{\underline y}$, a real number $c$ and $N\in\mathbb N$ such that all the following bounds hold on $O_\sigma$ sufficiently near $y$, with the same $c,N$ for every $i\in I$. For $z=e(x)$ set $$G_i(v)=H_{A,i}(e^{-1}(v)),\qquad L(z)=\sum_{a\in S}|\log|z_a||,\qquad w_a(z)=\begin{cases}|z_a|\,|\log|z_a||,&a\in S,\\1,&a\notin S.\end{cases}$$ For every $i\in I$, require $$|\det G_i(z)|^{-1}\le cL(z)^N.$$ For every entry $(j,k)$ of $G_i$, require $$|(G_i(z))_{jk}|\le cL(z)^N,$$ and, for every coordinate $a$, $$|(\Gamma_a(G_i)(z))_{jk}|w_a(z)\le c.$$ For every pair of coordinates $(a,b)$, require $$|(\Omega_{ab}(G_i)(z))_{jk}|w_a(z)w_b(z)\le c,$$ and $$|\bigl(\partial_a\Gamma_b(G_i)-\partial_b\Gamma_a(G_i)\bigr)(z)_{jk}|w_a(z)w_b(z)\le c.$$
Chern densities and integrals. Fix once a frame $A_y\in E_{\underline y}$ at each complex point. In an algebraic chart $e$ and at $y$ in its source, hold $A_y$ fixed while differentiating $$G_i^{,y}(v)=H_{A_y,i}(e^{-1}(v)).$$ For commuting indeterminates $Z_{ab}$ define $$\Omega_i^e(y;Z)=\sum_{a,b=0}^{d-1}\Omega_{ab}(G_i^{,y})(e(y))Z_{ab},\qquad C_{i,j}^e(y;Z)=[t^j]\det\bigl(I_{m_i}+t\Omega_i^e(y;Z)\bigr).$$ For a polynomial $Q$ in the $Z_{ab}$ put $$\operatorname{Top}_d Q=\sum_{w\in\mathfrak S_d}\operatorname{sgn}(w) \left[\prod_{a=0}^{d-1}Z_{a,w(a)}\right]Q.$$ For $R\in\mathbb R[c_{i,j}:i\in I,\ j\in\mathbb N]$, its real density in this chart is $$\rho_{R,e}(y)=\pi^{-d}\operatorname{Re}\operatorname{Top}_d\!\left(R\bigl(C_{i,j}^e(y;Z)\bigr)\right).$$ Apply the chart-supremum measure construction of (Arithmetic heights and self-intersections of Hermitian line bundlesDefinition ARAK.D041) to the chart densities $\max\{\varepsilon\rho_{R,e},0\}$ for each $\varepsilon\in\{1,-1\}$. Denote the resulting measures by $\mu_R^+$ and $\mu_R^-$.
Say that $R$ has Chern integral $t\in\mathbb R$ on $O_\sigma$ if both $\mu_R^+(O_\sigma)$ and $\mu_R^-(O_\sigma)$ are finite and their difference is $t$. In this case write $$\int_{O_\sigma}R(c(H))=\mu_R^+(O_\sigma)-\mu_R^-(O_\sigma)=t.$$ For a single bundle, $c_j(E,H)$ denotes the choice $R=c_{*,j}$. Empty sums and products are $0$ and $1$; in dimension zero the empty determinant is $1$ and $\operatorname{Top}_0 Q$ is the constant coefficient of $Q$.