We have released the code for the framework associated with our paper titled Formally Verified Neurosymbolic Trajectory Learning via Tensor-based Linear Temporal Logic on Finite Traces. It contains OCaml code generated from our tensor-based Isabelle/HOL formalisation, which is used to inject LTL(f) constraints into PyTorch learners. The Python notebooks for the case studies on trajectory planning found in the paper is also included.
See: https://github.com/AI-Modelling-Lab/ltl-trajectory-training
