Tool for Euclidean geometry aware of logic
github.com
github.com
Say we want to find the midpoint M of AB. Construction:
“Draw the circle centered at A through B and the circle centered at B through A. Let the two circles meet at C, D. Let AB meet CD at M.”
Proof:
“Since AC = AB = BC, C lies on the perpendicular bisector of AB. Since AD = AB = BD, D lies on it as well. Hence CD is the perpendicular bisector of AB. That means AM = BM, so M is the midpoint of AB.”
In your example, let’s strip each statement of phrasing (“meet at” means the same as “intersect”, etc). Also, each requires external knowledge of the relationship between radii and right angles. These bits can presumably be reduced to the same clauses as well.
So. Is more information encoded in the proof than the construction?
Is one of two equivalent prolog programs just written upside down, while the other says “hence” a non-zero number of times??
This is beautifully showcased by a 3Blue1Brown video about an extremely clever proof of the equivalence of three constructions of an ellipse: https://www.youtube.com/watch?v=pQa_tWZmlGs.
I had a flash of a question about whether the external information required in either case offsets the information provided by the objects in the proof (implicitly, explicitly, or artificially). I was thinking in terms of both formal logic and entropy, loosely.
The (usefully simple) construction here implies use of a compass or string. In a sense, the physical constraints of a compass encode the same information as the lemmas and theorems do abstractly.
“Brah, you should google metaphysics and Bertrand Russell,” is probably about right But, I’m sure there is a term that I just don’t know or can’t recall.
The compass encodes a constant-radius constraint, and the string encodes a sum-of-distances constraint, but it’s not at all obvious why these two constraints turn out to be the same under a uniform stretching. There are plenty of similar-looking hypotheses that turn out to be false (for example, a curve of constant offset to an ellipse looks a lot like an ellipse but isn’t one).