Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| extensions:tropicalquarticcurves [2021/12/08 14:58] – panizzut | extensions:tropicalquarticcurves [2026/09/17 12:17] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This is the software companion to the article " | This is the software companion to the article " | ||
| - | [[https:// | + | [[https:// |
| + | | ||
| Smooth tropical quartic plane curves are parametrized by maximal cones in the unimodular secondary fan of the four-dilated 2-simplex. Up to $S_3$-symmetry there are 1278 such cones. They can be found at the [[https:// | Smooth tropical quartic plane curves are parametrized by maximal cones in the unimodular secondary fan of the four-dilated 2-simplex. Up to $S_3$-symmetry there are 1278 such cones. They can be found at the [[https:// | ||
| Line 9: | Line 10: | ||
| ===== Download ===== | ===== Download ===== | ||
| - | {{ :download: | + | {{ :extensions: |
| + | |||
| + | Older Versions: | ||
| + | {{ : | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | This requires an installation of polymake, version 4.5. | + | This requires an installation of polymake, |
| After download you first need to extract the code. | After download you first need to extract the code. | ||
| < | < | ||
| + | tar -xvzf tropicalquarticcurves-0.2.tgz | ||
| tar Jxpf tropicalquarticcurves-0.1.tar.xz | tar Jxpf tropicalquarticcurves-0.1.tar.xz | ||
| </ | </ | ||
| - | Suppose this ends up at ''/ | + | Suppose this ends up at ''/ |
| < | < | ||
| - | import_extension "/ | + | import_extension "/ |
| </ | </ | ||
| Do not forget to use an absolute path! Afterwards you are good to run the code. This import needs to be performed only once. The reference to the extension is permanently stored in '' | Do not forget to use an absolute path! Afterwards you are good to run the code. This import needs to be performed only once. The reference to the extension is permanently stored in '' | ||
| ===== Examples ===== | ===== Examples ===== | ||
| - | This extension contributes to the applications '' | + | This extension contributes to the applications '' |
| + | === Examples for version 0.1+ === | ||
| In the application `fan` you can create a '' | In the application `fan` you can create a '' | ||
| This extension contributes to the applications '' | This extension contributes to the applications '' | ||
| Line 107: | Line 114: | ||
| > application " | > application " | ||
| > print $Motifs-> | > print $Motifs-> | ||
| - | > print $Motifs-> | ||
| A | A | ||
| + | > print $Motifs-> | ||
| + | |||
| > print $Motifs-> | > print $Motifs-> | ||
| - | > print $Motifs-> | ||
| EFJ | EFJ | ||
| + | > print $Motifs-> | ||
| 0 -1 0 0 1 0 1 0 0 0 0 -1 0 0 0 | 0 -1 0 0 1 0 1 0 0 0 0 -1 0 0 0 | ||
| </ | </ | ||
| Line 183: | Line 191: | ||
| > $Dsigns = $D-> | > $Dsigns = $D-> | ||
| > print $Dsigns-> | > print $Dsigns-> | ||
| - | > print $Motifs-> | ||
| 6 | 6 | ||
| + | > print $Motifs-> | ||
| Triangulation is not generic. | Triangulation is not generic. | ||
| </ | </ | ||
| Line 195: | Line 203: | ||
| 100 | 100 | ||
| </ | </ | ||
| + | |||
| + | === Examples for version 0.2 === | ||
| + | In the updated version, you can now | ||
| + | • compute the number of real bitangents for any unimodular triangulation of $4\Delta_2$ and a | ||
| + | given sign vector, | ||
| + | • obtain the sign conditions for any unimodular triangulation of $4\Delta_2$ also for the bitan- | ||
| + | gent class of shape (C), | ||
| + | • work with a real tropical curve and determine whether it is dividing, compute its | ||
| + | twisted edges and number of ovals. | ||
| + | |||
| + | The extension still contributes to the extensions '' | ||
| + | There exists now a new object, called '' | ||
| + | |||
| + | < | ||
| + | > application " | ||
| + | > $C = new RealQuarticCurve< | ||
| + | </ | ||
| + | |||
| + | The tropical quartic curve with its properties as demonstrated above can still be accessed. | ||
| + | |||
| + | < | ||
| + | > $Q = $C-> | ||
| + | > print $Q-> | ||
| + | A H' J J G T W | ||
| + | </ | ||
| + | |||
| + | The real quartic curve comes with real bitangents. | ||
| + | |||
| + | < | ||
| + | > print $C-> | ||
| + | 4 | ||
| + | > print $C-> | ||
| + | EFJ G GKUTT` W...HH+(xz) | ||
| + | > print $C-> | ||
| + | J G T W | ||
| + | > $Bitangentclasses = $C-> | ||
| + | |||
| + | > for my $i (0..$C-> | ||
| + | > print $Bitangentclasses-> | ||
| + | > } | ||
| + | {5 10} | ||
| + | {} | ||
| + | {5 10} | ||
| + | {} | ||
| + | {5 10} | ||
| + | {} | ||
| + | {} | ||
| + | {} | ||
| + | </ | ||
| + | |||
| + | Further, the user can decide if a given real tropical quartic curve is dividing and how many ovals an real | ||
| + | algebraic lift would have. | ||
| + | < | ||
| + | > print $C-> | ||
| + | false | ||
| + | > print $C-> | ||
| + | 3 | ||
| + | </ | ||
| + | |||
| + | For a curve with two ovals, the property '' | ||
| + | A picture of the real tropical curve can be accessed by using the visualization option of the Patchworking function in \texttt{polymake}. | ||
| + | < | ||
| + | > $p= $C-> | ||
| + | > $p-> | ||
| + | </ | ||
| + | |||
| + | Finally, the property '' | ||
| + | < | ||
| + | > print $C-> | ||
| + | The twisted edges in the dual subdivision are | ||
| + | (8 10) (5 7) (5 8) (5 13) (4 7) (4 5) (1 7) (1 5) (1 4) | ||
| + | </ | ||
| + | As the properties '' | ||
| + | < | ||
| + | > application " | ||
| + | > $S = new DualSubdivisionOfQuartic(MAXIMAL_CELLS=> | ||
| + | > $v = new Vector< | ||
| + | > print $S-> | ||
| + | false | ||
| + | > print $S-> | ||
| + | (8 13) (8 12) (4 10) (2 4) (2 12) (2 13) (2 8) (1 4) (1 2) | ||
| + | </ | ||
| + | The second way is more general, as it works for any '' | ||
| + | < | ||
| + | > $T = new SubdivisionOfPoints(POINTS=> | ||
| + | [1, | ||
| + | [2,3,4]]); | ||
| + | > $v = new Vector< | ||
| + | > print twisted_edges($T, | ||
| + | (1 2) | ||
| + | > print is_dividing($T, | ||
| + | true | ||
| + | </ | ||
| + | |||
| + | ===Database update=== | ||
| + | The updated data now additionally contains: | ||
| + | |||
| + | * for the 8 non-generic triangulations: | ||
| + | * the sign conditions for the bitangent classes of shape (C), | ||
| + | * the property '' | ||
| + | |||