REAL_RAT_EQ_CONV : conv

SYNOPSIS
Conversion to prove whether one rational constant of type :real is equal to another.

DESCRIPTION
The call REAL_RAT_EQ_CONV `c1 = c2` where c1 and c2 are rational constants of type :real, returns whichever of |- c1 = c2 <=> T or |- c1 = c2 <=> F is true. The constants c1 and c2 may be integer constants (&n or -- &n), ratios (&p / &q or -- &p / &q), or decimals (#DDD.DDDD or #DDD.DDDDeNN).

FAILURE CONDITIONS
Fails if applied to a term that is not an equality comparison on two permitted rational constants of type :real.

EXAMPLE
  # REAL_RAT_EQ_CONV `#0.40 = &2 / &5`;;
  val it : thm = |- #0.40 = &2 / &5 <=> T

  # REAL_RAT_EQ_CONV `#3.14 = &22 / &7`;;
  val it : thm = |- #3.14 = &22 / &7 <=> F

SEE ALSO
REAL_RAT_ABS_CONV, REAL_RAT_ADD_CONV, REAL_RAT_DIV_CONV, REAL_RAT_GE_CONV, REAL_RAT_GT_CONV, REAL_RAT_INV_CONV, REAL_RAT_LE_CONV, REAL_RAT_LT_CONV, REAL_RAT_MAX_CONV, REAL_RAT_MIN_CONV, REAL_RAT_MUL_CONV, REAL_RAT_NEG_CONV, REAL_RAT_POW_CONV, REAL_RAT_REDUCE_CONV, REAL_RAT_RED_CONV, REAL_RAT_SUB_CONV.