[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-506199-105":59,"doc-detail-506199-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","lecture-20-november-28-2023","Lecture 20 - November 28, 2023","","Lecture notes introduce logical frameworks (LF) as a formal metalanguage for defining logics and deductive systems, plus a representation methodology. The notes motivate LF’s structural nature and preview substructural extensions such as Linear LF and Concurrent LF. The document explains core uses of logical frameworks: defining logics, supporting algorithms like proof checking/search and translations, and enabling metareasoning for metatheorems. It then details the central technique “judgments as types,” illustrating inference via graph reachability examples.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/lecture-20-november-28-2023/506199/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/lecture-20-november-28-2023/506199.png","ImageObject",300,407,{"name":92,"@type":93},"miaandmiso","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-17","2026-10-05",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What are logical frameworks (LF) used for in this course?","Question",{"text":112,"@type":113},"They define logics and deductive systems, support core algorithms such as proof checking and proof search, and enable metareasoning by representing proof computation so metatheorems can be verified.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Why does LF lead to substructural generalizations?",{"text":117,"@type":113},"LF is structural, and that limitation motivates extensions like Linear LF and Concurrent LF, which extend both the metalanguage and representation methodology to address shortcomings of earlier systems.",{"name":119,"@type":110,"acceptedAnswer":120},"What does the technique “judgments as types” mean?",{"text":121,"@type":113},"Judgments are treated as entities subject to deductive inference, and the document represents them as types in the metalanguage; inference rules then become proof constructors for those typed judgments.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},506199,1792317023,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":52,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":144,"preview_page_count":19,"preview_urls":145},7971478544854,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Lecture Notes on  \nLogical Frameworks  \n15-836: Substructural Logics  \nFrank Pfenning  \nLecture 20  \nNovember 28, 2023  \n1 Introduction  \nA logical framework consists of a formal metalanguage for the definition of logics and other deductive systems and a representation methodology. The seminal work on logical frameworks is LF [Harper et al., 1987, 1993], with a full-scale implementation in the Twelf system [Pfenning and Schrmann, 1999], available [at](at www.twelf.org)[ www.twelf.org](at www.twelf.org). Logical frameworks distill the essence of the conceptual notions that are used to define logics and other deductive systems, such as the statics and dynamics of programming languages. They are distinguished from general type theories and their implementations in systems such as Agda1 and Coq2 in that they designed for the specific domain of deductive systems rather than general (constructive or classical) mathematics.  \nLF itself is structural, and this limitation has led to substructural generalizations in the form of Linear LF (LLF) [Cervesato and Pfenning, 1996, 2002]3 and Concurrent LF (CLF) [Watkins et al., 2002, Cervesato et al., 2002, Schack-Nielsen and Schrmann, 2008, Schack-Nielsen, 2011]4 Each of these is designed to address some shortcomings of its predecessors, suitably extending both the formal metalanguage and the representation methodology.  \nWe will follow a similar path, introducing LF in today’s lecture and then consider substructural extensions in the next two lectures. We emphasize the universality of the underlying principles, which mirror the principles we have employed throughout in this course. One might even say that these principles are manifest in the design of the logical frameworks we represent.  \n1 [https://wiki.portal.chalmers.se/agda/pmwiki.php](https://wiki.portal.chalmers.se/agda/pmwiki.php)  \n2 [https://coq.inria.fr/](https://coq.inria.fr/)  \n3 [https://github.com/clf/llf](https://github.com/clf/llf)  \n4 [https://github.com/clf/celf](https://github.com/clf/celf)  \nLECTURE NOTES NOVEMBER 28, 2023  \nWhat is a logical framework used for? In this and the three remaining lectures we don’t have the time to cover the full rangle of applications, but we can broadly categorize them as follows:  \nDefinition: Logical frameworks are used to define logics and other deductive systems under consideration, ideally at a very high level of abstraction. Logics are generally characterized by propositions and rules of inference, programming languages by programs, type systems, and rules of computation. The main principle used in the definition of logics is summarized as judgments as types and proofs as objects.  \nAlgorithms: The most fundamental algorithm is that of proof checking for an object logic represented in a logical framework, but there are many others such as proof search, proof reduction, translations between logics, type checking, or evaluation of programs on an object language. The logical frameworks we consider support algorithms via computation as proof construction which encompasses both backward [Miller et al., 1991, Miller and Nadathur, 2012] and forward proof construction [Lpez et al., 2005] .  \nMetareasoning: Once a deductive system has been defined, we usually prove a number of important properties of it. For logics, these include cut elimination, identity elimination, focusing, soundness and completeness of translations, etc. For programming languages they are progress and preservation, soundness and completeness of type-checking algorithms, compiler correctness, etc. We can exploit the nature of representations in logical framework to formally prove such metatheorems Pfenning and Schrmann [1999], Schrmann [2000] . The general methodology is to represent that computational content of proof of the metatheorem algorithmically and then verify its totality. There are some gaps in our understanding of how to achieve this for substructural frameworks (see some approaches by McCreight and Schrmann [","cbCaigtPavoON3Tk","https://ap.wps.com/l/cbCaigtPavoON3Tk","pdf",200524,"English","# Introduction\n## What is a logical framework used for?\n## Judgments as Types","[{\"question\":\"What are logical frameworks (LF) used for in this course?\",\"answer\":\"They define logics and deductive systems, support core algorithms such as proof checking and proof search, and enable metareasoning by representing proof computation so metatheorems can be verified.\"},{\"question\":\"Why does LF lead to substructural generalizations?\",\"answer\":\"LF is structural, and that limitation motivates extensions like Linear LF and Concurrent LF, which extend both the metalanguage and representation methodology to address shortcomings of earlier systems.\"},{\"question\":\"What does the technique “judgments as types” mean?\",\"answer\":\"Judgments are treated as entities subject to deductive inference, and the document represents them as types in the metalanguage; inference rules then become proof constructors for those typed judgments.\"}]","Lecture 20 - November 28, 2023 | PDF",1791160882,25,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/843ed54f31b2f1627fab30f58abf671c.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9413f1cbbfaf6c00efea07e37aba16a7.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/4e41d99e3237d5ebb60093ffa42bcebb.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ff5b94e1ef7037fef274562ca9462758.webp",980,1268]