Skip to content

Commit

Permalink
Update FormalSystems/Preliminaries/Language.lean
Browse files Browse the repository at this point in the history
  • Loading branch information
matzemathics committed Apr 19, 2024
1 parent 3cbaf92 commit a907e0d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions FormalSystems/Preliminaries/Language.lean
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,8 @@ theorem Sigma.kleene_contains_all : ∀(w : Word α), w ∈ (Σ)∗
| [] => by exists 0
| x::xs => by
have ⟨n, hn⟩ := Sigma.kleene_contains_all xs
exists (n + 1)
rw [pow_succ]
conv => right; right; rw [← pow_one (Σ)]
rw [npow_mul_comm]
simp
exists (1 + n)
simp [pow_add]
exists [x]
exists xs

Expand Down

0 comments on commit a907e0d

Please sign in to comment.