Published August 15, 2025 | Version v.1
Preprint Open

PBFD and PDFD: Formally Defined and Verified Methodologies and Empirical Evaluation for Scalable Full-Stack Software Engineering

  • 1. IBM Consulting

Description

This paper introduces Primary Breadth-First Development (PBFD) and Primary Depth-First Development (PDFD), two formally defined and verified methodologies for scalable, industrial-grade full-stack software engineering. These approaches bridge a longstanding gap between formal methods and real-world development practice by enforcing structural correctness through graph-theoretic modeling. Unlike prior graph-based approaches, PBFD and PDFD operate over layered directed graphs and are formalized using unified state machines and Communicating Sequential Processes (CSP) to ensure critical properties, including bounded-refinement termination and structural completeness.

To coordinate hierarchical data at scale, we propose Three-Level Encapsulation (TLE)—a novel, bitmask-based encoding scheme that delivers provably constant-time updates. TLE’s formal guarantees underpin PBFD’s industrial-scale performance and scalability.

PBFD was empirically validated through an eight-year enterprise deployment, demonstrating over 20× faster development than Salesforce OmniScript and 7–8× faster query performance compared to conventional relational models. Additionally, both methodologies are supported by open-source MVPs, with PDFD’s implementation conclusively demonstrating its correctness-first design principles.

Together, PBFD and PDFD establish a reproducible, transparent framework that integrates formal verification into practical software development. All formal specifications, MVPs, and datasets are publicly available to foster academic research and industrial-grade adoption.

Files

PBFD_PDFD_Single.pdf

Files (7.7 MB)

Name Size Download all
md5:6c9c588f45b8d90159594b67c76fcdd1
7.7 MB Preview Download

Additional details

Additional titles

Subtitle
Graph-Theoretic Models, Unified State Machines, Encoded Hierarchies, and Industrial Validation

Dates

Created
2025-08-15

Software

Repository URL
https://github.com/PBFD-MVP/PBFD-MVP
Programming language
C#
Development Status
Active