Proof (closure of regular languages under Kleene plus)

Let $G = (Σ, V, P, S)$ be a regular grammar that produces $L$.

Define $G^+ = (Σ, V, P^+, S)$ where $$ \begin{align*} P^+ = P \cup \sb{A \to aS}{A \to a\in P}. \end{align*} $$ Note $G^+$ is a regular grammar. We claim that $\mathcal{L}(G^+) = L^+$.

$\mathcal{L}(G^+) \supseteq L^+$

Let $w = w_0 w_1 \ldots w_n\in L^+$ where $w_0, w_1, \ldots, w_n\in L$. Proceed by induction on $n$. For $n = 0$, since $P\subseteq P^+$, we have $\mathcal{L}(G) \subseteq \mathcal{L}(G^+)$ so $w = w_0 \in L \subseteq \mathcal{L}(G^+)$.

Suppose $w = w_0 \ldots w_n w_{n+1}$ with $w_0, \ldots, w_n, w_{n+1}\in L$ and $w_0 \ldots w_n \in \mathcal{L}(G^+)$. This means $S \xrightarrow{G^+} w_0 \ldots w_n$ and $S\xrightarrow{G} w_{n+1}$. As before, we know $S \xrightarrow{G^+} w_{n+1}$. Moreover the last rule application in $S \xrightarrow{G^+} w_0 \ldots w_n$ is a rule of the form $A \to a\in P$, so replacing it with $A \to aS \in P^+$ gives $S \xrightarrow{G^+} w_0 \ldots w_n S$. Combining, we have $S \xrightarrow{G^+} w_0 \ldots w_n w_{n+1} = w$.

$\mathcal{L}(G^+) \subseteq L^+$

We can assume WLOG that $G$ is $ε$-adequate. For $w \in \mathcal{L}(G^+)$, we proceed by induction on the number of occurrences of $S$ in the derivation of $S \xrightarrow{G^+} w$. Every rule in $P$ removes any $S$ from the current string, and every rule in $P^+ \setminus P$ introduces an $S$. Thus the number of occurrences of $S$ counts how many times one of the additional rules is used in the derivation.

If the only occurrence of $S$ is at the beginning, then all rules used are in $P$, so $S \xrightarrow{G} w$ and thus $w \in \mathcal{L}(G) = L \subseteq L^+$.

Assume the claim is true for some $n$, and $S\xrightarrow{G^+} w$ is a derivation with $n+1$ many occurrences of $S$. Write $S \xrightarrow{G^+} vS \xrightarrow{G^+} w$, with the occurrence of $S$ in $vS \xrightarrow{G^+} w$ is at the beginning. The final rewrite rule used in $S\xrightarrow{G^+} vS$ is of the form $A \to aS\in P^+$, replacing with $A \to a\in P$ gives $S \xrightarrow{G^+} v$. This is now a derivation with $n$ occurrences of $S$, so $v\in L^+$. Moreover, all strings in the derivation of $vS \xrightarrow{G^+} w$ are prefixed by $v$, so remove them to obtain $S \xrightarrow{G^+} u$ where $w = vu$. This only has one occurrence of $S$, so $u \in L$. Hence $w = vu \in L^+ L \subseteq L^+$.