diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2020-09-06 19:29:27 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2020-09-06 19:29:27 +0200 |
| commit | 7862d4e51530dc1d97fb20b63060d017f04b6a24 (patch) | |
| tree | b778c62cd38fa7a4bd239e02c7d64fae684e597c /exercises | |
| parent | 92fe0e599cf079aea24fa75af8890fbc05bb078d (diff) | |
| download | preplogic-7862d4e51530dc1d97fb20b63060d017f04b6a24.tar.gz preplogic-7862d4e51530dc1d97fb20b63060d017f04b6a24.zip | |
Added exercises and some pages to the slides
Diffstat (limited to '')
| -rw-r--r-- | exercises/preplogic-exercises.fdb_latexmk | 18 | ||||
| -rw-r--r-- | exercises/preplogic-exercises.fls | 12 | ||||
| -rw-r--r-- | exercises/preplogic-exercises.log | 117 | ||||
| -rw-r--r-- | exercises/preplogic-exercises.pdf | bin | 125146 -> 146771 bytes | |||
| -rw-r--r-- | exercises/preplogic-exercises.synctex.gz | bin | 12003 -> 15152 bytes | |||
| -rw-r--r-- | exercises/preplogic-exercises.tex | 48 |
6 files changed, 154 insertions, 41 deletions
diff --git a/exercises/preplogic-exercises.fdb_latexmk b/exercises/preplogic-exercises.fdb_latexmk index c0a94f2..425b289 100644 --- a/exercises/preplogic-exercises.fdb_latexmk +++ b/exercises/preplogic-exercises.fdb_latexmk | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Fdb version 3 | 1 | # Fdb version 3 |
| 2 | ["pdflatex"] 1599407243 "preplogic-exercises.tex" "preplogic-exercises.pdf" "preplogic-exercises" 1599407243 | 2 | ["pdflatex"] 1599413298 "preplogic-exercises.tex" "preplogic-exercises.pdf" "preplogic-exercises" 1599413298 |
| 3 | "/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc" 1594687104 2900 1537cc8184ad1792082cd229ecc269f4 "" | 3 | "/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc" 1594687104 2900 1537cc8184ad1792082cd229ecc269f4 "" |
| 4 | "/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1594687104 3524 cb3e574dea2d1052e39280babc910dc8 "" | 4 | "/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1594687104 3524 cb3e574dea2d1052e39280babc910dc8 "" |
| 5 | "/usr/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map" 1594687104 4851843 f8aac22e46e9a458223e5c13b1e20998 "" | 5 | "/usr/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map" 1594687104 4851843 f8aac22e46e9a458223e5c13b1e20998 "" |
| @@ -26,18 +26,24 @@ | |||
| 26 | "/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm" 1594687104 1116 933a60c408fc0a863a92debe84b2d294 "" | 26 | "/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm" 1594687104 1116 933a60c408fc0a863a92debe84b2d294 "" |
| 27 | "/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm" 1594687104 1120 8b7d695260f3cff42e636090a8002094 "" | 27 | "/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm" 1594687104 1120 8b7d695260f3cff42e636090a8002094 "" |
| 28 | "/usr/share/texmf-dist/fonts/tfm/public/cm/cmti10.tfm" 1594687104 1480 aa8e34af0eb6a2941b776984cf1dfdc4 "" | 28 | "/usr/share/texmf-dist/fonts/tfm/public/cm/cmti10.tfm" 1594687104 1480 aa8e34af0eb6a2941b776984cf1dfdc4 "" |
| 29 | "/usr/share/texmf-dist/fonts/tfm/public/cm/cmtt12.tfm" 1594687104 772 9a936b7f5e2ff0557fce0f62822f0bbf "" | ||
| 29 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb" 1594687104 34811 78b52f49e893bcba91bd7581cdc144c0 "" | 30 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb" 1594687104 34811 78b52f49e893bcba91bd7581cdc144c0 "" |
| 30 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb" 1594687104 32080 340ef9bf63678554ee606688e7b5339d "" | 31 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb" 1594687104 32080 340ef9bf63678554ee606688e7b5339d "" |
| 32 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb" 1594687104 30251 6afa5cb1d0204815a708a080681d4674 "" | ||
| 31 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb" 1594687104 36299 5f9df58c2139e7edcf37c8fca4bd384d "" | 33 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb" 1594687104 36299 5f9df58c2139e7edcf37c8fca4bd384d "" |
| 32 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb" 1594687104 37912 77d683123f92148345f3fc36a38d9ab1 "" | 34 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb" 1594687104 37912 77d683123f92148345f3fc36a38d9ab1 "" |
| 35 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb" 1594687104 36281 c355509802a035cadc5f15869451dcee "" | ||
| 33 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1594687104 35752 024fb6c41858982481f6968b5fc26508 "" | 36 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1594687104 35752 024fb6c41858982481f6968b5fc26508 "" |
| 34 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb" 1594687104 32722 d7379af29a190c3f453aba36302ff5a9 "" | 37 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb" 1594687104 32722 d7379af29a190c3f453aba36302ff5a9 "" |
| 35 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb" 1594687104 32362 179c33bbf43f19adbb3825bb4e36e57a "" | 38 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb" 1594687104 32362 179c33bbf43f19adbb3825bb4e36e57a "" |
| 36 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb" 1594687104 32762 224316ccc9ad3ca0423a14971cfa7fc1 "" | 39 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb" 1594687104 32762 224316ccc9ad3ca0423a14971cfa7fc1 "" |
| 37 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb" 1594687104 32569 5e5ddc8df908dea60932f3c484a54c0d "" | 40 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb" 1594687104 32569 5e5ddc8df908dea60932f3c484a54c0d "" |
| 38 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb" 1594687104 37944 359e864bd06cde3b1cf57bb20757fb06 "" | 41 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb" 1594687104 37944 359e864bd06cde3b1cf57bb20757fb06 "" |
| 42 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb" 1594687104 24252 1e4e051947e12dfb50fee0b7f4e26e3a "" | ||
| 39 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb" 1594687104 34694 ad62b13721ee8eda1dcc8993c8bd7041 "" | 43 | "/usr/share/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb" 1594687104 34694 ad62b13721ee8eda1dcc8993c8bd7041 "" |
| 40 | "/usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb" 1594687104 138258 6525c253f16cededa14c7fd0da7f67b2 "" | 44 | "/usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb" 1594687104 138258 6525c253f16cededa14c7fd0da7f67b2 "" |
| 45 | "/usr/share/texmf-dist/tex/generic/iftex/iftex.sty" 1594687104 6501 4011d89d9621e0b0901138815ba5ff29 "" | ||
| 46 | "/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty" 1594687104 1057 525c2192b5febbd8c1f662c9468335bb "" | ||
| 41 | "/usr/share/texmf-dist/tex/latex/amscls/amsthm.sty" 1594687104 12594 0d51ac3a545aaaa555021326ff22a6cc "" | 47 | "/usr/share/texmf-dist/tex/latex/amscls/amsthm.sty" 1594687104 12594 0d51ac3a545aaaa555021326ff22a6cc "" |
| 42 | "/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty" 1594687104 5949 3f3fd50a8cc94c3d4cbf4fc66cd3df1c "" | 48 | "/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty" 1594687104 5949 3f3fd50a8cc94c3d4cbf4fc66cd3df1c "" |
| 43 | "/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty" 1594687104 13829 94730e64147574077f8ecfea9bb69af4 "" | 49 | "/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty" 1594687104 13829 94730e64147574077f8ecfea9bb69af4 "" |
| @@ -51,12 +57,14 @@ | |||
| 51 | "/usr/share/texmf-dist/tex/latex/base/article.cls" 1594687104 20023 e427dd9e17e239bf926ef3aab67fe35e "" | 57 | "/usr/share/texmf-dist/tex/latex/base/article.cls" 1594687104 20023 e427dd9e17e239bf926ef3aab67fe35e "" |
| 52 | "/usr/share/texmf-dist/tex/latex/base/inputenc.sty" 1594687104 5050 8933a39ad74377accd18991c5eb90c58 "" | 58 | "/usr/share/texmf-dist/tex/latex/base/inputenc.sty" 1594687104 5050 8933a39ad74377accd18991c5eb90c58 "" |
| 53 | "/usr/share/texmf-dist/tex/latex/base/size10.clo" 1594687104 8446 9874cccac5fee462272c582807dbbf56 "" | 59 | "/usr/share/texmf-dist/tex/latex/base/size10.clo" 1594687104 8446 9874cccac5fee462272c582807dbbf56 "" |
| 60 | "/usr/share/texmf-dist/tex/latex/geometry/geometry.sty" 1594687104 41601 9cf6c5257b1bc7af01a58859749dd37a "" | ||
| 61 | "/usr/share/texmf-dist/tex/latex/graphics/keyval.sty" 1594687104 2590 e3b24ff953e5b58d924f163d25380312 "" | ||
| 54 | "/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def" 1594687104 25742 5de23a2d2bc67a3139433e702e64a437 "" | 62 | "/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def" 1594687104 25742 5de23a2d2bc67a3139433e702e64a437 "" |
| 55 | "/usr/share/texmf-dist/web2c/texmf.cnf" 1597672114 39446 755423e82e7afb756f49b242a15f4ec2 "" | 63 | "/usr/share/texmf-dist/web2c/texmf.cnf" 1597672114 39446 755423e82e7afb756f49b242a15f4ec2 "" |
| 56 | "/usr/share/texmf-var/web2c/pdftex/pdflatex.fmt" 1598712773 2434818 64d78922a5d2a9baf6bf1beec95a9374 "" | 64 | "/usr/share/texmf-var/web2c/pdftex/pdflatex.fmt" 1598712773 2434818 64d78922a5d2a9baf6bf1beec95a9374 "" |
| 57 | "preplogic-exercises.aux" 1599407243 398 c1412237ecba2ce936c17ace596c30a6 "pdflatex" | 65 | "preplogic-exercises.aux" 1599413298 398 c1412237ecba2ce936c17ace596c30a6 "pdflatex" |
| 58 | "preplogic-exercises.tex" 1599407242 3546 94e18075fe4f9c11a865c64ac581a692 "" | 66 | "preplogic-exercises.tex" 1599413295 4576 b03ca92fc16bbca83f264a2bb3016bef "" |
| 59 | (generated) | 67 | (generated) |
| 60 | "preplogic-exercises.log" | ||
| 61 | "preplogic-exercises.pdf" | ||
| 62 | "preplogic-exercises.aux" | 68 | "preplogic-exercises.aux" |
| 69 | "preplogic-exercises.pdf" | ||
| 70 | "preplogic-exercises.log" | ||
diff --git a/exercises/preplogic-exercises.fls b/exercises/preplogic-exercises.fls index 2dcc725..bcdb67c 100644 --- a/exercises/preplogic-exercises.fls +++ b/exercises/preplogic-exercises.fls | |||
| @@ -25,6 +25,14 @@ INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty | |||
| 25 | INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty | 25 | INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty |
| 26 | INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty | 26 | INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty |
| 27 | INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty | 27 | INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty |
| 28 | INPUT /usr/share/texmf-dist/tex/latex/geometry/geometry.sty | ||
| 29 | INPUT /usr/share/texmf-dist/tex/latex/geometry/geometry.sty | ||
| 30 | INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty | ||
| 31 | INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty | ||
| 32 | INPUT /usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty | ||
| 33 | INPUT /usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty | ||
| 34 | INPUT /usr/share/texmf-dist/tex/generic/iftex/iftex.sty | ||
| 35 | INPUT /usr/share/texmf-dist/tex/generic/iftex/iftex.sty | ||
| 28 | INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def | 36 | INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def |
| 29 | INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def | 37 | INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def |
| 30 | INPUT preplogic-exercises.aux | 38 | INPUT preplogic-exercises.aux |
| @@ -54,6 +62,7 @@ INPUT /usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd | |||
| 54 | INPUT /usr/share/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm | 62 | INPUT /usr/share/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm |
| 55 | INPUT /usr/share/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm | 63 | INPUT /usr/share/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm |
| 56 | INPUT /usr/share/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm | 64 | INPUT /usr/share/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm |
| 65 | INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmtt12.tfm | ||
| 57 | INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm | 66 | INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm |
| 58 | INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm | 67 | INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm |
| 59 | INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm | 68 | INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm |
| @@ -73,13 +82,16 @@ INPUT preplogic-exercises.aux | |||
| 73 | INPUT /usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc | 82 | INPUT /usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc |
| 74 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb | 83 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb |
| 75 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb | 84 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb |
| 85 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb | ||
| 76 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb | 86 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb |
| 77 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb | 87 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb |
| 88 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb | ||
| 78 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb | 89 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb |
| 79 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb | 90 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb |
| 80 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb | 91 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb |
| 81 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb | 92 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb |
| 82 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb | 93 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb |
| 83 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb | 94 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb |
| 95 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb | ||
| 84 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb | 96 | INPUT /usr/share/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb |
| 85 | INPUT /usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb | 97 | INPUT /usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb |
diff --git a/exercises/preplogic-exercises.log b/exercises/preplogic-exercises.log index 340c2da..66c9478 100644 --- a/exercises/preplogic-exercises.log +++ b/exercises/preplogic-exercises.log | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/VoidLinux) (preloaded format=pdflatex 2020.8.29) 6 SEP 2020 17:47 | 1 | This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/VoidLinux) (preloaded format=pdflatex 2020.8.29) 6 SEP 2020 19:28 |
| 2 | entering extended mode | 2 | entering extended mode |
| 3 | restricted \write18 enabled. | 3 | restricted \write18 enabled. |
| 4 | file:line:error style messages enabled. | 4 | file:line:error style messages enabled. |
| @@ -100,52 +100,109 @@ Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support | |||
| 100 | LaTeX Font Info: Redeclaring math symbol \hbar on input line 98. | 100 | LaTeX Font Info: Redeclaring math symbol \hbar on input line 98. |
| 101 | LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' | 101 | LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' |
| 102 | (Font) U/euf/m/n --> U/euf/b/n on input line 106. | 102 | (Font) U/euf/m/n --> U/euf/b/n on input line 106. |
| 103 | )) (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty | ||
| 104 | Package: geometry 2020/01/02 v5.9 Page Geometry | ||
| 105 | (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty | ||
| 106 | Package: keyval 2014/10/28 v1.15 key=value parser (DPC) | ||
| 107 | \KV@toks@=\toks28 | ||
| 108 | ) (/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty | ||
| 109 | Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead. | ||
| 110 | (/usr/share/texmf-dist/tex/generic/iftex/iftex.sty | ||
| 111 | Package: iftex 2020/03/06 v1.0d TeX engine tests | ||
| 103 | )) | 112 | )) |
| 104 | \c@exercise=\count187 | 113 | \Gm@cnth=\count187 |
| 114 | \Gm@cntv=\count188 | ||
| 115 | \c@Gm@tempcnt=\count189 | ||
| 116 | \Gm@bindingoffset=\dimen144 | ||
| 117 | \Gm@wd@mp=\dimen145 | ||
| 118 | \Gm@odd@mp=\dimen146 | ||
| 119 | \Gm@even@mp=\dimen147 | ||
| 120 | \Gm@layoutwidth=\dimen148 | ||
| 121 | \Gm@layoutheight=\dimen149 | ||
| 122 | \Gm@layouthoffset=\dimen150 | ||
| 123 | \Gm@layoutvoffset=\dimen151 | ||
| 124 | \Gm@dimlist=\toks29 | ||
| 125 | ) | ||
| 126 | \c@exercise=\count190 | ||
| 105 | (/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def | 127 | (/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def |
| 106 | File: l3backend-pdfmode.def 2020-06-03 L3 backend support: PDF mode | 128 | File: l3backend-pdfmode.def 2020-06-03 L3 backend support: PDF mode |
| 107 | \l__kernel_color_stack_int=\count188 | 129 | \l__kernel_color_stack_int=\count191 |
| 108 | \l__pdf_internal_box=\box47 | 130 | \l__pdf_internal_box=\box47 |
| 109 | ) (./preplogic-exercises.aux) | 131 | ) (./preplogic-exercises.aux) |
| 110 | \openout1 = `preplogic-exercises.aux'. | 132 | \openout1 = `preplogic-exercises.aux'. |
| 111 | 133 | ||
| 112 | LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12. | 134 | LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 13. |
| 113 | LaTeX Font Info: ... okay on input line 12. | 135 | LaTeX Font Info: ... okay on input line 13. |
| 114 | LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12. | 136 | LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 13. |
| 115 | LaTeX Font Info: ... okay on input line 12. | 137 | LaTeX Font Info: ... okay on input line 13. |
| 116 | LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12. | 138 | LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 13. |
| 117 | LaTeX Font Info: ... okay on input line 12. | 139 | LaTeX Font Info: ... okay on input line 13. |
| 118 | LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12. | 140 | LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 13. |
| 119 | LaTeX Font Info: ... okay on input line 12. | 141 | LaTeX Font Info: ... okay on input line 13. |
| 120 | LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 12. | 142 | LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 13. |
| 121 | LaTeX Font Info: ... okay on input line 12. | 143 | LaTeX Font Info: ... okay on input line 13. |
| 122 | LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12. | 144 | LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 13. |
| 123 | LaTeX Font Info: ... okay on input line 12. | 145 | LaTeX Font Info: ... okay on input line 13. |
| 124 | LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12. | 146 | LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 13. |
| 125 | LaTeX Font Info: ... okay on input line 12. | 147 | LaTeX Font Info: ... okay on input line 13. |
| 126 | LaTeX Font Info: Trying to load font information for U+msa on input line 13. | 148 | |
| 127 | (/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd | 149 | *geometry* driver: auto-detecting |
| 150 | *geometry* detected driver: pdftex | ||
| 151 | *geometry* verbose mode - [ preamble ] result: | ||
| 152 | * driver: pdftex | ||
| 153 | * paper: a4paper | ||
| 154 | * layout: <same size as paper> | ||
| 155 | * layoutoffset:(h,v)=(0.0pt,0.0pt) | ||
| 156 | * modes: | ||
| 157 | * h-part:(L,W,R)=(89.62709pt, 418.25368pt, 89.6271pt) | ||
| 158 | * v-part:(T,H,B)=(56.9055pt, 686.7347pt, 101.40665pt) | ||
| 159 | * \paperwidth=597.50787pt | ||
| 160 | * \paperheight=845.04684pt | ||
| 161 | * \textwidth=418.25368pt | ||
| 162 | * \textheight=686.7347pt | ||
| 163 | * \oddsidemargin=17.3571pt | ||
| 164 | * \evensidemargin=17.3571pt | ||
| 165 | * \topmargin=-52.36449pt | ||
| 166 | * \headheight=12.0pt | ||
| 167 | * \headsep=25.0pt | ||
| 168 | * \topskip=10.0pt | ||
| 169 | * \footskip=30.0pt | ||
| 170 | * \marginparwidth=57.0pt | ||
| 171 | * \marginparsep=11.0pt | ||
| 172 | * \columnsep=10.0pt | ||
| 173 | * \skip\footins=9.0pt plus 4.0pt minus 2.0pt | ||
| 174 | * \hoffset=0.0pt | ||
| 175 | * \voffset=0.0pt | ||
| 176 | * \mag=1000 | ||
| 177 | * \@twocolumnfalse | ||
| 178 | * \@twosidefalse | ||
| 179 | * \@mparswitchfalse | ||
| 180 | * \@reversemarginfalse | ||
| 181 | * (1in=72.27pt=25.4mm, 1cm=28.453pt) | ||
| 182 | |||
| 183 | LaTeX Font Info: Trying to load font information for U+msa on input line 14. | ||
| 184 | (/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd | ||
| 128 | File: umsa.fd 2013/01/14 v3.01 AMS symbols A | 185 | File: umsa.fd 2013/01/14 v3.01 AMS symbols A |
| 129 | ) | 186 | ) |
| 130 | LaTeX Font Info: Trying to load font information for U+msb on input line 13. | 187 | LaTeX Font Info: Trying to load font information for U+msb on input line 14. |
| 131 | (/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd | 188 | (/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd |
| 132 | File: umsb.fd 2013/01/14 v3.01 AMS symbols B | 189 | File: umsb.fd 2013/01/14 v3.01 AMS symbols B |
| 133 | ) [1 | 190 | ) [1 |
| 134 | 191 | ||
| 135 | {/usr/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map}] [2] (./preplogic-exercises.aux) ) | 192 | {/usr/share/texmf-dist/fonts/map/pdftex/updmap/pdftex.map}] [2] (./preplogic-exercises.aux) ) |
| 136 | Here is how much of TeX's memory you used: | 193 | Here is how much of TeX's memory you used: |
| 137 | 1629 strings out of 480478 | 194 | 2168 strings out of 480478 |
| 138 | 20291 string characters out of 5905927 | 195 | 27947 string characters out of 5905927 |
| 139 | 258779 words of memory out of 5000000 | 196 | 275547 words of memory out of 5000000 |
| 140 | 17679 multiletter control sequences out of 15000+600000 | 197 | 18202 multiletter control sequences out of 15000+600000 |
| 141 | 540575 words of font info for 56 fonts, out of 8000000 for 9000 | 198 | 540744 words of font info for 57 fonts, out of 8000000 for 9000 |
| 142 | 1141 hyphenation exceptions out of 8191 | 199 | 1141 hyphenation exceptions out of 8191 |
| 143 | 30i,13n,31p,234b,251s stack positions out of 5000i,500n,10000p,200000b,80000s | 200 | 30i,16n,31p,234b,270s stack positions out of 5000i,500n,10000p,200000b,80000s |
| 144 | {/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc}</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb></usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb> | 201 | {/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-ts1.enc}</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb></usr/share/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb> |
| 145 | Output written on preplogic-exercises.pdf (2 pages, 125146 bytes). | 202 | Output written on preplogic-exercises.pdf (2 pages, 146771 bytes). |
| 146 | PDF statistics: | 203 | PDF statistics: |
| 147 | 60 PDF objects out of 1000 (max. 8388607) | 204 | 72 PDF objects out of 1000 (max. 8388607) |
| 148 | 43 compressed objects within 1 object stream | 205 | 52 compressed objects within 1 object stream |
| 149 | 0 named destinations out of 1000 (max. 500000) | 206 | 0 named destinations out of 1000 (max. 500000) |
| 150 | 1 words of extra memory for PDF output out of 10000 (max. 10000000) | 207 | 1 words of extra memory for PDF output out of 10000 (max. 10000000) |
| 151 | 208 | ||
diff --git a/exercises/preplogic-exercises.pdf b/exercises/preplogic-exercises.pdf index 7db8e9f..09381d6 100644 --- a/exercises/preplogic-exercises.pdf +++ b/exercises/preplogic-exercises.pdf | |||
| Binary files differ | |||
diff --git a/exercises/preplogic-exercises.synctex.gz b/exercises/preplogic-exercises.synctex.gz index 1a25b1d..7531587 100644 --- a/exercises/preplogic-exercises.synctex.gz +++ b/exercises/preplogic-exercises.synctex.gz | |||
| Binary files differ | |||
diff --git a/exercises/preplogic-exercises.tex b/exercises/preplogic-exercises.tex index cd37db7..1bf37b0 100644 --- a/exercises/preplogic-exercises.tex +++ b/exercises/preplogic-exercises.tex | |||
| @@ -3,11 +3,12 @@ | |||
| 3 | \usepackage{amsmath} | 3 | \usepackage{amsmath} |
| 4 | \usepackage{amsthm} | 4 | \usepackage{amsthm} |
| 5 | \usepackage{amssymb} | 5 | \usepackage{amssymb} |
| 6 | \usepackage[top=2cm]{geometry} | ||
| 6 | 7 | ||
| 7 | \theoremstyle{definition} \newtheorem{exercise}{Exercise}[section] | 8 | \theoremstyle{definition} \newtheorem{exercise}{Exercise}[section] |
| 8 | 9 | ||
| 9 | \author{Sebastiano Tronto (uni.lu)} | 10 | \author{Sebastiano Tronto (\texttt{sebastiano.tronto@uni.lu})} |
| 10 | \title{Elementary logic exercises (Prep Camp 2020)} | 11 | \title{Elementary Logic exercises (Prep Camp 2020)} |
| 11 | 12 | ||
| 12 | \begin{document} | 13 | \begin{document} |
| 13 | \maketitle | 14 | \maketitle |
| @@ -15,7 +16,7 @@ | |||
| 15 | \section{Logical operations} | 16 | \section{Logical operations} |
| 16 | 17 | ||
| 17 | \begin{exercise} | 18 | \begin{exercise} |
| 18 | Determine if the following statement are \textbf{true} or \textbf{false}: | 19 | Determine if the following statements are \textbf{true} or \textbf{false}: |
| 19 | \begin{enumerate} | 20 | \begin{enumerate} |
| 20 | \item ``Today is Tuesday or Germany has more inhabitants than Luxembourg'' | 21 | \item ``Today is Tuesday or Germany has more inhabitants than Luxembourg'' |
| 21 | \item ``$7$ is odd and $2+2=5$'' | 22 | \item ``$7$ is odd and $2+2=5$'' |
| @@ -84,21 +85,35 @@ here}'' ? | |||
| 84 | \section{Quantifiers} | 85 | \section{Quantifiers} |
| 85 | 86 | ||
| 86 | \begin{exercise} | 87 | \begin{exercise} |
| 88 | Write the negation of the following statements: | ||
| 89 | \begin{enumerate} | ||
| 90 | \item $\exists x\in \mathbb N,\, x^2-2=0$ | ||
| 91 | \item ``Every prime number is odd'' | ||
| 92 | \item ``Every person I have met likes pizza'' | ||
| 93 | \item ``There is at least one number greater than $7$'' | ||
| 94 | \item $\forall x\in \mathbb N,\,x\geq 0$ | ||
| 95 | \item $\forall x\in \mathbb Z,\,(\exists y\in\mathbb Z,\,x+y=0)$ | ||
| 96 | \end{enumerate} | ||
| 97 | \end{exercise} | ||
| 98 | |||
| 99 | \begin{exercise} | ||
| 87 | There is another quantifier that we did not cover in the lecture, namely | 100 | There is another quantifier that we did not cover in the lecture, namely |
| 88 | $\exists!$ (read ``there exists exactly one''). For example, the sentence | 101 | $\exists!$ (read ``there exists exactly one''). For example, the sentence |
| 89 | ``\emph{there exists exactly one natural number x such that x+2=5}'' can be | 102 | ``\emph{there exists exactly one natural number x such that x+2=5}'' can be |
| 90 | written in symbols as ``$\exists!x\in \mathbb N,\,x+2=5$. | 103 | written in symbols as ``$\exists!x\in \mathbb N,\,x+2=5$''. |
| 104 | |||
| 91 | In this exercise, your task is to give a formal definition of this quantifier | 105 | In this exercise, your task is to give a formal definition of this quantifier |
| 92 | using the logical symbols that we have defined in class. In particular, you | 106 | using the logical symbols that we have defined in class. In particular, you |
| 93 | will need the following: | 107 | will need the following: |
| 94 | \begin{itemize} | 108 | \begin{itemize} |
| 95 | \item the universal ($\forall$) and existential ($\exists$) quantifier | 109 | \item the universal ($\forall$) and existential ($\exists$) quantifiers |
| 96 | \item the conjunction $\land$ | 110 | \item the conjunction $\land$ |
| 97 | \item the implication $\implies$ | 111 | \item the implication $\implies$ |
| 98 | \end{itemize} | 112 | \end{itemize} |
| 99 | Moreover, you will need the equality symbol $=$ between two elements of a set | 113 | Moreover, you will need the equality symbol $=$ between two elements of a set |
| 100 | (if $a$ and $b$ are two elements of the same set, ``$a=b$'' is a mathematical | 114 | (if $a$ and $b$ are two elements of the same set, ``$a=b$'' is a mathematical |
| 101 | statement and it is \textbf{true} if and only if they are the same element). | 115 | statement and it is \textbf{true} if and only if $a$ and $b$ are the same |
| 116 | element). | ||
| 102 | 117 | ||
| 103 | \emph{Warning: your definition must depend on a set $S$ and on a ``variable | 118 | \emph{Warning: your definition must depend on a set $S$ and on a ``variable |
| 104 | statement'' $A(x)$, as the existential and universal quantifiers.} | 119 | statement'' $A(x)$, as the existential and universal quantifiers.} |
| @@ -107,6 +122,27 @@ here}'' ? | |||
| 107 | \section{Proofs} | 122 | \section{Proofs} |
| 108 | 123 | ||
| 109 | \begin{exercise} | 124 | \begin{exercise} |
| 125 | Prove by induction that | ||
| 126 | \begin{align*} | ||
| 127 | \forall n\in\mathbb N,\quad \sum_{k=1}^n(2k-1)=n^2 | ||
| 128 | \end{align*} | ||
| 129 | (here $\sum_{k=1}^n(2k-1)$ means $1+3+5+\cdots+ (2n-1)$). | ||
| 130 | \end{exercise} | ||
| 131 | |||
| 132 | \begin{exercise} | ||
| 133 | If $n\in \mathbb N$ the \emph{factorial} of $n$, denoted by $n!$ is defined | ||
| 134 | as follows: | ||
| 135 | \begin{align*} | ||
| 136 | n!=\begin{cases} | ||
| 137 | 1&\text{if } n=0,\\ | ||
| 138 | n\times (n-1)! & \text{if } n> 0. | ||
| 139 | \end{cases} | ||
| 140 | \end{align*} | ||
| 141 | Prove by induction that if $n\geq 4$ then $n!\geq 2^n$. | ||
| 142 | \end{exercise} | ||
| 143 | |||
| 144 | |||
| 145 | \begin{exercise} | ||
| 110 | Is the following statement true or false? Give a proof of your answer. | 146 | Is the following statement true or false? Give a proof of your answer. |
| 111 | \begin{align*} | 147 | \begin{align*} |
| 112 | \forall n\in \mathbb N,\, n^2 -4n +5>n | 148 | \forall n\in \mathbb N,\, n^2 -4n +5>n |
