A Mimamsa Inspired Framework For Instruction Sequencing In AI Agents
Bama Srinivasan
TL;DR
The paper addresses the problem of reliable instruction sequencing for AI agents, focusing on temporal reasoning and object–state dependencies. It introduces a Mimāṁsā-inspired framework that treats instructions as action–object pairs and formalizes three sequencing paradigms: Direct Assertion, Purpose-Based, and Iterative Procedure, all grounded in a formal action–object imperative logic. Core contributions include modeling action–object dependencies, formalizing sequencing rules (OCS and PLS), and proving a Validity Theorem along with soundness and completeness. The work enables principled, verifiable sequencing suitable for planning and robotics, with practical realization via a MIRA AI Agent for real-time validation.
Abstract
This paper presents a formal framework for sequencing instructions in AI agents, inspired by the Indian philosophical system of Mimamsa. The framework formalizes sequencing mechanisms through action object pairs in three distinct ways: direct assertion (Srutikrama) for temporal precedence, purpose driven sequencing (Arthakrama) for functional dependencies, and iterative procedures (Pravrittikrama) for distinguishing between parallel and sequential execution in repetitive tasks. It introduces the syntax and semantics of an action object imperative logic, extending the MIRA formalism (Srinivasan and Parthasarathi, 2021) with explicit deduction rules for sequencing. The correctness of instruction sequencing is established through a validated theorem, which is based on object dependencies across successive instructions. This is further supported by proofs of soundness and completeness. This formal verification enables reliable instruction sequencing, impacting AI applications across areas like task planning and robotics by addressing temporal reasoning and dependency modeling.
