Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This document analyzes the differences between three prompt strategies for termination analysis: **EvolveTerm (Current)**, **Const Prompts (Reference)**, and **Loopy Templates (Reference)**.
Sign in to like and favorite skills
This document analyzes the differences between three prompt strategies for termination analysis: EvolveTerm (Current), Const Prompts (Reference), and Loopy Templates (Reference).
| Feature | EvolveTerm (Current) | Const Prompts | Loopy Templates |
|---|---|---|---|
| Goal | End-to-end Ranking Function (RF) generation | Classification & Phase detection | Specific RF generation (Lexicographic/Standard) |
| Input | C Code + Invariants + RAG | Boogie Code (IR) | C Code |
| Strategy | Chain of Thought (CoT) + Verification | Divide & Conquer (Classify -> Solve) | Template-based (Specific prompts for specific types) |
| Output | JSON (, ) | Tags (, ) | ACSL Code Block |
Philosophy: "One-shot reasoning with explicit verification."
### Verification Analysis R(x) = n - i R(x_new) = n - (i + 1) = R(x) - 1 Delta = 1 > 0. Verified.
Philosophy: "Classify first, solve later."
[RANKING_TYPE] nested
Philosophy: "Specific tools for specific jobs."
(e1, e2, ...)./*@ loop variant v1; loop variant v2; */
Based on this analysis, EvolveTerm has adopted a hybrid approach:
(a, b) to handle nested/lexicographic cases, inspired by Loopy Templates.