preplogic

Notes for the course "elementary logic"
git clone https://git.tronto.net/preplogic
Download | Log | Files | Refs | README

commit 6b2bf010cc5ba3f57f22769c8e809d029026c26d
parent 502379c0540d55f1ca5341b69f89c68994a22f02
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date:   Thu,  9 Sep 2021 09:09:20 +0200

Solutions hidden

Diffstat:
Dpreplogic-solutions.pdf | 0
Dsolutions/preplogic-solutions.aux | 5-----
Dsolutions/preplogic-solutions.fdb_latexmk | 79-------------------------------------------------------------------------------
Dsolutions/preplogic-solutions.fls | 111-------------------------------------------------------------------------------
Dsolutions/preplogic-solutions.log | 242-------------------------------------------------------------------------------
Dsolutions/preplogic-solutions.pdf | 0
Dsolutions/preplogic-solutions.tex | 306-------------------------------------------------------------------------------
7 files changed, 0 insertions(+), 743 deletions(-)

diff --git a/preplogic-solutions.pdf b/preplogic-solutions.pdf Binary files differ. diff --git a/solutions/preplogic-solutions.aux b/solutions/preplogic-solutions.aux @@ -1,5 +0,0 @@ -\relax -\@writefile{toc}{\contentsline {section}{\numberline {1}Logical operations}{1}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {2}Implication}{2}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {3}Quantifiers}{2}\protected@file@percent } -\@writefile{toc}{\contentsline {section}{\numberline {4}Proofs}{3}\protected@file@percent } diff --git a/solutions/preplogic-solutions.fdb_latexmk b/solutions/preplogic-solutions.fdb_latexmk @@ -1,79 +0,0 @@ -# Fdb version 3 -["pdflatex"] 1599815398 "preplogic-solutions.tex" "preplogic-solutions.pdf" "preplogic-solutions" 1599815399 - "/etc/texmf/web2c/texmf.cnf" 1538037709 475 c0e671620eb5563b2130f56340a5fde8 "" - "/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1511824771 3332 103109f5612ad95229751940c61aada0 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm" 1480098698 1004 54797486969f23fa377b128694d548df "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex8.tfm" 1480098698 988 bdf658c3bfc2d96d3c8b02cfc1c94c20 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm" 1480098698 916 f87d7c45f9c908e672703b83b72241a3 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam5.tfm" 1480098698 924 9904cf1d39e9767e7a3622f2a125a565 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam7.tfm" 1480098698 928 2dc8d444221b7a635bb58038579b861a "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm" 1480098698 908 2921f8a10601f252058503cc6570e581 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm5.tfm" 1480098698 940 75ac932a52f80982a9f8ea75d03a34cf "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm" 1480098698 940 228d6584342e91276bf566bcf9716b83 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm" 1480098701 1328 c834bbb027764024c09d3d2bf908b5f0 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm" 1480098701 1324 c910af8c371558dc20f2d7822f66fe64 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx5.tfm" 1480098701 1332 f817c21a1ba54560425663374f1b651a "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx7.tfm" 1480098701 1336 3125ccb448c1a09074e3aa4a9832f130 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbxti10.tfm" 1480098701 1532 9162035f4e7176612125649e348e2195 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmex10.tfm" 1480098701 992 662f679a0b3d2d53c1b94050fdaa3f50 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm" 1480098701 1524 4414a8315f39513458b80dfc63bff03a "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm" 1480098701 1512 f21f83efb36853c0b70002322c1ab3ad "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm" 1480098701 1520 eccf95517727cb11801f4f1aee3a21b4 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm" 1480098701 1288 655e228510b4c2a1abe905c368440826 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr17.tfm" 1480098701 1292 296a67155bdbfc32aa9c636f21e91433 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr6.tfm" 1480098701 1300 b62933e007d01cfd073f79b963c01526 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr8.tfm" 1480098701 1292 21c1c5bfeaebccffdb478fd231a0997d "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm" 1480098701 1124 6c73e740cf17375f03eec0ee63599741 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm" 1480098701 1116 933a60c408fc0a863a92debe84b2d294 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm" 1480098701 1120 8b7d695260f3cff42e636090a8002094 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmti10.tfm" 1480098701 1480 aa8e34af0eb6a2941b776984cf1dfdc4 "" - "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtt12.tfm" 1480098701 772 9a936b7f5e2ff0557fce0f62822f0bbf "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb" 1480098733 34811 78b52f49e893bcba91bd7581cdc144c0 "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb" 1480098733 32080 340ef9bf63678554ee606688e7b5339d "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbxti10.pfb" 1480098733 36554 b67dc2cfa451409e100b3fcf5f506509 "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb" 1480098733 30251 6afa5cb1d0204815a708a080681d4674 "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb" 1480098733 36299 5f9df58c2139e7edcf37c8fca4bd384d "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb" 1480098733 37912 77d683123f92148345f3fc36a38d9ab1 "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb" 1480098733 36281 c355509802a035cadc5f15869451dcee "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb" 1480098733 35752 024fb6c41858982481f6968b5fc26508 "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb" 1480098733 32722 d7379af29a190c3f453aba36302ff5a9 "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb" 1480098733 32362 179c33bbf43f19adbb3825bb4e36e57a "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr5.pfb" 1480098733 31809 8670ca339bf94e56da1fc21c80635e2a "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb" 1480098733 32762 224316ccc9ad3ca0423a14971cfa7fc1 "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb" 1480098733 32569 5e5ddc8df908dea60932f3c484a54c0d "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb" 1480098733 37944 359e864bd06cde3b1cf57bb20757fb06 "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb" 1480098733 24252 1e4e051947e12dfb50fee0b7f4e26e3a "" - "/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb" 1480098734 34694 ad62b13721ee8eda1dcc8993c8bd7041 "" - "/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty" 1480098815 1458 43ab4710dc82f3edeabecd0d099626b2 "" - "/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty" 1490564930 1251 d170e11a3246c3392bc7f59595af42cb "" - "/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty" 1480098815 6797 90b7f83b0ad46826bc16058b1e3d48df "" - "/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty" 1513722769 12604 3dec726c041422879dc3268237f09026 "" - "/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty" 1480098820 5949 3f3fd50a8cc94c3d4cbf4fc66cd3df1c "" - "/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty" 1480098820 13829 94730e64147574077f8ecfea9bb69af4 "" - "/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd" 1480098820 961 6518c6525a34feb5e8250ffa91731cff "" - "/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd" 1480098820 961 d02606146ba5601b5645f987c92e6193 "" - "/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty" 1480098820 2210 5c54ab129b848a5071554186d0168766 "" - "/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty" 1480098820 4160 c115536cf8d4ff25aa8c1c9bc4ecb79a "" - "/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty" 1504905757 84352 897a476d96a0681047a5b0f91178a3d2 "" - "/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty" 1480098820 4115 318a66090112f3aa3f415aeb6fe8540f "" - "/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty" 1480098820 2431 fe3078ec12fc30287f568596f8e0b948 "" - "/usr/share/texlive/texmf-dist/tex/latex/base/article.cls" 1480098821 19821 310da678527a7dfe2a02c88af38079b7 "" - "/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty" 1480098821 4732 d63eda807ac82cca2ca8488efd31a966 "" - "/usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd" 1480098821 2256 80ce1168fb4ce6a85583a9cf8972c013 "" - "/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu" 1487721667 2004 ac51aeac484f08c01026120d62677eca "" - "/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu" 1487721667 3181 1cb3e9ad01f4a01127b2ffd821bfeec7 "" - "/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo" 1480098821 8292 e897c12e1e886ce77fe26afc5d470886 "" - "/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu" 1487721667 11255 9d97362866549d3d3c994b5f28d1b9b5 "" - "/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def" 1487721667 7784 325a2a09984cb5c4ff230f9867145ad3 "" - "/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty" 1480098829 40502 e003406220954b0716679d7928aedd8a "" - "/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty" 1480098830 2594 d18d5e19aa8239cf867fa670c556d2e9 "" - "/usr/share/texlive/texmf-dist/web2c/texmf.cnf" 1520210507 32485 c64754543d8ac501bea6e75e209ea521 "" - "/usr/share/texmf/web2c/texmf.cnf" 1520210507 32485 c64754543d8ac501bea6e75e209ea521 "" - "/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map" 1556268315 2498019 afad6a2aaa78d153b1d838814ac14e00 "" - "/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1553505671 4131933 9c912dd4c7f439cb8b40127b9b4a2f38 "" - "preplogic-solutions.aux" 1599815399 302 e153e00ba6fc94b387bf570e65d4896b "" - "preplogic-solutions.tex" 1599815398 10143 1d8716ba12a5d7b5d465312f1d005058 "" - (generated) - "preplogic-solutions.pdf" - "preplogic-solutions.aux" - "preplogic-solutions.log" diff --git a/solutions/preplogic-solutions.fls b/solutions/preplogic-solutions.fls @@ -1,111 +0,0 @@ -PWD /home/sebastiano/Dropbox/teaching/preparatory_logic/solutions -INPUT /etc/texmf/web2c/texmf.cnf -INPUT /usr/share/texmf/web2c/texmf.cnf -INPUT /usr/share/texlive/texmf-dist/web2c/texmf.cnf -INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt -INPUT preplogic-solutions.tex -OUTPUT preplogic-solutions.log -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/utf8.def -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/utf8.def -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty -INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty -INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty -INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty -INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty -INPUT /usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifvtex.sty -INPUT /usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty -INPUT /usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty -INPUT preplogic-solutions.aux -INPUT preplogic-solutions.aux -OUTPUT preplogic-solutions.aux -INPUT /usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr17.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr8.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr6.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy8.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy6.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmex10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex8.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam7.tfm -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd -INPUT /usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmtt12.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmr12.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx12.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/cmextra/cmex7.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam7.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msam5.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm7.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/amsfonts/symbols/msbm5.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmti10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbxti10.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx7.tfm -INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmbx5.tfm -OUTPUT preplogic-solutions.pdf -INPUT /var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd -INPUT /usr/share/texlive/texmf-dist/tex/latex/base/omscmr.fd -INPUT preplogic-solutions.aux -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx12.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbxti10.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr5.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmti10.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb -INPUT /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pfb diff --git a/solutions/preplogic-solutions.log b/solutions/preplogic-solutions.log @@ -1,242 +0,0 @@ -This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2021.5.20) 6 SEP 2021 10:28 -entering extended mode - \write18 enabled. - %&-line parsing enabled. -**preplogic-solutions.tex -(./preplogic-solutions.tex -LaTeX2e <2020-02-02> patch level 2 -L3 programming layer <2020-02-14> -(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls -Document Class: article 2019/12/20 v1.4l Standard LaTeX document class -(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo -File: size10.clo 2019/12/20 v1.4l Standard LaTeX file (size option) -) -\c@part=\count167 -\c@section=\count168 -\c@subsection=\count169 -\c@subsubsection=\count170 -\c@paragraph=\count171 -\c@subparagraph=\count172 -\c@figure=\count173 -\c@table=\count174 -\abovecaptionskip=\skip47 -\belowcaptionskip=\skip48 -\bibindent=\dimen134 -) -(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty -Package: inputenc 2018/08/11 v1.3c Input encoding file -\inpenc@prehook=\toks14 -\inpenc@posthook=\toks15 -) -(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty -Package: amsmath 2020/01/20 v2.17e AMS math features -\@mathmargin=\skip49 - -For additional information on amsmath, use the `?' option. -(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty -Package: amstext 2000/06/29 v2.01 AMS text - -(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty -File: amsgen.sty 1999/11/30 v2.0 generic functions -\@emptytoks=\toks16 -\ex@=\dimen135 -)) -(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty -Package: amsbsy 1999/11/29 v1.2d Bold Symbols -\pmbraise@=\dimen136 -) -(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty -Package: amsopn 2016/03/08 v2.02 operator names -) -\inf@bad=\count175 -LaTeX Info: Redefining \frac on input line 227. -\uproot@=\count176 -\leftroot@=\count177 -LaTeX Info: Redefining \overline on input line 389. -\classnum@=\count178 -\DOTSCASE@=\count179 -LaTeX Info: Redefining \ldots on input line 486. -LaTeX Info: Redefining \dots on input line 489. -LaTeX Info: Redefining \cdots on input line 610. -\Mathstrutbox@=\box45 -\strutbox@=\box46 -\big@size=\dimen137 -LaTeX Font Info: Redeclaring font encoding OML on input line 733. -LaTeX Font Info: Redeclaring font encoding OMS on input line 734. -\macc@depth=\count180 -\c@MaxMatrixCols=\count181 -\dotsspace@=\muskip16 -\c@parentequation=\count182 -\dspbrk@lvl=\count183 -\tag@help=\toks17 -\row@=\count184 -\column@=\count185 -\maxfields@=\count186 -\andhelp@=\toks18 -\eqnshift@=\dimen138 -\alignsep@=\dimen139 -\tagshift@=\dimen140 -\tagwidth@=\dimen141 -\totwidth@=\dimen142 -\lineht@=\dimen143 -\@envbody=\toks19 -\multlinegap=\skip50 -\multlinetaggap=\skip51 -\mathdisplay@stack=\toks20 -LaTeX Info: Redefining \[ on input line 2859. -LaTeX Info: Redefining \] on input line 2860. -) -(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty -Package: amsthm 2017/10/31 v2.20.4 -\thm@style=\toks21 -\thm@bodyfont=\toks22 -\thm@headfont=\toks23 -\thm@notefont=\toks24 -\thm@headpunct=\toks25 -\thm@preskip=\skip52 -\thm@postskip=\skip53 -\thm@headsep=\skip54 -\dth@everypar=\toks26 -) -(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty -Package: amssymb 2013/01/14 v3.01 AMS font symbols - -(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty -Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support -\symAMSa=\mathgroup4 -\symAMSb=\mathgroup5 -LaTeX Font Info: Redeclaring math symbol \hbar on input line 98. -LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' -(Font) U/euf/m/n --> U/euf/b/n on input line 106. -)) -(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty -Package: geometry 2020/01/02 v5.9 Page Geometry - -(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty -Package: keyval 2014/10/28 v1.15 key=value parser (DPC) -\KV@toks@=\toks27 -) -(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty -Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead. - -(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty -Package: iftex 2019/11/07 v1.0c TeX engine tests -)) -\Gm@cnth=\count187 -\Gm@cntv=\count188 -\c@Gm@tempcnt=\count189 -\Gm@bindingoffset=\dimen144 -\Gm@wd@mp=\dimen145 -\Gm@odd@mp=\dimen146 -\Gm@even@mp=\dimen147 -\Gm@layoutwidth=\dimen148 -\Gm@layoutheight=\dimen149 -\Gm@layouthoffset=\dimen150 -\Gm@layoutvoffset=\dimen151 -\Gm@dimlist=\toks28 -) -\c@exercise=\count190 - -(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def -File: l3backend-pdfmode.def 2020-02-03 L3 backend support: PDF mode -\l__kernel_color_stack_int=\count191 -\l__pdf_internal_box=\box47 -) -(./preplogic-solutions.aux) -\openout1 = `preplogic-solutions.aux'. - -LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 13. -LaTeX Font Info: ... okay on input line 13. -LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 13. -LaTeX Font Info: ... okay on input line 13. -LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 13. -LaTeX Font Info: ... okay on input line 13. -LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 13. -LaTeX Font Info: ... okay on input line 13. -LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 13. -LaTeX Font Info: ... okay on input line 13. -LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 13. -LaTeX Font Info: ... okay on input line 13. -LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 13. -LaTeX Font Info: ... okay on input line 13. - -*geometry* driver: auto-detecting -*geometry* detected driver: pdftex -*geometry* verbose mode - [ preamble ] result: -* driver: pdftex -* paper: a4paper -* layout: <same size as paper> -* layoutoffset:(h,v)=(0.0pt,0.0pt) -* modes: -* h-part:(L,W,R)=(89.62709pt, 418.25368pt, 89.6271pt) -* v-part:(T,H,B)=(56.9055pt, 686.7347pt, 101.40665pt) -* \paperwidth=597.50787pt -* \paperheight=845.04684pt -* \textwidth=418.25368pt -* \textheight=686.7347pt -* \oddsidemargin=17.3571pt -* \evensidemargin=17.3571pt -* \topmargin=-52.36449pt -* \headheight=12.0pt -* \headsep=25.0pt -* \topskip=10.0pt -* \footskip=30.0pt -* \marginparwidth=57.0pt -* \marginparsep=11.0pt -* \columnsep=10.0pt -* \skip\footins=9.0pt plus 4.0pt minus 2.0pt -* \hoffset=0.0pt -* \voffset=0.0pt -* \mag=1000 -* \@twocolumnfalse -* \@twosidefalse -* \@mparswitchfalse -* \@reversemarginfalse -* (1in=72.27pt=25.4mm, 1cm=28.453pt) - -LaTeX Font Info: Trying to load font information for U+msa on input line 14. - -(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd -File: umsa.fd 2013/01/14 v3.01 AMS symbols A -) -LaTeX Font Info: Trying to load font information for U+msb on input line 14. - - -(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd -File: umsb.fd 2013/01/14 v3.01 AMS symbols B -) [1 - -{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2] [3] [4] (./preplogic-s -olutions.aux) ) -Here is how much of TeX's memory you used: - 2177 strings out of 481239 - 28310 string characters out of 5920377 - 278136 words of memory out of 5000000 - 17450 multiletter control sequences out of 15000+600000 - 541722 words of font info for 60 fonts, out of 8000000 for 9000 - 1141 hyphenation exceptions out of 8191 - 30i,16n,31p,234b,294s stack positions out of 5000i,500n,10000p,200000b,80000s - </home/sebastiano/.texlive2019/texmf-var/fonts/pk/ljfour/jknapp -en/ec/tcrm1000.600pk></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts -/cm/cmbx10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cm -bx12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmbxti10 -.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmex10.pfb>< -/usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/s -hare/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi5.pfb></usr/share/te -xlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi7.pfb></usr/share/texlive/t -exmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-di -st/fonts/type1/public/amsfonts/cm/cmr12.pfb></usr/share/texlive/texmf-dist/font -s/type1/public/amsfonts/cm/cmr17.pfb></usr/share/texlive/texmf-dist/fonts/type1 -/public/amsfonts/cm/cmr5.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/ -amsfonts/cm/cmr7.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts -/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cm -ti10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.p -fb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/symbols/msbm10.pf -b> -Output written on preplogic-solutions.pdf (4 pages, 167760 bytes). -PDF statistics: - 86 PDF objects out of 1000 (max. 8388607) - 62 compressed objects within 1 object stream - 0 named destinations out of 1000 (max. 500000) - 1 words of extra memory for PDF output out of 10000 (max. 10000000) - diff --git a/solutions/preplogic-solutions.pdf b/solutions/preplogic-solutions.pdf Binary files differ. diff --git a/solutions/preplogic-solutions.tex b/solutions/preplogic-solutions.tex @@ -1,306 +0,0 @@ -\documentclass[a4paper,oneside]{article} -\usepackage[utf8]{inputenc} -\usepackage{amsmath} -\usepackage{amsthm} -\usepackage{amssymb} -\usepackage[top=2cm]{geometry} - -\theoremstyle{definition} \newtheorem{exercise}{Exercise}[section] - -\author{Sebastiano Tronto (\texttt{sebastiano.tronto@uni.lu})} -\title{Elementary Logic exercises (Prep Camp 2020)} - -\begin{document} -\maketitle - -\section{Logical operations} - -\begin{exercise} - Determine if the following statements are \textbf{true} or \textbf{false}: - \begin{enumerate} - \item ``Today is Tuesday or Germany has more inhabitants than Luxembourg'' - \item ``$7$ is odd and $2+2=5$'' - \item Every number of the form $2^{2^n}+1$, for $n=1,2,3...$, is prime. - \end{enumerate} -\end{exercise} -\begin{proof}[Solution] - \begin{enumerate} - \item \textbf{True}: regardless of when you solve this exercise, Germany - has more inhabitants than Luxembourg. - \item \textbf{True} - \item \textbf{False}: the number $2^{2^5}+1=4294967297=641\times 6700417$ - is not prime. - \end{enumerate} -\end{proof} - -\begin{exercise} - What is the negation of the sentence ``\emph{I payed attention in class and I - did not do my homework}'' ? -\end{exercise} -\begin{proof}[Solution] - ``\emph{I did not pay attention in class \textbf{or} I did my homework}'' -\end{proof} - -\begin{exercise} - Simplify the following logical expressions using the properties of logical - operations (where $A,B$ and $C$ are statements): - \begin{enumerate} - \item $A\land(A\lor B)$ - \item $A\lor (B\land A)$ - \item $(A\lor B) \land \neg A$ - \item $A \lor (\neg A\land B)$ - \item $(\neg (A\lor \neg B))\land ((A\lor C) \land \neg C)$ - \end{enumerate} -\end{exercise} -\begin{proof}[Solution] - They are equivalent to the following (you can check with truth tables): - \begin{enumerate} - \item $A$ - \item $A$ - \item $B\land \neg A$ - \item $A\lor B$ - \item Let's do this one in more steps: - \begin{align*} - (\neg (A\lor \neg B))\land ((A\lor C) \land \neg C)= - &(\neg A\land B)\land ((A\lor C)\land \neg C)=\\ - =&(\neg A\land B)\land ((A\land \neg C)\lor (C\land \neg C))=\\ - =&(\neg A\land B)\land ((A\land \neg C)\lor \textbf{false})=\\ - =&(\neg A\land B)\land (A\land \neg C)=\\ - =&A\land \neg A\land B\land \neg C=\\ - =&\textbf{false} - \end{align*} - \end{enumerate} -\end{proof} - -\section{Implication} - -\begin{exercise} - Fill in the following truth table: - \begin{align*} - \begin{array}{|c|c|c|c|c|} - \hline - A & B & C & \neg(A\implies B) & (A\implies B) \implies C \\ - \hline - 0 & 0 & 0 & 0 & 0 \\ - \hline - 0 & 0 & 1 & 0 & 1 \\ - \hline - 0 & 1 & 0 & 0 & 0 \\ - \hline - 0 & 1 & 1 & 0 & 1 \\ - \hline - 1 & 0 & 0 & 1 & 1 \\ - \hline - 1 & 0 & 1 & 1 & 1 \\ - \hline - 1 & 1 & 0 & 0 & 0 \\ - \hline - 1 & 1 & 1 & 0 & 1 \\ - \hline - \end{array} - \end{align*} -\end{exercise} - -\begin{exercise}[Transitivity] - Prove that the following statement is true for any statements $A,B$ and $C$: - \begin{align*} - ((A\implies B)\land (B\implies C))\implies (A\implies C) - \end{align*} -\end{exercise} -\begin{proof}[Solution] - Let's rewrite the first part in terms of basic logical operations: - \begin{align*} - (A\implies B)\land (B\implies C)=&(B\lor \neg A)\land(C\lor \neg B) - \end{align*} - now we can write a truth table for the two parts - \begin{align*} - \begin{array}{|c|c|c|c|c|} - \hline - A & B & C & (B\lor\neg A)\land(C\lor\neg B) & A\implies C \\ - \hline - 0 & 0 & 0 & 1 & 1 \\ - \hline - 0 & 0 & 1 & 1 & 1 \\ - \hline - 0 & 1 & 0 & 0 & 1 \\ - \hline - 0 & 1 & 1 & 1 & 1 \\ - \hline - 1 & 0 & 0 & 0 & 0 \\ - \hline - 1 & 0 & 1 & 0 & 1 \\ - \hline - 1 & 1 & 0 & 0 & 0 \\ - \hline - 1 & 1 & 1 & 1 & 1 \\ - \hline - \end{array} - \end{align*} - With the help of the truth table we see that whenever the first part - ``$(\neg (A\lor \neg B))\land ((A\lor C) \land \neg C)$'' is true, also the - implication ``$A\implies C$'' is true. This shows that the ``big - implication'' is true. (If you are not convinced, you can add more details to - this proof, for example by writing more truth tables.) -\end{proof} - -\begin{exercise} -What is the contrapositive of ``\emph{If this table is not reserved, we sit -here}'' ? -\end{exercise} -\begin{proof}[Solution] - ``\emph{If we do not sit here, this table is reserved}''. One could also say - this in another way, for example ``\emph{We do not sit here because this - table is reserved}''. -\end{proof} - -\section{Quantifiers} - -\begin{exercise} - Write the negation of the following statements: - \begin{enumerate} - \item $\exists x\in \mathbb N,\, x^2-2=0$ - \item ``Every prime number is odd'' - \item ``Every person I have met likes pizza'' - \item ``There is at least one number greater than $7$'' - \item $\forall x\in \mathbb N,\,x\geq 0$ - \item $\forall x\in \mathbb Z,\,(\exists y\in\mathbb Z,\,x+y=0)$ - \end{enumerate} -\end{exercise} -\begin{proof}[Solution] - \begin{enumerate} - \item $\forall x\in\mathbb N,\, x^2-2\neq 0$ - \item ``There is at least one prime number which is even'' - \item ``I have met at least one person that does not like pizza'' - \item ``Every number is less or equal than $7$'' - \item $\exists x\in\mathbb N,\, x<0$ - \item $\exists x\in \mathbb Z,\, (\forall y\in \mathbb Z,\, x+y\neq 0)$ - \end{enumerate} -\end{proof} - -\begin{exercise} - There is another quantifier that we did not cover in the lecture, namely - $\exists!$ (read ``there exists exactly one''). For example, the sentence - ``\emph{there exists exactly one natural number x such that x+2=5}'' can be - written in symbols as ``$\exists!x\in \mathbb N,\,x+2=5$''. - - In this exercise, your task is to give a formal definition of this quantifier - using the logical symbols that we have defined in class. In particular, you - will need the following: - \begin{itemize} - \item the universal ($\forall$) and existential ($\exists$) quantifiers - \item the conjunction $\land$ - \item the implication $\implies$ - \end{itemize} - Moreover, you will need the equality symbol $=$ between two elements of a set - (if $a$ and $b$ are two elements of the same set, ``$a=b$'' is a mathematical - statement and it is \textbf{true} if and only if $a$ and $b$ are the same - element). - - \emph{Warning: your definition must depend on a set $S$ and on a ``variable - statement'' $A(x)$, as the existential and universal quantifiers.} -\end{exercise} -\begin{proof}[Solution] - The idea is that we want to write ``\emph{there is $x\in S$ such that $A(x)$ - is true, \textbf{and}, for any other $y\in S$, $A(y)$ is false}. From this - we see that the structure of the statement is - \begin{align*} - \exists x\in S,\,(\text{``something''}\land\text{``something else''}) - \end{align*} - The ``something'' part is just $A(x)$. The ``something else'' part can be - written in different ways, for example - \begin{align*} - \forall y\in S,\,(y\neq x\implies \neg A(y)) \quad \text{or} - \quad \forall y\in S,\,(A(y)\implies y=x) - \end{align*} - (notice that the two implications above are one the contrapositive of the - other); or also - \begin{align*} - \forall y\in S\setminus \{x\},\, \neg A(y) - \end{align*} - So in conclusion, one way to define ``$\exists!$'' is the following: - \begin{align*} - \exists!x\in S,\,A(x)\quad:=\quad\exists x\in S,\,(A(x)\land - (\forall y\in S,\,(A(y)\implies y=x))) - \end{align*} - -\end{proof} - -\section{Proofs} - -\begin{exercise} - Prove by induction that - \begin{align*} - \forall n\in\mathbb N,\quad \sum_{k=1}^n(2k-1)=n^2 - \end{align*} - (here $\sum_{k=1}^n(2k-1)$ means $1+3+5+\cdots+ (2n-1)$). -\end{exercise} -\begin{proof}[Solution] - \textbf{Base case:} for $n=0$ the sum is empty, so we have $0=0$ which is - true. (If you do not think that the formula makes sense for $n=0$, you can do - prove it for $n\geq 1$ and fo $n=1$ as a base case.) - - \textbf{Inductive step:} we can assume that the formula works for a generic - (but fixed) $n\in\mathbb N$ and prove that then it also works for $n+1$. So: - \begin{align*} - \sum_{k=1}^{n+1}(2k-1)&=\left(\sum_{k=1}^{n}(2k-1)\right)+2(n+1)-1=\\ - &=n^2 +2(n+1)-1=\\ - &=n^2+2n+1=\\ - &=(n+1)^2 - \end{align*} - which is the formula for $n+1$. -\end{proof} - -\begin{exercise} - If $n\in \mathbb N$ the \emph{factorial} of $n$, denoted by $n!$ is defined - as follows: - \begin{align*} - n!=\begin{cases} - 1&\text{if } n=0,\\ - n\times (n-1)! & \text{if } n> 0. - \end{cases} - \end{align*} - Prove by induction that if $n\geq 4$ then $n!\geq 2^n$. -\end{exercise} -\begin{proof}[Solution] - \textbf{Base case:} here the base case is $n=4$, and we have - $4!=24\geq 16=2^4$. - - \textbf{Inductive step:} we can assume that the inequality is true for $n$, - and prove that it is also true for $n+1$. We have: - \begin{align*} - (n+1)!=(n+1)\times n!\geq (n+1)\times 2^n\geq 2^{n+1} - \end{align*} -\end{proof} - -\begin{exercise} - Is the following statement true or false? Give a proof of your answer. - \begin{align*} - \forall n\in \mathbb N,\, n^2 -4n +5>n - \end{align*} -\end{exercise} -\begin{proof}[Solution] - The statement is \textbf{false}. Since it starts with a universal - quantifier, in order to prove that it is false we just need to provide one - example of $n\in \mathbb N$ which makes it false. In other words, we need to - prove that - \begin{align*} - \exists n\in \mathbb N,\, n^2-4n+5\leq n - \end{align*} - and a proof of this fact is very simple: for $n=2$ we have - $2^2-4\times 2+5=1\leq 2$. -\end{proof} - -\begin{exercise} - Do the last point of Exercise 1.1 again, but this time give a proof of your - answer. -\end{exercise} -\begin{proof}[Solution] - Again, since we have to prove that the statement is false, we just need to - show one counterexample. for example, the number - $2^{2^5}+1=4294967297=641\times 6700417$ is not prime. -\end{proof} - - - - -\end{document}