Plain-language statement
The language accepted by the product NA is the intersection of the languages accepted by the component automata.
Exact Lean statement
theorem acc_lang_inter [Inhabited A] :
(NA.Prod M).AcceptedLang (NA.Prod_Acc M acc) = ⋂ i : I, (M i).AcceptedLang (acc i)Formal artifact
Lean source
theorem acc_lang_inter [Inhabited A] : (NA.Prod M).AcceptedLang (NA.Prod_Acc M acc) = ⋂ i : I, (M i).AcceptedLang (acc i) := by ext al ; simp [NA.AcceptedLang, NA.FinAccept] ; constructor · rintro ⟨n, as, ⟨ss, h_run, h_acc⟩, h_al⟩ i use n, as ; simp [h_al] use (fun k ↦ ss k i) ; constructor · exact na_prod_fin_run.mp h_run i · exact h_acc i · intro h_all have h_all' : ∀ i, ∃ ss_i, (M i).FinRun al.length al.padDefault ss_i ∧ ss_i (al.length) ∈ acc i := by intro i ; obtain ⟨n, as, ⟨ss_i, h_run_i, h_acc_i⟩, h_al⟩ := h_all i have h_n : n = al.length := by simp [← h_al, length_extract] obtain rfl := h_n use ss_i ; simp [h_acc_i] constructor · exact h_run_i.1 intro k h_k have h1 : k < (as.extract 0 al.length).length := by simp [length_extract, h_k] have h2 : al.padDefault k = as k := by rw [← h_al] ; simp (disch := omega) [padDefault_elt_left, get_extract'] simp [h2, h_run_i.2 k h_k] use al.length, al.padDefault ; simp [extract_padDefault] choose ss_i h_ss_i using h_all' use (fun k i ↦ ss_i i k) ; constructor · apply na_prod_fin_run.mpr intro i ; simpa using (h_ss_i i).1 · intro i ; exact (h_ss_i i).2- Project
- Automata Theory
- License
- Apache-2.0
- Commit
- f196548710ce
- Source
- AutomataTheory/Automata/Prod.lean:67-93
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Acc lang congr
acc_lang_congr
Plain-language statement
The language accepted by c.toDA with a unique accepting state s is exactly the equivalence class of s.
Source project: Automata Theory
Person-level attribution pending.
Acc lang concat e
Automata.acc_lang_concat_e
Plain-language statement
The language of the concatenation NA that is accepted by M0's accepting states is the language accepted by M0.
Source project: Automata Theory
Person-level attribution pending.
Acc lang concat ne
Automata.acc_lang_concat_ne
Plain-language statement
The language of the concatenation NA that is accepted by M1's accepting states is the language accepted by M0 concatenated with the language accepted by M1 minus the empty word.
Source project: Automata Theory
Person-level attribution pending.