Cartier duality via Mittag-Leffler modules
We construct the Cartier duality equivalence for affine commutative group schemes $G$ whose coordinate ring is a flat Mittag-Leffler module over an arbitrary base ring $R$. The dual $G^\vee$ of $G$ turns out to be an ind-finite ind-scheme over $R$. When $R$ is Noetherian and admits a dualizing complex, we construct a Fourier-Mukai transform between quasicoherent derived categories of $G$ and of $BG^\vee$ and also between those of $G^\vee$ and $BG$.