lemmaJ_0_0_subset_Gen: "J 0 0 ⊆ Gen (P 0 0)" apply (simp only: J.simps) apply (rule_tac thmD5) apply (rule Init_subset_Gen) by auto
lemma inc_dot_rule[simp]: "item_rule (inc_dot d x) = item_rule x" by (simp add: inc_dot_def)
lemma init_item_rule[simp]: "item_rule (init_item r k) = r" by (simp add: init_item_def)
lemma item_dot_is_α_length: "wellformed_item x ==> item_dot x = length (item_α x)" apply (simp add: item_α_def) by (simp add: min_absorb2 wellformed_item_def)
lemma Gen_subset_J_0_0_helper: assumes"wellformed_item x" assumes"item_origin x = 0" assumes"item_end x = 0" assumes"derives (item_α x) []" assumes"is_derivation (item_nonterminal x # γ)" shows"x ∈ π 0 {} Init" proof - let ?y = "init_item (item_nonterminal x, item_rhs x) 0" have y_dom: "?y ∈ π 0 {} Init" apply (rule_tac thmD7) using assms apply auto using is_nonterminal_item_nonterminal apply blast by (simp add: item_nonterminal_def item_rhs_def wellformed_item_def) let ?x = "inc_dot (length (item_α x)) ?y" have x1: "item_rule x = item_rule ?x" apply (simp) by (simp add: item_nonterminal_def item_rhs_def) have x2: "item_dot x = item_dot ?x" apply simp by (simp add: assms(1) item_dot_is_α_length) have x3: "item_origin x = item_origin ?x" using assms by auto have x4: "item_end x = item_end ?x" using assms by auto from x1 x2 x3 x4 have x_is_inc: "x = ?x"using item.expand by blast have wellformed_item_y: "wellformed_item ?y" using assms(1) item_nonterminal_def item_rhs_def wellformed_item_def by auto have"x ∈ π 0 {} {?y}" apply (subst x_is_inc) apply (rule_tac thmD6) apply (simp add: wellformed_item_y) apply (simp add: item_rhs_split) apply simp using assms apply simp done with y_dom show ?thesis using π_subset_elem_trans empty_subsetI insert_subset by blast qed
lemma Gen_subset_J_0_0: "Gen (P 0 0) ⊆J 0 0" apply (subst P_0_0_Gen) apply auto using Gen_subset_J_0_0_helper by blast
theorem thmD8: "J 0 0 = Gen (P 0 0)" using Gen_subset_J_0_0J_0_0_subset_Gen by blast
end
end
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-06-10)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.