/usr/share/acl2-6.3/books/str/defs.lisp is in acl2-books-source 6.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | ; ACL2 String Library
; Copyright (C) 2009-2013 Centaur Technology
;
; Contact:
; Centaur Technology Formal Verification Group
; 7600-C N. Capital of Texas Highway, Suite 300, Austin, TX 78731, USA.
; http://www.centtech.com/
;
; This program is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free Software
; Foundation; either version 2 of the License, or (at your option) any later
; version. This program is distributed in the hope that it will be useful but
; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
; more details. You should have received a copy of the GNU General Public
; License along with this program; if not, write to the Free Software
; Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
;
; Original author: Jared Davis <jared@centtech.com>
(in-package "STR")
(include-book "xdoc/top" :dir :system)
(include-book "tools/bstar" :dir :system)
(include-book "std/lists/list-defuns" :dir :system)
(local (include-book "top"))
(local (include-book "cutil/defredundant" :dir :system))
(make-event
(cutil::defredundant-fn
'(
;; coerce.lisp
acl2::explode$inline
explode
acl2::implode$inline
implode
;; Including this type-prescription rule improves the type-prescriptions of
;; some subsequent functions such as upcase-string.
stringp-of-implode
;; char-fix.lisp
char-fix$inline
char-fix
;; eqv.lisp
chareqv$inline
chareqv
chareqv-is-an-equivalence
charlisteqv
charlisteqv-is-an-equivalence
str-fix$inline
str-fix
streqv$inline
streqv
streqv-is-an-equivalence
;; cat.lisp
fast-string-append
fast-string-append-lst
fast-concatenate
cat
append-chars-aux
append-chars$inline
append-chars
revappend-chars-aux
revappend-chars$inline
revappend-chars
prefix-strings
rchars-to-string
join-aux
join
;; char-case.lisp
little-a
little-z
big-a
big-z
case-delta
up-alpha-p$inline
up-alpha-p
down-alpha-p$inline
down-alpha-p
upcase-char$inline
upcase-char
downcase-char$inline
downcase-char
make-upcase-first-strtbl
*upcase-first-strtbl*
upcase-char-str$inline
upcase-char-str
make-downcase-first-strtbl
*downcase-first-strtbl*
downcase-char-str$inline
downcase-char-str
;; case-conversion.lisp
charlist-has-some-down-alpha-p
upcase-charlist-aux
upcase-charlist
charlist-has-some-up-alpha-p
downcase-charlist-aux
downcase-charlist
string-has-some-down-alpha-p
upcase-string-aux
upcase-string
string-has-some-up-alpha-p
downcase-string-aux
downcase-string
upcase-string-list-aux
upcase-string-list
downcase-string-list-aux
downcase-string-list
upcase-first-charlist
upcase-first
downcase-first-charlist
downcase-first
;; ieqv.lisp
ichareqv$inline
ichareqv
ichareqv-is-an-equivalence
icharlisteqv
icharlisteqv-is-an-equivalence
istreqv-aux
istreqv$inline
istreqv
istreqv-is-an-equivalence
;; digitp.lisp
digitp$inline
digitp
nonzero-digitp$inline
nonzero-digitp
digit-val$inline
digit-val
digit-listp
digit-list-value
skip-leading-digits
take-leading-digits
digit-string-p-aux
digit-string-p$inline
digit-string-p
;; firstn-chars.lisp
firstn-chars-aux
firstn-chars
append-firstn-chars
;; html-encode.lisp
html-space
html-newline
html-less
html-greater
html-amp
html-quote
repeated-revappend
distance-to-tab$inline
distance-to-tab
html-encode-chars-aux
html-encode-string-aux
html-encode-string
;; iless.lisp
ichar<$inline
ichar<
icharlist<
istr<-aux
istr<$inline
istr<
;; iprefixp.lisp
iprefixp
;; istrprefixp.lisp
istrprefixp-impl
istrprefixp$inline
istrprefixp
;; istrpos.lisp
istrpos-impl
istrpos$inline
istrpos
;; isubstrp.lisp
isubstrp$inline
isubstrp
collect-strs-with-isubstr
collect-syms-with-isubstr
;; isort.lisp
acl2::mergesort-fixnum-threshold
istr-list-p
istr-merge-tr
istr-mergesort-fixnum
istr-mergesort-integers
istr-sort
istrsort
;; natstr
basic-natchars
natchars-aux
natchars$inline
natchars
natstr$inline
natstr
natstr-list
revappend-natchars-aux
revappend-natchars$inline
revappend-natchars
;; pad.lisp
rpadchars
rpadstr
lpadchars
lpadstr
trim-aux
trim-bag
trim
;; prefix-lines.lisp
prefix-lines-aux
prefix-lines
;; strline.lisp
charpos-aux
go-to-line
strline
strlines
;; strnatless.lisp
parse-nat-from-charlist
parse-nat-from-string
charlistnat<
strnat<-aux
strnat<$inline
strnat<
;; strprefixp.lisp
strprefixp-impl
strprefixp$inline
strprefixp
;; strpos.lisp
strpos-fast
strpos$inline
strpos
;; strrpos.lisp
strrpos-fast
strrpos$inline
strrpos
;; strsplit.lisp
split-list-1
split-list*
character-list-listp
coerce-list-to-strings
strsplit
;; strsubst.lisp
strsubst-aux
strsubst
strsubst-list
;; strtok.lisp
strtok-aux
strtok$inline
strtok
;; strval.lisp
octal-digitp$inline
octal-digitp
octal-digit-listp
parse-octal-from-charlist
octal-digit-list-value$inline
octal-digit-list-value
hex-digitp$inline
hex-digitp
hex-digit-listp
hex-digit-val$inline
hex-digit-val
parse-hex-from-charlist
hex-digit-list-value$inline
hex-digit-list-value
bit-digitp$inline
bit-digitp
bit-digit-listp
bitstring-p
parse-bits-from-charlist
bit-digit-list-value$inline
bit-digit-list-value
strval
strval8
strval16
strval2
;; substrp
substrp$inline
substrp
;; strsuffixp
strsuffixp$inline
strsuffixp
;; symbols.lisp
symbol-list-names
intern-list-fn
intern-list
)
state))
|