{"id":{"repo_id":"soton","oai_identifier":"oai:eprints.soton.ac.uk:512032"},"canonical_url":"https://search.ndltd.org/etd/soton/oai:eprints.soton.ac.uk:512032","repository":{"repo_id":"soton","name":"University of Southampton","base_url":"https://eprints.soton.ac.uk/cgi/oai2"},"display":{"title":"Petra: A compositional, contract-based, Correct-by-Construction OOP language, using explainable, layered abstractions, for scalable V&V","abstract":"This thesis presents Petra, a new correct-by-construction OOP language which aims to democratise the application of formal software methods, by integrating simplified, scalable, comprehensive, fully-automated formal verification and validation (V&V). Petra has default null-safety, determinism, parallel processing and decision branch level pre/post condition reachability checks. Objects are verified by verifying that their methods behave as total functions which transition object states such that the method pre/post conditions are satisfied. Objects are structured using explainable and modular objects which help to decompose the problem space in such a way that it becomes easier to validate their behaviour and to verify them efficiently. This is achieved using a simple yet expressive syntax structure for expressions and statements, which are explainable and map to a simple controlled English language, and with a semantics that allows for layered abstractions which means verification for an entire program can be achieved by verifying independent trees of objects, branches and methods, separately. We define both a denotational semantics to model the concrete and symbolic state transitions of a correct program, and an operational semantics that captures the unconstrained behaviour of a program at run-time. We prove soundness between correct symbolic and operational semantics through a structural induction that is designed to prove that a correct symbolic semantics implies a correct operational semantics. This is split into two parts, first by proving correct symbolic implies correct concrete, and then by proving correct concrete implies correct operational. Correct operational semantics provides strong properties which include total correctness and determinism, whilst supporting parallel processing. A key limitation of Petra is the lack of direct support for verification of loops, however loops over compositions of primitive fields, within the branches of base object methods, can be assumed or proved using alternative methods. In addition to contributing the Petra language, semantics, and soundness proof, we developed a Java tool that automatically verifies Petra with a theoretical complexity of O(k(net + mct(nt^2 + b(q + z + t^b)))), where k is the number of objects in the program, each object has up to n private symbolic states, up to b fields, up to t predicates (each of expression size at most e), and up to m methods (each with up to c cases,<br/>each case having a parallel composition of up to z statements and a sequential composition of up to q statements). This is in P (Polynomial Time), however Petra favours many small objects to leverage abstraction, yielding near-linear performance in practice.","abstract_html":"This thesis presents Petra, a new correct-by-construction OOP language which aims to democratise the application of formal software methods, by integrating simplified, scalable, comprehensive, fully-automated formal verification and validation (V&amp;V). Petra has default null-safety, determinism, parallel processing and decision branch level pre/post condition reachability checks. Objects are verified by verifying that their methods behave as total functions which transition object states such that the method pre/post conditions are satisfied. Objects are structured using explainable and modular objects which help to decompose the problem space in such a way that it becomes easier to validate their behaviour and to verify them efficiently. This is achieved using a simple yet expressive syntax structure for expressions and statements, which are explainable and map to a simple controlled English language, and with a semantics that allows for layered abstractions which means verification for an entire program can be achieved by verifying independent trees of objects, branches and methods, separately. We define both a denotational semantics to model the concrete and symbolic state transitions of a correct program, and an operational semantics that captures the unconstrained behaviour of a program at run-time. We prove soundness between correct symbolic and operational semantics through a structural induction that is designed to prove that a correct symbolic semantics implies a correct operational semantics. This is split into two parts, first by proving correct symbolic implies correct concrete, and then by proving correct concrete implies correct operational. Correct operational semantics provides strong properties which include total correctness and determinism, whilst supporting parallel processing. A key limitation of Petra is the lack of direct support for verification of loops, however loops over compositions of primitive fields, within the branches of base object methods, can be assumed or proved using alternative methods. In addition to contributing the Petra language, semantics, and soundness proof, we developed a Java tool that automatically verifies Petra with a theoretical complexity of O(k(net + mct(nt^2 + b(q + z + t^b)))), where k is the number of objects in the program, each object has up to n private symbolic states, up to b fields, up to t predicates (each of expression size at most e), and up to m methods (each with up to c cases,&lt;br/&gt;each case having a parallel composition of up to z statements and a sequential composition of up to q statements). This is in P (Polynomial Time), however Petra favours many small objects to leverage abstraction, yielding near-linear performance in practice.","abstract_has_math":false,"creators":["Hakki, Aran"],"institution":"University of Southampton","degree_name":"Ph.D.","degree_level":"doctoral","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Cirstea, Corina","Rathke, Julian"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-06","date_published":"2026-06","updated_at":"2026-11-19T09:55:51Z","subjects":[],"languages":["English","eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0000000289866446","0000000331655678"],"render_values":[{"text":"0000-0002-8986-6446","href":"https://orcid.org/0000-0002-8986-6446","code":true},{"text":"0000-0003-3165-5678","href":"https://orcid.org/0000-0003-3165-5678","code":true}]}]},"links":{"outbound_url":"https://doi.org/10.5258/SOTON/PG/T315","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.5258/SOTON/PG/T315","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","download_url":"https://eprints.soton.ac.uk/id/eprint/512032/1/AranHakki-2026-thesis-COMPLETE.pdf","download_label":"Download PDF","download_source":"dc:identifier.uri","access_status":"embargoed","embargo_until":"2029-06-02","access_note":"Embargoed until 2029-06-02"},"source_record":{"url":"https://eprints.soton.ac.uk/cgi/oai2?verb=GetRecord&metadataPrefix=uketd_dc&identifier=oai%3Aeprints.soton.ac.uk%3A512032","prefix":"uketd_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Cirstea, Corina","Rathke, Julian"]},{"key":"dc:creator","label":"Author","values":["Hakki, Aran"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0000000289866446","0000000331655678"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-06"]},{"key":"dc:date.issued","label":"Date","values":["2026-06"]},{"key":"dc:publisher.commercial","label":"Dc Publisher Commercial","values":["University of Southampton"]},{"key":"dc:publisher.department","label":"Dc Publisher Department","values":["School of Electronics and Computer Science"]},{"key":"dc:publisher.institution","label":"Dc Publisher Institution","values":["University of Southampton"]},{"key":"dc:relation.isreferencedby","label":"Dc Relation Isreferencedby","values":["https://eprints.soton.ac.uk/id/eprint/512032/"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"dc:type.qualificationlevel","label":"Dc Type Qualificationlevel","values":["doctoral"]},{"key":"dc:type.qualificationname","label":"Dc Type Qualificationname","values":["Ph.D."]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:language.dcterms_iso639_2","label":"Language (ISO 639-2)","values":["eng"]},{"key":"dc:rights.embargodate","label":"Dc Rights Embargodate","values":["2029-06-02"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.5258/SOTON/PG/T315"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://eprints.soton.ac.uk/id/eprint/512032/1/AranHakki-2026-thesis-COMPLETE.pdf","https://eprints.soton.ac.uk/id/eprint/512032/2/AranHakki-2026-thesis-REDACTED.pdf","https://eprints.soton.ac.uk/id/eprint/512032/3/Final-thesis-submission-Examination-Mr-Aran-Hakki.pdf"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis presents Petra, a new correct-by-construction OOP language which aims to democratise the application of formal software methods, by integrating simplified, scalable, comprehensive, fully-automated formal verification and validation (V&V). Petra has default null-safety, determinism, parallel processing and decision branch level pre/post condition reachability checks. Objects are verified by verifying that their methods behave as total functions which transition object states such that the method pre/post conditions are satisfied. Objects are structured using explainable and modular objects which help to decompose the problem space in such a way that it becomes easier to validate their behaviour and to verify them efficiently. This is achieved using a simple yet expressive syntax structure for expressions and statements, which are explainable and map to a simple controlled English language, and with a semantics that allows for layered abstractions which means verification for an entire program can be achieved by verifying independent trees of objects, branches and methods, separately. We define both a denotational semantics to model the concrete and symbolic state transitions of a correct program, and an operational semantics that captures the unconstrained behaviour of a program at run-time. We prove soundness between correct symbolic and operational semantics through a structural induction that is designed to prove that a correct symbolic semantics implies a correct operational semantics. This is split into two parts, first by proving correct symbolic implies correct concrete, and then by proving correct concrete implies correct operational. Correct operational semantics provides strong properties which include total correctness and determinism, whilst supporting parallel processing. A key limitation of Petra is the lack of direct support for verification of loops, however loops over compositions of primitive fields, within the branches of base object methods, can be assumed or proved using alternative methods. In addition to contributing the Petra language, semantics, and soundness proof, we developed a Java tool that automatically verifies Petra with a theoretical complexity of O(k(net + mct(nt^2 + b(q + z + t^b)))), where k is the number of objects in the program, each object has up to n private symbolic states, up to b fields, up to t predicates (each of expression size at most e), and up to m methods (each with up to c cases,<br/>each case having a parallel composition of up to z statements and a sequential composition of up to q statements). This is in P (Polynomial Time), however Petra favours many small objects to leverage abstraction, yielding near-linear performance in practice."]},{"key":"dc:format","label":"Dc Format","values":["text"]},{"key":"dcterms:accessrights","label":"Dcterms Accessrights","values":["staffonly","public"]},{"key":"dc:title","label":"Title","values":["Petra: A compositional, contract-based, Correct-by-Construction OOP language, using explainable, layered abstractions, for scalable V&V"]}]}],"canonical_facts":{"dc:contributor.advisor":["Cirstea, Corina","Rathke, Julian"],"dc:creator":["Hakki, Aran"],"dc:date":["2026-06"],"dc:date.issued":["2026-06"],"dc:description.abstract":["This thesis presents Petra, a new correct-by-construction OOP language which aims to democratise the application of formal software methods, by integrating simplified, scalable, comprehensive, fully-automated formal verification and validation (V&V). Petra has default null-safety, determinism, parallel processing and decision branch level pre/post condition reachability checks. Objects are verified by verifying that their methods behave as total functions which transition object states such that the method pre/post conditions are satisfied. Objects are structured using explainable and modular objects which help to decompose the problem space in such a way that it becomes easier to validate their behaviour and to verify them efficiently. This is achieved using a simple yet expressive syntax structure for expressions and statements, which are explainable and map to a simple controlled English language, and with a semantics that allows for layered abstractions which means verification for an entire program can be achieved by verifying independent trees of objects, branches and methods, separately. We define both a denotational semantics to model the concrete and symbolic state transitions of a correct program, and an operational semantics that captures the unconstrained behaviour of a program at run-time. We prove soundness between correct symbolic and operational semantics through a structural induction that is designed to prove that a correct symbolic semantics implies a correct operational semantics. This is split into two parts, first by proving correct symbolic implies correct concrete, and then by proving correct concrete implies correct operational. Correct operational semantics provides strong properties which include total correctness and determinism, whilst supporting parallel processing. A key limitation of Petra is the lack of direct support for verification of loops, however loops over compositions of primitive fields, within the branches of base object methods, can be assumed or proved using alternative methods. In addition to contributing the Petra language, semantics, and soundness proof, we developed a Java tool that automatically verifies Petra with a theoretical complexity of O(k(net + mct(nt^2 + b(q + z + t^b)))), where k is the number of objects in the program, each object has up to n private symbolic states, up to b fields, up to t predicates (each of expression size at most e), and up to m methods (each with up to c cases,<br/>each case having a parallel composition of up to z statements and a sequential composition of up to q statements). This is in P (Polynomial Time), however Petra favours many small objects to leverage abstraction, yielding near-linear performance in practice."],"dc:format":["text"],"dc:identifier.doi":["10.5258/SOTON/PG/T315"],"dc:identifier.uri":["https://eprints.soton.ac.uk/id/eprint/512032/1/AranHakki-2026-thesis-COMPLETE.pdf","https://eprints.soton.ac.uk/id/eprint/512032/2/AranHakki-2026-thesis-REDACTED.pdf","https://eprints.soton.ac.uk/id/eprint/512032/3/Final-thesis-submission-Examination-Mr-Aran-Hakki.pdf"],"dc:language":["English"],"dc:language.dcterms_iso639_2":["eng"],"dc:publisher.commercial":["University of Southampton"],"dc:publisher.department":["School of Electronics and Computer Science"],"dc:publisher.institution":["University of Southampton"],"dc:relation.isreferencedby":["https://eprints.soton.ac.uk/id/eprint/512032/"],"dc:rights.embargodate":["2029-06-02"],"dcterms:accessrights":["staffonly","public"],"dc:title":["Petra: A compositional, contract-based, Correct-by-Construction OOP language, using explainable, layered abstractions, for scalable V&V"],"dc:type":["Thesis"],"dc:type.qualificationlevel":["doctoral"],"dc:type.qualificationname":["Ph.D."],"person:identifier.orcid":["0000000289866446","0000000331655678"]},"updated_at":"2026-11-19T09:55:51Z"}