Documentation

Lean.Meta.Tactic.Grind.Arith.Cutsat.Util

Returns true if the variables in the given polynomial are sorted in decreasing order.

Instances For
    @[inline]
    Instances For

      Returns true if cutsat natively supports type.

      Instances For

        Returns true if cutsat is enabled and natively supports type, i.e., cutsat handles it.

        Instances For

          Returns true if numerals of the embedded type α can be evaluated, i.e., their embedded (Fin.val/toNat/toInt) value can be computed directly. Such numerals are not given embedding-accessor applications. Currently this means the modulus of α is known, but future embedded types may be evaluable without one.

          Instances For

            Returns true if the cutsat state is inconsistent.

            Instances For
              @[extern lean_grind_cutsat_mk_var]

              Creates a new variable in the cutsat module.

              Returns true if e is already associated with a cutsat variable.

              Instances For

                Returns true if x has been eliminated using an equality constraint.

                Instances For
                  @[extern lean_grind_cutsat_assert_eq]

                  Resets the assignment of any variable bigger or equal to x.

                  Instances For
                    @[extern lean_grind_cutsat_assert_le]

                    Returns occurrences of x.

                    Instances For

                      Adds y as an occurrence of x. That is, x occurs in lowers[y], uppers[y], or dvdCnstrs[y].

                      Instances For

                        Given p a polynomial being inserted into lowers, uppers, or dvdCnstrs, get its leading variable y, and adds y as an occurrence for the remaining variables in p.

                        Instances For

                          Tries to evaluate the polynomial p using the partial model/assignment built so far. The result is none if the polynomial contains variables that have not been assigned.

                          Instances For
                            @[reducible, inline]
                            Instances For
                              @[reducible, inline]
                              Instances For

                                Returns .true if c is satisfied by the current partial model, .undef if c contains unassigned variables, and .false otherwise.

                                Instances For

                                  Returns .true if c is satisfied by the current partial model, .undef if c contains unassigned variables, and .false otherwise.

                                  Instances For

                                    Returns .true if c is satisfied by the current partial model, .undef if c contains unassigned variables, and .false otherwise.

                                    Instances For

                                      Returns .true if c is satisfied by the current partial model, .undef if c contains unassigned variables, and .false otherwise.

                                      Instances For

                                        Given a polynomial p, returns some (x, k, c) if p contains the monomial k*x, and x has been eliminated using the equality c.

                                        Instances For