<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
                             http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
  <responseDate>2026-11-25T13:18:24Z</responseDate>
  <request verb="GetRecord" identifier="oai:vu.lt:elaba:308337866" metadataPrefix="oai_dc">https://epublications.vu.lt/oai</request>
<GetRecord>
<record>
  <header>
    <identifier>oai:vu.lt:elaba:308337866</identifier>
    <datestamp>2026-07-07T22:02:34Z</datestamp>
    <setSpec>openaire</setSpec><setSpec>NDLTD</setSpec><setSpec>DRIVER</setSpec>
  </header>
  <metadata>
<oai_dc:dc xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:title>Funkcinių kairėn pasvirusių raudonai-juodų medžių automatizuotas formalus verifikavimas Dafny aplinkoje /</dc:title><dc:title>Automated formal verification of functional left-leaning red-black trees in the dafny framework.</dc:title><dc:creator>Praninskas, Džiugas,</dc:creator><dc:rights>info:eu-repo/semantics/openAccess</dc:rights><dc:description>Automated Formal Verification of Functional Left-Leaning Red-Black Trees in the Dafny framework This thesis presents a formal verification of a functional implementation of the 2-3 variant of Sedgewick&apos;s left-leaning red-black tree (LLRB) using the Dafny programming language and its underlying Z3 SMT solver. The work is structured in two tiers. The first tier establishes a fully verified implementation of search and insertion: all five structural invariants (binary search tree ordering, no-red-red, equal black-height, left-leaning, and black root) are proved to be preserved by the insertion operation, and the operation&apos;s functional semantics — that the resulting tree represents the original map updated with the new key-value pair — is established as a Hoare-style postcondition. The verification required twenty lemmas, three levels of weakened invariants for the recursive helper, and explicit use of Dafny&apos;s {:opaque} and {:isolate_assertions} attributes for solver resource management. The second tier attempts deletion. Where the verification did not succeed, the failures are categorized into three distinct modes: structural invariant propagation through composite transformations, intermediate invariant design for the descent state, and termination through non-trivial transformations. The first two are shown to reflect architectural limits of SMT-backed verification; the third was solved during the work by introducing a treeSize measure function. A central empirical observation emerges from the combined experience: aggregate properties (key sets, value maps, black-height) are automatically preserved by the solver across structural rearrangements, while structural properties (BST ordering, color invariants) are not. This boundary characterizes Dafny&apos;s suitability profile for recursive data structure verification. Comparisons with prior work in Isabelle/HOL and Coq, and with an earlier Dafny LLRB verification by Pe&amp;#241;a (2020), confirm that the additional manual proof effort on the Dafny side reflects structural overhead in quantifier instantiation and lemma infrastructure rather than intrinsic algorithmic complexity.</dc:description><dc:publisher>Institutional Repository of Vilnius University</dc:publisher><dc:type>info:eu-repo/semantics/bachelorThesis</dc:type><dc:language>lit</dc:language><dc:date>2026</dc:date><dc:format>application/pdf</dc:format><dc:relation>https://epublications.vu.lt/object/elaba:308337866/308337866.pdf</dc:relation><dc:identifier>https://repository.vu.lt/VU:ELABAETD308337866&amp;prefLang=en_US</dc:identifier></oai_dc:dc>  </metadata>
</record>

</GetRecord></OAI-PMH>
