Agda is an advanced programming language based on Type Theory. Agda's type system is expressive enough to support full functional …