Type Theory In Lean Operations