Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I'm a newbie in both formal mathematics and theoretical computer science, so please bear with me if you find my question is not properly framed. Object Oriented Modeling seems very useful in defining complex interactions when simulating real world. But it's mostly used in programming. I was wondering if we have a similar concept in mathematics. When we're doing programming, we can understand the concept of "Objects" and "Object Oriented Programming" and just implement it. But do we have formal definition of "Objects" in terms of Set Theory? Or for that matter, any other formal mathematical theory?

Can we implement/ formally define three primary object orient modeling concepts- 1. Encapsulation 2. Inheritance 3. Polymorphism

I know question is too broad, but would really appreciate if you can provide some pointers as well so that I can understand these concepts better.

share|improve this question

closed as off topic by Asaf Karagila, Zhen Lin, Michael Greinecker, LVK, William Aug 20 '12 at 19:59

Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I claim that category theory provides a partial answer, but amusingly none of the tags you have chosen cover that... –  Zhen Lin May 5 '12 at 19:12
    
Thanks, I'll add that.. I didn't even know about Category theory.. :), could you please suggest me appropriate tags? –  user30708 May 5 '12 at 19:14
2  
The tags should be about programming languages and semantics. –  Andrej Bauer May 5 '12 at 19:15
    
But I guess those tags aren't available here... (please see my comment on 1st answer) –  user30708 May 5 '12 at 19:22
    
@AndrejBauer: Maybe forward the question to cs.SE, then? –  Raphael May 5 '12 at 19:30
show 1 more comment

1 Answer 1

There is rich literature on mathematical modeling of programming languages, and object-oriented ones are no exception. I would recommend Benjamin Pierce's book "Types and programming languages" as a general introduction to the subject. Robert Harper's "Practical Foundations for Programming Languages" is also very good and available online.

You specifically ask about mathematical models for object-oriented languages. You could look at Abadi's and Cardelli's Theory of Objects and go on from there.

Lastly, you should have asked this question on the cstheory StackExchange.

share|improve this answer
    
Thanks, one reason I chose this math platform was to get views from people who are familiar in formal mathematics, as I wanted to know about "formal mathematics" behind "objects" of "object oriented modeling"... –  user30708 May 5 '12 at 19:19
    
Welcome Andrej! –  Asaf Karagila May 5 '12 at 19:23
    
(also a minor remark, StackExchange is the name for the entire network, you might want to specify which SE website you refer to in your last link) –  Asaf Karagila May 5 '12 at 19:24
    
he referred to theoretical cs.. –  user30708 May 5 '12 at 19:25
    
Neither Stackoverflow nor cstheory.SE are the correct venues, imho, but rather cs.SE. –  Raphael May 5 '12 at 19:31
show 2 more comments

Not the answer you're looking for? Browse other questions tagged or ask your own question.