Saved in:
Bibliographic Details
Main Authors: Cui, Leyi, Tiwari, Shrey, Padhye, Rohan
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.25180
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910252619792384
author Cui, Leyi
Tiwari, Shrey
Padhye, Rohan
author_facet Cui, Leyi
Tiwari, Shrey
Padhye, Rohan
contents Dates and calendar periods (i.e., days, months, years) appear frequently in tasks involving analysis of software, data, and documents. Prior research has shown that computer logic involving dates and calendrical calculations is error-prone due to tricky rules (e.g., irregularly sized months), ambiguities (e.g., scheduling one month from "Jan 31st"), and edge cases (e.g., leap years). However, existing program analysis and verification tools do not provide native support for dates, making it hard to reason about operations involving calendrical arithmetic symbolically. This paper presents DateSAT, the first framework for expressing and solving satisfiability constraints involving dates and calendar periods. The paper first formalizes an input language and the semantics of date and period arithmetic. The paper then presents five separate strategies for solving DateSAT constraints based on reductions to SMT formulas involving integers, which we have implemented using Z3 as a backend. We curate a dataset of 450 DateSAT constraints synthesized using LLM prompting, grammar-based sampling, and mining legal documents, and then present an empirical evaluation of DateSAT solver performance.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25180
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DateSAT: A Framework for Solving Date and Period Constraints
Cui, Leyi
Tiwari, Shrey
Padhye, Rohan
Logic in Computer Science
Programming Languages
Dates and calendar periods (i.e., days, months, years) appear frequently in tasks involving analysis of software, data, and documents. Prior research has shown that computer logic involving dates and calendrical calculations is error-prone due to tricky rules (e.g., irregularly sized months), ambiguities (e.g., scheduling one month from "Jan 31st"), and edge cases (e.g., leap years). However, existing program analysis and verification tools do not provide native support for dates, making it hard to reason about operations involving calendrical arithmetic symbolically. This paper presents DateSAT, the first framework for expressing and solving satisfiability constraints involving dates and calendar periods. The paper first formalizes an input language and the semantics of date and period arithmetic. The paper then presents five separate strategies for solving DateSAT constraints based on reductions to SMT formulas involving integers, which we have implemented using Z3 as a backend. We curate a dataset of 450 DateSAT constraints synthesized using LLM prompting, grammar-based sampling, and mining legal documents, and then present an empirical evaluation of DateSAT solver performance.
title DateSAT: A Framework for Solving Date and Period Constraints
topic Logic in Computer Science
Programming Languages
url https://arxiv.org/abs/2605.25180