A FORMULA FOR THE AREA OF A TRIANGLE:USELESS, BUT EXPLICITLY IN DEEP SETS FORM
Any permutation-invariant function of data points π β π can be written in the form π β‘ ( β π π β‘ ( π β π ) ) for suitable functions π and π . This formβknown in the machine-learning literature as Deep Setsβalso generates a mapβreduce algorithm. The area of a triangle is a permutation-invariant function of the locations π β π of the three corners 1 β€ π β€ 3 . We find the polynomial formula for the area of a triangle that is explicitly in Deep Sets form. This project was motivated by questions about the fundamental computational complexity of π -point statistics in cosmology; that said, no insights of any kind were gained from these results. β³ β³ β³ The area Ξ of a triangle can be written in many ways. Here are a few: where the quantities used are defined in FigureΒ 1, apart from the side lengths π , π , π = | π β | , | π β | , | π β | and the semi-perimeter π = ( π + π + π ) / 2 . FormulaΒ (1) is the usual introduction to the subject, traceable back to