Thank you for sharing the write up.
I think the model you are describing, has parallels with Yaron Minksy's Data Driven UIs, incrementally
https://www.youtube.com/watch?v=R3xX37RGJKE
Perhaps if you could review the above (if you have not done already), additional ideas/data points might help with your formalization effort.