Imperative programs from proofs
Imperative programs from proofs
批准号:
EP/W035847/1
负责人:
Thomas Powell
金额:
$39.68万
依托单位:
依托单位国家:
英国
项目类别:
Research Grant
财政年份:
2023
资助国家:
英国
项目状态:
未结题
起止时间:
2023 至 --
中文摘要
点击翻译按钮获取中文摘要
英文摘要
The aim of this project is to develop new logical methods for extracting programs from mathematical proofs. Traditionally, such programs are extremely complicated and difficult to understand. We will improve the situation by devising novel techniques that produce programs written in a more natural language, thereby making program extraction more effective in several areas in which it is currently being applied.Background: It has long been known that there is a deep connection between logic and computation, and that mathematical proofs can be converted to computer programs. Proof interpretations are a technique for doing this. They are useful for many reasons. When implemented in a computer, they provide us with a way of synthesising programs that are correct-by-construction and therefore guaranteed to be bug free. When applied to complex mathematical proofs, they can sometimes reveal new algorithms that have not been previously discovered. There is now a large subfield of logic dedicated to using proof interpretation to extract programs from proofs.The problem: Proof interpretations are formal mathematical techniques, and as such they often result in programs that are quite different from those a human would write. These programs tend to be written in a very abstract language and can be extremely long, syntactic, and difficult to understand. This represents a drawback to using proof interpretations for practical purposes: While it is useful to have a program that we know accomplishes a particular task, it would be more useful if we were able to understand how that program worked!My main goal:This project aims to bring programs obtained using proof interpretations closer to those a human would write. The aim is to improve the current state-of-the-art so that extracted programs are written in a more natural language and therefore easier to understand.My approach: We will take one of the most powerful and widely used of all proof interpretations - K. Goedel's Dialectica interpretation - and adapt it so that it produces programs in a language that is much closer in spirit to a real-world programming language. This will involve incorporating a global state along with control flow statements such as while-loops. These are all core features of everyday languages such as C and Python but are absent from the kind of theoretical languages traditionally associated with proof interpretations. We will then further refine the new interpretation so that it is optimized for the two main applications outlined above: (i) synthesising correct-by-construction programs, and (ii) revealing interesting new algorithms from complex mathematical proofs. These two applications will each require a different approach, and the second in particular will involve a number of deep ideas from mathematical logic. We will then demonstrate our new technique by carrying out a series of case studies, targeting problem areas (i) and (ii) respectively and aimed at specific communities who would most benefit from our new method. In parallel, we will explore generalisations of our new method so that it could potentially incorporate further interesting structures from programming.The project will require us to bring together ideas from both mathematical logic and the theory of programming languages, and the intended applications, which will be exemplified through our case studies, bring formal verification and pure mathematics into play. This makes the project fundamentally cross-disciplinary, and we will exploit this by organising visits to a range of relevant research groups in the UK and internationally, and by hosting a cross-disciplinary workshop towards the end of the project.
期刊论文(1)
专著(0)
科研奖励(0)
会议论文
Proofs as stateful programs: A first-order logic with abstract Hoare triples, and an interpretation into an imperative language
作为有状态程序的证明:具有抽象霍尔三元组的一阶逻辑,以及对命令式语言的解释
DOI:
10.46298/lmcs-20(1:7)2024
发表时间:
2024
期刊:
Logical Methods in Computer Science
影响因子:
0.6
作者:
[Powell T]
通讯作者:
Powell T
Type 1 - The Dynamic Watershed and Coastal Ocean: Predicting Their Biogeochemical Linkages and Variability over Decadal Time Scales
-
批准号:1049222
-
项目类别:Standard Grant
-
资助金额:$57.5万
-
财政年份:2011
-
负责人:Thomas Powell
-
依托单位:
Collaborative Research: Estimating Ecosystem Model Uncertainties in Pan-Regional Syntheses and Climate Change Impacts on Coastal Domains of the North Pacific Ocean
-
批准号:0816241
-
项目类别:Standard Grant
-
资助金额:$17.8万
-
财政年份:2008
-
负责人:Thomas Powell
-
依托单位:
Collaborative: US-GLOBEC NEP Phase IIIa-CCS: Effects of Meso- and Basin-scale Variability on Zooplankton Populations in the CCS using Data-Assimilative, Physical/Ecosystem Models
-
批准号:0435574
-
项目类别:Standard Grant
-
资助金额:$18.44万
-
财政年份:2005
-
负责人:Thomas Powell
-
依托单位:
Collaborative Research: WinDSSOcK: Winter Distribution and Success of Southern Ocean Krill
-
批准号:9910093
-
项目类别:Continuing Grant
-
资助金额:$22.77万
-
财政年份:2000
-
负责人:Thomas Powell
-
依托单位:
GLOBEC Collaborative Research: Effects of Seasonal and Interannual Variability of Zooplankton Populations in the California Current System Using Coupled Biophysical Models
-
批准号:0002893
-
项目类别:Standard Grant
-
资助金额:$45.46万
-
财政年份:2000
-
负责人:Thomas Powell
-
依托单位:
Northest Pacific U.S GLOBEC Coordinating Office
-
批准号:9730412
-
项目类别:Continuing Grant
-
资助金额:$21.23万
-
财政年份:1998
-
负责人:Thomas Powell
-
依托单位:
Linked Biophysical Modelling in the California Current System: The Influence of Circulation and Behavior on Prominent Mesozooplankton Species
-
批准号:9618173
-
项目类别:Continuing Grant
-
资助金额:$27.0万
-
财政年份:1997
-
负责人:Thomas Powell
-
依托单位:
Coordinating U.S. Globec: The Scientific Steering Committee
-
批准号:9523476
-
项目类别:Continuing Grant
-
资助金额:$111.4万
-
财政年份:1995
-
负责人:Thomas Powell
-
依托单位:
The U.S. GLOBEC Office: The Coordinating Office of the Scientific Steering Committee
-
批准号:9496223
-
项目类别:Continuing Grant
-
资助金额:$6.24万
-
财政年份:1994
-
负责人:Thomas Powell
-
依托单位:
The U.S. GLOBEC Office: The Coordinating Office of the Scientific Steering Committee
-
批准号:9209223
-
项目类别:Continuing Grant
-
资助金额:$76.85万
-
财政年份:1992
-
负责人:Thomas Powell
-
依托单位:
Larval Transport Processes in the Rocky Nearshore
-
批准号:8717678
-
项目类别:Standard Grant
-
资助金额:$5.19万
-
财政年份:1988
-
负责人:Thomas Powell
-
依托单位:
Spatial Scales of Coupled Biological and Physical Processes
-
批准号:7823259
-
项目类别:Standard Grant
-
资助金额:$9.46万
-
财政年份:1979
-
负责人:Thomas Powell
-
依托单位:
Turbulence Studies in the Mixed Layer and Thermocline of Lake Tahoe
-
批准号:7514370
-
项目类别:Standard Grant
-
资助金额:$10.27万
-
财政年份:1975
-
负责人:Thomas Powell
-
依托单位:
海外基金