Documentation

Cvc.Srt.Types

structure Cvc.AnyFloat (exp sig : UInt32) :

A float with generic exponent and significand, see also Cvc.Float.

    Instances For
      @[reducible, inline]
      abbrev Cvc.Float :

      Equivalent of Float by enforcing the IEEE 754 standard, see also Cvc.AnyFloat.

      Equations
      Instances For
        structure Cvc.Abstract (kind : Srt.Kind) :
          Instances For
            structure Cvc.TMap (Idx Elm : Type) extends Ord Idx :

            Total map from Idx to Elm, called array in SMT-LIB/cvc.

            • compare : IdxIdxOrdering
            • toRBMap : RBMap Idx Elm

              Red-black map representation containing indices with known value.

            Instances For
              def Cvc.TMap.ofRBMap {Idx : Type} [Ord Idx] {Elm : Type} (toRBMap : RBMap Idx Elm) :
              Cvc.TMap Idx Elm

              Constructor.

              Equations
              Instances For
                @[reducible, inline]
                abbrev Cvc.TMap.unspecified {Idx : Type} [Ord Idx] {Elm : Type} :
                Cvc.TMap Idx Elm

                A total map with unknown values for all indices.

                Equations
                Instances For
                  def Cvc.TMap.get {Idx Elm : Type} (array : Cvc.TMap Idx Elm) (idx : Idx) :
                  Option Elm

                  The known value of an index if any.

                  Equations
                  Instances For
                    def Cvc.TMap.getD {Idx Elm : Type} (array : Cvc.TMap Idx Elm) (idx : Idx) (defaultVal : Elm) :
                    Elm

                    The known value of an index or a default value.

                    Equations
                    Instances For
                      def Cvc.TMap.getI {Idx Elm : Type} (array : Cvc.TMap Idx Elm) [Inhabited Elm] (idx : Idx) :
                      Elm

                      The known value of an index for Inhabited elements.

                      Equations
                      Instances For
                        instance Cvc.TMap.instGetElemOptionTrue {Idx Elm : Type} :
                        GetElem (Cvc.TMap Idx Elm) Idx (Option Elm) fun (x : Cvc.TMap Idx Elm) (x : Idx) => True
                        Equations
                        structure Cvc.Bag (Elm : Type) extends Ord Elm :

                        Map between elements and their cardinality in the bag.

                        Instances For
                          def Cvc.Bag.ofRBMap {Elm : Type} [Ord Elm] (toRBMap : RBMap Elm Nat) :

                          Constructor.

                          Equations
                          Instances For
                            def Cvc.Bag.empty {Elm : Type} [Ord Elm] :

                            Empty bag constructor.

                            Equations
                            Instances For
                              def Cvc.Bag.distinctSize {Elm : Type} (bag : Cvc.Bag Elm) :

                              Number of distinct elements in the map.

                              Equations
                              Instances For
                                def Cvc.Bag.size {Elm : Type} (bag : Cvc.Bag Elm) :

                                Number of elements in the map, see also distinctSize.

                                Equations
                                Instances For
                                  def Cvc.Bag.card {Elm : Type} (bag : Cvc.Bag Elm) :

                                  Number of elements in the map, see also distinctSize.

                                  Equations
                                  Instances For
                                    def Cvc.Bag.getMult {Elm : Type} (bag : Cvc.Bag Elm) (elm : Elm) :

                                    Retrieves the multiplicity of an element.

                                    Equations
                                    Instances For
                                      def Cvc.Bag.contains {Elm : Type} (bag : Cvc.Bag Elm) (elm : Elm) :

                                      True on elements of multiplicity at least one.

                                      Equations
                                      Instances For
                                        def Cvc.Bag.erase {Elm : Type} (bag : Cvc.Bag Elm) (elm : Elm) :

                                        Removes an element from the bag.

                                        Equations
                                        Instances For
                                          def Cvc.Bag.setCard {Elm : Type} (bag : Cvc.Bag Elm) (elm : Elm) (count : Nat) :

                                          Forces the multiplicity of an element.

                                          Equations
                                          Instances For
                                            def Cvc.Bag.countDo {Elm : Type} (bag : Cvc.Bag Elm) (elm : Elm) {α : Sort u_1} (f : Natα) :
                                            α

                                            Passes the multiplicity of an element to a function.

                                            Equations
                                            Instances For
                                              def Cvc.Bag.countMap {Elm : Type} (bag : Cvc.Bag Elm) (elm : Elm) (f : NatNat) :

                                              Map over the multiplicity of an element.

                                              Equations
                                              Instances For
                                                def Cvc.Bag.insert {Elm : Type} (bag : Cvc.Bag Elm) (elm : Elm) (count : Nat := 1) :

                                                Inserts an element count times.

                                                Equations
                                                Instances For
                                                  def Cvc.Bag.remove {Elm : Type} (bag : Cvc.Bag Elm) (elm : Elm) (count : Nat := 1) :

                                                  Removes an element count times.

                                                  Equations
                                                  Instances For
                                                    structure Cvc.FiniteField (n : Nat) :
                                                      Instances For
                                                          Instances For
                                                            structure Cvc.Regex :

                                                            Regular expression.

                                                            • toString : String

                                                              String representation.

                                                            Instances For
                                                              structure Cvc.Set (Elm : Type) extends Ord Elm :

                                                              A set of elements.

                                                              Instances For
                                                                def Cvc.Set.ofRBSet {Elm : Type} [Ord Elm] (toRBSet : RBSet Elm) :

                                                                Constructor.

                                                                Equations
                                                                Instances For
                                                                  def Cvc.Set.empty {Elm : Type} [Ord Elm] :

                                                                  Empty set.

                                                                  Equations
                                                                  Instances For
                                                                    def Cvc.Set.size {Elm : Type} (set : Cvc.Set Elm) :

                                                                    Size of the set.

                                                                    Equations
                                                                    Instances For
                                                                      def Cvc.Set.card {Elm : Type} (set : Cvc.Set Elm) :

                                                                      Size of the set.

                                                                      Equations
                                                                      Instances For
                                                                        def Cvc.Set.contains {Elm : Type} (set : Cvc.Set Elm) (elm : Elm) :

                                                                        True if the element is in the set.

                                                                        Equations
                                                                        Instances For
                                                                          def Cvc.Set.insert {Elm : Type} (set : Cvc.Set Elm) (elm : Elm) :

                                                                          Inserts an element in the set.

                                                                          Equations
                                                                          Instances For
                                                                            structure Cvc.Uninterpreted (name : String) :
                                                                              Instances For