HackerPapers

arXiv:2503.22786astro-ph.CO

A formula for the area of a triangle: Useless, but explicitly in Deep Sets form

Connor Hainje, David W. Hogg

HN submission. Found in a submission link or body. Submitters do not count as commenters in the main ranking; a submission is not an endorsement.

Abstract

Any permutation-invariant function of data points $\vec{r}_i$ can be written in the form $ρ(\sum_iφ(\vec{r}_i))$ 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 $\vec{r}_i$ of the three corners $1\leq i\leq 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 $n$-point statistics in cosmology; that said, no insights of any kind were gained from these results.

arXiv comments
11 pages, 1 figure
Journal reference
DOI
Subjects
astro-ph.COCosmology and Nongalactic Astrophysics stat.MLMachine Learning (Statistics)

On Hacker News

No comments linking this paper were found in the collected sources. Found in 1 HN submission from Apr 2025 to Apr 2025. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments0 threads

No comments linking this paper were found in the collected sources. Open submission discussions.

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.