{"id":23240,"date":"2023-03-20T09:52:01","date_gmt":"2023-03-20T09:52:01","guid":{"rendered":"https:\/\/www.booksofall.com\/?post_type=product&#038;p=23240"},"modified":"2023-03-20T09:58:57","modified_gmt":"2023-03-20T09:58:57","slug":"isomorphism-mathematics-of-programming","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/","title":{"rendered":"Isomorphism \u2013 Mathematics of Programming"},"content":{"rendered":"<p><b>Preface\u00a0<\/b><\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Martin_Gardner\">Martin Gardner<\/a> gives an interesting story in his popular book\u00a0<i>aha! Insight<\/i>. In a country fair, there was a game called \u201cFifteen\u201d on the carnival midway. Mr. Carny, the carnival operator explained to people the rules: \u201cWe just take turns putting down coins on a line of numbers from 1 to 9. It doesn\u2019t matter who goes first. You put on nickles, I put on silver dollars. Whoever is the first to cover three different numbers that add to 15 gets all money on the table.\u201d<\/p>\n<p id=\"eBjMJth\"><img loading=\"lazy\" decoding=\"async\" width=\"295\" height=\"36\" class=\"alignnone size-full wp-image-23246 \" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_641829086b67c.png\" alt=\"\" \/><\/p>\n<p>A lady joined this game. She went first by putting a nickle on 7. Because 7 was covered, it couldn\u2019t covered again by either player. And it\u2019s the same for other numbers. Mr. Carny then put a dollar on 8.<\/p>\n<p id=\"dbnUndp\"><img loading=\"lazy\" decoding=\"async\" width=\"355\" height=\"53\" class=\"alignnone size-full wp-image-23247 \" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_64182910bf3c2.png\" alt=\"\" \/><\/p>\n<p>The lady next put a nickle on 2, so that one more nickle on 6 would make 15 and win the game for her. But the man blocked her with a dollar on 6. Now he could win by covering 1 on his next turn.<\/p>\n<p id=\"GssBHHb\"><img loading=\"lazy\" decoding=\"async\" width=\"428\" height=\"51\" class=\"alignnone size-full wp-image-23252 \" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_6418296fe63bb.png\" alt=\"\" \/><\/p>\n<p>Seeing this threat, the lady put a nickle on 1 to block his win.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"463\" height=\"53\" class=\"alignnone size-full wp-image-23248 \" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_6418291aac154.png\" alt=\"\" \/><\/p>\n<p>The carnival man then put a dollar on 4. He would win by covering 5 next. The lady had to block him again. She put a nickle on 5.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"57\" class=\"alignnone size-full wp-image-23249 \" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_6418292179566.png\" alt=\"\" \/><\/p>\n<p>But the carnival man placed a dollar on 3. He won because 3 + 4 + 8 = 15. The poor lady lost all nickles.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"571\" height=\"55\" class=\"alignnone size-full wp-image-23250 \" style=\"font-size: 1rem;\" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_64182929f19e9.png\" alt=\"\" \/><\/p>\n<p>Many people joined to play the game. The town\u2019s Mayor was fascinated by the game, too. After watching it for a long time, he decided that the carnival man had a secret that made him never to lose the game except he wanted to. The Mayor was awake all night trying to figure out the answer.<\/p>\n<p>The key to the secret can be traced back to 650BC. There was a legend about\u00a0<i>Lo Shu\u00a0<\/i>in ancient China around the time of huge flood. A turtle emerged from the river with a curious pattern on its shell: a 3\u00a0<i>\u00d7\u00a0<\/i>3 grid in which circular dots of numbers were arranged.<\/p>\n<p id=\"ulDDCYH\"><img loading=\"lazy\" decoding=\"async\" width=\"507\" height=\"197\" class=\"alignnone size-full wp-image-23251 \" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_6418293d9cf54.png\" alt=\"\" \/><\/p>\n<p>This is known as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Luoshu_Square\">Lo Shu Square<\/a>, a magic square of order 3. The sum of the numbers in each row, column and diagonal is the same: 15. For example, the sum of the first row 4 + 9 + 2 = 15; and the sum of the third column 2 + 7 + 6 = 15; the sum of the diagonal from left up to right bottom 4 + 5 + 6 = 15. The insight to the carnival fifteen game is exactly the magic square. All three numbers sum to 15, form the rows, columns, and diagonals in that square. If the carnival man hold a secret Lo Shu map, he is essentially playing the tick-tack-toe game with other people.<\/p>\n<p id=\"YFSZZja\"><img loading=\"lazy\" decoding=\"async\" width=\"459\" height=\"135\" class=\"alignnone size-full wp-image-23253 \" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_6418297d29cf4.png\" alt=\"\" \/><\/p>\n<p>The game between the lady and Mr. Carny is equivalent to such a <a href=\"https:\/\/toytheater.com\/tic-tac-toe\/\">tick-tack-toe game<\/a>. The man trapped the lady in step three. He could line up both a column and a diagonal. If the lady puts on 3, then the man could win the game by playing on 5. If you know a bit about game theory or programming, one will never lose the tick-tack-toe game if plays carefully. The carnival man with the secret Lo Shu square map does have the advantage over other people. As the fifteen game proceeds, the carnival operator mentally plays a corresponding tick-tack-toe game on his secret map. This makes it easy for the operator to set up traps of winning position.<\/p>\n<p>This interesting story reflects an important mathematical idea, <a href=\"https:\/\/www.britannica.com\/science\/isomorphism-mathematics\">isomorphism<\/a>. A difficult problem can be transformed to an isomorphic one, which is mathematical equivalent and easy to solve. A line of 9 numbers corresponds to a 3 x 3 grids; the sum target of fifteen corresponds to one of the rows, columns, and diagonals; Lo Shu pattern corresponds to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Magic_square\">magic square<\/a> of order 3. This is what this book intents to tell: programming is isomorphic to mathematics. Just like in art and music, there are interesting stories and mathematicians behind the great minds.<\/p>\n<p>There is another further idea in this story: under the surface of the problem hides the theoretical essence, which is abstract and need to understand. With the rapid development of artificial intelligence and machine learning, can we keep moving forward with a little cleverness and engineering practice? Are we going to open the mysterious black box to find the map to the future?<\/p>\n<p id=\"hYpXbTW\"><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"436\" class=\"alignnone size-full wp-image-23255 \" src=\"https:\/\/www.booksofall.com\/wp-content\/uploads\/2023\/03\/img_641829b49484a.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 750px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/isomorphism-mathematics-of-programming-1amjrqb5bf?p=1\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":23244,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Isomorphism describes the structural similarity between two objects, even if they appear different on the surface. Learn more in this book."},"product_brand":[],"product_cat":[373],"product_tag":[],"class_list":{"0":"post-23240","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-mathematics-for-computer-science","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Isomorphism \u2013 Mathematics of Programming - BooksOfAll Portuguese<\/title>\n<meta name=\"description\" content=\"Isomorphism describes the structural similarity between two objects, even if they appear different on the surface. Learn more in this book.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Isomorphism \u2013 Mathematics of Programming - BooksOfAll Portuguese\" \/>\n<meta property=\"og:description\" content=\"Isomorphism describes the structural similarity between two objects, even if they appear different on the surface. Learn more in this book.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Portuguese\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-20T09:58:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg\" \/><meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"827\" \/>\n\t<meta property=\"og:image:height\" content=\"1169\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/\",\"url\":\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/\",\"name\":\"Isomorphism \u2013 Mathematics of Programming - BooksOfAll Portuguese\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg\",\"datePublished\":\"2023-03-20T09:52:01+00:00\",\"dateModified\":\"2023-03-20T09:58:57+00:00\",\"description\":\"Isomorphism describes the structural similarity between two objects, even if they appear different on the surface. Learn more in this book.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg\",\"width\":\"827\",\"height\":\"1169\",\"caption\":\"Isomorphism \u2013 Mathematics of Programming\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/pt\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/pt\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Isomorphism \u2013 Mathematics of Programming\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/#website\",\"url\":\"https:\/\/www.booksofall.com\/pt\/\",\"name\":\"BooksOfAll Portuguese\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/pt\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/#organization\",\"name\":\"BooksOfAll Portuguese\",\"url\":\"https:\/\/www.booksofall.com\/pt\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Portuguese\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Isomorphism \u2013 Mathematics of Programming - BooksOfAll Portuguese","description":"Isomorphism describes the structural similarity between two objects, even if they appear different on the surface. Learn more in this book.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/","og_locale":"pt_PT","og_type":"article","og_title":"Isomorphism \u2013 Mathematics of Programming - BooksOfAll Portuguese","og_description":"Isomorphism describes the structural similarity between two objects, even if they appear different on the surface. Learn more in this book.","og_url":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/","og_site_name":"BooksOfAll Portuguese","article_modified_time":"2023-03-20T09:58:57+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg","type":"","width":"","height":""},{"width":827,"height":1169,"url":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg","twitter_misc":{"Tempo estimado de leitura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/","url":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/","name":"Isomorphism \u2013 Mathematics of Programming - BooksOfAll Portuguese","isPartOf":{"@id":"https:\/\/www.booksofall.com\/pt\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg","datePublished":"2023-03-20T09:52:01+00:00","dateModified":"2023-03-20T09:58:57+00:00","description":"Isomorphism describes the structural similarity between two objects, even if they appear different on the surface. Learn more in this book.","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#primaryimage","url":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg","contentUrl":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2023\/03\/Isomorphism-%E2%80%93-Mathematics-of-Programming.jpg","width":"827","height":"1169","caption":"Isomorphism \u2013 Mathematics of Programming"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/pt\/isomorphism-mathematics-of-programming\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/pt\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/pt\/categories\/"},{"@type":"ListItem","position":3,"name":"Isomorphism \u2013 Mathematics of Programming"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/pt\/#website","url":"https:\/\/www.booksofall.com\/pt\/","name":"BooksOfAll Portuguese","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/pt\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/pt\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/pt\/#organization","name":"BooksOfAll Portuguese","url":"https:\/\/www.booksofall.com\/pt\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/www.booksofall.com\/pt\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Portuguese"},"image":{"@id":"https:\/\/www.booksofall.com\/pt\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product\/23240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/media\/23244"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/media?parent=23240"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product_brand?post=23240"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product_cat?post=23240"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product_tag?post=23240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}