12#ifndef MCRL2_DATA_IS_SUB_SORT_H
13#define MCRL2_DATA_IS_SUB_SORT_H
70 const function_sort& s1 = atermpp::down_cast<function_sort>(x1);
71 const function_sort& s2 = atermpp::down_cast<function_sort>(x2);
80 auto const& s1_domain = s1.
domain();
81 auto const& s2_domain = s2.
domain();
82 return std::equal(s1_domain.begin(), s1_domain.end(), s2_domain.begin(), [&](
const sort_expression& x,
const sort_expression& y) { return is_sub_sort(x, y); });
size_type size() const
Returns the size of the term_list.
const container_type & container_name() const
const sort_expression & element_sort() const
const sort_expression & codomain() const
const sort_expression_list & domain() const
Standard exception class for reporting runtime errors.
The standard sort function_update.
bool is_numeric_sort(const sort_expression &x)
std::size_t numeric_sort_value(const sort_expression &x)
bool is_int(const sort_expression &e)
Recogniser for sort expression Int.
bool is_nat(const sort_expression &e)
Recogniser for sort expression Nat.
bool is_pos(const sort_expression &e)
Recogniser for sort expression Pos.
bool is_real(const sort_expression &e)
Recogniser for sort expression Real.
std::string pp(const abstraction &x)
bool is_sub_sort(const sort_expression &x1, const sort_expression &x2)
bool is_container_sort(const atermpp::aterm &x)
Returns true if the term t is a container sort.
bool is_function_sort(const atermpp::aterm &x)
Returns true if the term t is a function sort.
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Provides utilities for working with data expressions of standard container sorts.
Provides utilities for working with data expressions of standard sorts.
add your file description here.