• Home
  • Search
  • A Unified Strategy for Formal Derivation and Proof of Binary Tree Nonrecursive Algorithms
  • Cite Icon2
  • https://doi.org/10.1051/wujns/2022275415Copy DOI Icon

A Unified Strategy for Formal Derivation and Proof of Binary Tree Nonrecursive Algorithms

Show More
  • Abstract
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

In the formal derivation and proof of binary tree algorithms, Dijkstra's weakest predicate method is commonly used. However, the method has some drawbacks, including a time-consuming derivation process, complicated loop invariants, and the inability to generate executable programs from the specification. This paper proposes a unified strategy for the formal derivation and proof of binary tree non-recursive algorithms to address these issues. First, binary tree problem solving sequences are decomposed into two types of recursive relations based on queue and stack, and two corresponding loop invariant templates are constructed. Second, high-reliability Apla (abstract programming language) programs are derived using recursive relations and loop invariants. Finally, Apla programs are converted automatically into C++ executable programs. Two types of problems with binary tree queue and stack recursive relations are used as examples, and their formal derivation and proof are performed to validate the proposed strategy's effectiveness. This strategy improves the efficiency and correctness of binary tree algorithm derivation.

Loading PDF

Similar Papers
  • Research Article

Filtering sinyal menggunakan bandpass filter

  • Apr 01, 2021
  • J-ICOM - Jurnal Informatika dan Teknologi Komputer
  • Agus Muliadi +1
  • Research Article
  • Citations9

Grid Drawings of Binary Trees: An Experimental Study

  • Jan 01, 2008
  • Journal of Graph Algorithms and Applications
  • Adrian Rusu +1
  • Conference Article

Random Multiple Access Protocol combined Binary Tree Conflict-resolving Algorithm and the 1-persistent CSMA Protocol

  • Jan 01, 2013
  • Zhao Yifan +5
  • Research Article
  • Citations2

Formal proof of integer adders using all-prefix-sums operation

  • Aug 10, 2011
  • Science China Information Sciences
  • Feng Liu +2
  • Research Article
  • Citations8

Binary metaheuristic algorithms for 0–1 knapsack problems: Performance analysis, hybrid variants, and real-world application

  • Jun 13, 2024
  • Journal of King Saud University - Computer and Information Sciences
  • Mohamed Abdel-Basset +5
  • Book Chapter
  • Citations6

Binary trees and parallel scheduling algorithms

  • Jun 10, 1981
  • Eliezer Dekel +1
  • Research Article
  • Citations15

Coordinating product configuration in the order fulfilment processing: an approach based on the binary tree algorithm

  • Oct 01, 2006
  • International Journal of Computer Integrated Manufacturing
  • H -E Tseng +1
  • Research Article
  • Citations16

Coding Order Decision of B Frames for Rate-Distortion Performance Improvement in Single-View Video and Multiview Video Coding

  • Mar 29, 2010
  • IEEE Transactions on Image Processing
  • Je-Won Kang +3
  • Research Article
  • Citations1

Binary Classication Tree for Multiclass Classication with Observation-based Clustering

  • Jan 01, 1970
  • ECTI Transactions on Computer and Information Technology (ECTI-CIT)
  • Maythapolnun Athimethphat +1
  • Research Article
  • Citations25

Natural synthesis of provably-correct data-structure manipulations

  • Oct 12, 2017
  • Proceedings of the ACM on Programming Languages
  • Xiaokang Qiu +1
  • Research Article
  • Citations112

On Rotations and the Generation of Binary Trees

  • Nov 01, 1993
  • Journal of Algorithms
  • J.M Lucas +2
  • Research Article
  • Citations31

A binary tree representation and related algorithms for generating integer partitions

  • Apr 01, 1980
  • The Computer Journal
  • T I Fenner
  • Research Article
  • Citations12

Streamlining progress-based derivations of concurrent programs

  • Jun 05, 2007
  • Formal Aspects of Computing
  • Brijesh Dongol +1
  • Conference Article

Improving efficacy of concurrent internal binary search trees using local recovery

  • Jan 04, 2019
  • Arunmoezhi Ramachandran +1
  • Conference Article

VeriOover: A Verifier for Detecting Integer Overflow by Loop Abstraction

  • Jan 01, 2023
  • Jian Fang +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.