Herb Sutter implemented only a subset of chained comparisons in his cppfront, stating in his keynote (https://youtu.be/fJvPBHErF2U?si=RqcR661yBzcQ8r5_&t=850) that a >= b < c is "mathematically unsound". He shows three examples of chained comparisons. One would be supported but two of them would not would not be supported in c++2 even though they are supported in Python. He does not go on to expand upon the reasons other than to point out the how this decision is addressed in Python and this is related to his point about simplicity, safety and efficiency.
Mathematical textbooks are full of expressions like a > b < c to express a minimum or a >= b < c for a one-side minimum. What is mathematically unsound about these chained comparisons?

Typically we write
a < b < cas a shorthand fora < b,b < c, anda < c. Assuming this is the case and<,>,<=,>=are transitive, which is usually the case, writinga < b > cwould imply thata < b,b < c, anda > c, which is always false. Writinga <= b > ccould be true if and only ifa = bandb > c, but this is still not the interpretation that Python has.In Python, writing
a < b > cmeansa < b and b > c, no comparisons are made betweenaandc, meaning the statement could be true. Similarly, the interpretation ofa <= b > cis completely different as there are many cases wherea != band the statement is still true.While the
a op ccomparison in thea op b op cexample is not something we can actually infer, and the correct mathematical interpretation is, in fact,a op b and b op c, this is an expectation that many people have when they see a chained comparison (as demonstrated by how unpopular thea < b > cnotation is).This notation is not technically mathematically unsound, but it is uncommon and uncomfortable. When we are habituated in thinking by the reasoning presented in the first paragraph, this notation makes us stop and think just a little bit harder even if it is by a split second, creating friction and making it harder to understand the actual logic of the algorithm. We must remember code is read quite a lot. The subversion of expectations when seeing a
a < b > ccomparison makes it really hard to track the code logic and could be more clearly represented witha < b and c < b