To make following the discussion of LiskovWingSubtyping easier, AlistairCockburn proposes the following much simpler declaration and research program: : "What is wanted here is something like the following arithmetic property: For '''all''' binary operators '#', the result of applying # is '''unchanged''' when the order of the arguments is reversed, that is, a#b produces the same result as b#a. This property is called Super Commutativity." The research goal is: : '''SuperCommutativity''' "A small number of research groups around the world are working on the concept of SuperCommutativity. The outcome of the research project will be much simplified mathematics, considerably easier for children to learn, and less expensive for the school systems to teach." ---- Unless I'm reading the proposed definition wrongly, this property is not generally compositional. I.e. given the language (*,+,==, if) - for which all the ''binary'' operators are commutative (if is ternary) - one can easily construct a binary function that is not commutative, such as pow(x,y)= if(y == 0) then 1 else x * pow(x,y+(-1)) Being non-compositional would severely limit the alleged utility of this feature to nearly trivial. Achieving composable commutativity is feasible only at severe expense to expressiveness. ---- It may interest others to note that - is a derived property for precisely that reason. Or that it is defined in terms of the additive inverse for precisely that reason. Or that the property is called symmetry.... Or you may consider this despositive evidence that it is never possible to define a symmetric property on an asymmetric operation by reworking the definitions of your operations in such fashion as to have the same expressive power. Words truly fail me. -- ANON ---- I think you have a misconception here. The property is useful often enough that we ought to teach it to all math students until the research program has reached its final goal. Already extensions have been found to widen it's applicability. 3^3 = 27; and also 3^3 = 27. ---- What a great goal. Never mind if the math isn't quite perfect, at least it's a useful heuristic on occasion and a wonderful social program! ---- ''Alistair, this is not a "property". This is a definition of the SuperCommutativity relation between ''a'' and ''b''. I am not very strong in the English terms for the math, but I suspect that the same relation is also called "equality". Are you really going to say that the presence of "equality" makes the math "not quite perfect"? -- NikitaBelenki'' You are right in the opening of of your paragraph (it does not define a relation, it is a search for a property that holds across all arithmetic operators). This page is written with more than just a little bit of tongue-in-cheek. There is, of course, no property or principle or whatever-you-might-like-to-call-it that will allow '''all''' arithmetic operators to be commutative (the relation is not called "equality", because there is no thing as what the opening declaration calls for). Subtraction, division, exponentiation, are not commutative, no matter how pleasant life would be if they were so, or how many examples are nominated. The point of the page is to construct an impossible research program that is syntactically close to that constructed in LiskovWingSubtyping, in order that people can see that claiming to search for an impossible property does not make it meaningful to search for that property. -- AlistairCockburn ''Well, I don't see quantifiers for ''a'' and ''b'', so they must be free variables (remember, this should be an analogy to LSP, which does contain free variables ''S'' and ''T''), and this '''is''' a definition of a predicate on a tuple ''(a,b)''. Why do not call this predicate "the SuperCommutativity relation"?'' ''But if ''a'' is SuperCommutative with [i.e. equal to] ''b'', then ''a#b'' will be the same as ''b#a'' for any arithmetic operator ''#'', commutative or not. The same is also applicable to LSP, as long as we consider it to be a definition of LWS relation and a property of the objects [i.e. types] that conform to LSP, but not a property of all objects and relations that were called "types" and "subtyping", accordingly, at least once by at least one person.'' ''Actually, equality [of types] itself is a LWS relation, so there is no question whether the LWS is "true". The question is if there are more meaningful uses to LWS than to be yet another equality relation.'' Good touch. Probably SuperCommutativity will prove to be an improper analog, since the phrasing would have to be much the way you phrased it. In LWS, a program 'p' operates on types 'S' and 'T', and LWS is a search for a relation < such that ( S