{"id":98,"date":"2023-08-01T11:12:27","date_gmt":"2023-08-01T09:12:27","guid":{"rendered":"https:\/\/actilud.com\/info\/en\/?p=98"},"modified":"2025-03-29T11:57:26","modified_gmt":"2025-03-29T10:57:26","slug":"sum-instruction","status":"publish","type":"post","link":"https:\/\/actilud.com\/info\/en\/sum-instruction\/","title":{"rendered":"The SUM instruction"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-722 size-full alignleft\" src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/instr_somme.png\" alt=\"\" width=\"100\" height=\"100\" data-src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/instr_somme.png\" \/><span>Performs a sum\u00a0 <\/span><em><span>s<\/span><\/em><span> of the items chosen from two summable series A and B. If there are more than 2 summable series, they will be drawn randomly. The <\/span><em><span>SUM<\/span><\/em><span> instruction allows you to choose the subject heading.<\/span><\/p>\n<p><span>To use it, you therefore need at least two summable series.<\/span><\/p>\n<p><span>To facilitate resolution, Booleans are recommended.<\/span><\/p>\n<h6><span>Summable series: series whose items can be added together because they share the same units. <\/span><br \/>\n<span> Example: <\/span><em><span>quantity of nuts<\/span><\/em><span> and <\/span><em><span>quantity of apples<\/span><\/em><span> , expressed in kg. <\/span><br \/>\n<span> NB: on Actilud <\/span><em><span>all<\/span><\/em><span> summable series are assumed to share the same units.<\/span><\/h6>\n<blockquote>\n<h4><span>Orchard Riddle<\/span><\/h4>\n<p><span>Bertha harvests 40kg of nuts and apples.<\/span><\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-834 aligncenter\" src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13.png\" sizes=\"auto, (min-width: 960px) 75vw, 100vw\" srcset=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13.png 864w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13-300x297.png 300w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13-150x150.png 150w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13-768x761.png 768w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13-484x480.png 484w\" alt=\"\" width=\"864\" height=\"856\" data-src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13.png\" data-srcset=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13.png 864w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13-300x297.png 300w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13-150x150.png 150w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13-768x761.png 768w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme13-484x480.png 484w\" data-sizes=\"(min-width: 960px) 75vw, 100vw\" \/><\/p>\n<p><span>The red lines represent the relationships between the boxes across the grids, materialized by the Booleans.<\/span><\/p>\n<h3><span>False signs<\/span><\/h3>\n<p><span>Those present in the Boolean rows indicate that these positions are not available. If Bertha picks up 10kg of nuts, she cannot get 40kg by adding apples; similarly, if she picks up 5kg of apples, she cannot get 40kg by adding nuts.<\/span><\/p>\n<h1><span>Designer<\/span><\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-836 size-full\" src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme14.png\" sizes=\"auto, (min-width: 960px) 75vw, 100vw\" srcset=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme14.png 309w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme14-300x63.png 300w\" alt=\"\" width=\"309\" height=\"65\" data-src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme14.png\" data-srcset=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme14.png 309w, https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/integramme14-300x63.png 300w\" data-sizes=\"auto, (min-width: 960px) 75vw, 100vw\" \/><\/p>\n<p><span>Randomly selects two summable series. The subject is chosen from the other series &#8211; this is the random choice &#8211; or its heading can be imposed.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-687 alignleft\" src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/isole.png\" alt=\"\" width=\"35\" height=\"35\" data-src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/isole.png\" \/><\/p>\n<p><span>Isolated: If the instruction operates in isolated mode, the designer does not select rows that already contain signs, including Booleans.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-688 alignleft\" src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/maximum.png\" alt=\"\" width=\"35\" height=\"35\" data-src=\"https:\/\/actilud.com\/info\/wp-content\/uploads\/2023\/08\/maximum.png\" \/><\/p>\n<p><span>Maximum number of executions of this instruction.<\/span><\/p>\n<h2><span>Formal proposal generated<\/span><\/h2>\n<blockquote><p><span>a: B + C = s <\/span><br \/>\n<span> Berthe: nuts + apples = 40<\/span><\/p><\/blockquote>\n<h6><span>a: subject item <\/span><br \/>\n<span> B,C: headings of the summable series <\/span><br \/>\n<span> s: value of the sum in units of A and B.<\/span><\/h6>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Performs a sum\u00a0 s of the items chosen from two summable series A and B. If there are more than 2 summable series, they will be drawn randomly. The SUM instruction allows you to choose the subject heading. To use it, you therefore need at least two summable series. To facilitate resolution, Booleans are recommended. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-zebra-puzzles-glossary-of-programming-instructions"],"_links":{"self":[{"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":2,"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":116,"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/posts\/98\/revisions\/116"}],"wp:attachment":[{"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actilud.com\/info\/en\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}