Skip to content
This repository has been archived by the owner on Mar 6, 2018. It is now read-only.

Releases: MCLF/mac_lane

Standalone Mac Lane 1.7.5

16 Feb 22:09
Compare
Choose a tag to compare

Stable version of the Mac Lane infrastructure for discrete (pseudo-)valuations which should work on an unmodified Sage 7.4 or later.

To use, download the attached archive and

$ tar zxf mac_lane-1.7.5.tgz
$ mv mac_lane-mac_lane-1.7.5 mac_lane
$ sage
sage: from mac_lane import *
sage: pAdicValuation(QQ, 2)
2-adic valuation

The code heavily uses assert statements. These checks can be quite expensive. To disable them, start sage as PYTHONOPTIMIZE=yes sage.

Changes in this version

  • Comparison of limit valuations:
sage: R.<x> = QQ[]
sage: F = (x^2 + 7) * (x^2 + 9)
sage: G = (x^2 + 7)
sage: V = pAdicValuation(QQ, 2).mac_lane_approximants(F, require_incomparability=True); V
[[ Gauss valuation induced by 2-adic valuation, v(x + 1) = 2 ],
 [ Gauss valuation induced by 2-adic valuation, v(x + 1) = 1/2, v(x^2 + 2*x + 3) = 3/2 ],
 [ Gauss valuation induced by 2-adic valuation, v(x + 3) = 3 ]]
sage: LimitValuation(V[0], F) >= LimitValuation(V[1], F)
False
sage: LimitValuation(V[0], F) >= LimitValuation(V[0], G)
True

Standalone Mac Lane 1.7.4

14 Feb 18:33
Compare
Choose a tag to compare

Stable version of the Mac Lane infrastructure for discrete (pseudo-)valuations which should work on an unmodified Sage 7.4 or later.

To use, download the attached archive and

$ tar zxf mac_lane-1.7.4.tgz
$ sage
sage: from mac_lane import *
sage: pAdicValuation(QQ, 2)
2-adic valuation

The code heavily uses assert statements. These checks can be quite expensive. To disable them, start sage as PYTHONOPTIMIZE=yes sage.

Changes in this version

  • Better handling of limit valuations:
sage: K = QQ
sage: R.<x> = K[]
sage: vK = pAdicValuation(K, 2)
sage: f = x^2 + 7
sage: V = vK.mac_lane_approximants(f)
sage: v = LimitValuation(V[0], f)
sage: v(f)
+Infinity

Standalone Mac Lane 1.7.3

14 Jan 20:07
Compare
Choose a tag to compare

Stable version of the Mac Lane infrastructure for discrete (pseudo-)valuations which should work on an unmodified Sage 7.4 or later.

To use, download the attached archive and

$ tar zxf mac_lane-1.7.3.tgz
$ sage
sage: from mac_lane import *
sage: pAdicValuation(QQ, 2)
2-adic valuation

The code heavily uses assert statements. These checks can be quite expensive. To disable them, start sage as PYTHONOPTIMIZE=yes sage.

Changes in this version

  • Performance improvements

Standalone Mac Lane 1.7.2

13 Dec 07:06
Compare
Choose a tag to compare

Stable version of the Mac Lane infrastructure for discrete (pseudo-)valuations which should work on an unmodified Sage 7.4 or later.

To use, download the attached archive and

$ tar zxf mac_lane-1.7.2.tgz
$ sage
sage: from mac_lane import *
sage: pAdicValuation(QQ, 2)
2-adic valuation

The code heavily uses assert statements. These checks can be quite expensive. To disable them, start sage as PYTHONOPTIMIZE=yes sage.

Changes in this version

  • Performance improvements (reimplemented Mac Lane algorithm)

Standalone Mac Lane 1.7.1

07 Dec 18:30
Compare
Choose a tag to compare

Stable version of the Mac Lane infrastructure for discrete (pseudo-)valuations which should work on an unmodified Sage 7.4 or later.

To use, download the attached archive and

$ tar zxf mac_lane-1.7.1.tgz
$ sage
sage: from mac_lane import *
sage: pAdicValuation(QQ, 2)
2-adic valuation

The code heavily uses assert statements. These checks can be quite expensive. To disable them, start sage as PYTHONOPTIMIZE=yes sage.

Changes in this version

  • Performance improvements
  • Allow number fields written as quotients of polynomial rings

Standalone Mac Lane 1.7

30 Nov 20:07
Compare
Choose a tag to compare

Stable version of the Mac Lane infrastructure for discrete (pseudo-)valuations which should work on an unmodified Sage 7.4 or later.

To use, download the attached archive and

$ tar zxf mac_lane-1.7.tgz
$ sage
sage: from mac_lane import *
sage: pAdicValuation(QQ, 2)
2-adic valuation

Changes in this version

  • Added a shift that is consistent with p-adics in Sage
  • Fixed extensions in relative number fields

Standalone Mac Lane 1.6

28 Nov 10:23
Compare
Choose a tag to compare

Stable version of the Mac Lane infrastructure for discrete (pseudo-)valuations which should work on an unmodified Sage 7.4 or later.

To use, download the attached archive and

$ tar zxf mac_lane-1.6.tgz
$ sage
sage: from mac_lane import *
sage: pAdicValuation(QQ, 2)
2-adic valuation

Changes in this version

  • Dropped the inconsistent .shift()
  • Added .element_with_valuation() for all valuations
  • Added .value_semigroup()

Standalone Mac Lane 1.5

21 Nov 19:48
Compare
Choose a tag to compare

Stable version of the Mac Lane infrastructure for discrete (pseudo-)valuations which should work on an unmodified Sage 7.4 or later.

To use, download the attached archive and

$ tar zxf mac_lane-1.5.tgz
$ sage
sage: from mac_lane import *
sage: pAdicValuation(QQ, 2)
2-adic valuation

Changes in this version