Geometry · exact coordinates
Is the midpoint of a right triangle equally far from all three corners?
Enter three points. MathCase checks the dot product of the two vectors leaving A, then compares the three squared distances to the midpoint of B and C. Everything here is integer arithmetic: no rounding is used.
What this case is checking
The question. If (B−A)·(C−A)=0, the angle at A is right. The theorem says the midpoint of BC is equally far from A, B, and C.
The result. A green answer means the exact dot product is zero and all three squared distances agree. An amber answer means the changed condition is not a right angle, so the theorem does not apply.
What is formal. The pinned Lean source proves the general real-coordinate statement. This page checks your integer example locally; it does not start a new Lean proof for every input.
Your calculation
Choose three coordinate points
Where to go next
This is a small example of the MathCase loop: state the assumptions, calculate exactly, test a changed condition, save the evidence, and say what the result does not prove.
Try the prime-denominator caseRead the formal geometry resultSee the subject guide