Strings over nullables, sort-erased #
One lifted constructor per liftable operator, <id>?, each answering none unless every argument
is some.
The indexed operators do not lift, for the reason bit-vectors' do not: an Op cannot be handed to
mkNullableLift.
strIsDigit lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strIsDigit? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_IS_DIGIT #[s]
Instances For
strCharAt lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strCharAt? idx = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_CHARAT #[s, idx]
Instances For
strToRegex lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strToRegex? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_TO_REGEXP #[s]
Instances For
strLength lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strLength? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_LENGTH #[s]
Instances For
strConcat lifted over nullables, strictly: none unless every argument is some.
Equations
- lft.strConcat? rgt = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_CONCAT #[lft, rgt]
Instances For
strPrefix lifted over nullables, strictly: none unless every argument is some.
Equations
- pre.strPrefix? s = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_PREFIX #[pre, s]
Instances For
strLt lifted over nullables, strictly: none unless every argument is some.
Equations
- lft.strLt? rgt = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_LT #[lft, rgt]
Instances For
strReplaceRe lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strReplaceRe? re repl = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_REPLACE_RE #[s, re, repl]
Instances For
strUpdate lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strUpdate? idx repl = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_UPDATE #[s, idx, repl]
Instances For
strToLower lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strToLower? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_TO_LOWER #[s]
Instances For
strSuffix lifted over nullables, strictly: none unless every argument is some.
Equations
- suf.strSuffix? s = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_SUFFIX #[suf, s]
Instances For
strFromCode lifted over nullables, strictly: none unless every argument is some.
Equations
- code.strFromCode? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_FROM_CODE #[code]
Instances For
strToCode lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strToCode? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_TO_CODE #[s]
Instances For
strToInt lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strToInt? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_TO_INT #[s]
Instances For
strToUpper lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strToUpper? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_TO_UPPER #[s]
Instances For
strInRegex lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strInRegex? re = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_IN_REGEXP #[s, re]
Instances For
strLe lifted over nullables, strictly: none unless every argument is some.
Equations
- lft.strLe? rgt = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_LEQ #[lft, rgt]
Instances For
strSubstr lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strSubstr? idx len = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_SUBSTR #[s, idx, len]
Instances For
strFromInt lifted over nullables, strictly: none unless every argument is some.
Equations
- arg.strFromInt? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_FROM_INT #[arg]
Instances For
strReplaceReAll lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strReplaceReAll? re repl = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_REPLACE_RE_ALL #[s, re, repl]
Instances For
strReplaceAll lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strReplaceAll? pat repl = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_REPLACE_ALL #[s, pat, repl]
Instances For
strConcat? over two or more terms.
Equations
- Cvc.Untyped.Term.strConcatN? terms atLeastTwoElements = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_CONCAT terms
Instances For
strContains lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strContains? sub = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_CONTAINS #[s, sub]
Instances For
strRev lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strRev? = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_REV #[s]
Instances For
strIndexof lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strIndexof? sub start = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_INDEXOF #[s, sub, start]
Instances For
strReplace lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strReplace? pat repl = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_REPLACE #[s, pat, repl]
Instances For
strIndexofRe lifted over nullables, strictly: none unless every argument is some.
Equations
- s.strIndexofRe? re start = Cvc.runUnsafe✝ fun (tm : cvc5.TermManager) => tm.mkNullableLift cvc5.Kind.STRING_INDEXOF_RE #[s, re, start]