Let $\mathcal{O}$ be a discrete valuation ring, and $\mathcal{G}$ is a flat group scheme over $\mathcal{O}$, we may assume the generic fiber is reductive. Then can we define its Lie algebra, and whether it is flat?
PS: given a reductive group $G$ and a parabolic subgroup $P$, we can construct a groups scheme over $\mathcal{O}$ with generic fiber $G$ and special fiber $P$, it seems not to be flat group scheme