Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beta-adic #16723

Open
sagetrac-mercatp mannequin opened this issue Jul 28, 2014 · 80 comments
Open

beta-adic #16723

sagetrac-mercatp mannequin opened this issue Jul 28, 2014 · 80 comments

Comments

@sagetrac-mercatp
Copy link
Mannequin

sagetrac-mercatp mannequin commented Jul 28, 2014

This ticket gives a implementation of beta-adic monoids, as described in the article http://www.latp.univ-mrs.fr/~paul.mercat/Publis/Semi-groupes%20fortement%20automatiques.pdf
It permit to compute the beta-adic monoid corresponding to a WordMorphism, to draw limit sets of beta-adic monoid, to compute relations automaton and reduced words automaton (defined in the article). For that I re-implemented the Automata.

This ticket is too big to be included directly into sage : I forsee to cut it in small parts that I will try to include in sage when it will be completly implemented, documented and well tested.

CC: @sagetrac-tjolivet

Component: PLEASE CHANGE

Branch/Commit: u/mercatp/beta-adic @ 7ae36cb

Issue created by migration from https://trac.sagemath.org/ticket/16723

@sagetrac-mercatp sagetrac-mercatp mannequin added this to the sage-6.3 milestone Jul 28, 2014
@sagetrac-mercatp sagetrac-mercatp mannequin added the p: major / 3 label Jul 28, 2014
@sagetrac-mercatp
Copy link
Mannequin Author

sagetrac-mercatp mannequin commented Jul 31, 2014

Branch: u/mercatp/beta-adic

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 31, 2014

Commit: 91b1507

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 31, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

037b54dThis is a new branch that permits to have what I've done in ticket 15883 to work with sage 6.2
91b1507Idem.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 31, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

3e2376dCorrect a bug of indentation.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 31, 2014

Changed commit from 91b1507 to 3e2376d

@kcrisman
Copy link
Member

kcrisman commented Aug 4, 2014

comment:4

This is pretty cryptic until you start reading the code. Could you put a brief description of what you are implementing in the "Description" area of the ticket so new people coming to it know what beta-adics are and why they should be in Sage? Otherwise it means searching a bit more through the proposed branch than necessary :(

Also, I am having a hard time finding any reference to these objects other than in your own papers. But I do find other references to beta-adic which seem to mean something else (though with "adic" of course they are somehow related). I don't know what our policy is on that; Purple Sage used to exist for that context but I think it may be defunct. Don't take this as criticism, but rather request for clarification; these files are large enough that it would be helpful to know that others will be interested in using them; especially if the name may be fluid it would be unfortunate to lock ourselves in a name, though that may be unavoidable.

(I suppose this all applies to #15883 as well, though less so.)

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 13, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

b0a8eadAdd a better plotting of automata (new functions plot2 and plot3) using GraphViz.
d7d4455Add a better way to draw a beta-adic monoid (new function plot2) using extern C files.
06e20efAdd a new function plot3 to BetaAdicMonoid that draw with colors (corresponds to the colors of the Rauzy fractal when it comes from a substitution). Add the size of the result drawing as argument of plot2.
827d952Some little improvements (add Cd argument in sage.monoids.beta_adic_monoid BetaAdicMonoid.relations, change the style of the arrows for plotting automaton using TikZ)

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 13, 2014

Changed commit from 3e2376d to 827d952

@sagetrac-mercatp
Copy link
Mannequin Author

sagetrac-mercatp mannequin commented Aug 13, 2014

comment:7

Replying to @kcrisman:

This is pretty cryptic until you start reading the code. Could you put a brief description of what you are implementing in the "Description" area of the ticket so new people coming to it know what beta-adics are and why they should be in Sage? Otherwise it means searching a bit more through the proposed branch than necessary :(

Sorry to be cryptic. I've writted a description.
I think that these tools can be useful for others people (mainly researcher on beta-expansion, rauzy fractals, quasi-cristals etc...)

Also, I am having a hard time finding any reference to these objects other than in your own papers. But I do find other references to beta-adic which seem to mean something else (though with "adic" of course they are somehow related).

There are several names for that : beta-adic, beta-expansions, non-standard numeration systems, etc...
I don't know what is the better name for that, so I choosed the name I used (in french) in my article.

I don't know what our policy is on that; Purple Sage used to exist for that context but I think it may be defunct.

I did'nt know Purple Sage. If it was not defunct, you're right, it would be more appropriate. But the last version has the date oct-2010...

Don't take this as criticism, but rather request for clarification; these files are large enough that it would be helpful to know that others will be interested in using them; especially if the name may be fluid it would be unfortunate to lock ourselves in a name, though that may be unavoidable.

As I explain now in the description, I plan to cut this ticket into smaller ones that could be inclued in sage. I would like to improve Automaton first (because I need it), then add BetaAdicMonoid (maybe I'll change the name if I find a better one) and then modify WordMorphism to use BetaAdicMonoid.

(I suppose this all applies to #15883 as well, though less so.)

The ticket #15883 is an old copy of this ticket that didn't worked with sage-6.2.
I should combine the two tickets, but I don't know how to do it.

@sagetrac-mercatp

This comment has been minimized.

@sagetrac-mercatp sagetrac-mercatp mannequin removed this from the sage-6.4 milestone Aug 13, 2014
@sagetrac-mercatp sagetrac-mercatp mannequin added the t: feature label Aug 13, 2014
@sagetrac-mercatp sagetrac-mercatp mannequin self-assigned this Aug 13, 2014
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 13, 2014

Changed commit from 827d952 to 6779b7e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 13, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

6779b7eCorrect a bug in getBetaAdic2 from sage.monoids.beta_adic_monoid.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 13, 2014

Changed commit from 6779b7e to 23ba6f2

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 13, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

23ba6f2Permit to set the color of the background independently in plot3 from sage.monoids.beta_adic_monoid

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 13, 2014

Changed commit from 23ba6f2 to 4d6e4bd

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 13, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

4d6e4bdAdd the function get_la() to BetaAdicMonoid and correct the doc of plot2 and plot3.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 17, 2014

Changed commit from 4d6e4bd to eaf6401

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 17, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

85f9158Add the extension sage.combinat.words.cautomata.
eaf6401Permit to use sage.combinat.words.cautomata.FastAutomaton to plot a BetaAdicMonoid.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 17, 2014

Changed commit from eaf6401 to 350054a

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 17, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

350054aCorrect differents bugs.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 16, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

65ba2ceAdd a structure NAutomaton that permits to represent non-deterministic automata, and add a transposition of deterministic automaton (that gives a non-deterministic one) and a function determinise to get back a deterministic automaton.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 16, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

b590f0eCorrect the computing of the extended relation automaton of a beta-adic monoid.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 16, 2015

Changed commit from 65ba2ce to b590f0e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 18, 2015

Changed commit from b590f0e to ba30283

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 18, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

ba30283Improve function is_final() and convert function get_la() to use FastAutomaton and not Automaton. Load class FastAutomaton at start.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 30, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

8efcdeaMerge branch 'master' into t/16723/beta-adic

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jun 30, 2015

Changed commit from ba30283 to 8efcdea

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 8, 2015

Changed commit from 8efcdea to fda86b7

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 8, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

fda86b7Add a function piece to FastAutomaton, add intersection2 and intersect to BetaAdicMonoid

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 10, 2015

Changed commit from fda86b7 to 3af2ddf

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 10, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

3af2ddfAdd a function is_all_connected() to BetaAdicMonoid that decides if all the tiles of the self-similar tiling are connected.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 10, 2015

Changed commit from 3af2ddf to b5a7107

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 10, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

b5a7107Add `__hash__` and `__cmp__` functions to FastAutomaton, correct the test of equality, improve is_all_connected of BetaAdicMonoid, replace spaces by tabs for indentation and correct some bugs.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 10, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

e4c6241Forget to add file src/sage/combinat/words/automataC.c

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 10, 2015

Changed commit from b5a7107 to e4c6241

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 7, 2016

Changed commit from e4c6241 to ae245aa

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 7, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

ae245aaAdd a tool to compute relations automata with translation and change a lot of little things.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 7, 2016

Changed commit from ae245aa to 8c1bf8a

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 7, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

8c1bf8aAdd a function move2() that compute the translate ( replace move() ), and correct some problems.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 8, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

a45bb65Add a function zero_complete() for FastAutomaton, a function shift for BetaAdicMonoid (not well tested) and correct some little things.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 8, 2016

Changed commit from 8c1bf8a to a45bb65

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 10, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

effde91Add a function add_edge() to FastAutomaton and correct some bugs.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 10, 2016

Changed commit from a45bb65 to effde91

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 19, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

2a2c283Add functions shiftOP and unshift, and suppress shift.
ce64048Correct unshift.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 19, 2016

Changed commit from effde91 to ce64048

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 19, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

42b95c5Add functions rec_word() and find_word() to FastAutomaton, and modify function is_empty().

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 19, 2016

Changed commit from ce64048 to 42b95c5

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 20, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

7ae36cbCorrect some memory bugs.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 20, 2016

Changed commit from 42b95c5 to 7ae36cb

@sagetrac-mercatp sagetrac-mercatp mannequin mentioned this issue Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant