Zulip Chat Archive

Stream: new members

Topic: Geometry


kali (Mar 28 2023 at 16:53):

I found this link which formalizes geometry using hilbert's axioms.

The angles defined here can be created with 3 equal points, isn't that a problem?
It's the same for triangles, there is no condition on the points.

Thanks

Jireh Loreaux (Mar 28 2023 at 17:33):

I'm not the author, but I suspect that it's not an issue. These are just degenerate cases. The point is that the angle determined by 3 equal points (or more generally, 3 collinear points) is just not proper (see ang_proper_iff_noncol). Then in many theorems, properness of the angle is a hypothesis, see for instance three_pt_ang_eq_iff_prep.

Kevin Buzzard (Mar 28 2023 at 18:19):

@Tianchen Zhao was the author, this was a Xena summer project.

kali (Mar 28 2023 at 18:45):

Ok ok thanks

Tianchen Zhao (Mar 29 2023 at 05:07):

kali said:

I found this link which formalizes geometry using hilbert's axioms.

The angles defined here can be created with 3 equal points, isn't that a problem?
It's the same for triangles, there is no condition on the points.

Thanks

That is a great question! Actually, the book I am following, Euclidean Geometry and Beyond by Hartshrone, uses the convention that three points must be noncollinear to define an angle. Indeed, most of the times we only care about 'proper' angles. However, if we use that definition in Lean, sometimes the theorem statement could be very messy since defining every angle involves proving the noncollinearity, so I didn't demand the points to be collinear and as @Jireh Loreaux said, I usually put properness condition in the statement. I guess the most results work in degenerate cases, but really we don't think of Euclidean geometry in that way. Plus, checking all the degenerate cases could be a disaster in Lean when there are many points.

Marc Masdeu (Mar 29 2023 at 06:39):

Take a look at https://github.com/mmasdeu/hilbert, I was also mostly following Hartshorne.

kali (Mar 29 2023 at 14:28):

@Tianchen Zhao It seems to be a common lean approach.
Restrictions are placed on theorems rather than objects.
It is true that it makes it easier to use.

kali (Mar 29 2023 at 14:28):

@Marc Masdeu I will look, thank you


Last updated: Dec 20 2023 at 11:08 UTC