1) Move from structures to classes for STLC term definition
2) Remove and keep only minimally needed typing info for constructors
3) Add in type-inferencing for STLC terms
4) Add well-definedness predicate for terms in context
5) Amend the translation function in light of these changes
TODO: Type annotations for terms rather than explicit typing
However even with these changes it seems to solve issue #77
1) Move from structures to classes for STLC term definition 2) Remove and keep only minimally needed typing info for constructors 3) Add in type-inferencing for STLC terms 4) Add well-definedness predicate for terms in context 5) Amend the translation function in light of these changes
TODO: Type annotations for terms rather than explicit typing
However even with these changes it seems to solve issue #77