CTL* Verification and Synthesis using Existential Horn Clauses
Pith reviewed 2026-05-23 21:29 UTC · model grok-4.3
The pith
A translation turns CTL* verification and synthesis for infinite-state programs into satisfiability of existential Horn clauses.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Verification of whether program P satisfies CTL* formula φ reduces exactly to satisfiability of the EHC set produced by Trans; synthesis reduces to finding values for the holes that make the corresponding EHC set satisfiable. Both algorithms are sound (satisfiable EHCs imply the program meets the spec) and relatively complete (if the program meets the spec, the EHCs are satisfiable).
What carries the argument
The translation system Trans, which converts CTL* formulas together with the program transition relation into existential Horn clauses that encode both the specification and the required well-foundedness conditions.
If this is right
- Any CTL* property on an infinite-state program can be checked by solving the corresponding EHC instance.
- Programs with holes in guards and updates can be completed automatically so that the result satisfies a given CTL* formula.
- Because CTL* contains both LTL and CTL, the same machinery covers verification and synthesis for those sublogics.
- Relative completeness guarantees that every program satisfying the specification will be found if the E-HSF solver is complete on the generated clauses.
Where Pith is reading between the lines
- The same reduction pattern could be applied to other branching-time or hybrid logics once their semantics are expressed as well-foundedness constraints.
- Practical performance will depend on how efficiently current E-HSF implementations handle the particular clause shapes produced by Trans.
- The method offers a uniform route from specification to implementation that could be composed with existing program-repair or counterexample-guided synthesis loops.
Load-bearing premise
The mapping from CTL* formulas and program semantics to existential Horn clauses preserves satisfiability in both directions.
What would settle it
A concrete infinite-state program and CTL* formula for which the generated EHC set is satisfiable yet the program violates the formula, or unsatisfiable yet the program satisfies the formula.
Figures
read the original abstract
This work proposes a novel approach for automatic verification and synthesis of infinite-state reactive programs with respect to ${CTL}^*$ specifications, based on translation to Existential Horn Clauses (EHCs). $CTL^*$ is a powerful temporal logic, which subsumes the temporal logics LTL and CTL, both widely used in specification, verification, and synthesis of complex systems. EHCs with its solver E-HSF, is an extension of Constrained Horn Clauses, which includes existential quantification as well as the power of handling well-foundedness. We develop the translation system \textit{Trans}, which given a verification problem consisting of a program $P$ and a specification $\phi$, builds a set of EHCs which is satisfiable iff $P$ satisfies $\phi$. We also develop a synthesis algorithm that given a program with holes in conditions and assignments, fills the holes so that the synthesized program satisfies the given $CTL^*$ specification. We prove that our verification and synthesis algorithms are both sound and relative complete. Finally, we present case studies to demonstrate the applicability of our algorithms for $CTL^*$ verification and synthesis.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes a translation system Trans that, given an infinite-state reactive program P and a CTL* specification ϕ, produces a set of Existential Horn Clauses (EHCs) satisfiable if and only if P satisfies ϕ. It also presents a synthesis algorithm that fills holes in conditions and assignments so the resulting program satisfies a given CTL* specification. Both the verification and synthesis procedures are claimed to be sound and relatively complete, with case studies demonstrating applicability.
Significance. If the translation preserves satisfiability exactly and the soundness/relative-completeness arguments hold, the work would extend constrained-Horn-clause techniques to the full expressive power of CTL* (which subsumes LTL and CTL) while leveraging the existential-quantification and well-foundedness capabilities of E-HSF solvers. This could be a useful addition to the toolkit for reactive-program verification and synthesis.
major comments (1)
- [Abstract] Abstract: the manuscript asserts that 'We prove that our verification and synthesis algorithms are both sound and relative complete,' yet supplies no derivation details, no example translations of CTL* formulas or program semantics, and no discussion of how well-foundedness constraints or existential quantification are encoded. Because these proofs are the load-bearing justification for the central claim that the EHC set is satisfiable exactly when the program satisfies the specification, their absence prevents verification of correctness.
Simulated Author's Rebuttal
We thank the referee for their review. The manuscript contains the requested details on the translation, proofs, and encodings in the body of the paper; we address the concern below.
read point-by-point responses
-
Referee: [Abstract] Abstract: the manuscript asserts that 'We prove that our verification and synthesis algorithms are both sound and relative complete,' yet supplies no derivation details, no example translations of CTL* formulas or program semantics, and no discussion of how well-foundedness constraints or existential quantification are encoded. Because these proofs are the load-bearing justification for the central claim that the EHC set is satisfiable exactly when the program satisfies the specification, their absence prevents verification of correctness.
Authors: We respectfully disagree that these elements are absent from the manuscript. The translation system Trans is defined in Section 3, which includes concrete examples of translating CTL* formulas (e.g., combinations of path quantifiers A/E with temporal operators G/F/U) and the operational semantics of reactive programs into EHCs. The proofs of soundness and relative completeness appear as Theorems 1 and 2 in Sections 4 and 5, respectively; these arguments explicitly address the preservation of satisfiability, including the encoding of well-foundedness constraints (via ranking functions) and existential quantification (via the capabilities of E-HSF). Section 2.2 discusses the relevant features of EHCs, and Section 6 illustrates their use in the case studies. If the referee overlooked these sections, we are happy to expand cross-references or add further examples in a revision. revision: no
Circularity Check
No significant circularity
full rationale
The paper defines a translation Trans from a program P and CTL* formula phi to a set of existential Horn clauses, then separately proves that the EHC set is satisfiable exactly when P satisfies phi, along with soundness and relative completeness for both verification and synthesis. No load-bearing step reduces by construction to a fitted parameter, self-citation, or prior ansatz from the same authors. The central claim rests on an explicit, independently stated translation and proof rather than any of the enumerated circular patterns.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption CTL* semantics can be encoded into existential Horn clauses while preserving satisfiability
- domain assumption The E-HSF solver decides satisfiability of the generated EHCs correctly
Reference graph
Works this paper leans on
-
[1]
Beyene, T.A., Brockschmidt, M., Rybalchenko, A.: CTL+FO verification as con- straint solving (2014)
work page 2014
-
[2]
Beyene, T.A., Chaudhuri, S., Popeea, C., Rybalchenko, A. : A constraint-based approach to solving games on infinite graphs. In: Jagannatha n, S., Sewell, P. (eds.) The 41st Annual ACM SIGPLAN-SIGACT Symposium on Prin ciples of Programming Languages, POPL ’14, San Diego, CA, USA, Janu ary 20- 21, 2014. pp. 221–234. ACM (2014). https://doi.org/10.114 5/25358...
-
[3]
Beyene, T.A., Popeea, C., Rybalchenko, A.: Solving exist entially quantified horn clauses. In: Sharygina, N., Veith, H. (eds.) Computer Aided Verification. pp. 869–
-
[4]
Springer Berlin Heidelberg, Berlin, Heidelberg (2013 )
work page 2013
-
[5]
In: Gallagher, J.P., R¨ ummer, P
Beyene, T.A., Popeea, C., Rybalchenko, A.: Efficient CTL ve rification via horn constraints solving. In: Gallagher, J.P., R¨ ummer, P. (eds .) Proceedings 3rd Work- shop on Horn Clauses for Verification and Synthesis, HCVS@ET APS 2016, Eind- hoven, The Netherlands, 3rd April 2016. EPTCS, vol. 219, pp. 1–14 (2016). https://doi.org/10.4204/EPTCS.219.1, https://...
-
[6]
Bj ørner, N., Gurfinkel, A., McMillan, K., Rybalchenko, A.: Horn Clause Solvers for Program Verification, pp. 24–51. Springer International Pu blishing, Cham (2015)
work page 2015
-
[8]
Elec- tronic Proceedings in Theoretical Computer Science 260, 4–22 (Nov 2017)
Bloem, R., Schewe, S., Khalimov, A.: CTL* synthesis via LT L synthesis. Elec- tronic Proceedings in Theoretical Computer Science 260, 4–22 (Nov 2017). https://doi.org/10.4204/eptcs.260.4, http://dx.doi.org/10.4204/EPTCS.260.4
-
[9]
In: Kroening, D., P˘ as˘ areanu, C.S
Cook, B., Khlaaf, H., Piterman, N.: On automation of CTL* v erification for infinite-state systems. In: Kroening, D., P˘ as˘ areanu, C.S. (eds.) Computer Aided Verification. pp. 13–29. Springer International Publishin g, Cham (2015)
work page 2015
-
[10]
Cook, B., Podelski, A., Rybalchenko, A.: Terminator: Bey ond safety. In: Ball, T., Jones, R.B. (eds.) Computer Aided Verification. pp. 415–418 . Springer Berlin Hei- delberg, Berlin, Heidelberg (2006)
work page 2006
-
[11]
Theoretical Computer Science 126(1), 77–96 (1994)
Dam, M.: CTL ∗ and ECTL ∗ as fragments of the modal µ- calculus. Theoretical Computer Science 126(1), 77–96 (1994). https://doi.org/https://doi.org/10.1016/0304-3975(94)90269-0, https://www.sciencedirect.com/science/article/pii/0304397594902690
-
[12]
Finkbeiner, B.: Synthesis of reactive systems, pp. 72–9 8 (04 2016). https://doi.org/10.3233/978-1-61499-627-9-72
-
[13]
Founda- tions and Trends® in Programming Languages 4(1-2), 1–119 (2017)
Gulwani, S., Polozov, O., Singh, R.: Program synthesis. Founda- tions and Trends® in Programming Languages 4(1-2), 1–119 (2017). https://doi.org/10.1561/2500000010, http://dx.doi.org/10.1561/2500000010
-
[14]
Guo, D., Svyatkovskiy, A., Yin, J., Duan, N., Brockschmi dt, M., Allamanis, M.: Learning to complete code with sketches (2022)
work page 2022
-
[15]
Theoretical Computer Science 331, 397–428 (02 2005)
Kesten, Y., Pnueli, A.: A compositional approach to CTL* ver- ification. Theoretical Computer Science 331, 397–428 (02 2005). https://doi.org/10.1016/j.tcs.2004.09.023 21
-
[16]
Reducibility Among Combinatorial Problems
Khalimov, A., Bloem, R.: Bounded synthesis for Streett, Rabin, and CTL*. In: Majumdar, R., Kuncak, V. (eds.) Computer Aided Verificat ion - 29th In- ternational Conference, CA V 2017, Heidelberg, Germany, Ju ly 24-28, 2017, Proceedings, Part II. Lecture Notes in Computer Science, vo l. 10427, pp. 333–352. Springer (2017). https://doi.org/10.1007/9 78-3-319...
work page doi:10.1007/9 2017
-
[17]
Kupferman, O., Vardi, M.Y., Wolper, P.: An automata- theoretic approach to branching-time model checking. J. AC M 47(2), 312–360 (2000). https://doi.org/10.1145/333979.33 3987, https://doi.org/10.1145/333979.333987
-
[18]
Long, F., Rinard, M.: Staged program repair with conditi on synthesis. pp. 166–178 (08 2015). https://doi.org/10.1145/2786805.2786811
-
[19]
Theoretical Computer Science 163(1-2), 99–116 (1996)
Niwi´ nski, D., Walukiewicz, I.: Games for the µ-calculus. Theoretical Computer Science 163(1-2), 99–116 (1996)
work page 1996
-
[20]
In: Proceedings of the 19th Annual IEEE Symposium on Logic in Computer Science, 2004
Podelski, A., Rybalchenko, A.: Transition invariants. In: Proceedings of the 19th Annual IEEE Symposium on Logic in Computer Science, 2004. pp . 32–41 (2004). https://doi.org/10.1109/LICS.2004.1319598
-
[21]
In: Rozier, K.Y., C haudhuri, S
Rothenberg, B.C., Grumberg, O., Vizel, Y., Singher, E.: Condition synthesis real- izability via constrained horn clauses. In: Rozier, K.Y., C haudhuri, S. (eds.) NASA Formal Methods. pp. 380–396. Springer Nature Switzerland, Cham (2023)
work page 2023
-
[22]
Solar-Lezama, A., Tancau, L., Bodik, R., Seshia, S., Sar aswat, V.: Com- binatorial sketching for finite programs. SIGARCH Comput. A rchit. News 34(5), 404–415 (oct 2006). https://doi.org/10.1145/116891 9.1168907, https://doi.org/10.1145/1168919.1168907
-
[23]
International Journal on Software Tools for Technology Transfer 15(5), 497–518 (January 2012)
Srivastava, S., Gulwani, S., Foster, J.S.: Template-ba sed program verification and program synthesis. International Journal on Software Tools for Technology Transfer 15(5), 497–518 (January 2012)
work page 2012
-
[24]
Unno, H., Terauchi, T., Gu, Y., Koskinen, E.: Modular pri mal-dual fixpoint logic solving for temporal verification. Proc. ACM Program. Lang. 7(POPL) (jan 2023). https://doi.org/10.1145/3571265, https://doi.org/10.1145/3571265
-
[25]
Unno, H., Terauchi, T., Koskinen, E.: Constraint-based relational verification. In: Silva, A., Leino, K.R.M. (eds.) Computer Aided Verification . pp. 742–766. Springer International Publishing, Cham (2021)
work page 2021
-
[26]
, Zhang, L.: Precise condition synthesis for program repair
Xiong, Y., Wang, J., Yan, R., Zhang, J., Han, S., Huang, G. , Zhang, L.: Precise condition synthesis for program repair. In: 2017 IE EE/ACM 39th In- ternational Conference on Software Engineering (ICSE). pp . 416–426 (2017). https://doi.org/10.1109/ICSE.2017.45
-
[27]
Xuan, J., Martinez, M., DeMarco, F., Clement, M., Marcot e, S.L., Durieux, T., Le Berre, D., Monperrus, M.: Nopol: Automatic r epair of conditional statement bugs in java programs. IEEE Trans. Softw. Eng. 43(1), 34–55 (jan 2017). https://doi.org/10.1109/TSE.2016 .2560811, https://doi.org/10.1109/TSE.2016.2560811 22 A Appendix A.1 Proof of complexity theor...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.