Documentation

Cvc.Untyped.Theory.Nullable.Regex

Regular expressions over nullables, sort-erased #

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

The regex term becomes nullable. Note the string-matching operators live in the string theory, so strInRe? is generated there.

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

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

    reInter? over two or more terms.

    Equations
    Instances For

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

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

        reUnion? over two or more terms.

        Equations
        Instances For

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

          Equations
          Instances For

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

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

              reConcat? over two or more terms.

              Equations
              Instances For

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

                Equations
                Instances For

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

                  Equations
                  Instances For

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

                    Equations
                    Instances For

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

                      Equations
                      Instances For

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

                        Equations
                        Instances For