{"ok":true,"data":{"commit":"02fc4285df7ebfa6a7e7f10272fcfbe3bb7a81a0","path":"statements/Defs/DFA.lean","oid":"3f7ec6eba422ed59171052edfcf976ae68426f6d","size":903,"range_start":0,"range_end":903,"truncated":false,"binary":false,"encoding":"utf8","content":"/-\nCopied from google-deepmind/formal-conjectures at commit a61ab09632df039ef8381b6ac8accc5ce4d954d7,\nfile FormalConjecturesForMathlib/Computability/DFA.lean: the definitions `DFA.IsSynchronizingWord`\nand `DFA.IsSynchronizing` with their namespace and variables, not the lemmas.\nCopyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0\n(https://www.apache.org/licenses/LICENSE-2.0).\n-/\nmodule\n\npublic import Mathlib.Computability.DFA\n\n@[expose] public section\n\nnamespace DFA\n\nvariable {α : Type*} {σ : Type*}\n\n/-- A word `w` that sends every state of `M` to one single state. -/\ndef IsSynchronizingWord (M : DFA α σ) (w : List α) : Prop :=\n  ∃ p : σ, ∀ q : σ, M.evalFrom q w = p\n\n/-- A DFA `M` is synchronizing if it has at least one synchronizing word. -/\ndef IsSynchronizing (M : DFA α σ) : Prop :=\n  ∃ w : List α, M.IsSynchronizingWord w\n\nend DFA\n"},"meta":{"request_id":"08f64e33-e76","took_us":122,"limits":{"limit":600,"remaining":15,"window_ms":60000,"reset_ms":58403,"cost":1,"streams":{"limit":16,"open":0}}}}