Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inequality #39

Open
JoeFerri opened this issue May 16, 2021 · 0 comments
Open

Inequality #39

JoeFerri opened this issue May 16, 2021 · 0 comments
Assignees
Labels
critical Priority: critical method refactoring Changes in the way the code works internally, no changing the output, contrast to "cleanup" structural Structural modification of the project

Comments

@JoeFerri
Copy link
Owner

lessThan()
greaterThan()
lessThanOrEqualTo()
greaterThanOrEqualTo()

The notation a < b means that a is less than b.
The notation a > b means that a is greater than b.
The notation a ≤ b or a ⩽ b means that a is less than or equal to b (or, equivalently, at most b, or not greater than b).
The notation a ≥ b or a ⩾ b means that a is greater than or equal to b (or, equivalently, at least b, or not less than b).

Complex:

Because ≤ is a total order, for any number a, either 0 ≤ a or a ≤ 0 (in which case the first property above implies that 0 ≤ −a). In either case 0 ≤ a2; this means that i2 > 0 and 12 > 0; so −1 > 0 and 1 > 0, which means (−1 + 1) > 0; contradiction.

However, an operation ≤ can be defined so as to satisfy only the first property (namely, "if a ≤ b, then a + c ≤ b + c"). Sometimes the lexicographical order definition is used:

  • a ≤ b, if
    • Re(a) < Re(b), or
    • Re(a) = Re(b) and Im(a) ≤ Im(b)

It can easily be proven that for this definition a ≤ b implies a + c ≤ b + c.

see Complex numbers and inequalities

@JoeFerri JoeFerri added critical Priority: critical refactoring Changes in the way the code works internally, no changing the output, contrast to "cleanup" structural Structural modification of the project labels May 16, 2021
@JoeFerri JoeFerri self-assigned this May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical Priority: critical method refactoring Changes in the way the code works internally, no changing the output, contrast to "cleanup" structural Structural modification of the project
Projects
None yet
Development

No branches or pull requests

1 participant