1 version of the statement of Rational frame systems and flag refinements, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.
Version 1 , first version
Let $F$ be a field and $Z$ an integral separated scheme of finite type over $F$, with function field $\Omega=F(Z)$. Regard every local ring $\mathcal O_{Z,z}$ as a subring of $\Omega$. Fix a finite index set $I$ and natural numbers $m_i,k_i$ for $i\in I$. All matrix indices start at zero.
**Rational frame systems.** For a subring $O\subseteq K$ of a field, define $P_k(O)$ to be the set of tuples $g=(g_i)_{i\in I}$ satisfying
$$g_i\in\mathrm{GL}_{m_i}(K),\qquad (g_i)_{ab}\in O,\qquad (\det g_i)^{-1}\in O,$$
and
$$(g_i)_{ab}=0\quad\text{whenever }a<k_i\text{ and }a<b.$$
A rational frame system of type $k$ on $Z$ is a family
$$S_z\subseteq\prod_{i\in I}\mathrm{GL}_{m_i}(\Omega)$$
with the following local description: every point has an open neighbourhood $U$ and a fixed tuple $A$ of invertible matrices over $\Omega$ such that
$$S_z=P_k(\mathcal O_{Z,z})A\qquad(z\in U).$$
Type $0$ gives unrestricted invertible changes of local frame and describes locally free sheaves of ranks $m_i$. Type $m=(m_i)_i$ gives lower triangular changes of frame.
**Refinements.** Let $Y$ be another integral separated scheme of finite type over $F$, with function field $\Omega'$. Let $S'$ be a frame system of type $k'$ on $Y$. A refinement from $S$ to $S'$ consists of an $F$-embedding $\phi:\Omega\hookrightarrow\Omega'$ and a dominant $F$-morphism $f:Y\to Z$ inducing $\phi$, subject to the following conditions.
Require $k_i\le k'_i$ for every $i$. For every $y\in Y$, $A'\in S'_y$ and $A\in S_{f(y)}$, require
$$A'\phi(A)^{-1}\in P_k(\mathcal O_{Y,y}),$$
where $\phi$ acts entrywise. For every nonzero $g\in\mathcal O_{Z,f(y)}$ whose principal ideal is radical, the principal ideal generated by $\phi(g)$ in $\mathcal O_{Y,y}$ is radical.
For every field $K$, every point $x:\operatorname{Spec}K\to Z$, every $A\in S_{x_0}$ and every $h\in P_k(K)$, there is exactly one point $p:\operatorname{Spec}K\to Y$ such that $f\circ p=x$ and, for some $A'\in S'_{p_0}$,
$$h\left(\bigl(A'\phi(A)^{-1}\bigr)(p)\right)^{-1}\in P_{k'}(K).$$
Here $x_0,p_0$ are the images of the unique point of $\operatorname{Spec}K$; evaluation at $p$ is entrywise through $\mathcal O_{Y,p_0}\to K$. A full-flag refinement has $k'=m$.
**Graded Cartier divisors.** Suppose $S'$ has type $m$. Write $\eta_Y$ for the generic point of $Y$ and
$$\mathcal R_m=\{(i,a):i\in I,\ 0\le a<m_i\}.$$
A family of Cartier divisors $(D_{i,a})_{(i,a)\in\mathcal R_m}$ is graded for $S'$ if there is one $B\in S'_{\eta_Y}$ such that, for every $y\in Y$ and $(i,a)\in\mathcal R_m$, there is an $A\in S'_y$ for which
$$t=(B_iA_i^{-1})_{aa}\ne0$$
is a local rational equation for $D_{i,a}$ at $y$: the germ of $D_{i,a}$ equals that of the principal Cartier divisor defined by $t$.
**Intersection polynomials.** Let $Y/F$ be smooth, geometrically integral and projective of dimension $d$, and let $(D_{i,a})$ be any Cartier divisors indexed by $\mathcal R_m$. Write $\deg_Y Q(D)$ for the real linear functional on $\mathbb R[x_{i,a}]$ which sends a degree-$d$ monomial $x_{r_1}\cdots x_{r_d}$ to the intersection degree $\deg(D_{r_1}\cdots D_{r_d})$ and sends every monomial of another total degree to zero.
For a polynomial $R\in\mathbb R[c_{i,j}:i\in I,\ j\in\mathbb N]$, let $R(e(x))$ be obtained by substituting the $j$th elementary symmetric polynomial in $x_{i,0},\ldots,x_{i,m_i-1}$ for $c_{i,j}$. The zeroth elementary symmetric polynomial is $1$, and those with $j>m_i$ are zero. Put
$$P_m(x)=\prod_{i\in I}\prod_{a=0}^{m_i-1}(-x_{i,a})^{m_i-1-a},\qquad
\Delta_m(x)=\prod_{i\in I}\prod_{0\le a<b<m_i}(x_{i,b}-x_{i,a}).$$
For $Q\in\mathbb R[x_{i,a}]$, define
$$\operatorname{Alt}_m Q=\sum_{w\in\prod_{i\in I}\mathfrak S_{m_i}}\left(\prod_{i\in I}\operatorname{sgn}(w_i)\right)Q(x_{i,w_i(a)}).$$
Empty sums and products have their usual values $0$ and $1$.