<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Can I set a default for assume ?</title>
    <link>http://www.mapleprimes.com/questions/140388-Can-I-Set-A-Default-For-Assume-</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sat, 13 Jun 2026 23:57:42 GMT</lastBuildDate>
    <pubDate>Sat, 13 Jun 2026 23:57:42 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Can I set a default for assume ?</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Can I set a default for assume ?</title>
      <link>http://www.mapleprimes.com/questions/140388-Can-I-Set-A-Default-For-Assume-</link>
    </image>
    <item>
      <title>RealDomain</title>
      <link>http://www.mapleprimes.com/questions/140388-Can-I-Set-A-Default-For-Assume-?ref=Feed:MaplePrimes:Can I set a default for assume ?:Comments#answer140420</link>
      <itunes:summary>&lt;p&gt;There is the &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=RealDomain' target='_new'&gt;?RealDomain&lt;/a&gt; package, which might be useful.&amp;nbsp; However, it doesn't assume variables are positive, just real.&amp;nbsp; And it doesn't work with the assume facility.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;There is the &lt;a href='http://www.maplesoft.com/support/help/search.aspx?term=RealDomain' target='_new'&gt;?RealDomain&lt;/a&gt; package, which might be useful.&amp;nbsp; However, it doesn't assume variables are positive, just real.&amp;nbsp; And it doesn't work with the assume facility.&lt;/p&gt;</description>
      <guid>140420</guid>
      <pubDate>Fri, 16 Nov 2012 10:10:57 Z</pubDate>
      <itunes:author>Joe Riel</itunes:author>
      <author>Joe Riel</author>
    </item>
    <item>
      <title>assuming real or positive</title>
      <link>http://www.mapleprimes.com/questions/140388-Can-I-Set-A-Default-For-Assume-?ref=Feed:MaplePrimes:Can I set a default for assume ?:Comments#answer140422</link>
      <itunes:summary>&lt;p&gt;For this purpose, &lt;strong&gt;assuming&lt;/strong&gt; is most convenient, see &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=assuming,details"&gt;?assuming,details&lt;/a&gt; for examples of &lt;strong&gt;... assuming real&lt;/strong&gt; or &lt;strong&gt;... assuming positive&lt;/strong&gt; constructs. Be aware though that some commands have not been adapted yet to the usage of this syntax.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;For this purpose, &lt;strong&gt;assuming&lt;/strong&gt; is most convenient, see &lt;a href="http://www.maplesoft.com/support/help/search.aspx?term=assuming,details"&gt;?assuming,details&lt;/a&gt; for examples of &lt;strong&gt;... assuming real&lt;/strong&gt; or &lt;strong&gt;... assuming positive&lt;/strong&gt; constructs. Be aware though that some commands have not been adapted yet to the usage of this syntax.&lt;/p&gt;</description>
      <guid>140422</guid>
      <pubDate>Fri, 16 Nov 2012 11:31:24 Z</pubDate>
      <itunes:author>Alejandro Jakubi</itunes:author>
      <author>Alejandro Jakubi</author>
    </item>
    <item>
      <title>maybe a little relief</title>
      <link>http://www.mapleprimes.com/questions/140388-Can-I-Set-A-Default-For-Assume-?ref=Feed:MaplePrimes:Can I set a default for assume ?:Comments#answer140423</link>
      <itunes:summary>&lt;p&gt;Programming it in a loop or sequence might give a little relief.&lt;/p&gt;
&lt;pre&gt;restart:

for var in [x,y,z,p] do assume(var&amp;gt;=0); end do:

assume(w&amp;lt;0);

is( x+y+z+p &amp;gt;= 0 );

                              true

is( (x+y+z+p)*w &amp;lt;= 0 );

                              true
&lt;/pre&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Programming it in a loop or sequence might give a little relief.&lt;/p&gt;
&lt;pre&gt;restart:

for var in [x,y,z,p] do assume(var&amp;gt;=0); end do:

assume(w&amp;lt;0);

is( x+y+z+p &amp;gt;= 0 );

                              true

is( (x+y+z+p)*w &amp;lt;= 0 );

                              true
&lt;/pre&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>140423</guid>
      <pubDate>Fri, 16 Nov 2012 12:04:38 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>The combination will do the trick</title>
      <link>http://www.mapleprimes.com/questions/140388-Can-I-Set-A-Default-For-Assume-?ref=Feed:MaplePrimes:Can I set a default for assume ?:Comments#answer140431</link>
      <itunes:summary>&lt;p&gt;Thanks a lot, to all of you !&lt;/p&gt;
&lt;p&gt;I think I will live very well with a combination of your tricks:&lt;/p&gt;
&lt;p&gt;with(RealDomain) at the beginning of the document to cover most issues and assuming or assume where necessary. The loop is convenient too.&lt;/p&gt;
&lt;p&gt;:-)&lt;/p&gt;
&lt;p&gt;BTW (before someone struggles here), there is an issue, if you combine alias and assume, as assume renames your variables (x becomes x~).&lt;/p&gt;
&lt;p&gt;E.g.&lt;/p&gt;
&lt;p&gt;alias(`x*`=xs)&amp;nbsp;&amp;nbsp; # (x* marked as Atomic Identifier)&lt;/p&gt;
&lt;p&gt;xs+1 is&amp;nbsp;(correctly) shown as x*+1&lt;/p&gt;
&lt;p&gt;assume(xs &amp;gt;=0)&lt;/p&gt;
&lt;p&gt;xs+2 is&amp;nbsp;&amp;nbsp;shown as xs~+2&lt;/p&gt;
&lt;p&gt;interface(showassumed=0)&amp;nbsp;&amp;nbsp; # suppresses ~ for variables with assumptions&lt;/p&gt;
&lt;p&gt;xs+3 is shown as xs+3&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But assuming works fine (but of course just for the statement, where you set it).&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks a lot, to all of you !&lt;/p&gt;
&lt;p&gt;I think I will live very well with a combination of your tricks:&lt;/p&gt;
&lt;p&gt;with(RealDomain) at the beginning of the document to cover most issues and assuming or assume where necessary. The loop is convenient too.&lt;/p&gt;
&lt;p&gt;:-)&lt;/p&gt;
&lt;p&gt;BTW (before someone struggles here), there is an issue, if you combine alias and assume, as assume renames your variables (x becomes x~).&lt;/p&gt;
&lt;p&gt;E.g.&lt;/p&gt;
&lt;p&gt;alias(`x*`=xs)&amp;nbsp;&amp;nbsp; # (x* marked as Atomic Identifier)&lt;/p&gt;
&lt;p&gt;xs+1 is&amp;nbsp;(correctly) shown as x*+1&lt;/p&gt;
&lt;p&gt;assume(xs &amp;gt;=0)&lt;/p&gt;
&lt;p&gt;xs+2 is&amp;nbsp;&amp;nbsp;shown as xs~+2&lt;/p&gt;
&lt;p&gt;interface(showassumed=0)&amp;nbsp;&amp;nbsp; # suppresses ~ for variables with assumptions&lt;/p&gt;
&lt;p&gt;xs+3 is shown as xs+3&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But assuming works fine (but of course just for the statement, where you set it).&lt;/p&gt;</description>
      <guid>140431</guid>
      <pubDate>Fri, 16 Nov 2012 18:32:59 Z</pubDate>
      <itunes:author>awehring</itunes:author>
      <author>awehring</author>
    </item>
  </channel>
</rss>