• No results found

Formalizing Refinements and Constructive Algebra in Type Theory A

N/A
N/A
Protected

Academic year: 2021

Share "Formalizing Refinements and Constructive Algebra in Type Theory A"

Copied!
2
0
0

Loading.... (view fulltext now)

Full text

(1)

Formalizing Refinements and

Constructive Algebra in Type Theory

A NDERS M ÖRTBERG

The defense of this thesis for the degree of Doctor of Philosophy will be held in room ED, EDIT building,

Rännvägen 6B, Chalmers University of Technology, on Friday, Dec 12, 2014, at 10:00.

Discussion Leader: Georges Gonthier Microsoft Research Cambridge

The thesis is available at the Department of Computer Science and Engineering, Chalmers University of Technology.

Department of Computer Science and Engineering Chalmers University of Technology and Göteborg University

SE-412 96 Göteborg, Sweden Telephone+46 (0)31–772 1000

(2)

Abstract

The extensive use of computers in mathematics and engineering has led to an increased demand for reliability in the implementation of algorithms in com- puter algebra systems. One way to increase the reliability is to formally verify that the implementations satisfy the mathematical theorems stating their spe- cification. By implementing and specifying algorithms from computer algebra inside a proof assistant both the reliability of the implementation and the com- putational capabilities of the proof assistant can be increased.

This first part of the thesis presents a framework, developed in the interact- ive theorem prover COQ, for conveniently implementing and reasoning about program and data refinements. In this framework programs defined on rich dependent types suitable for proofs are linked to optimized implementations on simple types suitable for computation. The correctness of the optimized algorithms is established on the proof-oriented types and then automatically transported to the computation-oriented types. This method has been ap- plied to develop a library containing multiple algorithms from computational algebra, including: Karatsuba’s polynomial multiplication, Strassen’s matrix multiplication and the Sasaki-Murao algorithm for computing the character- istic polynomial of matrices over commutative rings.

The second part of the thesis presents the formalization of notions from constructive algebra. Focus is on the theory of coherent and strongly discrete rings, which provides a general setting for developing linear algebra over rings instead of fields. Examples of such rings include Bézout domains, Prüfer do- mains and elementary divisor rings. Finitely presented modules over these rings are implemented using an abstraction layer on top of matrices. This enables us to constructively prove that the category of these modules form a suitable setting for developing homological algebra. We further show that any finitely presented module over an elementary divisor ring can be decomposed to a direct sum of a free module and cyclic modules in a unique way. This decomposition gives a decision procedure for testing if two finitely presented modules are isomorphic.

Keywords: Formalization of mathematics, refinements, constructive algebra, type theory, COQ, SSREFLECT.

ISBN: 978-91-982237-0-5

References

Related documents

Närmare 90 procent av de statliga medlen (intäkter och utgifter) för näringslivets klimatomställning går till generella styrmedel, det vill säga styrmedel som påverkar

• Utbildningsnivåerna i Sveriges FA-regioner varierar kraftigt. I Stockholm har 46 procent av de sysselsatta eftergymnasial utbildning, medan samma andel i Dorotea endast

I dag uppgår denna del av befolkningen till knappt 4 200 personer och år 2030 beräknas det finnas drygt 4 800 personer i Gällivare kommun som är 65 år eller äldre i

Denna förenkling innebär att den nuvarande statistiken över nystartade företag inom ramen för den internationella rapporteringen till Eurostat även kan bilda underlag för

Den förbättrade tillgängligheten berör framför allt boende i områden med en mycket hög eller hög tillgänglighet till tätorter, men även antalet personer med längre än

På många små orter i gles- och landsbygder, där varken några nya apotek eller försälj- ningsställen för receptfria läkemedel har tillkommit, är nätet av

Det har inte varit möjligt att skapa en tydlig överblick över hur FoI-verksamheten på Energimyndigheten bidrar till målet, det vill säga hur målen påverkar resursprioriteringar

DIN representerar Tyskland i ISO och CEN, och har en permanent plats i ISO:s råd. Det ger dem en bra position för att påverka strategiska frågor inom den internationella