Coordinate incidence, order, and parallels #
ParallelPostulate.Pairs develops dimensions and figures over commutative rings and fields.
ParallelPostulate.HyperbolicPlane develops bounded affine planes, line incidence, Pasch
order, and the number of parallels over ordered fields. This module uses no calculus,
curvature, or path-distance imports. Analytic geometry and the concrete Hilbert models are
in LeanPool/ParallelPostulate.lean; the synthetic axiom bundle is in Hilbert.lean.
Dimensions laid among the pairs of numbers #
A dimension is a number line with its own zero and its own 1, laid among the pairs of numbers
of a ring K: Dim, with its direction Dim.dir, its pairs Dim.pt and Dim.points, and the
side Dim.side of a pair. cross is the cross product of two directions. A figure, Figure,
is three dimensions a, b, c with the two constraints
a0 = b0 a1 = c0
so that a is the line that falls on the two others. The entry module and the bounded-plane
section build on these,
in the namespace ParallelPostulate.Pairs.
Contents #
- a dimension, its direction, its pairs, its sides:
Dim,Dim.dir,Dim.pt,Dim.points,Dim.side,cross - a dimension with its zero moved:
Dim.rebase,Dim.rebase_dir,Dim.rebase_points,Dim.rebase_zero_ne_one,Dim.cross_rebase - small facts about a dimension:
Dim.pt_zero,Dim.pt_one,Dim.zero_mem,Dim.one_mem,Dim.dir_ne_zero,Dim.zero_ne_one_of_dir,Dim.side_eq_zero_of_mem,Dim.side_through,Dim.through_subset - the figure, with the two constraints:
Figure,Figure.a0_eq_b0,Figure.a1_eq_c0,Figure.a_meets_b,Figure.a_meets_c,Figure.side_b_one,Figure.side_c_one,Figure.side_b_pt - two right angles, and the figure with
arun backwards:Figure.never_meet_of_two_right_angles,Figure.reverse,Figure.reverse_side,Figure.reverse_dir,Figure.reverse_cross - with fractions:
cramer_aux,Figure.meet_eq,Figure.meet_unique,exists_mul_of_cross_eq_zero,Dim.pt_injective,Dim.mem_points_of_side_eq_zero,Dim.points_eq_through
The cross product of two directions. It is positive when the second is a turn to the left of the first, by less than two right angles.
Equations
- ParallelPostulate.Pairs.cross u v = u.1 * v.2 - u.2 * v.1
Instances For
The side of the dimension on which a point lies: positive on its left, negative on its right, and zero on the dimension itself.
Instances For
Two right angles: the lines never meet. If the side of c1 is not zero, and the cross
product of the directions of b and c is zero, the two lines have no point in common.
The plane of a bound: lines, order and parallels #
A plane is a set of pairs of numbers, and a line of a plane is what a dimension has in it. The
plane of the bound κ, plane κ, has the pairs (x, y) with 0 < 1 + κ (x² + y²). This file
proves Hilbert's statements on incidence and on order for it (Proposition H4 and
between_trichotomy), and counts the parallels: one exactly when the bound is not negative, and
infinitely many under a negative bound.
Contents #
- a plane: any
Set (K × K) - what two dimensions have in common:
common_of_cross_ne_zero,points_eq_of_two_common,no_common_of_cross_eq_zero,points_subset_of_cross_eq_zero,points_eq_of_cross_eq_zero - a line of a plane, a plane open along the dimensions:
IsLine,OpenAlong - a line through
Pthat does not meetL:Misses - Euclid's line, the line toward a number of
L:euclid,toward - Theorem H1, the lines through
Pthat do not meetL:miss_iff,misses_iff,euclid_misses,toward_misses,one_parallel_of_all_within - Theorem H2, one parallel exactly when:
toward_injective,euclid_ne_toward,one_parallel_iff,two_parallels_of_beyond,infinitely_many_parallels - the choice, the bound:
plane,mem_plane - Proposition H3, the plane of a bound:
plane_eq_univ,plane_zero,plane_stretch,plane_beyond,plane_beyond_infinite,zero_mem_plane,plane_mono,mem_plane_scale,plane_open_forward,plane_openAlong,plane_convex,bound_along,quad_pos,quad_nonpos - a sum of two squares:
sq_add_sq_pos - Proposition H4, points, lines and order:
line_through,IsLine.two_points,IsLine.exists_within,exists_three_points,exists_line_and_point,plane_exists_line_and_point,Between,Between.symm,Between.mem,Between.ne,Between.not_left,Between.not_right,exists_beyond,crosses,pasch - Theorem H5, the parallels under a negative bound:
hyperbolic_parallel_property,hyperbolic_two_parallels,hyperbolic_parallels - Theorem H6, the plane of the three-dimensions section from the same choice:
euclid_one_parallel,fifth_postulate_of_nonneg_bound - Theorem H7, exactly when:
one_parallel_iff_bound - three points on a line:
between_trichotomy,ne_of_side_ne_zero,IsLine.subset_plane,IsLine.eq_through - the order of the numbers of a dimension:
StrictBetween,between_pt_of_strictBetween,strictBetween_of_between_pt,pt_mem_plane_of_le
With fractions: what two dimensions have in common #
If the direction of M is a multiple of the direction of L, and M has a pair that is
not a pair of L, the two have no pair in common.
Let two dimensions pass through one pair, each with a direction that is a multiple of the
direction of L. Then the pairs of the first are pairs of the second.
Two dimensions through one pair, each with a direction that is a multiple of the direction
of L, have the same pairs.
A plane, its lines, and the lines through a point that miss a line #
A plane is any set of pairs: the pairs that are taken for points. Nothing is asked of it here, and no order of the numbers is used.
A line of the plane Pl: what a dimension has in the plane, if it has anything there.
Equations
Instances For
Euclid's line: what the dimension through P with the direction of L has in the
plane.
Equations
- ParallelPostulate.HyperbolicPlane.euclid Pl L P = (L.rebase P).points ∩ Pl
Instances For
The plane is open along the dimensions: a dimension with its zero in the plane has another of its numbers in the plane.
Equations
- ParallelPostulate.HyperbolicPlane.OpenAlong Pl = ∀ (M : ParallelPostulate.Pairs.Dim K), M.zero ∈ Pl → ∃ (t : K), t ≠ 0 ∧ M.pt t ∈ Pl
Instances For
When two lines of the plane do not meet. Let M pass through a pair that is not a
pair of L. What M and L have in the plane has no point in common exactly when M has the
direction of L, or the two dimensions meet at a pair that is not a point of the plane.
The line from P toward a pair of L that is not a point of the plane passes through P
and does not meet L.
The lines through P that do not meet L. They are Euclid's line, and one line for
each number of L whose pair is not a point of the plane. There are no others.
Lines from P toward different numbers of L are different lines of the plane.
If every number of L is a point of the plane, one line through P does not meet L,
and only one.
If a number of L is not a point of the plane, two different lines through P do not
meet L.
Playfair's postulate holds for L exactly when every number of L is a point of the
plane.
If infinitely many numbers of L are not points of the plane, infinitely many lines
through P do not meet L.
Identities that need no order #
The bound along a dimension is a quadratic in the number.
The choice: the bound #
Far enough along, a quadratic that opens downward is not positive.
The choice. The plane of the bound κ: the pairs (x, y) with
0 < 1 + κ (x² + y²).
Instances For
With the bound 0, or any bound that is not negative, every pair is a point. This is the plane of the three-dimensions section.
The pair (0, 0) is a point, whatever the bound.
A smaller bound gives a smaller plane.
From a point of the plane, every dimension has a further number in the plane.
The plane of a bound is open along the dimensions.
Under a negative bound every dimension leaves the plane. From some number on, none of its numbers is a point.
Under a negative bound a dimension has a bounded stretch of its numbers in the plane.
The plane of a bound is in one piece along every dimension. Between two points of the plane, every number of the dimension from the one to the other is a point of the plane.
Points and lines #
There are three points of the plane that are not on one line.
The plane of a bound has a line and a point that is not on it.
B is between A and C: the two are different, and B is at a number between 0 and 1
of the dimension from A to C.
Equations
Instances For
If B is between A and C, it is between C and A.
If B is between A and C, the three are different.
Of three pairs of a dimension, one only is between the other two. If B is between
A and C, then A is not between B and C.
And C is not between A and B.
A line can be produced. Beyond a point C of the plane, as seen from another pair A,
there is a point of the plane.
Two points of the plane on opposite sides of a dimension: between them the dimension has a point of the plane.
Pasch's axiom. Let A, B and C be points of the plane, and let a dimension pass
through none of them. If it has a pair between A and B, it has a point of the plane between
A and C, or between B and C.
The parallels #
Under a negative bound, through a point that is not on a line there are infinitely many lines that do not meet the line.
Under a negative bound, through a point that is not on a line there are two different lines that do not meet the line.
The parallels under a negative bound. Under a negative bound, through a given point that is not on a line there are at least two different lines, and in fact infinitely many, that do not meet the given line.
With the bound 0, or any bound that is not negative, the plane is that of the three-dimensions section: through a point that is not on a line there is one line that does not meet the line, and only one.
Theorem E4 (the three-dimensions section) holds in the plane of a bound that is not
negative. In a
figure,
let b1 and c1 lie on the left of a, and let the cross product of the directions of b
and c be positive. Then b and c meet at a point of the plane, on the left of a.
One parallel exactly when the bound is not negative.