[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-657517-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-657517-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","decreasing-diagrams-formalization-of-decreasing-diagrams","Decreasing-Diagrams - Formalization of Decreasing Diagrams","","This theory formalizes decreasing diagrams and proves that any locally decreasing abstract rewrite system is confluent. The work studies the valley and conversion versions following the original proofs by van Oostrom. As an application, it proves Newman’s lemma. The document also points to an external source for a description of the formalization referenced in the bibliography.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/decreasing-diagrams-formalization-of-decreasing-diagrams/657517/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/decreasing-diagrams-formalization-of-decreasing-diagrams/657517.png","ImageObject",300,407,{"name":42,"@type":43},"Riley","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-10-30","2026-10-26",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What does the theory prove about locally decreasing abstract rewrite systems?","Question",{"text":62,"@type":63},"It proves that any locally decreasing abstract rewrite system is confluent.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Which two versions of decreasing diagrams are considered?",{"text":67,"@type":63},"The theory considers the valley version and the conversion version, following van Oostrom’s original proofs.",{"name":69,"@type":60,"acceptedAnswer":70},"What application result is proved using the formalization?",{"text":71,"@type":63},"Newman’s lemma is proved as an application of the decreasing-diagrams framework.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},657517,1793073959,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145},1374391975076,"https://ap-avatar.wpscdn.com/avatar/14000253ca4ec9f6853?x-image-process=image/resize,m_fixed,w_180,h_180&k=1783305029341752051","Decreasing-Diagrams  \nHarald Zankl  \nFebruary 6, 2026  \nAbstract  \nThis theory contains a formalization of decreasing diagrams show  \ning that any locally decreasing abstract rewrite system is conﬂuent.  \nWe consider the valley (van Oostrom, TCS 1994) and the conversion  \nversion (van Oostrom, RTA 2008) and closely follow the original proofs.  \nAs an application we prove Newman’s lemma.  \nA description of this formalization is available in [3] .  \nContents  \n1 Decreasing Diagrams 1  \n1.1 Valley Version . . . . . . . . . . . . . . . . . . . . . . . . . . . 1  \n1.1. 1 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . 1  \n1.1.2 Multisets . . . . . . . . . . . . . . . . . . . . . . . . . 3  \n1.1.3 Lexicographic maximum measure . . . . . . . . . . . . 12  \n1.1.4 Labeled Rewriting . . . . . . . . . . . . . . . . . . . . 20  \n1.1.5 Application: Newman’s Lemma . . . . . . . . . . . . . 27  \n1.2 Conversion Version . . . . . . . . . . . . . . . . . . . . . . . . 29  \n1 Decreasing Diagrams  \ntheory Decreasing-Diagrams imports HOL􀀀Library:Multiset Abstract􀀀Rewriting:Abstract-Rewriting begin  \n1.1 Valley Version  \nThis section follows [1] .  \n1.1.1 Appendix  \ninteraction of multisets with sets  \ndeﬁnition diﬀ :: 0a multiset ) 0a set ) 0a multiset where diﬀ M S = ﬁlter-mset (􀀕x: x  S) M  \ndeﬁnition intersect :: 0a multiset ) 0a set ) 0a multiset where intersect M S = ﬁlter-mset (􀀕x: x 2 S) M  \nnotation  \ndiﬀ (inﬁxl ‹􀀀s› 800 ) and intersect (inﬁxl ‹\\s› 800 )  \nlemma count-diﬀ [simp]:  \ncount (M 􀀀s A) a = count M a 􀀃 of-bool (a  A)  \nby (simp add: diﬀ-def )  \nlemma set-mset-diﬀ [simp]:  \nset-mset (M 􀀀s A) = set-mset M 􀀀 Aby (auto simp add: diﬀ-def )  \nlemma diﬀ-eq-singleton-imp:  \nM 􀀀s A = f\\#a\\#g =) a 2 (set-mset M 􀀀 A) unfolding diﬀ-def ﬁlter-mset-eq-conv by auto  \nlemma count-intersect [simp]:  \ncount (M \\s A) a = count M a 􀀃 of-bool (a 2 A)  \nby (simp add: intersect-def )  \nlemma set-mset-intersect [simp]:  \nset-mset (M \\s A) = set-mset M \\ Aby (auto simp add: intersect-def )  \nlemma diﬀ-from-empty: f\\#g􀀀s S = f\\#g unfolding diﬀ-def by auto  \nlemma diﬀ-empty: M 􀀀s fg = M unfolding diﬀ-def by (rule multiset-eqI ) simp  \nlemma submultiset-implies-subset: assumes M 􀀒\\# N shows set-mset M 􀀒 set-mset N  \nusing assms mset-subset-eqD by auto  \nlemma subset-implies-remove-empty: assumes set-mset M 􀀒 S shows M 􀀀s S = f\\#g  \nunfolding diﬀ-def using assms by (induct M ) auto  \nlemma remove-empty-implies-subset: assumes M 􀀀s S = f\\#g shows set-mset M 􀀒 S proof  \nﬁx x assume A: x 2 set-mset M  \nhave x  set-mset (M 􀀀s S) using assms by auto thus x 2 S using A unfolding diﬀ-def by auto qed  \nlemma lemmaA-3-8 : (M + N ) 􀀀s S = (M 􀀀s S) + (N 􀀀s S) unfolding diﬀ-def by (rule multiset-eqI ) simp  \nlemma lemmaA-3-9 : (M 􀀀s S ) 􀀀s T = M 􀀀s (S [ T ) unfolding diﬀ-def by (rule multiset-eqI ) simp  \nlemma lemmaA-3-10 : M = (M \\s S ) + (M 􀀀s S ) unfolding diﬀ-def intersect-def by auto  \nlemma lemmaA-3-11 : (M 􀀀s T ) \\s S = (M \\s S ) 􀀀s T unfolding diﬀ-def intersect-def by (rule multiset-eqI ) simp  \n1.1.2 Multisets  \nDeﬁnition 2.5(1)  \ndeﬁnition ds :: 0a rel ) 0a set ) 0a set where ds r S = fy : 9 x 2 S: (y ;x) 2 rg  \ndeﬁnition dm :: 0a rel ) 0a multiset ) 0a set where dm r M = ds r (set-mset M )  \ndeﬁnition dl :: 0a rel ) 0a list ) 0a set where dl r 􀀛 = ds r (set 􀀛)  \nnotation  \nds (inﬁxl ‹\\#s› 900 ) and  \ndm (inﬁxl ‹\\# m› 900 ) and  \ndl (inﬁxl ‹\\#l› 900 ) missing but useful  \nlemma ds-ds-subseteq-ds: assumes t: trans r shows ds r (ds r S ) 􀀒 ds r S proof  \nﬁx x assume A: x 2 ds r (ds r S ) show x 2 ds r S proof 􀀀  \nfrom A obtain y z where (x ; y) 2 r and (y ;z) 2 r and mem: z 2 S unfolding ds-def by auto  \nthus ?thesis using mem t trans-def unfolding ds-def by fast qed  \nqed  \nfrom PhD thesis of van Oostrom  \nlemma ds-monotone: assumes S 􀀒 T shows ds r S 􀀒 ds r T using assms unfolding ds-def by auto  \nlemma subset-imp-ds-subset: assumes trans r and S 􀀒 ds r T shows ds r S 􀀒  \nds r T  \nusing assms ds-monotone ds-ds-subseteq-ds by blast Deﬁnition 2.5(2) ","cbCaitzzUfzMd7nQ","https://ap.wps.com/l/cbCaitzzUfzMd7nQ","pdf",440368,47,"English","# Decreasing Diagrams\n## Valley Version\n## Conversion Version","[{\"question\":\"What does the theory prove about locally decreasing abstract rewrite systems?\",\"answer\":\"It proves that any locally decreasing abstract rewrite system is confluent.\"},{\"question\":\"Which two versions of decreasing diagrams are considered?\",\"answer\":\"The theory considers the valley version and the conversion version, following van Oostrom’s original proofs.\"},{\"question\":\"What application result is proved using the formalization?\",\"answer\":\"Newman’s lemma is proved as an application of the decreasing-diagrams framework.\"}]","Decreasing-Diagrams - Formalization of Decreasing Diagrams | PDF",1792981743,118]