How to automatically prove a simple inequality of real numbers in Coq?

Is there a way to automatically prove simple inequalities such as 1/2 >= 0?, i.e.

Require Export Coq.Reals.RIneq.
Local Open Scope Z_scope.
Local Open Scope R_scope.

Example test: /2 >= 0.

I have little experience with ringor field, and I have problems even when checking simple equalities, such as1/2 = 2/4 .

What I'm looking for seems to be omega, but works for real numbers and inequalities.

+4
source share
1 answer

, , Omega : ( ) / .

Psatz . lra (AFAICT) test.

+3

Source: https://habr.com/ru/post/1621032/


All Articles