fbpx
Wikipedia

Type theory with records

Type theory with records is a formal semantics representation framework, using records to express type theory types. It has been used in natural language processing, principally computational semantics and dialogue systems.[1][2]

Syntax edit

A record type is a set of fields. A field is a pair consisting of a label and a type. Within a record type, field labels are unique. The witness of a record type is a record. A record is a similar set of fields, but fields contain objects instead of types. The object in each field must be of the type declared in the corresponding field in the record type.[3]

Basic type:  

Object:  

Ptype:  

Object:  

where   and   are individuals (type  ),   is proof that   is a boy, etc.

References edit

  1. ^ Cooper, Robin (2005). "Records and Record Types in Semantic Theory". Journal of Logic and Computation. 15 (2): 99–112. doi:10.1093/logcom/exi004.
  2. ^ Cooper, Robin (2010). Type theory and semantics in flux. Handbook of the Philosophy of Science. Volume 14: Philosophy of Linguistics. Elsevier.
  3. ^ R. Cooper. Type theory and language: From perception to linguistic communication. Draft of book chapters available from https://sites.google.com/site/typetheorywithrecords/drafts


type, theory, with, records, formal, semantics, representation, framework, using, records, express, type, theory, types, been, used, natural, language, processing, principally, computational, semantics, dialogue, systems, syntax, edita, record, type, fields, f. Type theory with records is a formal semantics representation framework using records to express type theory types It has been used in natural language processing principally computational semantics and dialogue systems 1 2 Syntax editA record type is a set of fields A field is a pair consisting of a label and a type Within a record type field labels are unique The witness of a record type is a record A record is a similar set of fields but fields contain objects instead of types The object in each field must be of the type declared in the corresponding field in the record type 3 Basic type x I n d displaystyle begin bmatrix text x Ind end bmatrix nbsp Object x a displaystyle begin bmatrix text x a end bmatrix nbsp Ptype x I n d c boy b o y x y I n d c dog d o g y c hug h u g x y displaystyle left begin array lll text x amp amp Ind text c text boy amp amp boy text x text y amp amp Ind text c text dog amp amp dog text y text c text hug amp amp hug x y end array right nbsp Object x a c boy p 1 y b c dog p 2 c hug p 3 displaystyle left begin array lll text x amp amp a text c text boy amp amp p 1 text y amp amp b text c text dog amp amp p 2 text c text hug amp amp p 3 end array right nbsp where a displaystyle a nbsp and b displaystyle b nbsp are individuals type I n d displaystyle Ind nbsp p 1 displaystyle p 1 nbsp is proof that a displaystyle a nbsp is a boy etc References edit Cooper Robin 2005 Records and Record Types in Semantic Theory Journal of Logic and Computation 15 2 99 112 doi 10 1093 logcom exi004 Cooper Robin 2010 Type theory and semantics in flux Handbook of the Philosophy of Science Volume 14 Philosophy of Linguistics Elsevier R Cooper Type theory and language From perception to linguistic communication Draft of book chapters available from https sites google com site typetheorywithrecords drafts nbsp This semantics article is a stub You can help Wikipedia by expanding it vte Retrieved from https en wikipedia org w index php title Type theory with records amp oldid 1143454127, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.