Slashdot Mirror


Open Source Math

An anonymous reader writes "The American Mathematical society has an opinion piece about open source software vs propietary software used in mathematics. From the article : "Increasingly, proprietary software and the algorithms used are an essential part of mathematical proofs. To quote J. Neubüser, 'with this situation two of the most basic rules of conduct in mathematics are violated: In mathematics information is passed on free of charge and everything is laid open for checking.'""

7 of 352 comments (clear)

  1. Re:Not Proven by ciaohound · · Score: 4, Informative

    As a high school math teacher, I am familiar with some of the details of Thomas Hales' proof of Kepler's "Cannonball" Conjecture, concerning the most efficient way to stack spheres. When he first published his proof in 1996, he included the source code for the programs that were used to do the calculations for the thousands of possible sphere configurations. I think most of the code was actually written by his graduate assistant. At first that struck me as cheating -- "... and then this program runs. Q.E.D." -- but then I realized that if anyone else was to verify his results, they would need the programs. There are just too many calculations to perform without software, which is why the conjecture went unproven for four hundred years. But without the source code, it would smack of charlatanism.

    --
    Oh, yeah, it's not easy to pad these out to 120 characters.
  2. Re:Python is part of the answer by nwbvt · · Score: 5, Informative

    I used Python fairly extensively in my number theory course back in college, it did the job fairly well. Its support for large integers was especially important for that class. And the fact that it was very familiar to me (I was a double major in CS and math), it was very easy for me to crank out an algorithm in it. However, most of the book's examples were in Mathematica, which I ended up getting as well. It was a neat tool, but now that my student license has expired and I don't feel like spending a few grand on another license, everything I wrote in that is useless. However I can still pull out my old Python programs and see what it was I was doing.

    --
    Mathematics is made of 50 percent formulas, 50 percent proofs, and 50 percent imagination.
  3. Re:Python is part of the answer by El_Isma · · Score: 5, Informative

    Let me recommmend you Maxima http://maxima.sourceforge.net/
    It's a GPL Computer Algebra System and it's in active development. I use it all the time.

  4. Re:Why I don't trust Python by fredrikj · · Score: 4, Informative

    Python calculated exactly what its documentation says it will do: ((1 minus the IEEE-754 double closest to 1/100) rounded to the nearest IEEE-754 double). It's not Python's fault if you don't know the basics of floating-point arithmetic. Mathematicians who use or write numerical software do.

    I recommend reading What Every Computer Scientist Should Know About Floating-Point Arithmetic.

  5. seriously, wtf? by tetromino · · Score: 4, Informative

    The article (which is actually a PDF, thanks for the warning) uses proprietary fonts (LucidaBright). While it was typeset with TeX (open), only the PDF (closed and uneditable) is provided.
    Oh, where to begin...
    1. The only reason you would need a "PDF warning" is that you use an operating system with poor support for the format (i.e. Windows). Switching to a real OS, among other benefits, will make reading math papers (which are almost always in PDF format) a pleasure.
    2. PDF is an open standard, which has been implemented by many different parties: Adobe and Apple have closed-source implementations; freedesktop.org's poppler and cairo libraries are Free software.
    3. The fontface chosen by AMS is orthogonal to the content of the paper - you can easily copy-paste the text and use Computer Modern, Dejavu, Liberation or any other open-source font of your choice. Why would a proprietary font embedded in a PDF file bother you any more than the proprietary fontface of a book?
    4. First of all, PDF is editable. And second, why would you want to edit this particular document? Remember, it's copyrighted by AMS - if you can't prove fair use, you do not have the right to distribute a modified version.
  6. Re:Python is part of the answer by Garridan · · Score: 4, Informative

    Disclaimer: I'm a Sage developer.

    Sage has a very good solution to this: Cython. It's a very easy language, almost identitical to Python, which can be used to bind C to Python (for instance, we use GMP and GSL extensively through Cython) as well as compile Python-like code to C, which can be accessed by Python & vice verse. It's very intuitive, and very fast.

  7. Re:Math is "Free", MY LILY-WHITE ASS. by Cowculator · · Score: 4, Informative

    There's a growing trend in math (and maybe other disciplines, for all I know) away from non-free publishing.

    Prominent mathematicians have been complaining for years (more links here) about overpriced journals, and entire editorial boards of some journals have resigned in protest (see a list of mass resignations and similar changes here). There are now plenty of entirely free journals in combinatorics, topology, and other fields, and pretty much everything that gets published these days is either available on the author's website or on the arXiv.

    So modern research tends to be free, but what about all the books you need to read before you understand this research? Sure, a copy of Rudin may be expensive and there's not much we can do about that, but maybe you can learn from the free analysis course notes at MIT's OCW site. You complain that EGA is out of print, but basically everything Grothendieck wrote is available for free, and you can even get them along with tons of other old French publications through NUMDAM. (There's even a project to transcribe SGA into LaTeX.) Lots of other books are free to download legally (and this is by no means a complete list), even though many are commercially published as well.

    Finally, you can complain all you want about university tuition, but I really doubt that free tuition is going to open up mathematics to the masses. Ultimately the very top students who can't afford it are getting scholarships and grants to cover their education (and I do know some people who got free rides at Princeton because they couldn't afford it -- that school is definitely more generous than most), and since most other people couldn't get into Princeton anyway the tuition is never even an issue for them. The best way to make mathematics more accessible is to give everyone access to free textbooks and current research, and the "marxist university professors" you deride have been gradually moving in that direction for years now.

    By the way, what do you think has been done to damage the Princeton math department's reputation? Whatever you think Shapiro and Tilghman have done to the university, nobody in their right mind would deny that it's one of the top few in the world and I doubt most people would openly proclaim any one department to be the best anyway.