Skip to content

Commit

Permalink
Less equal on partially ordered set is reflexive
Browse files Browse the repository at this point in the history
And fix some typos
  • Loading branch information
Yuhta authored and PatrickMassot committed Feb 19, 2024
1 parent 325fb7f commit e310745
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MIL/C06_Structures/S02_Algebraic_Structures.lean
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ it will help to consider some examples.
#. A *partially ordered set* consists of a set :math:`P` and
a binary relation :math:`\le` on :math:`P` that is transitive
and antireflexive.
and reflexive.
#. A *group* consists of a set :math:`G` with an associative
binary operation, an identity element
Expand Down
4 changes: 2 additions & 2 deletions MIL/C06_Structures/S03_Building_the_Gaussian_Integers.lean
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ numbers, carry out the division
The real and imaginary parts might not be integers, but we can round
them to the nearest integers :math:`u` and :math:`v`. We can then express the
right-hand size as :math:`(u + vi) + (u' + v'i)`, where
right-hand side as :math:`(u + vi) + (u' + v'i)`, where
:math:`u' + v'i` is the part left over. Note that we have
:math:`|u'| \le 1/2` and :math:`|v'| \le 1/2`, and hence
Expand Down Expand Up @@ -538,7 +538,7 @@ We just defined the real and imaginary parts of ``x / y`` to be
respectively.
Calculating, we have
``(x % y) * conj y = (x - x / y * y) * conj y = x * conj y - x * (y * conj j)``
``(x % y) * conj y = (x - x / y * y) * conj y = x * conj y - x / y * (y * conj y)``
The real and imaginary parts of the right-hand side are exactly ``mod' (x * conj y).re (norm y)`` and ``mod' (x * conj y).im (norm y)``.
By the properties of ``div'`` and ``mod'``,
Expand Down

0 comments on commit e310745

Please sign in to comment.