We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@hotman78 が #135 で src/Jikka/Core/Convert/EqualitySolving.hs を足してくれた。整数についてはそこそこ動く。しかし全部をやりきったわけではないはずで、さらなる改善の余地はある。
例:
b >= a
b > a
a <= b
a < b
>=
>
a < b || a == b
a <= b && a != b
f
f(a) = f(b)
a = b
... = 0
f(a) - f(b) = 0
- f(a) + f(b) = 0
a - b = 0
- a = - b
- a = 0
a = 0
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description / 説明
@hotman78 が #135 で src/Jikka/Core/Convert/EqualitySolving.hs を足してくれた。整数についてはそこそこ動く。しかし全部をやりきったわけではないはずで、さらなる改善の余地はある。
例:
b >= a
やb > a
をa <= b
やa < b
に直す。>=
と>
のことは考えなくてよくなって楽a <= b
をa < b || a == b
にするとかa < b
をa <= b && a != b
にするとかは、するべきかすべきでないか不明f
に対しf(a) = f(b)
があったらa = b
にできる... = 0
に揃えられてるのでf(a) - f(b) = 0
や- f(a) + f(b) = 0
をa - b = 0
にするやつも- a = - b
をa = b
にできるだけでなく- a = 0
もa = 0
にできるThe text was updated successfully, but these errors were encountered: