Re: [sympy] AlphaGeometry and future of symbolic computation

2024-08-19 Thread Aaron Meurer
ring still apply even in a world where AI could rewrite an entire framework from scratch. For instance, common code and protocols allow systems to communicate with one another. At the same time, there are a lot of software systems that are very centralized right now because they are effectiv

Re: [sympy] Associativity of operators

2024-08-12 Thread Aaron Meurer
, but not easy tasks). Here are examples of existing token transformers for parse_expr https://github.com/sympy/sympy/blob/master/sympy/parsing/sympy_parser.py. My guide to the Python tokenizer module can also be useful https://www.asmeurer.com/brown-water-python/ Aaron Meurer Aaron Meurer On Mo

Re: [sympy] Associativity of operators

2024-08-12 Thread Aaron Meurer
There's no way to change the Python operator precedence, but you can modify the string parsing in parse_expr() by passing in a transformer for the tokenizer. Aaron Meurer On Mon, Aug 12, 2024 at 12:38 PM Paul Royik wrote: > > Hello. > > I'm trying to parse the ">

Re: [sympy] Replace first occurrence in expression

2024-08-01 Thread Aaron Meurer
is substitution algorithm from scratch by walking the expression tree. I guess a max_replacements keyword argument could be added to subs or replace, although this is the first time I've heard of someone needing it. Aaron Meurer On Thu, Aug 1, 2024 at 11:49 AM Thomas Ligon wrote: > > I want

Re: [sympy] Seeking Assistance with SymPy Simplification for Statistical Equations

2024-07-29 Thread Aaron Meurer
Your expression has four symbols, rate1, rate2, y1, and y2. When you lambdify it you should include all those symbols, meaning you should either also include y1 and y2 as parameters or substitute them for numbers before lambdifying. Aaron Meurer On Mon, Jul 29, 2024 at 9:30 AM Matthew Robinson

Re: [sympy] How sympy runs the benchmarks so fast?

2024-07-25 Thread Aaron Meurer
SymPy that could be benchmarked, so choosing the right things to benchmark is important. Aaron Meurer On Thu, Jul 25, 2024 at 11:40 AM Asish Kumar wrote: > > I was recently checking https://github.com/sympy/sympy_benchmarks and had > some questions: > > 1. Are slow_benchmarks are also r

Re: [sympy] Re: SWE-agent paper uses SymPy

2024-07-24 Thread Aaron Meurer
enough yet that the whole process should be done automatically. All this does is waste maintainer time. Aaron Meurer On Wed, Jul 24, 2024 at 10:43 AM Sangyub Lee wrote: > > I notice a PR created today that is suspected to be generated by LLM (sorry > if it is false accusation) &

Re: [sympy] Re: a "R" in front of the result

2024-07-22 Thread Aaron Meurer
You haven't told solve() what variable to solve for, so it decided to solve for R. If you want to solve for x, pass it as the second argument, like solve(R*a/x**2 + b*w**2*R + I*(R*b*w - R*a/x) - a**2*U*exp(I*(p)), x) Aaron Meurer On Mon, Jul 22, 2024 at 1:57 PM waltermeier_44 wrote: >

Re: [sympy] How sympy runs the benchmarks so fast?

2024-07-15 Thread Aaron Meurer
so, if TARDIS has to be recompiled every time in order to install it into the virtual environment, that could be a factor (SymPy is pure Python, so installation time is not an issue). If this is an issue you might consider caching nightly wheels for recent commits somewhere. Aaron Meurer On Mo

Re: [sympy] Solving systems of polynomials in SymPy

2024-07-03 Thread Aaron Meurer
nline.informs.org/page/ijoc/editorial-statement#Software%20Tools > )? > We don't have any rules about that. The journal might have rules. You'd have to check with them. I expect the main thing is that if a SymPy contributor ends up helping significantly with the implementation they may ask t

Re: [sympy] SymPy 1.13.0rc1 released

2024-07-02 Thread Aaron Meurer
On Tue, Jul 2, 2024 at 5:09 AM Oscar Benjamin wrote: > > On Mon, 1 Jul 2024 at 18:04, Aaron Meurer wrote: > > > > On Mon, Jul 1, 2024 at 4:38 AM Oscar Benjamin > > wrote: > > > > > > I think my preference is: > > > > > > 1. Use py

Re: [sympy] SymPy 1.13.0rc1 released

2024-07-01 Thread Aaron Meurer
thon-flint CI to test > against SymPy 1.13. > > Does anyone have any views on this? I guess the most ideal would be if we could synchronize with the upstream and have them promise that any release with a breaking change would bump, say, the major version number. That we we could pi

Re: [sympy] Re: Manipulation of integrals using set operations on the integration domains

2024-06-11 Thread Aaron Meurer
== 0: return S.Zero return Expr.__new__(cls, m, n, l) Note that you need to manually handle making sure inputs and outputs are SymPy types. I would suggest looking at the source code for Integral.__new__ and ExprWithLimits.__new__. Aaron Meurer On Tue, Jun 11, 2024 at 6:01 AM Michael Gfrerer

Re: [sympy] SymPy 1.13.0rc1 released

2024-06-08 Thread Aaron Meurer
epend on SymPy I would suggest trying 1.13rc1 out and letting us know if it affects you in a serious way. Aaron Meurer On Thu, Jun 6, 2024 at 9:08 AM Oscar Benjamin wrote: > > Hi all, > > I have just pushed SymPy 1.13.0rc1 to PyPI. This is a prerelease that > is being mad

Re: [sympy] Re: Manipulation of integrals using set operations on the integration domains

2024-06-06 Thread Aaron Meurer
e might be better algorithms that can be implemented there anyways. Aaron Meurer On Thu, Jun 6, 2024 at 7:19 AM Sangyub Lee wrote: > I think that there are other problems. > If we generalize the domain of integral to set, it gives incompatible > definition that what we had done befo

Re: [sympy] Re: Manipulation of integrals using set operations on the integration domains

2024-06-05 Thread Aaron Meurer
thing by making a custom subclass of Expr. The question is what sort of operations you'd want the object to support. Aaron Meurer On Wed, Jun 5, 2024 at 12:36 AM Michael Gfrerer wrote: > One more try for the image: > [image: setSimplify.png] > On Wednesday, June 5, 2024 at 12:02:

Re: [sympy] Releasing SymPy 1.13

2024-06-04 Thread Aaron Meurer
elease and remove them in a later release. In my opinion, this shouldn't be considered a backwards compatibility concern. If anything, releasing this will let us get more feedback on the feature. Aaron Meurer > > Some of the others I will punt on for now because the release has been >

Re: [sympy] Unable to solve the following set of equations

2024-05-28 Thread Aaron Meurer
ot is empty i.e. [ ] >> >> Thanks >> Shishir Kushwaha >> >> On Sunday 26 May 2024 at 06:58:37 UTC+5:30 asme...@gmail.com wrote: >>> >>> With x1 = x2 = 0, arc_length_expr is equal to 0, meaning your eq3 is >>> invalid. You can see this if you print eq3. It g

Re: [sympy] Unable to solve the following set of equations

2024-05-25 Thread Aaron Meurer
With x1 = x2 = 0, arc_length_expr is equal to 0, meaning your eq3 is invalid. You can see this if you print eq3. It gets set to False, because it is 0 = 10. Aaron Meurer On Sat, May 25, 2024 at 5:26 PM Shishir Kushwaha wrote: > > In the following piece of code I am unable to get the val

Re: [sympy] Re: Real-Root Isolation

2024-05-21 Thread Aaron Meurer
) once you have your intervals to just refine a single interval, which would at least be a little more efficient. Aaron Meurer On Tue, May 21, 2024 at 4:30 PM Ani J wrote: > > It doesn't look like just taking the minimum length works. > Consider the following program: > >

Re: [sympy] Re: Real-Root Isolation

2024-05-21 Thread Aaron Meurer
ints. IMO, we should just fix the function to not return intersecting endpoints in the first place. The intervals aren't really isolating if they intersect. Aaron Meurer On Tue, May 21, 2024 at 2:58 PM Ani J wrote: > > Yes, this seems like a good option, so keep reducing eps in a wh

Re: [sympy] Re: Real-Root Isolation

2024-05-21 Thread Aaron Meurer
1) [((-29/10, -26/9), 1), ((-1, -1), 1), ((-10/11, -9/10), 1), ((1, 1), 1)] Aaron Meurer On Tue, May 21, 2024 at 2:51 PM Ani J wrote: > > > Oh! I see, but i believe that the intervals overlap on the endpoints, is it > possible to make the intervals completely disjoint?? > For example

Re: [sympy] Re: Real-Root Isolation

2024-05-21 Thread Aaron Meurer
7s_theorem Aaron Meurer On Tue, May 21, 2024 at 9:18 AM Chris Smith wrote: > > I strongly suspect that the roots returned by `Poly.intervals` have only one > root in them (by definition). If you use `refine_root(lo,hi,eps)` to refine > the root bounds to arbitrary width and give i

[sympy] SWE-agent paper uses SymPy

2024-05-18 Thread Aaron Meurer
tell, the issues seem to be biased towards more easy/straightforward ones (i.e., ones that are easy to verify if a fix is correct or not). But still, if LLMs are reaching a point where they can fix bugs completely automatically that could be very useful. Aaron Meurer -- You received this message becau

Re: [sympy] New feature possibility

2024-05-15 Thread Aaron Meurer
n't want SymPy to become a datetime library. There are already excellent libraries for that, and they are a lot of work to write and maintain correctly. Aaron Meurer > > Or is there anything from the units module you would like us to work on? > > > It would be nice to have transfo

Re: [sympy] New feature possibility

2024-05-14 Thread Aaron Meurer
Francesco could probably give a more specific answer, but I imagine you could find some things that need fixing in the units module if you search in the issue tracker. Aaron Meurer On Mon, May 13, 2024 at 8:56 AM 'Henrique Miguel Cortes Soares' via sympy wrote: > > Sorry for t

Re: [sympy] GSoC 2024 Contributors Announced

2024-05-06 Thread Aaron Meurer
Yes, I probably should have shared this initially, but you can see a list of the projects with their summaries at https://summerofcode.withgoogle.com/programs/2024/organizations/sympy Aaron Meurer On Fri, May 3, 2024 at 12:25 PM wrote: > > Dear Aaron, > > I am happy to join in co

Re: [sympy] Continuing with GSOC Proposal without Funding

2024-05-02 Thread Aaron Meurer
tions. Aaron Meurer On Wed, May 1, 2024 at 3:03 PM Sam Lubelsky wrote: > > Hello, > > I unfortunately just found out that my proposal was not accepted for GSOC, > but I am still interested in forging ahead with my project this summer(though > likely with a slightly scope

Re: [sympy] Re: Enhancing the flexibility of MatchPy

2024-05-02 Thread Aaron Meurer
unity members if he is interested in helping out with this project. Aaron Meurer On Wed, May 1, 2024 at 7:58 PM Samith Kavishke wrote: > > Hi, > Eventhough have not been selected, do we still have a chance to continue the > project? Without the stipend. > > On Tuesday, April 2, 2024

[sympy] GSoC 2024 Contributors Announced

2024-05-02 Thread Aaron Meurer
students who applied this year and everyone who submitted a patch. I would also like to thank all the mentors for helping review patches and proposals. This summer is looking to be another very productive one for SymPy, and I look forward to it! Aaron Meurer -- You received this message because

Re: [sympy] New feature possibility

2024-04-25 Thread Aaron Meurer
em" and what's often called that contains many units that measure the same quantities. But the SymPy unit systems define a single unit for each quantity. So we may need to add multiple "systems" to represent the imperial units. Aaron Meurer On Thu, Apr 25, 2024 at 1:56 PM Aaron M

Re: [sympy] New feature possibility

2024-04-25 Thread Aaron Meurer
I believe the imperial system should already be there, but if there's anything missing, we should fix that. Aaron Meurer On Thu, Apr 25, 2024 at 10:06 AM 'Henrique Miguel Cortes Soares' via sympy wrote: > > So, should the imperial system be added? If not, what system

Re: [sympy] New feature possibility

2024-04-23 Thread Aaron Meurer
I would say that new unit systems should be added only if they are generally used and useful. General improvements to the units module are always welcome. Francesco is the main maintainer of the units module, so he would know more details on what needs to be done there. Aaron Meurer On Tue, Apr

Re: [sympy] Seeking Assistance with SymPy Simplification for Statistical Equations

2024-04-23 Thread Aaron Meurer
s of SymPy. For example, there is support for asymptotic expansions (aseries()), although I don't know if Sterling's approximation is implemented. Aaron Meurer On Tue, Apr 23, 2024 at 1:25 PM Matthew Robinson wrote: > > Dear SymPy Developers Group, > > I hope this email fin

Re: [sympy] Re: SymPy integration with LLM (generative AI)

2024-04-13 Thread Aaron Meurer
dumb questions, but I am not the greatest computer expert ☹ > > Peter > > -Original Message- > From: sympy@googlegroups.com On Behalf Of Aaron > Meurer > Sent: Sonntag, 14. April 2024 05:30 > To: sympy@googlegroups.com > Subject: Re: [sympy] Re: SymPy integration

Re: [sympy] Re: SymPy integration with LLM (generative AI)

2024-04-13 Thread Aaron Meurer
a grammar-based parser in parse_latex()) at https://github.com/sympy/sympy/issues/26128. Aaron Meurer On Fri, Apr 12, 2024 at 12:17 AM Samith Kavishke wrote: > > Are there any plans from our side for the LLM that use Sympy? > > On Friday, April 12, 2024 at 2:11:13 AM UTC+5:30 Franc

Re: [sympy] live.sympy.org

2024-04-09 Thread Aaron Meurer
Actually it looks like other people are seeing this as well, and I just saw it myself https://github.com/sympy/live/issues/21. Aaron Meurer On Tue, Apr 9, 2024 at 1:13 PM Aaron Meurer wrote: > > It would mean there's some issue with jupyterlite or pyodide. I > checked and it loa

Re: [sympy] live.sympy.org

2024-04-09 Thread Aaron Meurer
locker try seeing if turning it off fixes it. Aaron Meurer On Tue, Apr 9, 2024 at 9:29 AM Chris Smith wrote: > > Lately, the live.sympy.org page never finishes loading for me. Does anyone > know why this might be? > > /c > > -- > You received this message because you a

Re: [sympy] Inquiry About GSoC Parsing Project

2024-04-08 Thread Aaron Meurer
Did you already submit your proposal? The deadline to submit was last week, and we are unable to extend it. Aaron Meurer On Mon, Apr 1, 2024 at 6:48 AM Aquazod wrote: > > Hello, > My name is Assem Ali and I'm currently working on my proposal for the Parsing > project. > &g

Re: [sympy] Diffgeom needs some major rethinking

2024-04-08 Thread Aaron Meurer
I would open an issue to discuss this, if you haven't already. These sorts of issues relating to what Add class is used to represent sums generally end up being pretty tricky and involve a lot of subtleties. Aaron Meurer On Mon, Apr 8, 2024 at 12:33 PM Davide Pittet wrote: > > I thi

Re: [sympy] Diffgeom needs some major rethinking

2024-04-08 Thread Aaron Meurer
time coding them. If there's any changes you want to make that aren't potentially controversial, like bugfixes, you don't need to open issues for them first. Aaron Meurer On Sun, Apr 7, 2024 at 2:02 PM Davide Pittet wrote: > > Hello everyone, > > following up the discussi

Re: [sympy] Re: GSOC: Benchmark Project Questions

2024-04-01 Thread Aaron Meurer
I've updated the ideas page with a link to an issue that discusses some ways that benchmarks on GitHub Actions could be improved. Aaron Meurer On Mon, Apr 1, 2024 at 2:35 AM Sam Lubelsky wrote: > Yeah, I see no good reason for why the benchmark results show the Master > vs previ

Re: [sympy] Re: GSOC: Benchmark Project Questions

2024-04-01 Thread Aaron Meurer
ns in PRs would be disallowed, the same as test failures in PRs are currently disallowed. Aaron Meurer On Mon, Apr 1, 2024 at 1:13 AM Jason Moore wrote: > > This is my opinion, not sure if it is shared, but I don't think anyone uses > the information that is displayed on the pull

Re: [sympy] GSOC: Benchmark Project Questions

2024-04-01 Thread Aaron Meurer
5) Where are the tests run now? > On the project description it says " the results are run and hosted Ad Hoc", > which I assumes means whatever computer is running all the other PR tests. > Just want to make sure this is correct. For the asv runs that run against every comm

Re: [sympy] Re: Seeking Feedback on Floating Point Expression Optimization Project

2024-03-28 Thread Aaron Meurer
We would generally only accept one proposal for each project, unless the proposals are distinct enough that they can be done independently. Aaron Meurer On Thu, Mar 28, 2024 at 4:43 PM Tommaso Vaccari wrote: > > Thank you Aaron, I'll add it to the proposal, I have a question, more pe

Re: [sympy] Re: allowing Eq as recognized subs argument?

2024-03-28 Thread Aaron Meurer
I think we should try to include something like this in SymPy. I'm a little confused by your screenshot. eq =@ c = d is not valid Python syntax. Are you extending the parser somehow to make it valid? Aaron Meurer On Thu, Mar 28, 2024 at 2:10 PM 'gu...@uwosh.edu' via sympy wrot

Re: [sympy] allowing Eq as recognized subs argument?

2024-03-28 Thread Aaron Meurer
correctly. Aaron Meurer On Wed, Mar 27, 2024 at 5:36 PM Chris Smith wrote: > > In https://github.com/sympy/sympy/pull/26399 there is proposal to allow > `subs` to recognize `Eq` so ` x.subs(x, 1) = x.subs( Eq(x, 1) ) = x.subs( [ > Eq(x, 1) ] ) = 1` but `x.subs(Eq(1, x)) = x`. >

Re: [sympy] Re: Seeking Feedback on Floating Point Expression Optimization Project

2024-03-28 Thread Aaron Meurer
Remember that there is a requirement to make a pull request to SymPy. You should list any pull requests you have made to SymPy in your proposal. Aaron Meurer On Thu, Mar 28, 2024 at 1:43 AM Tommaso Vaccari wrote: > > Hello everyone, > Here's my proposal, I would like to seek

Re: [sympy] Inquiry about the number of contributors SymPy can accept this year

2024-03-26 Thread Aaron Meurer
past years, we've accepted ~5 people each year and I would guess this year will likely be around the same number. You can look at the reports on the wiki to see the actual numbers for each year. Aaron Meurer On Tue, Mar 26, 2024 at 7:13 AM Xianrui “Oliver” Teng wrote: > > Dear mentors,

Re: [sympy] Re: Seeking Feedback on Floating Point Expression Optimization Project

2024-03-18 Thread Aaron Meurer
You can put it on the wiki if you like to get public feedback. If there isn't a page for it, it just means no one has created it yet. Aaron Meurer On Mon, Mar 18, 2024 at 11:13 AM Tommaso Vaccari wrote: > > Ah ok thanks, I was asking because I have seen that in the previous years &g

Re: [sympy] Re: Enhancing the flexibility of MatchPy

2024-03-13 Thread Aaron Meurer
think the core of it does need to remain independent of SymPy's types, especially if we want to try to write a Rust backend. Aaron Meurer On Tue, Mar 12, 2024 at 6:29 PM Samith Kavishke wrote: > > Hi, > If we are maintianing matchpy as our own repository, Is it okay for us to >

Re: [sympy] In memory of Kalevi Suominen

2024-03-11 Thread Aaron Meurer
ife.) It was also of importance to me that functions > would look familiar, sin(x), not Sin[x]. Instead of simply using > SymPy I finally found myself wanting to improve the library, > but that is another story. Aaron Meurer On Sun, Mar 10, 2024 at 10:31 AM Oscar Benjamin wrote: >

Re: [sympy] Addin sympy to SPEC 0?

2024-03-10 Thread Aaron Meurer
degree different packages support older versions. Aaron Meurer > > SymPy itself broadly tries to have wide version support for other > packages like numpy just because without listing them as hard > dependencies there is no way to indicate which versions sympy is > compatible

Re: [sympy] GSOC Application: Creating a Wolfram Mathematica Interpreter with Sympy

2024-03-05 Thread Aaron Meurer
Mathics has a license that makes it incompatible with sympy. But regardless, I think we should find a way to make RUBI work without having to build a full Wolfram language interpreter. Aaron Meurer On Sat, Mar 2, 2024 at 10:10 AM Samith Kavishke wrote: > > Is that means this project

Re: [sympy] Re: Need GSoC mentors and help updating ideas page

2024-03-04 Thread Aaron Meurer
Yes, that idea is new this year. Aaron Meurer On Sun, Mar 3, 2024 at 2:08 AM Samith Kavishke wrote: > > If that so, what are the ideas that we can really contribute? I hope > "Enhancing the flexibility of MatchPy" is still needed. > > On Sunday, March 3, 2024 at

Re: [sympy] Re: Need GSoC mentors and help updating ideas page

2024-03-03 Thread Aaron Meurer
I've Cced Francesco Bonazzi about the Wolfram Interpreter idea. It relates to the RUBI project, but I don't know whether it is something that is still needed for it. Personally I would prefer to avoid creating a Wolfram Language interpreter if possible. Aaron Meurer On Sat, Mar 2,

Re: [sympy] Re: How to avoid distributing a constant factor after differentiation?

2024-02-28 Thread Aaron Meurer
the test twice, once with distribute(False) and once with distribute(True) (because the current behavior also has to continue to work and be tested). This is how the _both_exp_pow decorator works https://github.com/sympy/sympy/blob/ab2fb691a90457b65bbf2a7c091c8265be9cee09/sympy/testing/pytest.py#L

Re: [sympy] Re: How to avoid distributing a constant factor after differentiation?

2024-02-26 Thread Aaron Meurer
esult would be more tricky > than one might expect. I might not be following exactly what you are saying here, but wouldn't something like assert f() == 2*(x + y) work regardless of whether distribution is enabled or not? It will either happen to both sides of the equation or to neither

Re: [sympy] Re: How to avoid distributing a constant factor after differentiation?

2024-02-22 Thread Aaron Meurer
nyway, as even currently automatic distribution is not guaranteed. For example, it doesn't happen with 2*x*(x + y). And it's not uncommon to have un-distributed expressions because functions like factor() create them. Aaron Meurer On Thu, Feb 22, 2024 at 2:15 PM Chris Smith wrote: > &

Re: [sympy] Re: How to avoid distributing a constant factor after differentiation?

2024-02-21 Thread Aaron Meurer
specific test passes with automatic distribution turned off (similar to this one https://github.com/sympy/sympy/blob/ae13ee38f54aa9c8944ef7d103dda778d2a39dbd/sympy/testing/pytest.py#L291). That way we can start fixing the code incrementally, instead of taking an "all or nothing" approach, which ha

Re: [sympy] Re: How to avoid distributing a constant factor after differentiation?

2024-02-21 Thread Aaron Meurer
ings after the fact as Chris suggests is probably the better solution. There's really no guarantees about what the form of an expression from diff() will look like. Aaron Meurer On Sun, Feb 18, 2024 at 12:10 PM Chris Smith wrote: > > Autodistribution of Number into an Add is how

Re: [sympy] Use of flake8 seperately when we have ruff enabled

2024-02-15 Thread Aaron Meurer
I think maybe there were some checks that were done by flake8 that weren't yet implemented by ruff. I don't know if that's still the case. I agree we could probably just use ruff if it is doing everything flake8 does. Aaron Meurer On Thu, Feb 15, 2024 at 6:50 AM Shishir Kushwah

Re: [sympy] Reverse order of polynomial before printing

2024-02-13 Thread Aaron Meurer
The order argument to the printers is definitely under-documented. This has been an issue for some time. Aaron Meurer On Tue, Feb 13, 2024 at 10:41 AM Thomas Ligon wrote: > > Thanks! This does exaclty what I wanted. > Now, for the question, should I be embarassed for not finding it mys

Re: [sympy] Reverse order of polynomial before printing

2024-02-12 Thread Aaron Meurer
or, as this can break other things. Instead, you should use the existing flags in the printer in question, or customize the printer with a subclass if the built-in behavior doesn't meet your needs. Aaron Meurer On Sat, Feb 10, 2024 at 1:58 PM Thomas Ligon wrote: > > I am trying

Re: [sympy] Code Quality test failing on github even though local tests doesn't give any error

2024-02-12 Thread Aaron Meurer
t/configuration.html#configuration-file. This should be a straightforward thing to change if you want to make a PR. Aaron Meurer On Fri, Feb 9, 2024 at 3:51 PM Shishir Kushwaha wrote: > > I am getting the same errors on the master branch as well . Has it got > something to do with the de

[sympy] Re: Need GSoC mentors and help updating ideas page

2024-02-12 Thread Aaron Meurer
Another thing I forgot to mention: new this year is small projects, which are 90 hour projects, in addition to the 175 and 350 hour projects. Right now, none of the ideas specify 90 hours, but we should probably add some smaller projects to the list. Aaron Meurer On Wed, Jan 24, 2024 at 11:49 AM

Re: [sympy] What's the Meaning of S and X while running tests .

2024-02-09 Thread Aaron Meurer
dependencies, you can ignore those tests. xfail means that a test is expected to fail. These are tests that are added for behavior that doesn't work yet. You can ignore these. Aaron Meurer On Fri, Feb 9, 2024 at 10:28 AM Shishir Kushwaha wrote: > > S and X have been coming on a few test when

Re: [sympy] Code Quality test failing on github even though local tests doesn't give any error

2024-02-09 Thread Aaron Meurer
The slotscheck test is run on CI but isn't included in the normal local tests run. If you want to run it locally you will need to install slotscheck and run 'slotscheck sympy/' Aaron Meurer On Fri, Feb 9, 2024 at 2:02 PM Shishir Kushwaha wrote: > > I am getting an error in

Re: [sympy] Reviewing PRs and old SymPy issues

2024-02-05 Thread Aaron Meurer
I'll also add that if you want to, we'll give triage permissions to just about anyone so they can go through and label old issues (triage permissions give you permissions to label issues). Just ask me or Oscar. Aaron Meurer On Mon, Feb 5, 2024 at 2:25 PM Oscar Benjamin wrote:

Re: [sympy] Releasing SymPy 1.13

2024-02-02 Thread Aaron Meurer
On Fri, Feb 2, 2024 at 3:28 PM Oscar Benjamin wrote: > > On Fri, 2 Feb 2024 at 21:52, Aaron Meurer wrote: > > > > On Fri, Feb 2, 2024 at 9:41 AM Oscar Benjamin > > wrote: > > > > > > I think that probably the right way to do this is just for SymPy to

Re: [sympy] Doubt Regarding .mailmap file

2024-02-02 Thread Aaron Meurer
email. Aaron Meurer On Fri, Feb 2, 2024 at 10:36 AM Shishir Kushwaha wrote: > > Do I need to add my details everytime to thee .mailmap file when making a PR > , I did it in my first PR as mentioned in the documentation but when creating > a new comitt on another issue , the aut

Re: [sympy] Releasing SymPy 1.13

2024-02-02 Thread Aaron Meurer
the benefits, so requiring an opt-in is just an extra step for those people. The only way this wouldn't be the case is if we add flint as a dependency in the conda package like we do for gmpy, but it sounds like it's a bit early to do that. Although I'm wondering about Sage. Does Sage a

Re: [sympy] Please help me setup documentation

2024-02-01 Thread Aaron Meurer
I'm not sure what's going on then. I just tested the docker container and it works for me. You may need to delete the container and rebuild it. Aaron Meurer On Thu, Feb 1, 2024 at 1:15 PM Shishir Kushwaha wrote: > > Yes that's what I did , I followed the steps mentioned

Re: [sympy] Please help me setup documentation

2024-01-31 Thread Aaron Meurer
your local environment and build without using docker. Aaron Meurer On Wed, Jan 31, 2024 at 1:43 AM Shishir Kushwaha wrote: > > I was trying to build documentation using docker and on running the commands > mentioned in the documentation , I was getting this error . > >

Re: [sympy] Need GSoC mentors and help updating ideas page

2024-01-24 Thread Aaron Meurer
wer people? I personally don't really like the low hanging fruit ideas because they generate a lot of low quality applications and noise, but at the same time, we have definitely had some good people in the past who have started with such projects. Aaron Meurer On Wed, Jan 24, 2024 at 4:16 PM Os

Re: [sympy] Need GSoC mentors and help updating ideas page

2024-01-24 Thread Aaron Meurer
just confusing otherwise. I already submitted the application with the link to https://github.com/sympy/sympy/wiki/GSoC-Ideas, so whatever is on that page will be "the ideas page". Aaron Meurer On Wed, Jan 24, 2024 at 12:54 PM Oscar Benjamin wrote: > > Hi Aaron, > > I think

[sympy] Need GSoC mentors and help updating ideas page

2024-01-24 Thread Aaron Meurer
can't mentor but want to help review applications, just let me know. If you are someone who is interested in applying to SymPy for GSoC, start here. https://github.com/sympy/sympy/wiki/GSoC-Student-Instructions Aaron Meurer -- You received this message because you are subscribed to the Goo

Re: [sympy] Numbering in init_printing(latex_mode='equation')

2024-01-15 Thread Aaron Meurer
icked up? I'm really only > interested in this for static presentation output (pdf, html) so it wouldn't > matter if it doesn't work in interactive modes. I think the only way to know if it will work or not is to test it. I suspect it will work for pdf output, but I have no ide

Re: [sympy] Which interpreter is best?

2024-01-15 Thread Aaron Meurer
to use, I recommend using Jupyterlab or Jupyter notebook. If you are running into performance issues, it is likely the issue has to do with SymPy itself rather than your interpreter. Aaron Meurer On Mon, Jan 15, 2024 at 2:33 AM Abhay Kumar wrote: > > Hi > I have gone through this contribut

[sympy] SymPy GPT

2024-01-10 Thread Aaron Meurer
e on it if people like it. Aaron Meurer -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on

Re: [sympy] Nice display of integral, sum, product, etc. for Sympy on MS Windows

2024-01-01 Thread Aaron Meurer
ndows. Of course, you can also just run SymPy in a Jupyter notebook, which will render output using MathJax, which generally looks better than the Unicode output, and works on any platform. Aaron Meurer On Mon, Jan 1, 2024 at 11:45 PM Robert Dodier wrote: > > Hi, I am working on a nicer

Re: [sympy] Go a step back after a bad manipulation

2023-12-07 Thread Aaron Meurer
y specific solutions for you. Aaron Meurer On Thu, Dec 7, 2023 at 10:17 AM Mario Lemelin wrote: > > If I had one functionality to have in Sympy, it would be the possibility to > get access to a list of symbols that I am using in my notebook. A function > called, let's say LstSymbol

Re: [sympy] Go a step back after a bad manipulation

2023-12-06 Thread Aaron Meurer
nd run all" in your notebook to reset the state and ensure everything runs again. Aaron Meurer On Mon, Dec 4, 2023 at 10:24 AM Mario Lemelin wrote: > > Hello, > This is my first time. Just wondering if there is a command that I can do > when, in a jupyter notebook, when I want to

Re: [sympy] SymPy CZI Grant Code Generation & Biomechanics Outcomes

2023-11-14 Thread Aaron Meurer
to upstream it. I'm excited to see that codegen for matrix expressions is finally starting to improve. Aaron Meurer On Fri, Oct 27, 2023 at 12:31 AM Jason Moore wrote: > > Hi, > > I've made a blog post summarizing all the work we did for 1/3 of the CZI > grant: > &

Re: [sympy] Matrix vector multiplication

2023-11-06 Thread Aaron Meurer
mPy classes. If you want to use NumPy to do numeric calculations on these expressions, this should be done explicitly at the end after converting your SymPy expression into a NumPy function using lambdify(). Aaron Meurer On Thu, Nov 2, 2023 at 4:45 AM Lenni Lemoy wrote: > > Hi Aaron, than

Re: [sympy] LLL and sympy

2023-11-05 Thread Aaron Meurer
1.3 I might want to work on the LLL-parts first > while waiting for 1.1.3 to become available. There's no reason to not ask this question. And anyways, Oscar mentioned to me that he wants to make a release soon so (hopefully) it should be out before the end of the year, if not month.

Re: [sympy] SymPy CZI Grant Documentation Blog Post

2023-11-02 Thread Aaron Meurer
Yes, although a few pages are only available in the dev docs (https://docs.sympy.org/dev/index.html). All the relevant pages are linked to from the blog post. Aaron Meurer On Thu, Nov 2, 2023 at 3:12 AM wrote: > > Dear Aaron, > > Thanks! > Is this new documentation available now?

[sympy] SymPy CZI Grant Documentation Blog Post

2023-11-02 Thread Aaron Meurer
I have written a blog post about the documentation work that I did as part of the CZI EOSS cycle 4 grant. https://labs.quansight.org/blog/sympy-documentation Feedback on the new documentation pages or documentation feedback in general is always welcome. Aaron Meurer -- You received this

Re: [sympy] Matrix vector multiplication

2023-11-01 Thread Aaron Meurer
s.html#separate-symbolic-and-numeric-code Aaron Meurer On Wed, Nov 1, 2023 at 8:15 PM Lenni Lemoy wrote: > > Hi everybody, > > I just started using SymPy, and tried to multiply a matrix M by a vector x > holding sympy.symbols. > > I expected that M*x will be a vector again, but it

Re: [sympy] New featured project

2023-10-04 Thread Aaron Meurer
I think it can be added. Can you make a pull request? Aaron Meurer On Wed, Oct 4, 2023 at 10:18 AM Mathias Louboutin wrote: > > Hi > > Would it be possible to add our project devito: > > https://www.devitoproject.org/ > > to the "Project using sympy" in the d

Re: [sympy] Re: looking for a numerical expression to fail this test

2023-09-22 Thread Aaron Meurer
you have absolutely no control over how much computation is done. And you end up with defaults that try to do way too much computation, which ends up slowing things down. Aaron Meurer > > I don't really appreciate the preference for using `is_gt(a,b)` instead of > `(a > b) is S.tr

Re: [sympy] Re: looking for a numerical expression to fail this test

2023-09-19 Thread Aaron Meurer
;s the thing that causes SymPy to hang on very simple things that should return instantly (see https://github.com/sympy/sympy/issues/10800 for another example of this). We need to move to a model where evalf is never called automatically, except for cases where it is known that it will be very chea

Re: [sympy] Future of SymPy part 2: polynomials

2023-09-08 Thread Aaron Meurer
Also I resubmitted part 1 at the request of the HN mods and it has some comments as well https://news.ycombinator.com/item?id=37430759 Aaron Meurer On Fri, Sep 8, 2023 at 1:09 AM Aaron Meurer wrote: > > I posted this to Hacker News, where it got some comments. > https://news.ycombi

Re: [sympy] Future of SymPy part 2: polynomials

2023-09-08 Thread Aaron Meurer
By the way, if you install SymPy from conda-forge, they gmpy2 will be installed automatically. If you use conda-forge chances are you've already been using it this whole time. Aaron Meurer On Fri, Sep 8, 2023 at 1:13 AM wrote: > Dear Oscar, > > Thanks! > I installed it (I used

Re: [sympy] Future of SymPy part 2: polynomials

2023-09-08 Thread Aaron Meurer
I posted this to Hacker News, where it got some comments. https://news.ycombinator.com/item?id=37426080 Aaron Meurer On Wed, Sep 6, 2023 at 5:08 PM Oscar Benjamin wrote: > > Hi all, > > I have a new blog post following the last one: > https://oscarbenjamin.github.io/blog/czi/post

Re: [sympy] Blog post about the the future of SymPy

2023-09-03 Thread Aaron Meurer
ally try using it it will lead to an endless number of bugs and unexpected behavior. Basically, when evaluation happens all the time and certain invariants about expressions always hold, then functions are written assuming those invariants. It isn't even done intentionally most of the time. The only wa

Re: [sympy] hyint: hybrid (symbolic-numeric) integration

2023-09-01 Thread Aaron Meurer
On Fri, Sep 1, 2023 at 4:12 AM Oscar Benjamin wrote: > > On Fri, 1 Sept 2023 at 06:45, Aaron Meurer wrote: > > > > I like the idea of using some faster linear algebra as a preprocessor > > to reduce the size of the problem to be solved. You could then take > > th

Re: [sympy] hyint: hybrid (symbolic-numeric) integration

2023-08-31 Thread Aaron Meurer
just the linear system it generates. I'm also wondering if you've thought about symbolic constants and if there's any tricks you could do to support them. I think there might be, especially when still thinking about things in terms of just using faster linear algebra as a pre-processor

Re: [sympy] hyint: hybrid (symbolic-numeric) integration

2023-08-31 Thread Aaron Meurer
some heuristics like the ones used here in heurisch could help it out. Actually it wouldn't be much work to generalize this to something that gives an exact answer at least some of the time. For example, you could use nsimplify() to guess at exact values for numeric coefficients. As long as di

Re: [sympy] Blog post about the the future of SymPy

2023-08-21 Thread Aaron Meurer
hereas matrices are used all over the place, so focusing on matrices for now can lead to bigger performance wins. Aaron Meurer > > It might be best if the result is assigned to a variable so as to > exclude the cost of converting it to a string. > > I am sure I am teaching my grandmother to su

  1   2   3   4   5   6   7   8   9   10   >