Documentation

Cvc.Untyped.Theory.Nullable.Bag

Bags over nullables, sort-erased #

One lifted constructor per liftable operator, <id>?, each answering none unless every argument is some.

The bag term becomes nullable, not its elements: (Nullable (Bag T)), not (Bag (Nullable T)).

bagAll lifted over nullables, strictly: none unless every argument is some.

Equations
Instances For

    bagFold lifted over nullables, strictly: none unless every argument is some.

    Equations
    Instances For

      bagDifferenceSubtract lifted over nullables, strictly: none unless every argument is some.

      Equations
      Instances For

        bagCount lifted over nullables, strictly: none unless every argument is some.

        Equations
        Instances For

          bagUnionDisjoint lifted over nullables, strictly: none unless every argument is some.

          Equations
          Instances For

            bagMap lifted over nullables, strictly: none unless every argument is some.

            Equations
            Instances For

              bagDifferenceRemove lifted over nullables, strictly: none unless every argument is some.

              Equations
              Instances For
                def Cvc.Untyped.Term.bagUnionDisjointN? [Ω] (terms : Terms) (atLeastTwoElements : 2 ≤ Array.size terms := by (try grind) <;> fail "failed to prove term array has at least two elements") :

                bagUnionDisjoint? over two or more terms.

                Equations
                Instances For

                  bagCard lifted over nullables, strictly: none unless every argument is some.

                  Equations
                  Instances For

                    bagFilter lifted over nullables, strictly: none unless every argument is some.

                    Equations
                    Instances For
                      def Cvc.Untyped.Term.bagUnionMaxN? [Ω] (terms : Terms) (atLeastTwoElements : 2 ≤ Array.size terms := by (try grind) <;> fail "failed to prove term array has at least two elements") :

                      bagUnionMax? over two or more terms.

                      Equations
                      Instances For

                        bagSome lifted over nullables, strictly: none unless every argument is some.

                        Equations
                        Instances For
                          def Cvc.Untyped.Term.bagInterMinN? [Ω] (terms : Terms) (atLeastTwoElements : 2 ≤ Array.size terms := by (try grind) <;> fail "failed to prove term array has at least two elements") :

                          bagInterMin? over two or more terms.

                          Equations
                          Instances For

                            bagMember lifted over nullables, strictly: none unless every argument is some.

                            Equations
                            Instances For

                              bagSetof lifted over nullables, strictly: none unless every argument is some.

                              Equations
                              Instances For

                                bagPartition lifted over nullables, strictly: none unless every argument is some.

                                Equations
                                Instances For

                                  bagUnionMax lifted over nullables, strictly: none unless every argument is some.

                                  Equations
                                  Instances For

                                    bagChoose lifted over nullables, strictly: none unless every argument is some.

                                    Equations
                                    Instances For

                                      bagSubbag lifted over nullables, strictly: none unless every argument is some.

                                      Equations
                                      Instances For

                                        bagInterMin lifted over nullables, strictly: none unless every argument is some.

                                        Equations
                                        Instances For

                                          bagMake lifted over nullables, strictly: none unless every argument is some.

                                          Equations
                                          Instances For