Iterative Proof-Driven Development LLM Prompt

This paper introduces Iterative Proof-Driven Development, a novel prompt engineering method designed to take advantage of GPT-4 level models that are able to follow detailed instructions. Iterative Proof-Driven Development is a structured prompt that outlines a test-driven process for solving complex mathematics and programming tasks. The prompt provides an LLM with instructions to decompose a problem into sub-problems, generate test cases, verify results, and integrate sub-solutions. While Chain of Thought (CoT) reasoning remains central to individual steps, the structured process ensures consistency and reliability. This method takes advantage of embedded code interpreters within chatbot user interfaces, enabling immediate execution, debugging, and iterative refinement without external tools. We demonstrate this prompting technique by guiding an LLM through the development of a small CSV processing library, illustrating each step and highlighting how the method ensures well-tested, logically consistent, and reliable outputs. Finally, we explore potential use cases, future directions for automation with agent-based systems (e.g., Langgraph), and the broader implications of prompt engineering for larger software development projects.

Authors

Institutions

Publication Details

Published
2025-05-08
DOI
https://doi.org/10.1145/3701716.3717811
Citations
1
Primary Topic
Digital Rights Management and Security
Type
article
Field-Weighted Citation Impact
3.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Iterative Proof-Driven Development LLM Prompt

Aneesha Bakharia
1 citations
Digital Rights Management and Security
3.25
article

Iterative Proof-Driven Development LLM Prompt

Aneesha Bakharia
article en
1 citations

Abstract

This paper introduces Iterative Proof-Driven Development, a novel prompt engineering method designed to take advantage of GPT-4 level models that are able to follow detailed instructions. Iterative Proof-Driven Development is a structured prompt that outlines a test-driven process for solving complex mathematics and programming tasks. The prompt provides an LLM with instructions to decompose a problem into sub-problems, generate test cases, verify results, and integrate sub-solutions. While Chain of Thought (CoT) reasoning remains central to individual steps, the structured process ensures consistency and reliability. This method takes advantage of embedded code interpreters within chatbot user interfaces, enabling immediate execution, debugging, and iterative refinement without external tools. We demonstrate this prompting technique by guiding an LLM through the development of a small CSV processing library, illustrating each step and highlighting how the method ensures well-tested, logically consistent, and reliable outputs. Finally, we explore potential use cases, future directions for automation with agent-based systems (e.g., Langgraph), and the broader implications of prompt engineering for larger software development projects.

The University of Queensland (AU)
Industry, innovation and infrastructure
Openalex Percentile: Top 9%
Digital Rights Management and Security
3.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.