{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,15]],"date-time":"2026-05-15T09:02:05Z","timestamp":1778835725388,"version":"3.51.4"},"reference-count":75,"publisher":"Cambridge University Press (CUP)","issue":"3","license":[{"start":{"date-parts":[[2011,3,30]],"date-time":"2011-03-30T00:00:00Z","timestamp":1301443200000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Math. Struct. Comp. Sci."],"published-print":{"date-parts":[[2011,6]]},"abstract":"<jats:p>The <jats:sc>Hybrid<\/jats:sc> system (Ambler <jats:italic>et al<\/jats:italic>. 2002b), implemented within Isabelle\/HOL, allows object logics to be represented using higher order abstract syntax (HOAS), and reasoned about using tactical theorem proving in general, and principles of (co)induction in particular. The form of HOAS provided by <jats:sc>Hybrid<\/jats:sc> is essentially a lambda calculus with constants.<\/jats:p><jats:p>Of fundamental interest is the form of the lambda abstractions provided by <jats:sc>Hybrid<\/jats:sc>. The user has the convenience of writing lambda abstractions using names for the binding variables. However, each abstraction is actually a <jats:italic>definition<\/jats:italic> of a de Bruijn expression, and <jats:sc>Hybrid<\/jats:sc> can unwind the user's abstractions (written with names) to machine friendly de Bruijn expressions (without names). In this sense the formal system contains a <jats:italic>hybrid<\/jats:italic> of named and nameless bound variable notation.<\/jats:p><jats:p>In this paper, we present a formal theory in a logical framework, which can be viewed as a model of core <jats:sc>Hybrid<\/jats:sc>, and state and prove that the model is representationally adequate for HOAS. In particular, it is the canonical translation function from \u03bb-expressions to <jats:sc>Hybrid<\/jats:sc> that witnesses adequacy. We also prove two results that characterise how <jats:sc>Hybrid<\/jats:sc> represents certain classes of \u03bb-expression.<\/jats:p><jats:p>We provide the first detailed proof to be published that proper locally nameless de Bruijn expressions and \u03b1-equivalence classes of \u03bb-expressions are in bijective correspondence. This result is presented as a form of de Bruijn representational adequacy, and is a key component of the proof of <jats:sc>Hybrid<\/jats:sc> adequacy.<\/jats:p><jats:p>The <jats:sc>Hybrid<\/jats:sc> system contains a number of different syntactic classes of expression, and associated abstraction mechanisms. Hence, this paper also aims to provide a self-contained theoretical introduction to both the syntax and key ideas of the system. Although this paper will be of considerable interest to those who wish to work with <jats:sc>Hybrid<\/jats:sc> in Isabelle\/HOL, a background in automated theorem proving is not essential.<\/jats:p>","DOI":"10.1017\/s0960129511000041","type":"journal-article","created":{"date-parts":[[2011,3,30]],"date-time":"2011-03-30T10:52:21Z","timestamp":1301482341000},"page":"585-646","source":"Crossref","is-referenced-by-count":7,"title":["The representational adequacy of <scp>Hybrid<\/scp>"],"prefix":"10.1017","volume":"21","author":[{"given":"R. L.","family":"CROLE","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"56","published-online":{"date-parts":[[2011,3,30]]},"reference":[{"key":"S0960129511000041_ref75","first-page":"306","volume-title":"Springer-Verlag Lecture Notes in Computer Science","volume":"2051","author":"Vestergaard","year":"2001"},{"key":"S0960129511000041_ref70","doi-asserted-by":"publisher","DOI":"10.1145\/944705.944729"},{"key":"S0960129511000041_ref64","first-page":"202","volume-title":"Springer-Verlag Lecture Notes in Artificial Intelligence","author":"Pfenning","year":"1999"},{"key":"S0960129511000041_ref68","first-page":"475","article-title":"A Mechanical Proof of the Church\u2013Rosser Theorem","volume":"35","author":"Shankar","year":"1988","journal-title":"ACM"},{"key":"S0960129511000041_ref63","doi-asserted-by":"crossref","unstructured":"Pfenning F. and Elliott C. (1988) Higher-Order Abstract Syntax. In: Proceedings of the ACM SIGPLAN '88 Symposium on Language Design and Implementation 199\u2013208.","DOI":"10.1145\/53990.54010"},{"key":"S0960129511000041_ref62","unstructured":"Pfenning F. (2003) Computation and deduction. (Available from: http:\/\/www.cs.cmu.edu\/~twelf\/notes\/cd.ps.)"},{"key":"S0960129511000041_ref60","first-page":"207","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Norrish","year":"2007"},{"key":"S0960129511000041_ref59","doi-asserted-by":"publisher","DOI":"10.1023\/A:1006496715975"},{"key":"S0960129511000041_ref58","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2007.09.019"},{"key":"S0960129511000041_ref56","first-page":"375","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Momigliano","year":"2003"},{"key":"S0960129511000041_ref55","first-page":"4","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Miller","year":"2006"},{"key":"S0960129511000041_ref54","first-page":"1","volume-title":"Electronic Notes in Theoretical Computer Science","author":"Miculan","year":"2001"},{"key":"S0960129511000041_ref53","first-page":"50","article-title":"A Mechanized Theory of the \u03c0-Calculus in HOL","volume":"1","author":"Melham","year":"1994","journal-title":"Nordic Journal of Computing"},{"key":"S0960129511000041_ref52","doi-asserted-by":"publisher","DOI":"10.1023\/A:1006294005493"},{"key":"S0960129511000041_ref51","doi-asserted-by":"publisher","DOI":"10.1145\/504077.504080"},{"key":"S0960129511000041_ref49","unstructured":"McDowell R. (1997) Reasoning in a Logic with Definitions and Induction, Ph.D. thesis, University of Pennsylvania."},{"key":"S0960129511000041_ref48","first-page":"19","volume-title":"Eighth Symposium on Trends in Functional Programming (TFP 2007)","author":"Lakin","year":"2007"},{"key":"S0960129511000041_ref47","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796800001106"},{"key":"S0960129511000041_ref67","doi-asserted-by":"publisher","DOI":"10.1145\/1147954.1147961"},{"key":"S0960129511000041_ref46","volume-title":"MERLIN'05, Mechanized Reasoning about Languages with Variable Binding 2005 Workshop","author":"Honsell","year":"2005"},{"key":"S0960129511000041_ref66","doi-asserted-by":"publisher","DOI":"10.1016\/S0890-5401(03)00138-X"},{"key":"S0960129511000041_ref44","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-48224-5_78"},{"key":"S0960129511000041_ref43","first-page":"204","volume-title":"Proceedings of 14th Annual IEEE Symposium on Logic in Computer Science, LICS'99, Trento, Italy","author":"Hofmann","year":"1999"},{"key":"S0960129511000041_ref42","volume-title":"Introduction to Combinators and the Lambda Calculus","author":"Hindley","year":"1988"},{"key":"S0960129511000041_ref61","volume-title":"ML for the Working Programmer","author":"Paulson","year":"1997"},{"key":"S0960129511000041_ref57","unstructured":"Momigliano A. , Ambler S. J. and Crole R. L. (2001) A Comparison of Formalizations of the Meta-Theory of a Language with Variable Bindings in Isabelle. In: Boulton R. J. and Jackson P. B. (eds.) Supplemental Proceedings of the 14th International Conference on Theorem Proving in Higher Order Logics, Report EDI-INF-RR-0046 267\u2013282."},{"key":"S0960129511000041_ref34","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.2008.33"},{"key":"S0960129511000041_ref7","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2007.01.018"},{"key":"S0960129511000041_ref32","doi-asserted-by":"publisher","DOI":"10.1007\/s001650200016"},{"key":"S0960129511000041_ref13","unstructured":"Clouston R. (2010) Equational Logic for Names and Binders, Ph.D. thesis, University of Cambridge Computer Laboratory."},{"key":"S0960129511000041_ref8","first-page":"45","volume-title":"Proc. of the 23rd IEEE Symposium on Logic in Computer Science (LICS 2008)","author":"Berghofer","year":"2008"},{"key":"S0960129511000041_ref26","first-page":"193","volume-title":"Proceedings of the 14th Annual Symposium on Logic in Computer Science (LICS'99)","author":"Fiore","year":"1999"},{"key":"S0960129511000041_ref18","first-page":"124","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Despeyroux","year":"1995"},{"key":"S0960129511000041_ref31","first-page":"214","volume-title":"Proceedings of the 14th Annual Symposium on Logic in Computer Science (LICS'99)","author":"Gabbay","year":"1999"},{"key":"S0960129511000041_ref73","first-page":"38","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Urban","year":"2005"},{"key":"S0960129511000041_ref65","first-page":"219","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Pitts","year":"2001"},{"key":"S0960129511000041_ref22","volume-title":"Springer-Verlag Lecture Notes in Computer Science","volume":"2342","author":"Felty","year":"2002"},{"key":"S0960129511000041_ref24","doi-asserted-by":"publisher","DOI":"10.1145\/1599410.1599422"},{"key":"S0960129511000041_ref45","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(00)00095-5"},{"key":"S0960129511000041_ref50","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.1997.614968"},{"key":"S0960129511000041_ref12","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2008.12.115"},{"key":"S0960129511000041_ref17","first-page":"381","article-title":"Lambda Calculus Notation with Nameless Dummies: a Tool for Automatic Formula Manipulation, with Application to the Church Rosser Theorem","volume":"34","author":"de","year":"1972","journal-title":"Indagationes Mathematicae"},{"key":"S0960129511000041_ref21","article-title":"Interactive Theorem Proving in Twelf","volume":"15","author":"Felty","year":"2002","journal-title":"The Association of Logic Programming Newsletter"},{"key":"S0960129511000041_ref23","first-page":"228","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Felty","year":"2010"},{"key":"S0960129511000041_ref74","volume-title":"Logic and Structure","author":"van","year":"1989"},{"key":"S0960129511000041_ref39","doi-asserted-by":"publisher","DOI":"10.1145\/138027.138060"},{"key":"S0960129511000041_ref36","first-page":"173","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Gordon","year":"1996"},{"key":"S0960129511000041_ref1","volume-title":"Handbook of Mathematical Logic","author":"Aczel","year":"1977"},{"key":"S0960129511000041_ref40","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796807006430"},{"key":"S0960129511000041_ref69","volume-title":"Fresh Objective Caml User Manual","author":"Shinwell","year":"2005"},{"key":"S0960129511000041_ref10","first-page":"63","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Capretta","year":"2007"},{"key":"S0960129511000041_ref2","article-title":"A Hybrid Encoding of Howe's Method for Establishing Congruence of Bisimilarity. (Extended Abstract)","volume":"70","author":"Ambler","year":"2002","journal-title":"Electronic Notes in Theoretical Computer Science"},{"key":"S0960129511000041_ref3","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45685-6_3"},{"key":"S0960129511000041_ref5","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Anderson","year":"2004"},{"key":"S0960129511000041_ref41","doi-asserted-by":"publisher","DOI":"10.1145\/1042038.1042041"},{"key":"S0960129511000041_ref6","doi-asserted-by":"publisher","DOI":"10.1145\/1328897.1328443"},{"key":"S0960129511000041_ref9","volume-title":"Mechanizing the Metatheory of LF","author":"Berghofer","year":"2010"},{"key":"S0960129511000041_ref11","first-page":"65","volume-title":"Lecture Notes in Logic","author":"Capretta","year":"2009"},{"key":"S0960129511000041_ref14","first-page":"223","volume-title":"Electronic Notes in Theoretical Computer Science","volume":"1496","author":"Clouston","year":"2007"},{"key":"S0960129511000041_ref71","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-008-9097-2"},{"key":"S0960129511000041_ref15","unstructured":"Crole R. L. (1998) Lectures on [Co]Induction and [Co]Algebras. Technical Report 1998\/12, Department of Mathematics and Computer Science, University of Leicester."},{"key":"S0960129511000041_ref16","unstructured":"Crole R. L. (2010) \u03b1-Equivalence Equalities."},{"key":"S0960129511000041_ref19","article-title":"Metatheoretic results for a modal \u03bb-calculus","volume":"1","author":"Despeyroux","year":"2000","journal-title":"Journal of Functional and Logic Programming"},{"key":"S0960129511000041_ref20","first-page":"147","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Despeyroux","year":"1997"},{"key":"S0960129511000041_ref30","doi-asserted-by":"publisher","DOI":"10.1093\/logcom\/exp049"},{"key":"S0960129511000041_ref37","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(06)80007-1"},{"key":"S0960129511000041_ref72","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2004.06.016"},{"key":"S0960129511000041_ref27","unstructured":"Fiore M. P. (2006) On the structure of substitution. Invited address for the 22nd Mathematical Foundations of Programming Semantics Conference (MFPS XXII), DISI, University of Genova, Italy."},{"key":"S0960129511000041_ref4","first-page":"83","volume-title":"Collegium Logicum (Proceedings of the Kurt Godel Society","author":"Ambler","year":"2004"},{"key":"S0960129511000041_ref28","doi-asserted-by":"crossref","unstructured":"Ford J. and Mason I. A. (2001) Operational Techniques in PVS \u2013 A Preliminary Evaluation. In: Proceedings of the Australasian Theory Symposium, CATS '01.","DOI":"10.1016\/S1571-0661(04)80882-X"},{"key":"S0960129511000041_ref25","unstructured":"Felty A. P. and Momigliano A. (2010) Hybrid \u2013 A Definitional Two-Level Approach to Reasoning with Higher-Order Abstract Syntax. Journal of Automated Reasoning 1\u201363."},{"key":"S0960129511000041_ref29","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-007-0056-1"},{"key":"S0960129511000041_ref33","first-page":"154","volume-title":"Springer-Verlag Lecture Notes in Computer Science","author":"Gacek","year":"2008"},{"key":"S0960129511000041_ref35","first-page":"414","volume-title":"Springer-Verlag Lecture Notes in Computer Science","volume":"780","author":"Gordon","year":"1994"},{"key":"S0960129511000041_ref38","first-page":"194","volume-title":"Proceedings, Symposium on Logic in Computer Science, Ithaca, New York","author":"Harper","year":"1987"}],"container-title":["Mathematical Structures in Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0960129511000041","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2019,4,27]],"date-time":"2019-04-27T04:13:53Z","timestamp":1556338433000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0960129511000041\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2011,3,30]]},"references-count":75,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2011,6]]}},"alternative-id":["S0960129511000041"],"URL":"https:\/\/doi.org\/10.1017\/s0960129511000041","relation":{},"ISSN":["0960-1295","1469-8072"],"issn-type":[{"value":"0960-1295","type":"print"},{"value":"1469-8072","type":"electronic"}],"subject":[],"published":{"date-parts":[[2011,3,30]]}}}