期刊文献+

抽象数据类型的双代数结构 被引量:5

Bialgebraic Structure of Abstract Data Types
下载PDF
导出
摘要 对抽象数据类型的语法构造和动态行为的性质及两者的关系而言,单纯利用代数或共代数方法进行研究存在一定的不足.文中结合范畴论及分配律给出抽象数据类型的双代数结构,并通过λ-双代数自然地描述了语法构造与动态行为之间的转换关系;分别利用分配律对共代数函子及代数函子进行函子化提升,证明这种函子化提升可以将初始代数(或终结共代数)提升为初始(或终结)λ-双代数,并将其应用于递归及共递归函数的定义及计算中.实例表明,这种函子化提升可以扩展代数中的归纳原理和共代数中的共归纳原理,从而提高程序语言对抽象数据类型的描述与性质证明能力. As algebraic or coalgebraic methods have some disadvantages in analyzing the relationships and properties between the syntactic constructions and the dynamic behaviors of Abstract data types,this paper presents a bialgebraic structure of Abstract data types based on the category theory and the distributive laws,uses λ-bialgebras to naturally describe the transformation between the syntactic constructions and the dynamic behaviors,and employs distributive laws to functorially lift coalgebraic and algebraic functors,thus lifting initial algebras(or final coalgebras) to initial(or final) λ-bialgebra.Moreover,the functorial lifting is applied to the definition and computation of recursive and corecursive functions.Case study indicates that,as the functorial lifting extends the inductive principles of algebras and the coinductive principles of coalgebras,it helps to improve the abilities of programming languages in describing or proving the properties of Abstract data types.
出处 《华南理工大学学报(自然科学版)》 EI CAS CSCD 北大核心 2011年第12期44-50,共7页 Journal of South China University of Technology(Natural Science Edition)
基金 国家自然科学基金资助项目(61103039) 高等学校博士学科点专项科研基金资助项目(20100172120043) 华南理工大学中央高校基本科研业务费专项资金资助项目(2009ZM0158)
关键词 抽象数据类型:共代数:双代数:共递归 abstract data type coalgebras bialgebras corecursion
  • 相关文献

参考文献17

  • 1Meijer E,Fokkinga M,Paterson R.Functional programming with bananas,lenses,envelopes and barbed wire[C]//Hughes J.Functional Programming Languages and Computer Architecture.Berlin:Springer,1991:215-240.
  • 2Malcolm G.Algebraic types and program transformation[D].Groningen:Department of Computing Science,University of Groningen,1990:1-50.
  • 3Bird R.Introduction to functional programming using Haskell[M].2nd ed.London:Prentice-Hall,1998.
  • 4苏锦钿,余珊珊.共归纳数据类型上的共递归操作及其计算定律[J].华南理工大学学报(自然科学版),2011,39(10):90-95. 被引量:7
  • 5Hensel U,Jacobs B.Coalgebraic theories of sequences in PVS[J].Journal of Logic and Computation,1999,9 (4):463-500.
  • 6Hinze R.Reasoning about codata[C]//Horváth Z,Plasmeijer R,Zsók V.Central European Functional Programming School (CEFP 2009).Berlin:Springer,2010:42-93.
  • 7Hutton G.Fold and unfold for program semantics[C]//Proceeding of 3rd ACM SIGPLAN International Conference on Functional Programming.New York:ACM Press,1998:280-288.
  • 8Vene V,Uustalu T.Functional programming with apomorphisms (corecursion)[J].Proceedings of the Estonian Academy of Science:Physics,Mathematics,1998,47 (3):147-161.
  • 9Rutten J J M M,Turi D.Initial algebra and final coalgebra semantics for concurrency[C]// Proceedings of REX SchooL/Symposium.Berlin:Springer,1993:477-530.
  • 10Turi D.Functorial operational semantics and its denotational dual[D].Amsterdam:Department of Computer Science,Free University,1996:1-227.

二级参考文献17

  • 1Bird R. Introduction to functional programming using haskell [ M ]. 2nd edition. UK : Prentice-Hall, 1998.
  • 2Meijer E, Fokkinga E, Paterson R. Functional progra- mming with bananas, lenses, envelopes and barbed wire [ C ]//Functional Programming Languages and Computer Architecture. Berlin : Springer, 1991 : 215- 240.
  • 3Bird R, Moor O D. Algebra of programming [ M ]. UK : Prentice Hall, 1997.
  • 4Gibbons J. Lecture notes on algebraic and coalgebraic methods for calculating functional programs [ C ]//Su- mmer School on Algebraic and Coalgebraic Methods in the Mathematics of Program Construction. UK : Oxford,2000.
  • 5Greiner J. Programming with inductive and co-inductive types [ R ]. Pittsburgh:School of Computer Science, Car- negie-MelIon University, 1992.
  • 6Hensel U, Jacobs B. Coalgebraic theories of sequences in PVS [ J ]. Journal of Logic and Computation, 1999,9 (4) : 463- 500.
  • 7Kieburtz R B. Codata and comonads in Haskell [ EB/ OL]. ( 1999-12-31 ). http://citeseerx, ist. psu. edu/'view- doc/summary? doi = 10.1.1.46. 5169.
  • 8Hinze R. Reasoning about Codata [ C ]//Proceedings of central european functional programming school-third summer school. Berlin : Springer Berlin Heidelberg, 2010 : 42-93.
  • 9Hutton G. Fold and unfold for program semantics [ C ]// Proceedings of the 3rd ACM Sigplan International Confe- rence on Functional Programming. [ S. 1. ] : ACM, 1998 : 280-288.
  • 10Gibbons J, Jones G. The under-appreciated unfold [ C ] //Proc 3rd ACM Sigplan International Conference on Functional Programming. New York: ACM, 1998: 273- 279.

共引文献6

同被引文献96

  • 1Meijer E, Fokkinga M, Paterson R. Functional programming with bananas, lenses, envelopes and barbed wire I-G] // Hughes J, ed. LNCS523: Functional Programming Languages and Computer Architecture. Berlin: Springer, 1991:215-240.
  • 2Malcolm G. Algebraic types and program transformation I-D]. The Netherlands: University of Groningen, 1990.
  • 3Bird R. Introduction to Functional Programming Using Haskell [M]. 2nd ed. Englewood Cliffs, NJ: Prentice-Hall, 1998.
  • 4Bird R, Moor O D. Algebra of Programming I-M]. Englewood Cliffs, NJ Prentice Hall, 1997.
  • 5Hensel U, Jacobs B. Coalgebraic theories of sequences in PVS[J]. Journal of Logic and Computation, 1999, 9(4): 463-500.
  • 6Hinze R. Reasoning about codata [G] //LNCS 6299 Central European Functional Programming School (CEFP 2009 ). Berlin: Springer, 2010:42-93.
  • 7Pattinson D. An introduction to the theory of coalgebras [EBIOL]. [2011-06-13]. http,//www, doe. ic. ac. ukldirk/ Publications/.
  • 8Hutton G. Fold and unfold for program semantics [-C ]//Proc of the 3rd ACM SIGPLAN Int Conf on Functional Programming. New York: ACM, 1998:280-288.
  • 9Gibbons J, Jones G. The under-appreciated unfold C // Proc of the 3rd ACM SIGPLAN Int Conf on Functional Programming. New York: ACM, 1998:273-279.
  • 10Vene V, Uustalu T. Functional programming with apomorphism (corecursion)[C] /[Proc of the Estonian Academy o{ Science; Physics, Mathematics. Estonian: Estonian Academy Publishers, 1998 147-161.

引证文献5

二级引证文献15

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部