Exoplanet validation in Logical English

exoplanet-validation-le.le · output · proof · check · playground


The question

A fictional transit survey reports four planet candidates. For each type of candidate, we know the assumed planet occurrence rate and how often the pipeline detects a real planet or correctly ignores a target without one. Which signals pass each of four illustrative screening rules?

Historical background

Thomas Bayes’s essay, communicated by Richard Price in 1763, addresses inference from observations back to an unknown probability. Here Bayes’ rule takes the assumed rates as given and infers the probability of a planet given a detection. Bayes and Price, An Essay towards Solving a Problem in the Doctrine of Chances

What we tell eyemind

The rates are integers per thousand. Sensitivity is the detection rate when a planet is present. Specificity is the rate of no detection when a planet is absent. Multiplying the appropriate rates gives expected true positives and false positives per million surveyed targets. The posterior is the share of all expected detections that are true positives.

The two Bayesian rules compare their thresholds by cross-multiplication, using exact integer arithmetic for the decision.

What eyemind concludes

Candidate Posterior (approx.) Reference Cautious Sensitivity screen Heuristic
Rare wide orbit 9.0% Review Review Pass Review
Short period 96.1% Pass Pass Pass Pass
Hot Neptune 91.3% Pass Review Pass Pass
Hot Neptune, low specificity 76.0% Review Review Pass Review

Even with a sensitivity of 99%, the rare signal has just 990 true positives among 10,980 expected detections. The exact counts appear in the check report.

struct('le:answer', 'detections', 'transit survey', 'rare wide orbit', 990, 10980)

What the proof establishes

The saved proof is checked. The detection counts and every verdict follow from the illustrative input rates and the stated model thresholds.

Try it

node bin/eyemind.js examples/exoplanet-validation-le.le
node bin/eyemind.js --check-proof examples/proof/exoplanet-validation-le.js examples/exoplanet-validation-le.le
node bin/eyemind.js --explain examples/exoplanet-validation-le.le

Lower the cautious threshold to 90%. The hot Neptune passes all four models, and the other three candidates keep their verdicts.