diff -r 8bb064045b4e -r e51c9a67a68d thys/Exercises.thy --- a/thys/Exercises.thy Thu Feb 25 22:46:58 2021 +0000 +++ b/thys/Exercises.thy Sun Oct 10 00:56:47 2021 +0100 @@ -9,7 +9,7 @@ where "zeroable (ZERO) \ True" | "zeroable (ONE) \ False" -| "zeroable (CHAR c) \ False" +| "zeroable (CH c) \ False" | "zeroable (ALT r1 r2) \ zeroable r1 \ zeroable r2" | "zeroable (SEQ r1 r2) \ zeroable r1 \ zeroable r2" | "zeroable (STAR r) \ False" @@ -24,7 +24,7 @@ where "atmostempty (ZERO) \ True" | "atmostempty (ONE) \ True" -| "atmostempty (CHAR c) \ False" +| "atmostempty (CH c) \ False" | "atmostempty (ALT r1 r2) \ atmostempty r1 \ atmostempty r2" | "atmostempty (SEQ r1 r2) \ zeroable r1 \ zeroable r2 \ (atmostempty r1 \ atmostempty r2)" @@ -37,7 +37,7 @@ where "somechars (ZERO) \ False" | "somechars (ONE) \ False" -| "somechars (CHAR c) \ True" +| "somechars (CH c) \ True" | "somechars (ALT r1 r2) \ somechars r1 \ somechars r2" | "somechars (SEQ r1 r2) \ (\ zeroable r1 \ somechars r2) \ (\ zeroable r2 \ somechars r1) \ @@ -69,7 +69,7 @@ where "leastsinglechar (ZERO) \ False" | "leastsinglechar (ONE) \ False" -| "leastsinglechar (CHAR c) \ True" +| "leastsinglechar (CH c) \ True" | "leastsinglechar (ALT r1 r2) \ leastsinglechar r1 \ leastsinglechar r2" | "leastsinglechar (SEQ r1 r2) \ (if (zeroable r1 \ zeroable r2) then False @@ -96,7 +96,7 @@ where "infinitestrings (ZERO) = False" | "infinitestrings (ONE) = False" -| "infinitestrings (CHAR c) = False" +| "infinitestrings (CH c) = False" | "infinitestrings (ALT r1 r2) = (infinitestrings r1 \ infinitestrings r2)" | "infinitestrings (SEQ r1 r2) \ (\ zeroable r1 \ infinitestrings r2) \ (\ zeroable r2 \ infinitestrings r1)"