Buckets:
| import OAI.Computability.StarHeight.Recognition | |
| namespace OAI | |
| namespace GeneralizedStarHeight | |
| universe u | |
| theorem main {Alphabet : Type u} [Finite Alphabet] (L : Language Alphabet) (hL : L.IsRegular) : | |
| HasHeightAtMost L 3 := by | |
| classical | |
| rcases isEmpty_or_nonempty Alphabet with h|h | |
| · let : IsEmpty Alphabet := h | |
| apply HasHeightAtMost.finite L _ 3 | |
| apply (Set.finite_singleton ([] : List Alphabet)).subset | |
| intro w _ | |
| cases w with | |
| | nil => rfl | |
| | cons a w => exact isEmptyElim a | |
| · let : Nonempty Alphabet := h | |
| obtain ⟨M,hM,hfin,T,F,hTF⟩ := FiniteRecognition.of_regular hL | |
| let : Monoid M := hM | |
| let : Fintype M := hfin | |
| have heq : L=({w | T (FreeMonoid.ofList w)∈F} : Language Alphabet) := by | |
| ext w | |
| exact hTF w | |
| rw [heq] | |
| exact FiniteRecognition.recognized_height_three T F | |
| end GeneralizedStarHeight | |
| end OAI | |
Xet Storage Details
- Size:
- 884 Bytes
- Xet hash:
- 82f14fd73d6d7ec3f62c9425005386bfa4c11d04579791dd0218783035027ac0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.