mCRL2
Loading...
Searching...
No Matches
mcrl2::data::sort_real Namespace Reference

Namespace for system defined sort real_. More...

Typedefs

using implementation_map = std::map< function_symbol, std::pair< std::function< void(data_expression &, const data_expression &)>, std::string > >
 

Functions

data_expression & real_zero ()
 
data_expression & real_one ()
 
bool is_zero (const atermpp::aterm &e)
 
bool is_one (const atermpp::aterm &e)
 
bool is_larger_zero (const atermpp::aterm &e)
 Functions that returns true if e is a closed real number larger than zero.
 
template<typename T >
requires std::is_integral_v<T>
data_expression real_ (T t)
 Constructs expression of type Real from an integral type.
 
template<typename T >
requires std::is_integral_v<T>
data_expression real_ (T numerator, T denominator)
 Constructs expression of type Real from an integral type.
 
data_expression real_ (const std::string &numerator, const std::string &denominator)
 Constructs expression of type Real from two number strings.
 
data_expression real_ (const std::string &n)
 Constructs expression of type Real from a string.
 
template<class NUMERIC_TYPE >
requires (std::is_floating_point_v<NUMERIC_TYPE>)
NUMERIC_TYPE value (const data_expression &r)
 Yields the real value of a data expression.
 
const core::identifier_string & real_name ()
 
const basic_sort & real_ ()
 Constructor for sort expression Real.
 
bool is_real (const sort_expression &e)
 Recogniser for sort expression Real.
 
function_symbol_vector real_generate_constructors_code ()
 Give all system defined constructors for real_.
 
function_symbol_vector real_mCRL2_usable_constructors ()
 Give all defined constructors which can be used in mCRL2 specs for real_.
 
implementation_map real_cpp_implementable_constructors ()
 Give all system defined constructors which have an implementation in C++ and not in rewrite rules for real_.
 
const core::identifier_string & creal_name ()
 Generate identifier @cReal.
 
const function_symbol & creal ()
 Constructor for function symbol @cReal.
 
bool is_creal_function_symbol (const atermpp::aterm &e)
 Recogniser for function @cReal.
 
application creal (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol @cReal.
 
void make_creal (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol @cReal.
 
bool is_creal_application (const atermpp::aterm &e)
 Recogniser for application of @cReal.
 
const core::identifier_string & pos2real_name ()
 Generate identifier Pos2Real.
 
const function_symbol & pos2real ()
 Constructor for function symbol Pos2Real.
 
bool is_pos2real_function_symbol (const atermpp::aterm &e)
 Recogniser for function Pos2Real.
 
application pos2real (const data_expression &arg0)
 Application of function symbol Pos2Real.
 
void make_pos2real (data_expression &result, const data_expression &arg0)
 Make an application of function symbol Pos2Real.
 
bool is_pos2real_application (const atermpp::aterm &e)
 Recogniser for application of Pos2Real.
 
const core::identifier_string & nat2real_name ()
 Generate identifier Nat2Real.
 
const function_symbol & nat2real ()
 Constructor for function symbol Nat2Real.
 
bool is_nat2real_function_symbol (const atermpp::aterm &e)
 Recogniser for function Nat2Real.
 
application nat2real (const data_expression &arg0)
 Application of function symbol Nat2Real.
 
void make_nat2real (data_expression &result, const data_expression &arg0)
 Make an application of function symbol Nat2Real.
 
bool is_nat2real_application (const atermpp::aterm &e)
 Recogniser for application of Nat2Real.
 
const core::identifier_string & int2real_name ()
 Generate identifier Int2Real.
 
const function_symbol & int2real ()
 Constructor for function symbol Int2Real.
 
bool is_int2real_function_symbol (const atermpp::aterm &e)
 Recogniser for function Int2Real.
 
application int2real (const data_expression &arg0)
 Application of function symbol Int2Real.
 
void make_int2real (data_expression &result, const data_expression &arg0)
 Make an application of function symbol Int2Real.
 
bool is_int2real_application (const atermpp::aterm &e)
 Recogniser for application of Int2Real.
 
const core::identifier_string & real2pos_name ()
 Generate identifier Real2Pos.
 
const function_symbol & real2pos ()
 Constructor for function symbol Real2Pos.
 
bool is_real2pos_function_symbol (const atermpp::aterm &e)
 Recogniser for function Real2Pos.
 
application real2pos (const data_expression &arg0)
 Application of function symbol Real2Pos.
 
void make_real2pos (data_expression &result, const data_expression &arg0)
 Make an application of function symbol Real2Pos.
 
bool is_real2pos_application (const atermpp::aterm &e)
 Recogniser for application of Real2Pos.
 
const core::identifier_string & real2nat_name ()
 Generate identifier Real2Nat.
 
const function_symbol & real2nat ()
 Constructor for function symbol Real2Nat.
 
bool is_real2nat_function_symbol (const atermpp::aterm &e)
 Recogniser for function Real2Nat.
 
application real2nat (const data_expression &arg0)
 Application of function symbol Real2Nat.
 
void make_real2nat (data_expression &result, const data_expression &arg0)
 Make an application of function symbol Real2Nat.
 
bool is_real2nat_application (const atermpp::aterm &e)
 Recogniser for application of Real2Nat.
 
const core::identifier_string & real2int_name ()
 Generate identifier Real2Int.
 
const function_symbol & real2int ()
 Constructor for function symbol Real2Int.
 
bool is_real2int_function_symbol (const atermpp::aterm &e)
 Recogniser for function Real2Int.
 
application real2int (const data_expression &arg0)
 Application of function symbol Real2Int.
 
void make_real2int (data_expression &result, const data_expression &arg0)
 Make an application of function symbol Real2Int.
 
bool is_real2int_application (const atermpp::aterm &e)
 Recogniser for application of Real2Int.
 
const core::identifier_string & maximum_name ()
 Generate identifier max.
 
function_symbol maximum (const sort_expression &s0, const sort_expression &s1)
 
bool is_maximum_function_symbol (const atermpp::aterm &e)
 Recogniser for function max.
 
application maximum (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol max.
 
void make_maximum (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol max.
 
bool is_maximum_application (const atermpp::aterm &e)
 Recogniser for application of max.
 
const core::identifier_string & minimum_name ()
 Generate identifier min.
 
function_symbol minimum (const sort_expression &s0, const sort_expression &s1)
 
bool is_minimum_function_symbol (const atermpp::aterm &e)
 Recogniser for function min.
 
application minimum (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol min.
 
void make_minimum (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol min.
 
bool is_minimum_application (const atermpp::aterm &e)
 Recogniser for application of min.
 
const core::identifier_string & abs_name ()
 Generate identifier abs.
 
function_symbol abs (const sort_expression &s0)
 
bool is_abs_function_symbol (const atermpp::aterm &e)
 Recogniser for function abs.
 
application abs (const data_expression &arg0)
 Application of function symbol abs.
 
void make_abs (data_expression &result, const data_expression &arg0)
 Make an application of function symbol abs.
 
bool is_abs_application (const atermpp::aterm &e)
 Recogniser for application of abs.
 
const core::identifier_string & negate_name ()
 Generate identifier -.
 
function_symbol negate (const sort_expression &s0)
 
bool is_negate_function_symbol (const atermpp::aterm &e)
 Recogniser for function -.
 
application negate (const data_expression &arg0)
 Application of function symbol -.
 
void make_negate (data_expression &result, const data_expression &arg0)
 Make an application of function symbol -.
 
bool is_negate_application (const atermpp::aterm &e)
 Recogniser for application of -.
 
const core::identifier_string & succ_name ()
 Generate identifier succ.
 
function_symbol succ (const sort_expression &s0)
 
bool is_succ_function_symbol (const atermpp::aterm &e)
 Recogniser for function succ.
 
application succ (const data_expression &arg0)
 Application of function symbol succ.
 
void make_succ (data_expression &result, const data_expression &arg0)
 Make an application of function symbol succ.
 
bool is_succ_application (const atermpp::aterm &e)
 Recogniser for application of succ.
 
const core::identifier_string & pred_name ()
 Generate identifier pred.
 
function_symbol pred (const sort_expression &s0)
 
bool is_pred_function_symbol (const atermpp::aterm &e)
 Recogniser for function pred.
 
application pred (const data_expression &arg0)
 Application of function symbol pred.
 
void make_pred (data_expression &result, const data_expression &arg0)
 Make an application of function symbol pred.
 
bool is_pred_application (const atermpp::aterm &e)
 Recogniser for application of pred.
 
const core::identifier_string & plus_name ()
 Generate identifier +.
 
function_symbol plus (const sort_expression &s0, const sort_expression &s1)
 
bool is_plus_function_symbol (const atermpp::aterm &e)
 Recogniser for function +.
 
application plus (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol +.
 
void make_plus (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol +.
 
bool is_plus_application (const atermpp::aterm &e)
 Recogniser for application of +.
 
const core::identifier_string & minus_name ()
 Generate identifier -.
 
function_symbol minus (const sort_expression &s0, const sort_expression &s1)
 
bool is_minus_function_symbol (const atermpp::aterm &e)
 Recogniser for function -.
 
application minus (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol -.
 
void make_minus (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol -.
 
bool is_minus_application (const atermpp::aterm &e)
 Recogniser for application of -.
 
const core::identifier_string & times_name ()
 Generate identifier *.
 
function_symbol times (const sort_expression &s0, const sort_expression &s1)
 
bool is_times_function_symbol (const atermpp::aterm &e)
 Recogniser for function *.
 
application times (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol *.
 
void make_times (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol *.
 
bool is_times_application (const atermpp::aterm &e)
 Recogniser for application of *.
 
const core::identifier_string & exp_name ()
 Generate identifier exp.
 
function_symbol exp (const sort_expression &s0, const sort_expression &s1)
 
bool is_exp_function_symbol (const atermpp::aterm &e)
 Recogniser for function exp.
 
application exp (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol exp.
 
void make_exp (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol exp.
 
bool is_exp_application (const atermpp::aterm &e)
 Recogniser for application of exp.
 
const core::identifier_string & divides_name ()
 Generate identifier /.
 
function_symbol divides (const sort_expression &s0, const sort_expression &s1)
 
bool is_divides_function_symbol (const atermpp::aterm &e)
 Recogniser for function /.
 
application divides (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol /.
 
void make_divides (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol /.
 
bool is_divides_application (const atermpp::aterm &e)
 Recogniser for application of /.
 
const core::identifier_string & floor_name ()
 Generate identifier floor.
 
const function_symbol & floor ()
 Constructor for function symbol floor.
 
bool is_floor_function_symbol (const atermpp::aterm &e)
 Recogniser for function floor.
 
application floor (const data_expression &arg0)
 Application of function symbol floor.
 
void make_floor (data_expression &result, const data_expression &arg0)
 Make an application of function symbol floor.
 
bool is_floor_application (const atermpp::aterm &e)
 Recogniser for application of floor.
 
const core::identifier_string & ceil_name ()
 Generate identifier ceil.
 
const function_symbol & ceil ()
 Constructor for function symbol ceil.
 
bool is_ceil_function_symbol (const atermpp::aterm &e)
 Recogniser for function ceil.
 
application ceil (const data_expression &arg0)
 Application of function symbol ceil.
 
void make_ceil (data_expression &result, const data_expression &arg0)
 Make an application of function symbol ceil.
 
bool is_ceil_application (const atermpp::aterm &e)
 Recogniser for application of ceil.
 
const core::identifier_string & round_name ()
 Generate identifier round.
 
const function_symbol & round ()
 Constructor for function symbol round.
 
bool is_round_function_symbol (const atermpp::aterm &e)
 Recogniser for function round.
 
application round (const data_expression &arg0)
 Application of function symbol round.
 
void make_round (data_expression &result, const data_expression &arg0)
 Make an application of function symbol round.
 
bool is_round_application (const atermpp::aterm &e)
 Recogniser for application of round.
 
const core::identifier_string & reduce_fraction_name ()
 Generate identifier @redfrac.
 
const function_symbol & reduce_fraction ()
 Constructor for function symbol @redfrac.
 
bool is_reduce_fraction_function_symbol (const atermpp::aterm &e)
 Recogniser for function @redfrac.
 
application reduce_fraction (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol @redfrac.
 
void make_reduce_fraction (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol @redfrac.
 
bool is_reduce_fraction_application (const atermpp::aterm &e)
 Recogniser for application of @redfrac.
 
const core::identifier_string & reduce_fraction_where_name ()
 Generate identifier @redfracwhr.
 
const function_symbol & reduce_fraction_where ()
 Constructor for function symbol @redfracwhr.
 
bool is_reduce_fraction_where_function_symbol (const atermpp::aterm &e)
 Recogniser for function @redfracwhr.
 
application reduce_fraction_where (const data_expression &arg0, const data_expression &arg1, const data_expression &arg2)
 Application of function symbol @redfracwhr.
 
void make_reduce_fraction_where (data_expression &result, const data_expression &arg0, const data_expression &arg1, const data_expression &arg2)
 Make an application of function symbol @redfracwhr.
 
bool is_reduce_fraction_where_application (const atermpp::aterm &e)
 Recogniser for application of @redfracwhr.
 
const core::identifier_string & reduce_fraction_helper_name ()
 Generate identifier @redfrachlp.
 
const function_symbol & reduce_fraction_helper ()
 Constructor for function symbol @redfrachlp.
 
bool is_reduce_fraction_helper_function_symbol (const atermpp::aterm &e)
 Recogniser for function @redfrachlp.
 
application reduce_fraction_helper (const data_expression &arg0, const data_expression &arg1)
 Application of function symbol @redfrachlp.
 
void make_reduce_fraction_helper (data_expression &result, const data_expression &arg0, const data_expression &arg1)
 Make an application of function symbol @redfrachlp.
 
bool is_reduce_fraction_helper_application (const atermpp::aterm &e)
 Recogniser for application of @redfrachlp.
 
function_symbol_vector real_generate_functions_code ()
 Give all system defined mappings for real_.
 
function_symbol_vector real_generate_constructors_and_functions_code ()
 Give all system defined mappings and constructors for real_.
 
function_symbol_vector real_mCRL2_usable_mappings ()
 Give all system defined mappings that can be used in mCRL2 specs for real_.
 
implementation_map real_cpp_implementable_mappings ()
 Give all system defined mappings that are to be implemented in C++ code for real_.
 
const data_expression & left (const data_expression &e)
 Function for projecting out argument. left from an application.
 
const data_expression & right (const data_expression &e)
 Function for projecting out argument. right from an application.
 
const data_expression & arg (const data_expression &e)
 Function for projecting out argument. arg from an application.
 
const data_expression & arg1 (const data_expression &e)
 Function for projecting out argument. arg1 from an application.
 
const data_expression & arg2 (const data_expression &e)
 Function for projecting out argument. arg2 from an application.
 
const data_expression & arg3 (const data_expression &e)
 Function for projecting out argument. arg3 from an application.
 
data_equation_vector real_generate_equations_code ()
 Give all system defined equations for real_.
 

Detailed Description

Namespace for system defined sort real_.

Typedef Documentation

◆ implementation_map

typedef std::map< function_symbol, std::pair< std::function< void(data_expression &, const data_expression &)>, std::string > > mcrl2::data::sort_real::implementation_map

Definition at line 81 of file real1.h.

Function Documentation

◆ abs() [1/2]

application mcrl2::data::sort_real::abs ( const data_expression &  arg0)
inline

Application of function symbol abs.

Parameters
[in]arg0A data expression.
Returns
Application of abs to a number of arguments.

Definition at line 771 of file real1.h.

◆ abs() [2/2]

function_symbol mcrl2::data::sort_real::abs ( const sort_expression &  s0)
inline

Definition at line 732 of file real1.h.

◆ abs_name()

const core::identifier_string & mcrl2::data::sort_real::abs_name ( )
inline

Generate identifier abs.

Returns
Identifier abs.

Definition at line 724 of file real1.h.

◆ arg()

const data_expression & mcrl2::data::sort_real::arg ( const data_expression &  e)
inline

Function for projecting out argument. arg from an application.

Parameters
eA data expression.
Precondition
arg is defined for e.
Returns
The argument of e that corresponds to arg.

Definition at line 1962 of file real1.h.

◆ arg1()

const data_expression & mcrl2::data::sort_real::arg1 ( const data_expression &  e)
inline

Function for projecting out argument. arg1 from an application.

Parameters
eA data expression.
Precondition
arg1 is defined for e.
Returns
The argument of e that corresponds to arg1.

Definition at line 1974 of file real1.h.

◆ arg2()

const data_expression & mcrl2::data::sort_real::arg2 ( const data_expression &  e)
inline

Function for projecting out argument. arg2 from an application.

Parameters
eA data expression.
Precondition
arg2 is defined for e.
Returns
The argument of e that corresponds to arg2.

Definition at line 1986 of file real1.h.

◆ arg3()

const data_expression & mcrl2::data::sort_real::arg3 ( const data_expression &  e)
inline

Function for projecting out argument. arg3 from an application.

Parameters
eA data expression.
Precondition
arg3 is defined for e.
Returns
The argument of e that corresponds to arg3.

Definition at line 1998 of file real1.h.

◆ ceil() [1/2]

const function_symbol & mcrl2::data::sort_real::ceil ( )
inline

Constructor for function symbol ceil.

Returns
Function symbol ceil.

Definition at line 1532 of file real1.h.

◆ ceil() [2/2]

application mcrl2::data::sort_real::ceil ( const data_expression &  arg0)
inline

Application of function symbol ceil.

Parameters
[in]arg0A data expression.
Returns
Application of ceil to a number of arguments.

Definition at line 1556 of file real1.h.

◆ ceil_name()

const core::identifier_string & mcrl2::data::sort_real::ceil_name ( )
inline

Generate identifier ceil.

Returns
Identifier ceil.

Definition at line 1522 of file real1.h.

◆ creal() [1/2]

const function_symbol & mcrl2::data::sort_real::creal ( )
inline

Constructor for function symbol @cReal.

Returns
Function symbol creal.

Definition at line 104 of file real1.h.

◆ creal() [2/2]

application mcrl2::data::sort_real::creal ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol @cReal.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of @cReal to a number of arguments.

Definition at line 129 of file real1.h.

◆ creal_name()

const core::identifier_string & mcrl2::data::sort_real::creal_name ( )
inline

Generate identifier @cReal.

Returns
Identifier @cReal.

Definition at line 94 of file real1.h.

◆ divides() [1/2]

application mcrl2::data::sort_real::divides ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol /.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of / to a number of arguments.

Definition at line 1431 of file real1.h.

◆ divides() [2/2]

function_symbol mcrl2::data::sort_real::divides ( const sort_expression &  s0,
const sort_expression &  s1 
)
inline

Definition at line 1404 of file real1.h.

◆ divides_name()

const core::identifier_string & mcrl2::data::sort_real::divides_name ( )
inline

Generate identifier /.

Returns
Identifier /.

Definition at line 1396 of file real1.h.

◆ exp() [1/2]

application mcrl2::data::sort_real::exp ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol exp.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of exp to a number of arguments.

Definition at line 1367 of file real1.h.

◆ exp() [2/2]

function_symbol mcrl2::data::sort_real::exp ( const sort_expression &  s0,
const sort_expression &  s1 
)
inline

Definition at line 1319 of file real1.h.

◆ exp_name()

const core::identifier_string & mcrl2::data::sort_real::exp_name ( )
inline

Generate identifier exp.

Returns
Identifier exp.

Definition at line 1311 of file real1.h.

◆ floor() [1/2]

const function_symbol & mcrl2::data::sort_real::floor ( )
inline

Constructor for function symbol floor.

Returns
Function symbol floor.

Definition at line 1470 of file real1.h.

◆ floor() [2/2]

application mcrl2::data::sort_real::floor ( const data_expression &  arg0)
inline

Application of function symbol floor.

Parameters
[in]arg0A data expression.
Returns
Application of floor to a number of arguments.

Definition at line 1494 of file real1.h.

◆ floor_name()

const core::identifier_string & mcrl2::data::sort_real::floor_name ( )
inline

Generate identifier floor.

Returns
Identifier floor.

Definition at line 1460 of file real1.h.

◆ int2real() [1/2]

const function_symbol & mcrl2::data::sort_real::int2real ( )
inline

Constructor for function symbol Int2Real.

Returns
Function symbol int2real.

Definition at line 292 of file real1.h.

◆ int2real() [2/2]

application mcrl2::data::sort_real::int2real ( const data_expression &  arg0)
inline

Application of function symbol Int2Real.

Parameters
[in]arg0A data expression.
Returns
Application of Int2Real to a number of arguments.

Definition at line 316 of file real1.h.

◆ int2real_name()

const core::identifier_string & mcrl2::data::sort_real::int2real_name ( )
inline

Generate identifier Int2Real.

Returns
Identifier Int2Real.

Definition at line 282 of file real1.h.

◆ is_abs_application()

bool mcrl2::data::sort_real::is_abs_application ( const atermpp::aterm &  e)
inline

Recogniser for application of abs.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol abs to a number of arguments.

Definition at line 791 of file real1.h.

◆ is_abs_function_symbol()

bool mcrl2::data::sort_real::is_abs_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function abs.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching abs.

Definition at line 756 of file real1.h.

◆ is_ceil_application()

bool mcrl2::data::sort_real::is_ceil_application ( const atermpp::aterm &  e)
inline

Recogniser for application of ceil.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol ceil to a number of arguments.

Definition at line 1576 of file real1.h.

◆ is_ceil_function_symbol()

bool mcrl2::data::sort_real::is_ceil_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function ceil.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching ceil.

Definition at line 1542 of file real1.h.

◆ is_creal_application()

bool mcrl2::data::sort_real::is_creal_application ( const atermpp::aterm &  e)
inline

Recogniser for application of @cReal.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol creal to a number of arguments.

Definition at line 150 of file real1.h.

◆ is_creal_function_symbol()

bool mcrl2::data::sort_real::is_creal_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function @cReal.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching @cReal.

Definition at line 114 of file real1.h.

◆ is_divides_application()

bool mcrl2::data::sort_real::is_divides_application ( const atermpp::aterm &  e)
inline

Recogniser for application of /.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol divides to a number of arguments.

Definition at line 1452 of file real1.h.

◆ is_divides_function_symbol()

bool mcrl2::data::sort_real::is_divides_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function /.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching /.

Definition at line 1415 of file real1.h.

◆ is_exp_application()

bool mcrl2::data::sort_real::is_exp_application ( const atermpp::aterm &  e)
inline

Recogniser for application of exp.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol exp to a number of arguments.

Definition at line 1388 of file real1.h.

◆ is_exp_function_symbol()

bool mcrl2::data::sort_real::is_exp_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function exp.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching exp.

Definition at line 1351 of file real1.h.

◆ is_floor_application()

bool mcrl2::data::sort_real::is_floor_application ( const atermpp::aterm &  e)
inline

Recogniser for application of floor.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol floor to a number of arguments.

Definition at line 1514 of file real1.h.

◆ is_floor_function_symbol()

bool mcrl2::data::sort_real::is_floor_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function floor.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching floor.

Definition at line 1480 of file real1.h.

◆ is_int2real_application()

bool mcrl2::data::sort_real::is_int2real_application ( const atermpp::aterm &  e)
inline

Recogniser for application of Int2Real.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol int2real to a number of arguments.

Definition at line 336 of file real1.h.

◆ is_int2real_function_symbol()

bool mcrl2::data::sort_real::is_int2real_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function Int2Real.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching Int2Real.

Definition at line 302 of file real1.h.

◆ is_larger_zero()

bool mcrl2::data::sort_real::is_larger_zero ( const atermpp::aterm &  e)
inline

Functions that returns true if e is a closed real number larger than zero.

Definition at line 44 of file real_utilities.h.

◆ is_maximum_application()

bool mcrl2::data::sort_real::is_maximum_application ( const atermpp::aterm &  e)
inline

Recogniser for application of max.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol maximum to a number of arguments.

Definition at line 631 of file real1.h.

◆ is_maximum_function_symbol()

bool mcrl2::data::sort_real::is_maximum_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function max.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching max.

Definition at line 594 of file real1.h.

◆ is_minimum_application()

bool mcrl2::data::sort_real::is_minimum_application ( const atermpp::aterm &  e)
inline

Recogniser for application of min.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol minimum to a number of arguments.

Definition at line 716 of file real1.h.

◆ is_minimum_function_symbol()

bool mcrl2::data::sort_real::is_minimum_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function min.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching min.

Definition at line 679 of file real1.h.

◆ is_minus_application()

bool mcrl2::data::sort_real::is_minus_application ( const atermpp::aterm &  e)
inline

Recogniser for application of -.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol minus to a number of arguments.

Definition at line 1218 of file real1.h.

◆ is_minus_function_symbol()

bool mcrl2::data::sort_real::is_minus_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function -.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching -.

Definition at line 1181 of file real1.h.

◆ is_nat2real_application()

bool mcrl2::data::sort_real::is_nat2real_application ( const atermpp::aterm &  e)
inline

Recogniser for application of Nat2Real.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol nat2real to a number of arguments.

Definition at line 274 of file real1.h.

◆ is_nat2real_function_symbol()

bool mcrl2::data::sort_real::is_nat2real_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function Nat2Real.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching Nat2Real.

Definition at line 240 of file real1.h.

◆ is_negate_application()

bool mcrl2::data::sort_real::is_negate_application ( const atermpp::aterm &  e)
inline

Recogniser for application of -.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol negate to a number of arguments.

Definition at line 874 of file real1.h.

◆ is_negate_function_symbol()

bool mcrl2::data::sort_real::is_negate_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function -.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching -.

Definition at line 839 of file real1.h.

◆ is_one()

bool mcrl2::data::sort_real::is_one ( const atermpp::aterm &  e)
inline

Definition at line 38 of file real_utilities.h.

◆ is_plus_application()

bool mcrl2::data::sort_real::is_plus_application ( const atermpp::aterm &  e)
inline

Recogniser for application of +.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol plus to a number of arguments.

Definition at line 1133 of file real1.h.

◆ is_plus_function_symbol()

bool mcrl2::data::sort_real::is_plus_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function +.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching +.

Definition at line 1096 of file real1.h.

◆ is_pos2real_application()

bool mcrl2::data::sort_real::is_pos2real_application ( const atermpp::aterm &  e)
inline

Recogniser for application of Pos2Real.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol pos2real to a number of arguments.

Definition at line 212 of file real1.h.

◆ is_pos2real_function_symbol()

bool mcrl2::data::sort_real::is_pos2real_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function Pos2Real.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching Pos2Real.

Definition at line 178 of file real1.h.

◆ is_pred_application()

bool mcrl2::data::sort_real::is_pred_application ( const atermpp::aterm &  e)
inline

Recogniser for application of pred.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol pred to a number of arguments.

Definition at line 1040 of file real1.h.

◆ is_pred_function_symbol()

bool mcrl2::data::sort_real::is_pred_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function pred.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching pred.

Definition at line 1005 of file real1.h.

◆ is_real()

bool mcrl2::data::sort_real::is_real ( const sort_expression &  e)
inline

Recogniser for sort expression Real.

Parameters
eA sort expression
Returns
true iff e == real_()

Definition at line 55 of file real1.h.

◆ is_real2int_application()

bool mcrl2::data::sort_real::is_real2int_application ( const atermpp::aterm &  e)
inline

Recogniser for application of Real2Int.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol real2int to a number of arguments.

Definition at line 522 of file real1.h.

◆ is_real2int_function_symbol()

bool mcrl2::data::sort_real::is_real2int_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function Real2Int.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching Real2Int.

Definition at line 488 of file real1.h.

◆ is_real2nat_application()

bool mcrl2::data::sort_real::is_real2nat_application ( const atermpp::aterm &  e)
inline

Recogniser for application of Real2Nat.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol real2nat to a number of arguments.

Definition at line 460 of file real1.h.

◆ is_real2nat_function_symbol()

bool mcrl2::data::sort_real::is_real2nat_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function Real2Nat.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching Real2Nat.

Definition at line 426 of file real1.h.

◆ is_real2pos_application()

bool mcrl2::data::sort_real::is_real2pos_application ( const atermpp::aterm &  e)
inline

Recogniser for application of Real2Pos.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol real2pos to a number of arguments.

Definition at line 398 of file real1.h.

◆ is_real2pos_function_symbol()

bool mcrl2::data::sort_real::is_real2pos_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function Real2Pos.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching Real2Pos.

Definition at line 364 of file real1.h.

◆ is_reduce_fraction_application()

bool mcrl2::data::sort_real::is_reduce_fraction_application ( const atermpp::aterm &  e)
inline

Recogniser for application of @redfrac.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol reduce_fraction to a number of arguments.

Definition at line 1702 of file real1.h.

◆ is_reduce_fraction_function_symbol()

bool mcrl2::data::sort_real::is_reduce_fraction_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function @redfrac.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching @redfrac.

Definition at line 1666 of file real1.h.

◆ is_reduce_fraction_helper_application()

bool mcrl2::data::sort_real::is_reduce_fraction_helper_application ( const atermpp::aterm &  e)
inline

Recogniser for application of @redfrachlp.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol reduce_fraction_helper to a number of arguments.

Definition at line 1832 of file real1.h.

◆ is_reduce_fraction_helper_function_symbol()

bool mcrl2::data::sort_real::is_reduce_fraction_helper_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function @redfrachlp.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching @redfrachlp.

Definition at line 1796 of file real1.h.

◆ is_reduce_fraction_where_application()

bool mcrl2::data::sort_real::is_reduce_fraction_where_application ( const atermpp::aterm &  e)
inline

Recogniser for application of @redfracwhr.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol reduce_fraction_where to a number of arguments.

Definition at line 1768 of file real1.h.

◆ is_reduce_fraction_where_function_symbol()

bool mcrl2::data::sort_real::is_reduce_fraction_where_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function @redfracwhr.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching @redfracwhr.

Definition at line 1730 of file real1.h.

◆ is_round_application()

bool mcrl2::data::sort_real::is_round_application ( const atermpp::aterm &  e)
inline

Recogniser for application of round.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol round to a number of arguments.

Definition at line 1638 of file real1.h.

◆ is_round_function_symbol()

bool mcrl2::data::sort_real::is_round_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function round.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching round.

Definition at line 1604 of file real1.h.

◆ is_succ_application()

bool mcrl2::data::sort_real::is_succ_application ( const atermpp::aterm &  e)
inline

Recogniser for application of succ.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol succ to a number of arguments.

Definition at line 957 of file real1.h.

◆ is_succ_function_symbol()

bool mcrl2::data::sort_real::is_succ_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function succ.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching succ.

Definition at line 922 of file real1.h.

◆ is_times_application()

bool mcrl2::data::sort_real::is_times_application ( const atermpp::aterm &  e)
inline

Recogniser for application of *.

Parameters
eA data expression.
Returns
true iff e is an application of function symbol times to a number of arguments.

Definition at line 1303 of file real1.h.

◆ is_times_function_symbol()

bool mcrl2::data::sort_real::is_times_function_symbol ( const atermpp::aterm &  e)
inline

Recogniser for function *.

Parameters
eA data expression.
Returns
true iff e is the function symbol matching *.

Definition at line 1266 of file real1.h.

◆ is_zero()

bool mcrl2::data::sort_real::is_zero ( const atermpp::aterm &  e)
inline

Definition at line 33 of file real_utilities.h.

◆ left()

const data_expression & mcrl2::data::sort_real::left ( const data_expression &  e)
inline

Function for projecting out argument. left from an application.

Parameters
eA data expression.
Precondition
left is defined for e.
Returns
The argument of e that corresponds to left.

Definition at line 1938 of file real1.h.

◆ make_abs()

void mcrl2::data::sort_real::make_abs ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol abs.

Parameters
[out]resultThe data expression where the abs expression is put.
[in]arg0A data expression.

Definition at line 781 of file real1.h.

◆ make_ceil()

void mcrl2::data::sort_real::make_ceil ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol ceil.

Parameters
[out]resultThe data expression where the ceil expression is put.
[in]arg0A data expression.

Definition at line 1566 of file real1.h.

◆ make_creal()

void mcrl2::data::sort_real::make_creal ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol @cReal.

Parameters
[out]resultThe data expression where the @cReal expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 140 of file real1.h.

◆ make_divides()

void mcrl2::data::sort_real::make_divides ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol /.

Parameters
[out]resultThe data expression where the / expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 1442 of file real1.h.

◆ make_exp()

void mcrl2::data::sort_real::make_exp ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol exp.

Parameters
[out]resultThe data expression where the exp expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 1378 of file real1.h.

◆ make_floor()

void mcrl2::data::sort_real::make_floor ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol floor.

Parameters
[out]resultThe data expression where the floor expression is put.
[in]arg0A data expression.

Definition at line 1504 of file real1.h.

◆ make_int2real()

void mcrl2::data::sort_real::make_int2real ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol Int2Real.

Parameters
[out]resultThe data expression where the Int2Real expression is put.
[in]arg0A data expression.

Definition at line 326 of file real1.h.

◆ make_maximum()

void mcrl2::data::sort_real::make_maximum ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol max.

Parameters
[out]resultThe data expression where the max expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 621 of file real1.h.

◆ make_minimum()

void mcrl2::data::sort_real::make_minimum ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol min.

Parameters
[out]resultThe data expression where the min expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 706 of file real1.h.

◆ make_minus()

void mcrl2::data::sort_real::make_minus ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol -.

Parameters
[out]resultThe data expression where the - expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 1208 of file real1.h.

◆ make_nat2real()

void mcrl2::data::sort_real::make_nat2real ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol Nat2Real.

Parameters
[out]resultThe data expression where the Nat2Real expression is put.
[in]arg0A data expression.

Definition at line 264 of file real1.h.

◆ make_negate()

void mcrl2::data::sort_real::make_negate ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol -.

Parameters
[out]resultThe data expression where the - expression is put.
[in]arg0A data expression.

Definition at line 864 of file real1.h.

◆ make_plus()

void mcrl2::data::sort_real::make_plus ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol +.

Parameters
[out]resultThe data expression where the + expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 1123 of file real1.h.

◆ make_pos2real()

void mcrl2::data::sort_real::make_pos2real ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol Pos2Real.

Parameters
[out]resultThe data expression where the Pos2Real expression is put.
[in]arg0A data expression.

Definition at line 202 of file real1.h.

◆ make_pred()

void mcrl2::data::sort_real::make_pred ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol pred.

Parameters
[out]resultThe data expression where the pred expression is put.
[in]arg0A data expression.

Definition at line 1030 of file real1.h.

◆ make_real2int()

void mcrl2::data::sort_real::make_real2int ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol Real2Int.

Parameters
[out]resultThe data expression where the Real2Int expression is put.
[in]arg0A data expression.

Definition at line 512 of file real1.h.

◆ make_real2nat()

void mcrl2::data::sort_real::make_real2nat ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol Real2Nat.

Parameters
[out]resultThe data expression where the Real2Nat expression is put.
[in]arg0A data expression.

Definition at line 450 of file real1.h.

◆ make_real2pos()

void mcrl2::data::sort_real::make_real2pos ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol Real2Pos.

Parameters
[out]resultThe data expression where the Real2Pos expression is put.
[in]arg0A data expression.

Definition at line 388 of file real1.h.

◆ make_reduce_fraction()

void mcrl2::data::sort_real::make_reduce_fraction ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol @redfrac.

Parameters
[out]resultThe data expression where the @redfrac expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 1692 of file real1.h.

◆ make_reduce_fraction_helper()

void mcrl2::data::sort_real::make_reduce_fraction_helper ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol @redfrachlp.

Parameters
[out]resultThe data expression where the @redfrachlp expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 1822 of file real1.h.

◆ make_reduce_fraction_where()

void mcrl2::data::sort_real::make_reduce_fraction_where ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1,
const data_expression &  arg2 
)
inline

Make an application of function symbol @redfracwhr.

Parameters
[out]resultThe data expression where the @redfracwhr expression is put.
[in]arg0A data expression.
[in]arg1A data expression.
[in]arg2A data expression.

Definition at line 1758 of file real1.h.

◆ make_round()

void mcrl2::data::sort_real::make_round ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol round.

Parameters
[out]resultThe data expression where the round expression is put.
[in]arg0A data expression.

Definition at line 1628 of file real1.h.

◆ make_succ()

void mcrl2::data::sort_real::make_succ ( data_expression &  result,
const data_expression &  arg0 
)
inline

Make an application of function symbol succ.

Parameters
[out]resultThe data expression where the succ expression is put.
[in]arg0A data expression.

Definition at line 947 of file real1.h.

◆ make_times()

void mcrl2::data::sort_real::make_times ( data_expression &  result,
const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Make an application of function symbol *.

Parameters
[out]resultThe data expression where the * expression is put.
[in]arg0A data expression.
[in]arg1A data expression.

Definition at line 1293 of file real1.h.

◆ maximum() [1/2]

application mcrl2::data::sort_real::maximum ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol max.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of max to a number of arguments.

Definition at line 610 of file real1.h.

◆ maximum() [2/2]

function_symbol mcrl2::data::sort_real::maximum ( const sort_expression &  s0,
const sort_expression &  s1 
)
inline

Definition at line 538 of file real1.h.

◆ maximum_name()

const core::identifier_string & mcrl2::data::sort_real::maximum_name ( )
inline

Generate identifier max.

Returns
Identifier max.

Definition at line 530 of file real1.h.

◆ minimum() [1/2]

application mcrl2::data::sort_real::minimum ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol min.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of min to a number of arguments.

Definition at line 695 of file real1.h.

◆ minimum() [2/2]

function_symbol mcrl2::data::sort_real::minimum ( const sort_expression &  s0,
const sort_expression &  s1 
)
inline

Definition at line 647 of file real1.h.

◆ minimum_name()

const core::identifier_string & mcrl2::data::sort_real::minimum_name ( )
inline

Generate identifier min.

Returns
Identifier min.

Definition at line 639 of file real1.h.

◆ minus() [1/2]

application mcrl2::data::sort_real::minus ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol -.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of - to a number of arguments.

Definition at line 1197 of file real1.h.

◆ minus() [2/2]

function_symbol mcrl2::data::sort_real::minus ( const sort_expression &  s0,
const sort_expression &  s1 
)
inline

Definition at line 1149 of file real1.h.

◆ minus_name()

const core::identifier_string & mcrl2::data::sort_real::minus_name ( )
inline

Generate identifier -.

Returns
Identifier -.

Definition at line 1141 of file real1.h.

◆ nat2real() [1/2]

const function_symbol & mcrl2::data::sort_real::nat2real ( )
inline

Constructor for function symbol Nat2Real.

Returns
Function symbol nat2real.

Definition at line 230 of file real1.h.

◆ nat2real() [2/2]

application mcrl2::data::sort_real::nat2real ( const data_expression &  arg0)
inline

Application of function symbol Nat2Real.

Parameters
[in]arg0A data expression.
Returns
Application of Nat2Real to a number of arguments.

Definition at line 254 of file real1.h.

◆ nat2real_name()

const core::identifier_string & mcrl2::data::sort_real::nat2real_name ( )
inline

Generate identifier Nat2Real.

Returns
Identifier Nat2Real.

Definition at line 220 of file real1.h.

◆ negate() [1/2]

application mcrl2::data::sort_real::negate ( const data_expression &  arg0)
inline

Application of function symbol -.

Parameters
[in]arg0A data expression.
Returns
Application of - to a number of arguments.

Definition at line 854 of file real1.h.

◆ negate() [2/2]

function_symbol mcrl2::data::sort_real::negate ( const sort_expression &  s0)
inline

Definition at line 807 of file real1.h.

◆ negate_name()

const core::identifier_string & mcrl2::data::sort_real::negate_name ( )
inline

Generate identifier -.

Returns
Identifier -.

Definition at line 799 of file real1.h.

◆ plus() [1/2]

application mcrl2::data::sort_real::plus ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol +.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of + to a number of arguments.

Definition at line 1112 of file real1.h.

◆ plus() [2/2]

function_symbol mcrl2::data::sort_real::plus ( const sort_expression &  s0,
const sort_expression &  s1 
)
inline

Definition at line 1056 of file real1.h.

◆ plus_name()

const core::identifier_string & mcrl2::data::sort_real::plus_name ( )
inline

Generate identifier +.

Returns
Identifier +.

Definition at line 1048 of file real1.h.

◆ pos2real() [1/2]

const function_symbol & mcrl2::data::sort_real::pos2real ( )
inline

Constructor for function symbol Pos2Real.

Returns
Function symbol pos2real.

Definition at line 168 of file real1.h.

◆ pos2real() [2/2]

application mcrl2::data::sort_real::pos2real ( const data_expression &  arg0)
inline

Application of function symbol Pos2Real.

Parameters
[in]arg0A data expression.
Returns
Application of Pos2Real to a number of arguments.

Definition at line 192 of file real1.h.

◆ pos2real_name()

const core::identifier_string & mcrl2::data::sort_real::pos2real_name ( )
inline

Generate identifier Pos2Real.

Returns
Identifier Pos2Real.

Definition at line 158 of file real1.h.

◆ pred() [1/2]

application mcrl2::data::sort_real::pred ( const data_expression &  arg0)
inline

Application of function symbol pred.

Parameters
[in]arg0A data expression.
Returns
Application of pred to a number of arguments.

Definition at line 1020 of file real1.h.

◆ pred() [2/2]

function_symbol mcrl2::data::sort_real::pred ( const sort_expression &  s0)
inline

Definition at line 973 of file real1.h.

◆ pred_name()

const core::identifier_string & mcrl2::data::sort_real::pred_name ( )
inline

Generate identifier pred.

Returns
Identifier pred.

Definition at line 965 of file real1.h.

◆ real2int() [1/2]

const function_symbol & mcrl2::data::sort_real::real2int ( )
inline

Constructor for function symbol Real2Int.

Returns
Function symbol real2int.

Definition at line 478 of file real1.h.

◆ real2int() [2/2]

application mcrl2::data::sort_real::real2int ( const data_expression &  arg0)
inline

Application of function symbol Real2Int.

Parameters
[in]arg0A data expression.
Returns
Application of Real2Int to a number of arguments.

Definition at line 502 of file real1.h.

◆ real2int_name()

const core::identifier_string & mcrl2::data::sort_real::real2int_name ( )
inline

Generate identifier Real2Int.

Returns
Identifier Real2Int.

Definition at line 468 of file real1.h.

◆ real2nat() [1/2]

const function_symbol & mcrl2::data::sort_real::real2nat ( )
inline

Constructor for function symbol Real2Nat.

Returns
Function symbol real2nat.

Definition at line 416 of file real1.h.

◆ real2nat() [2/2]

application mcrl2::data::sort_real::real2nat ( const data_expression &  arg0)
inline

Application of function symbol Real2Nat.

Parameters
[in]arg0A data expression.
Returns
Application of Real2Nat to a number of arguments.

Definition at line 440 of file real1.h.

◆ real2nat_name()

const core::identifier_string & mcrl2::data::sort_real::real2nat_name ( )
inline

Generate identifier Real2Nat.

Returns
Identifier Real2Nat.

Definition at line 406 of file real1.h.

◆ real2pos() [1/2]

const function_symbol & mcrl2::data::sort_real::real2pos ( )
inline

Constructor for function symbol Real2Pos.

Returns
Function symbol real2pos.

Definition at line 354 of file real1.h.

◆ real2pos() [2/2]

application mcrl2::data::sort_real::real2pos ( const data_expression &  arg0)
inline

Application of function symbol Real2Pos.

Parameters
[in]arg0A data expression.
Returns
Application of Real2Pos to a number of arguments.

Definition at line 378 of file real1.h.

◆ real2pos_name()

const core::identifier_string & mcrl2::data::sort_real::real2pos_name ( )
inline

Generate identifier Real2Pos.

Returns
Identifier Real2Pos.

Definition at line 344 of file real1.h.

◆ real_() [1/5]

const basic_sort & mcrl2::data::sort_real::real_ ( )
inline

Constructor for sort expression Real.

Returns
Sort expression Real.

Definition at line 45 of file real1.h.

◆ real_() [2/5]

data_expression mcrl2::data::sort_real::real_ ( const std::string &  n)
inline

Constructs expression of type Real from a string.

Parameters
nA string
Precondition
n is of the form (-[1...9][0...9]+)([0...9]+)

Definition at line 778 of file standard_numbers_utility.h.

◆ real_() [3/5]

data_expression mcrl2::data::sort_real::real_ ( const std::string &  numerator,
const std::string &  denominator 
)
inline

Constructs expression of type Real from two number strings.

Parameters
numeratornumerator.
denominatordenominator.
Returns
numerator / denominator.

Definition at line 770 of file standard_numbers_utility.h.

◆ real_() [4/5]

template<typename T >
requires std::is_integral_v<T>
data_expression mcrl2::data::sort_real::real_ ( T  numerator,
T  denominator 
)
inline

Constructs expression of type Real from an integral type.

Parameters
numeratornumerator.
denominatordenominator.

Definition at line 760 of file standard_numbers_utility.h.

◆ real_() [5/5]

template<typename T >
requires std::is_integral_v<T>
data_expression mcrl2::data::sort_real::real_ ( T  t)
inline

Constructs expression of type Real from an integral type.

Parameters
tAn expression of type T.

Definition at line 746 of file standard_numbers_utility.h.

◆ real_cpp_implementable_constructors()

implementation_map mcrl2::data::sort_real::real_cpp_implementable_constructors ( )
inline

Give all system defined constructors which have an implementation in C++ and not in rewrite rules for real_.

Returns
All system defined constructors that are to be implemented in C++ for real_.

Definition at line 85 of file real1.h.

◆ real_cpp_implementable_mappings()

implementation_map mcrl2::data::sort_real::real_cpp_implementable_mappings ( )
inline

Give all system defined mappings that are to be implemented in C++ code for real_.

Returns
A mapping from C++ implementable function symbols to system defined mappings implemented in C++ code for real_

Definition at line 1927 of file real1.h.

◆ real_generate_constructors_and_functions_code()

function_symbol_vector mcrl2::data::sort_real::real_generate_constructors_and_functions_code ( )
inline

Give all system defined mappings and constructors for real_.

Returns
All system defined mappings for real_

Definition at line 1875 of file real1.h.

◆ real_generate_constructors_code()

function_symbol_vector mcrl2::data::sort_real::real_generate_constructors_code ( )
inline

Give all system defined constructors for real_.

Returns
All system defined constructors for real_.

Definition at line 67 of file real1.h.

◆ real_generate_equations_code()

data_equation_vector mcrl2::data::sort_real::real_generate_equations_code ( )
inline

Give all system defined equations for real_.

Returns
All system defined equations for sort real_

Definition at line 2007 of file real1.h.

◆ real_generate_functions_code()

function_symbol_vector mcrl2::data::sort_real::real_generate_functions_code ( )
inline

Give all system defined mappings for real_.

Returns
All system defined mappings for real_

Definition at line 1839 of file real1.h.

◆ real_mCRL2_usable_constructors()

function_symbol_vector mcrl2::data::sort_real::real_mCRL2_usable_constructors ( )
inline

Give all defined constructors which can be used in mCRL2 specs for real_.

Returns
All system defined constructors that can be used in an mCRL2 specification for real_.

Definition at line 75 of file real1.h.

◆ real_mCRL2_usable_mappings()

function_symbol_vector mcrl2::data::sort_real::real_mCRL2_usable_mappings ( )
inline

Give all system defined mappings that can be used in mCRL2 specs for real_.

Returns
All system defined mappings for that can be used in mCRL2 specificationis real_

Definition at line 1888 of file real1.h.

◆ real_name()

const core::identifier_string & mcrl2::data::sort_real::real_name ( )
inline

Definition at line 36 of file real1.h.

◆ real_one()

data_expression & mcrl2::data::sort_real::real_one ( )
inline

Definition at line 27 of file real_utilities.h.

◆ real_zero()

data_expression & mcrl2::data::sort_real::real_zero ( )
inline

Definition at line 21 of file real_utilities.h.

◆ reduce_fraction() [1/2]

const function_symbol & mcrl2::data::sort_real::reduce_fraction ( )
inline

Constructor for function symbol @redfrac.

Returns
Function symbol reduce_fraction.

Definition at line 1656 of file real1.h.

◆ reduce_fraction() [2/2]

application mcrl2::data::sort_real::reduce_fraction ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol @redfrac.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of @redfrac to a number of arguments.

Definition at line 1681 of file real1.h.

◆ reduce_fraction_helper() [1/2]

const function_symbol & mcrl2::data::sort_real::reduce_fraction_helper ( )
inline

Constructor for function symbol @redfrachlp.

Returns
Function symbol reduce_fraction_helper.

Definition at line 1786 of file real1.h.

◆ reduce_fraction_helper() [2/2]

application mcrl2::data::sort_real::reduce_fraction_helper ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol @redfrachlp.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of @redfrachlp to a number of arguments.

Definition at line 1811 of file real1.h.

◆ reduce_fraction_helper_name()

const core::identifier_string & mcrl2::data::sort_real::reduce_fraction_helper_name ( )
inline

Generate identifier @redfrachlp.

Returns
Identifier @redfrachlp.

Definition at line 1776 of file real1.h.

◆ reduce_fraction_name()

const core::identifier_string & mcrl2::data::sort_real::reduce_fraction_name ( )
inline

Generate identifier @redfrac.

Returns
Identifier @redfrac.

Definition at line 1646 of file real1.h.

◆ reduce_fraction_where() [1/2]

const function_symbol & mcrl2::data::sort_real::reduce_fraction_where ( )
inline

Constructor for function symbol @redfracwhr.

Returns
Function symbol reduce_fraction_where.

Definition at line 1720 of file real1.h.

◆ reduce_fraction_where() [2/2]

application mcrl2::data::sort_real::reduce_fraction_where ( const data_expression &  arg0,
const data_expression &  arg1,
const data_expression &  arg2 
)
inline

Application of function symbol @redfracwhr.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
[in]arg2A data expression.
Returns
Application of @redfracwhr to a number of arguments.

Definition at line 1746 of file real1.h.

◆ reduce_fraction_where_name()

const core::identifier_string & mcrl2::data::sort_real::reduce_fraction_where_name ( )
inline

Generate identifier @redfracwhr.

Returns
Identifier @redfracwhr.

Definition at line 1710 of file real1.h.

◆ right()

const data_expression & mcrl2::data::sort_real::right ( const data_expression &  e)
inline

Function for projecting out argument. right from an application.

Parameters
eA data expression.
Precondition
right is defined for e.
Returns
The argument of e that corresponds to right.

Definition at line 1950 of file real1.h.

◆ round() [1/2]

const function_symbol & mcrl2::data::sort_real::round ( )
inline

Constructor for function symbol round.

Returns
Function symbol round.

Definition at line 1594 of file real1.h.

◆ round() [2/2]

application mcrl2::data::sort_real::round ( const data_expression &  arg0)
inline

Application of function symbol round.

Parameters
[in]arg0A data expression.
Returns
Application of round to a number of arguments.

Definition at line 1618 of file real1.h.

◆ round_name()

const core::identifier_string & mcrl2::data::sort_real::round_name ( )
inline

Generate identifier round.

Returns
Identifier round.

Definition at line 1584 of file real1.h.

◆ succ() [1/2]

application mcrl2::data::sort_real::succ ( const data_expression &  arg0)
inline

Application of function symbol succ.

Parameters
[in]arg0A data expression.
Returns
Application of succ to a number of arguments.

Definition at line 937 of file real1.h.

◆ succ() [2/2]

function_symbol mcrl2::data::sort_real::succ ( const sort_expression &  s0)
inline

Definition at line 890 of file real1.h.

◆ succ_name()

const core::identifier_string & mcrl2::data::sort_real::succ_name ( )
inline

Generate identifier succ.

Returns
Identifier succ.

Definition at line 882 of file real1.h.

◆ times() [1/2]

application mcrl2::data::sort_real::times ( const data_expression &  arg0,
const data_expression &  arg1 
)
inline

Application of function symbol *.

Parameters
[in]arg0A data expression.
[in]arg1A data expression.
Returns
Application of * to a number of arguments.

Definition at line 1282 of file real1.h.

◆ times() [2/2]

function_symbol mcrl2::data::sort_real::times ( const sort_expression &  s0,
const sort_expression &  s1 
)
inline

Definition at line 1234 of file real1.h.

◆ times_name()

const core::identifier_string & mcrl2::data::sort_real::times_name ( )
inline

Generate identifier *.

Returns
Identifier *.

Definition at line 1226 of file real1.h.

◆ value()

template<class NUMERIC_TYPE >
requires (std::is_floating_point_v<NUMERIC_TYPE>)
NUMERIC_TYPE mcrl2::data::sort_real::value ( const data_expression &  r)
inline

Yields the real value of a data expression.

Parameters
rA data expression of sort real in normal form.

Definition at line 791 of file standard_numbers_utility.h.