In this paper, we introduce a geometric description of contact Lagrangian and
Hamiltonian systems on Lie algebroids in the framework of contact geometry,
using the theory of prolongations. We discuss the relation between Lagrangian
and Hamiltonian settings through a convenient notion of Legendre
transformation. We also discuss the Hamilton-Jacobi problem in this framework
and introduce the notion of a Legendrian Lie subalgebroid of a contact Lie
algebroid.Comment: 36 pages. arXiv admin note: text overlap with arXiv:2204.11537 by
other author