{"id":"https://openalex.org/W2117955223","doi":"https://doi.org/10.1017/s0956796813000178","title":"Counting and generating lambda terms","display_name":"Counting and generating lambda terms","publication_year":2013,"publication_date":"2013-09-01","ids":{"openalex":"https://openalex.org/W2117955223","doi":"https://doi.org/10.1017/s0956796813000178","mag":"2117955223"},"language":"en","primary_location":{"id":"doi:10.1017/s0956796813000178","is_oa":true,"landing_page_url":"https://doi.org/10.1017/s0956796813000178","pdf_url":"https://www.cambridge.org/core/services/aop-cambridge-core/content/view/9A0F5D0A36BBDC81914117DC30AD5A53/S0956796813000178a.pdf/div-class-title-counting-and-generating-lambda-terms-div.pdf","source":{"id":"https://openalex.org/S12266929","display_name":"Journal of Functional Programming","issn_l":"0956-7968","issn":["0956-7968","1469-7653"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310311721","host_organization_name":"Cambridge University Press","host_organization_lineage":["https://openalex.org/P4310311721","https://openalex.org/P4310311702"],"host_organization_lineage_names":["Cambridge University Press","University of Cambridge"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Journal of Functional Programming","raw_type":"journal-article"},"type":"preprint","indexed_in":["arxiv","crossref","datacite"],"open_access":{"is_oa":true,"oa_status":"bronze","oa_url":"https://www.cambridge.org/core/services/aop-cambridge-core/content/view/9A0F5D0A36BBDC81914117DC30AD5A53/S0956796813000178a.pdf/div-class-title-counting-and-generating-lambda-terms-div.pdf","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5067755415","display_name":"Katarzyna Grygiel","orcid":null},"institutions":[{"id":"https://openalex.org/I126596746","display_name":"Jagiellonian University","ror":"https://ror.org/03bqmcz70","country_code":"PL","type":"education","lineage":["https://openalex.org/I126596746"]}],"countries":["PL"],"is_corresponding":false,"raw_author_name":"KATARZYNA GRYGIEL","raw_affiliation_strings":["Theoretical Computer Science Department, Faculty of Mathematics and Computer Science, Jagiellonian University, ul. Prof. \u0141ojasiewicza 6, 30-348 Krak\u00f3w, Poland (e-mail:","Theoretical Computer Science Department,Faculty of Mathematics and Computer Science,Jagiellonian University,ul. Prof. \u0141ojasiewicza 6,30-348 Krak\u00f3w,Poland("],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Theoretical Computer Science Department, Faculty of Mathematics and Computer Science, Jagiellonian University, ul. Prof. \u0141ojasiewicza 6, 30-348 Krak\u00f3w, Poland (e-mail:","institution_ids":["https://openalex.org/I126596746"]},{"raw_affiliation_string":"Theoretical Computer Science Department,Faculty of Mathematics and Computer Science,Jagiellonian University,ul. Prof. \u0141ojasiewicza 6,30-348 Krak\u00f3w,Poland(","institution_ids":["https://openalex.org/I126596746"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5042417161","display_name":"Pierre Lescanne","orcid":"https://orcid.org/0000-0001-9512-5276"},"institutions":[{"id":"https://openalex.org/I100532134","display_name":"Universit\u00e9 Claude Bernard Lyon 1","ror":"https://ror.org/029brtt94","country_code":"FR","type":"education","lineage":["https://openalex.org/I100532134","https://openalex.org/I203339264"]},{"id":"https://openalex.org/I113428412","display_name":"\u00c9cole Normale Sup\u00e9rieure de Lyon","ror":"https://ror.org/04zmssz18","country_code":"FR","type":"education","lineage":["https://openalex.org/I113428412","https://openalex.org/I203339264"]},{"id":"https://openalex.org/I1294671590","display_name":"Centre National de la Recherche Scientifique","ror":"https://ror.org/02feahw73","country_code":"FR","type":"government","lineage":["https://openalex.org/I1294671590"]}],"countries":["FR"],"is_corresponding":false,"raw_author_name":"PIERRE LESCANNE","raw_affiliation_strings":["Theoretical Computer Science Department, Faculty of Mathematics and Computer Science, Jagiellonian University, ul. Prof. \u0141ojasiewicza 6, 30-348 Krak\u00f3w, Poland; ENS de Lyon, University of Lyon, LIP (UMR 5668 CNRS ENS Lyon UCBL INRIA), 46 all\u00e9e d'Italie, 69364 Lyon, France (e-mail:","Universit\u00e9 de Lyon, Lyon, France"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Theoretical Computer Science Department, Faculty of Mathematics and Computer Science, Jagiellonian University, ul. Prof. \u0141ojasiewicza 6, 30-348 Krak\u00f3w, Poland; ENS de Lyon, University of Lyon, LIP (UMR 5668 CNRS ENS Lyon UCBL INRIA), 46 all\u00e9e d'Italie, 69364 Lyon, France (e-mail:","institution_ids":["https://openalex.org/I100532134","https://openalex.org/I113428412","https://openalex.org/I1294671590"]},{"raw_affiliation_string":"Universit\u00e9 de Lyon, Lyon, France","institution_ids":["https://openalex.org/I100532134"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":2,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":0.9883,"has_fulltext":true,"cited_by_count":4,"citation_normalized_percentile":{"value":0.83336722,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":{"min":90,"max":96},"biblio":{"volume":"23","issue":"5","first_page":"594","last_page":"628"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10126","display_name":"Logic, programming, and type systems","score":0.9998999834060669,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10126","display_name":"Logic, programming, and type systems","score":0.9998999834060669,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11010","display_name":"Logic, Reasoning, and Knowledge","score":0.9972000122070312,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11567","display_name":"semigroups and automata theory","score":0.9962000250816345,"subfield":{"id":"https://openalex.org/subfields/1703","display_name":"Computational Theory and Mathematics"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/generator","display_name":"Generator (circuit theory)","score":0.5895638465881348},{"id":"https://openalex.org/keywords/lambda","display_name":"Lambda","score":0.5637387037277222},{"id":"https://openalex.org/keywords/lambda-calculus","display_name":"Lambda calculus","score":0.5064481496810913},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.4749217927455902},{"id":"https://openalex.org/keywords/de-bruijn-sequence","display_name":"De Bruijn sequence","score":0.47334006428718567},{"id":"https://openalex.org/keywords/mathematics","display_name":"Mathematics","score":0.45882320404052734},{"id":"https://openalex.org/keywords/product","display_name":"Product (mathematics)","score":0.42088571190834045},{"id":"https://openalex.org/keywords/discrete-mathematics","display_name":"Discrete mathematics","score":0.3676859140396118},{"id":"https://openalex.org/keywords/power","display_name":"Power (physics)","score":0.09527537226676941}],"concepts":[{"id":"https://openalex.org/C2780992000","wikidata":"https://www.wikidata.org/wiki/Q17016113","display_name":"Generator (circuit theory)","level":3,"score":0.5895638465881348},{"id":"https://openalex.org/C2778113609","wikidata":"https://www.wikidata.org/wiki/Q10897","display_name":"Lambda","level":2,"score":0.5637387037277222},{"id":"https://openalex.org/C135790938","wikidata":"https://www.wikidata.org/wiki/Q242028","display_name":"Lambda calculus","level":2,"score":0.5064481496810913},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.4749217927455902},{"id":"https://openalex.org/C170320093","wikidata":"https://www.wikidata.org/wiki/Q1953457","display_name":"De Bruijn sequence","level":2,"score":0.47334006428718567},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.45882320404052734},{"id":"https://openalex.org/C90673727","wikidata":"https://www.wikidata.org/wiki/Q901718","display_name":"Product (mathematics)","level":2,"score":0.42088571190834045},{"id":"https://openalex.org/C118615104","wikidata":"https://www.wikidata.org/wiki/Q121416","display_name":"Discrete mathematics","level":1,"score":0.3676859140396118},{"id":"https://openalex.org/C163258240","wikidata":"https://www.wikidata.org/wiki/Q25342","display_name":"Power (physics)","level":2,"score":0.09527537226676941},{"id":"https://openalex.org/C121332964","wikidata":"https://www.wikidata.org/wiki/Q413","display_name":"Physics","level":0,"score":0.0},{"id":"https://openalex.org/C62520636","wikidata":"https://www.wikidata.org/wiki/Q944","display_name":"Quantum mechanics","level":1,"score":0.0},{"id":"https://openalex.org/C120665830","wikidata":"https://www.wikidata.org/wiki/Q14620","display_name":"Optics","level":1,"score":0.0},{"id":"https://openalex.org/C2524010","wikidata":"https://www.wikidata.org/wiki/Q8087","display_name":"Geometry","level":1,"score":0.0}],"mesh":[],"locations_count":6,"locations":[{"id":"doi:10.1017/s0956796813000178","is_oa":true,"landing_page_url":"https://doi.org/10.1017/s0956796813000178","pdf_url":"https://www.cambridge.org/core/services/aop-cambridge-core/content/view/9A0F5D0A36BBDC81914117DC30AD5A53/S0956796813000178a.pdf/div-class-title-counting-and-generating-lambda-terms-div.pdf","source":{"id":"https://openalex.org/S12266929","display_name":"Journal of Functional Programming","issn_l":"0956-7968","issn":["0956-7968","1469-7653"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310311721","host_organization_name":"Cambridge University Press","host_organization_lineage":["https://openalex.org/P4310311721","https://openalex.org/P4310311702"],"host_organization_lineage_names":["Cambridge University Press","University of Cambridge"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Journal of Functional Programming","raw_type":"journal-article"},{"id":"pmh:oai:arXiv.org:1210.2610","is_oa":true,"landing_page_url":"http://arxiv.org/abs/1210.2610","pdf_url":"https://arxiv.org/pdf/1210.2610","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"","raw_type":"text"},{"id":"mag:2117955223","is_oa":true,"landing_page_url":"https://arxiv.org/pdf/1210.2610v7","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"arXiv (Cornell University)","raw_type":null},{"id":"pmh:oai:CiteSeerX.psu:10.1.1.761.2829","is_oa":false,"landing_page_url":"http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.761.2829","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"http://arxiv.org/pdf/1210.2610.pdf","raw_type":"text"},{"id":"pmh:oai:HAL:ensl-00740034v7","is_oa":true,"landing_page_url":"https://ens-lyon.hal.science/ensl-00740034","pdf_url":null,"source":{"id":"https://openalex.org/S4306402512","display_name":"HAL (Le Centre pour la Communication Scientifique Directe)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I1294671590","host_organization_name":"Centre National de la Recherche Scientifique","host_organization_lineage":["https://openalex.org/I1294671590"],"host_organization_lineage_names":[],"type":"repository"},"license":"other-oa","license_id":"https://openalex.org/licenses/other-oa","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"2012","raw_type":"Preprints, Working Papers, ..."},{"id":"doi:10.48550/arxiv.1210.2610","is_oa":true,"landing_page_url":"https://doi.org/10.48550/arxiv.1210.2610","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":null,"raw_source_name":null,"raw_type":"article"}],"best_oa_location":{"id":"doi:10.1017/s0956796813000178","is_oa":true,"landing_page_url":"https://doi.org/10.1017/s0956796813000178","pdf_url":"https://www.cambridge.org/core/services/aop-cambridge-core/content/view/9A0F5D0A36BBDC81914117DC30AD5A53/S0956796813000178a.pdf/div-class-title-counting-and-generating-lambda-terms-div.pdf","source":{"id":"https://openalex.org/S12266929","display_name":"Journal of Functional Programming","issn_l":"0956-7968","issn":["0956-7968","1469-7653"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310311721","host_organization_name":"Cambridge University Press","host_organization_lineage":["https://openalex.org/P4310311721","https://openalex.org/P4310311702"],"host_organization_lineage_names":["Cambridge University Press","University of Cambridge"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Journal of Functional Programming","raw_type":"journal-article"},"sustainable_development_goals":[],"awards":[],"funders":[{"id":"https://openalex.org/F4320320300","display_name":"European Commission","ror":"https://ror.org/00k4n6c32"}],"has_content":{"pdf":true,"grobid_xml":true},"content_urls":{"pdf":"https://content.openalex.org/works/W2117955223.pdf","grobid_xml":"https://content.openalex.org/works/W2117955223.grobid-xml"},"referenced_works_count":18,"referenced_works":["https://openalex.org/W43882553","https://openalex.org/W2031872041","https://openalex.org/W2056068307","https://openalex.org/W2065794924","https://openalex.org/W2098456636","https://openalex.org/W2105450475","https://openalex.org/W2115418771","https://openalex.org/W2123505663","https://openalex.org/W2125126351","https://openalex.org/W2150421116","https://openalex.org/W2151650821","https://openalex.org/W2163976959","https://openalex.org/W2296468158","https://openalex.org/W2568721247","https://openalex.org/W4230960895","https://openalex.org/W4236324644","https://openalex.org/W4238083723","https://openalex.org/W4402634326"],"related_works":["https://openalex.org/W2963504583","https://openalex.org/W2232523289","https://openalex.org/W3088054255","https://openalex.org/W2186958703","https://openalex.org/W2949424697","https://openalex.org/W2015890451","https://openalex.org/W1996142079","https://openalex.org/W2824986555","https://openalex.org/W147427843","https://openalex.org/W2464591762","https://openalex.org/W2076932470","https://openalex.org/W1998084650","https://openalex.org/W2237912188","https://openalex.org/W3021939903","https://openalex.org/W2058392968","https://openalex.org/W2100965091","https://openalex.org/W2417744963","https://openalex.org/W2099237646","https://openalex.org/W2400740242","https://openalex.org/W3028421255"],"abstract_inverted_index":{"Abstract":[0],"Lambda":[1,145],"calculus":[2,146],"is":[3,16,50,128,252],"the":[4,86,93,125,160,175,202,220,227,253],"basis":[5],"of":[6,21,43,54,88,133,172,177,181,201,223,230,241,255],"functional":[7],"programming":[8],"and":[9,30,78,109,122,185,226,292,297],"higher":[10],"order":[11],"proof":[12],"assistants.":[13],"However,":[14],"little":[15],"known":[17],"about":[18,26],"combinatorial":[19,196],"properties":[20],"lambda":[22,134,179,270,275],"terms,":[23],"in":[24],"particular,":[25],"their":[27,60],"asymptotic":[28],"distribution":[29],"random":[31,236],"generation.":[32],"This":[33,111],"paper":[34,112],"tries":[35],"to":[36,70,100,137,159],"answer":[37,248],"questions":[38,64,249],"like:":[39,250],"How":[40,266],"many":[41],"terms":[42,180,258,271],"a":[44,51,55,131,151,182,199],"given":[45,183],"size":[46,87,184,295,300],"are":[47,73,267],"there?":[48],"What":[49,251],"\u2018typical\u2019":[52],"structure":[53],"simply":[56,256,268],"typable":[57,257,269,279],"term?":[58],"Despite":[59],"ostensible":[61],"simplicity,":[62],"these":[63,191],"still":[65],"remain":[66],"unanswered,":[67],"whereas":[68],"solutions":[69],"such":[71],"problems":[72,95],"essential":[74],"for":[75,153,174,209,238],"testing":[76],"compilers":[77],"optimizing":[79],"programs":[80],"whose":[81],"expected":[82],"efficiency":[83],"depends":[84],"on":[85,130],"terms.":[89,135,242],"Our":[90],"approach":[91],"toward":[92],"aforementioned":[94],"may":[96],"be":[97],"later":[98],"extended":[99],"any":[101],"language":[102],"with":[103,107,148,157,216,284],"bound":[104,224],"variables,":[105],"i.e.,":[106],"scopes":[108],"declarations.":[110],"presents":[113],"two":[114],"complementary":[115],"approaches:":[116],"one,":[117],"theoretical,":[118],"uses":[119],"complex":[120],"analysis":[121],"generating":[123,210],"functions,":[124],"other,":[126],"experimental,":[127],"based":[129],"generator":[132],"Thanks":[136],"de":[138],"Bruijn":[139],"indices":[140],"(de":[141],"Bruijn,":[142],"N.":[143],"(1972)":[144],"notation":[147],"nameless":[149],"dummies,":[150],"tool":[152],"automatic":[154],"formula":[155],"manipulation,":[156],"application":[158],"Church-Rosser":[161],"theorem.":[162],"Indagat.":[163],"Math.":[164],"34":[165],"(5),":[166],"381\u2013392),":[167],"we":[168,186,205,244],"provide":[169,214],"three":[170],"families":[171],"formulas":[173],"number":[176,229],"closed":[178],"give":[187],"four":[188],"relations":[189],"between":[190],"numbers":[192],"which":[193],"have":[194,294,299],"interesting":[195],"interpretations.":[197],"As":[198],"by-product":[200],"counting":[203],"formulas,":[204],"design":[206],"an":[207,285],"algorithm":[208],"\u03bb-terms.":[211],"Performed":[212],"tests":[213],"us":[215],"experimental":[217],"data,":[218],"like":[219],"average":[221,228],"depth":[222],"variables":[225,298],"head":[231],"lambdas.":[232],"We":[233],"also":[234],"create":[235],"generators":[237],"various":[239],"sorts":[240],"Thereafter,":[243],"conduct":[245],"experiments":[246],"that":[247],"ratio":[254],"among":[259,273],"all":[260,274],"terms?":[261,276],"(":[262,277],"Very":[263],"small!":[264],")":[265],"distributed":[272],"A":[278],"term":[280],"almost":[281],"always":[282],"starts":[283],"abstraction":[286],".)":[287],"In":[288],"this":[289],"paper,":[290],"abstractions":[291],"applications":[293],"1":[296],"0.":[301]},"counts_by_year":[{"year":2019,"cited_by_count":1},{"year":2013,"cited_by_count":2},{"year":2012,"cited_by_count":1}],"updated_date":"2026-06-11T09:08:48.828518","created_date":"2025-10-10T00:00:00"}
