cs.LOAug 19, 2026

Formal Verification of Romanov's Triplet Logic: A Verified Filter for Sliding-window 3-CNF with Application to Structured Formulas

Authors: Dmitry V. Alexandrov

Organizations: HSE University, Moscow, Russia.

Abstract

We present the first mechanised formalisation of Romanov's Triplet Logic (TLS) in the Rocq proof assistant. TLS is a combinatorial framework originally motivated by Boolean satisfiability, based on triplet structures and a filter that we call Simple Vertex Intersection (SVI). We formalise the core of TLS, including its translation from 3-CNF, the clearing procedure, and the SVI algorithm. For the well-formed sliding-window fragment, we prove explicit polynomial-time bounds for the filter stages and verify the translation and intersection operations. Our main contribution is a precise correctness boundary: for general formulas, SVI non-emptiness is necessary but not sufficient for satisfiability; for aligned structures, we prove a full bi-implication, extended to systems of structures. We also formalise the grouped-window translation and provide a formal counterexample to its completeness. We introduce VFR (Verified Filter for Romanov's triplet logic), an extracted OCaml prototype that implements a verified decision procedure for the sliding-window fragment and a sound filter for general 3-CNF, with a Python runtime and Docker packaging. Benchmarks corroborate the predicted behaviour, and the complete toolchain is available as a curated Zenodo artifact. The Rocq development comprises over 23,000 lines of code, with 424 proved lemmas and no unproved assumptions.

Figures & tables

Explore similar work

CardsList
  1. VeriTrans: Fine-Tuned LLM-Assisted NL-to-PL Translation via a Deterministic Neuro-Symbolic Pipeline

    Apr 11, 2026Xuan Liu, Dheeraj Kodakandla, Kushagra Srivastva +1LLM ReliabilityNeuro-Symbolic AI

  2. Power Term Polynomial Algebra for Boolean Logic

    Mar 14, 2026Emanuele Sansone, Armando Solar-LezamaSymbolic Reasoning

  3. Sequent-Prover: Training Agents for Formal, Checkable SMT-based Reasoning

    Oct 11, 2026Debargha Ganguly, Weicong Chen, Mohsen Hariri +13LLM Agent TrainingLLM Agent Reliability