Programming from Galois connections

Detalhes bibliográficos
Autor(a) principal: Mu, Shin-Cheng
Data de Publicação: 2012
Outros Autores: Oliveira, José Nuno Fonseca
Tipo de documento: Artigo
Idioma: eng
Título da fonte: Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
Texto Completo: http://hdl.handle.net/1822/24608
Resumo: Problem statements often resort to superlatives such as in e.g. “… the smallest such number”, “… the best approximation”, “… the longest such list” which lead to specifications made of two parts: one defining a broad class of solutions (the easy part) and the other requesting one particular such solution, optimal in some sense (the hard part). This article introduces a binary relational combinator which mirrors this linguistic structure and exploits its potential for calculating programs by optimization. This applies in particular to specifications written in the form of Galois connections, in which one of the adjoints delivers the optimal solution. The framework encompasses re-factoring of results previously developed by Bird and de Moor for greedy and dynamic programming, in a way which makes them less technically involved and therefore easier to understand and play with.
id RCAP_863f8cd29949f2187c42785badff0b8d
oai_identifier_str oai:repositorium.sdum.uminho.pt:1822/24608
network_acronym_str RCAP
network_name_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository_id_str 7160
spelling Programming from Galois connectionsProgram derivationAlgebra of programmingGalois connectionProblem statements often resort to superlatives such as in e.g. “… the smallest such number”, “… the best approximation”, “… the longest such list” which lead to specifications made of two parts: one defining a broad class of solutions (the easy part) and the other requesting one particular such solution, optimal in some sense (the hard part). This article introduces a binary relational combinator which mirrors this linguistic structure and exploits its potential for calculating programs by optimization. This applies in particular to specifications written in the form of Galois connections, in which one of the adjoints delivers the optimal solution. The framework encompasses re-factoring of results previously developed by Bird and de Moor for greedy and dynamic programming, in a way which makes them less technically involved and therefore easier to understand and play with.Fundação para a Ciência e a Tecnologia (FCT)Elsevier Inc.Universidade do MinhoMu, Shin-ChengOliveira, José Nuno Fonseca20122012-01-01T00:00:00Zinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/articleapplication/pdfhttp://hdl.handle.net/1822/24608engMu, S.-C., & Oliveira, J. N. (2012). Programming from Galois connections. The Journal of Logic and Algebraic Programming, 81(6), 680-704. doi: http://dx.doi.org/10.1016/j.jlap.2012.05.0031567-832610.1016/j.jlap.2012.05.003http://dx.doi.org/10.1016/j.jlap.2012.05.003info:eu-repo/semantics/openAccessreponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãoinstacron:RCAAP2023-07-21T12:50:08Zoai:repositorium.sdum.uminho.pt:1822/24608Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireopendoar:71602024-03-19T19:48:47.575379Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãofalse
dc.title.none.fl_str_mv Programming from Galois connections
title Programming from Galois connections
spellingShingle Programming from Galois connections
Mu, Shin-Cheng
Program derivation
Algebra of programming
Galois connection
title_short Programming from Galois connections
title_full Programming from Galois connections
title_fullStr Programming from Galois connections
title_full_unstemmed Programming from Galois connections
title_sort Programming from Galois connections
author Mu, Shin-Cheng
author_facet Mu, Shin-Cheng
Oliveira, José Nuno Fonseca
author_role author
author2 Oliveira, José Nuno Fonseca
author2_role author
dc.contributor.none.fl_str_mv Universidade do Minho
dc.contributor.author.fl_str_mv Mu, Shin-Cheng
Oliveira, José Nuno Fonseca
dc.subject.por.fl_str_mv Program derivation
Algebra of programming
Galois connection
topic Program derivation
Algebra of programming
Galois connection
description Problem statements often resort to superlatives such as in e.g. “… the smallest such number”, “… the best approximation”, “… the longest such list” which lead to specifications made of two parts: one defining a broad class of solutions (the easy part) and the other requesting one particular such solution, optimal in some sense (the hard part). This article introduces a binary relational combinator which mirrors this linguistic structure and exploits its potential for calculating programs by optimization. This applies in particular to specifications written in the form of Galois connections, in which one of the adjoints delivers the optimal solution. The framework encompasses re-factoring of results previously developed by Bird and de Moor for greedy and dynamic programming, in a way which makes them less technically involved and therefore easier to understand and play with.
publishDate 2012
dc.date.none.fl_str_mv 2012
2012-01-01T00:00:00Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/article
format article
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://hdl.handle.net/1822/24608
url http://hdl.handle.net/1822/24608
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv Mu, S.-C., & Oliveira, J. N. (2012). Programming from Galois connections. The Journal of Logic and Algebraic Programming, 81(6), 680-704. doi: http://dx.doi.org/10.1016/j.jlap.2012.05.003
1567-8326
10.1016/j.jlap.2012.05.003
http://dx.doi.org/10.1016/j.jlap.2012.05.003
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Elsevier Inc.
publisher.none.fl_str_mv Elsevier Inc.
dc.source.none.fl_str_mv reponame:Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron:RCAAP
instname_str Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron_str RCAAP
institution RCAAP
reponame_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
collection Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository.name.fl_str_mv Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
repository.mail.fl_str_mv
_version_ 1799133067330191360