Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Extended functionality and documentation #38

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
b1bd5f0
Add support for GAP function CharacterToRationalFunction
HereAround Sep 4, 2021
0082f6c
Add support for GAP function WeilDivisorsOfVariety
HereAround Sep 4, 2021
a2c490a
Add support for Gap function Factors
HereAround Sep 4, 2021
e67ab59
Add support for GAP function BlowUpOnIthMinimalTorusOrbit
HereAround Sep 4, 2021
5783652
Add support for GAP function ZariskiCotangentSheafViaEulerSequence
HereAround Sep 4, 2021
3665738
Add support for GAP function ZariskiCotangentSheafViaPoincareResidueMap
HereAround Sep 4, 2021
1c35bc9
Add support for Gap function ith_betti_number
HereAround Sep 4, 2021
fbea93b
Add support for Gap function NrOfqRationalPoints
HereAround Sep 4, 2021
0cde5d9
Restructure the tests
HereAround Sep 4, 2021
c8bf726
Fix typo in documentation of function JToric.version
HereAround Sep 4, 2021
229c420
Restructure include statements
HereAround Sep 5, 2021
0fc8b8f
Initiate documentation
HereAround Sep 5, 2021
c70186f
Export constructors for NormalToricVarieties
HereAround Sep 5, 2021
f79e575
Add documentation for all functions in ToricVarieties.jl
HereAround Sep 5, 2021
b421759
Document constructors and properties of toric divisors
HereAround Sep 5, 2021
c6f28aa
Improve code of documentation
HereAround Sep 5, 2021
3d35d48
Add documentation for all attributes and methods
HereAround Sep 5, 2021
29dd6eb
Remove outdated include statements
HereAround Sep 5, 2021
603e345
Add data types to documentation of ToricVarieties constructors and pr…
HereAround Sep 5, 2021
3f82e68
Add data types to documentation of ToricDivisors and their properties
HereAround Sep 5, 2021
7957e71
Add data types (and improve the previously provided ones) for all att…
HereAround Sep 5, 2021
51f0a84
Fix bug in affine_open_cover
HereAround Sep 5, 2021
f54db47
Change method name dimension( NTV ) -> dim( NTV )
HereAround Sep 6, 2021
da85e4d
Remove obsolete Bool-conversion
HereAround Sep 6, 2021
658c6da
Add step in github workflow to build and distribute documentation
HereAround Sep 6, 2021
62ec27b
After d820b2a7ffce2fe9116491faa00a746271e2f0ee, update the tests
HereAround Sep 12, 2021
799337a
is_numerically_effectiv -> is_nef
HereAround Sep 17, 2021
a9efad7
dimension_of_torusfactor -> dim_of_torusfactor
HereAround Sep 17, 2021
788aca6
Disable doctest.jl
HereAround Sep 17, 2021
786d85f
Define JToric.GAP.Globals.POLYMAKE_JULIA_MODULE
HereAround Sep 18, 2021
b15e6ac
Update version requirements for compatibility
HereAround Sep 18, 2021
9918c4d
Update dependency on JConvex
HereAround Sep 18, 2021
cc5642f
Bugfix: warn -> @warn
HereAround Sep 22, 2021
7336bc6
camelCase for struct NormalToricVariety -> normalToricVariety
HereAround Sep 22, 2021
8d134b8
camelCase for struct toric_divisor -> toricDivisor
HereAround Sep 22, 2021
75a56aa
camelCase for struct Cox_ring -> coxRing
HereAround Sep 22, 2021
99e5ccc
camelCase for struct cox_ring -> coxRing
HereAround Sep 22, 2021
23d79c8
camelCase for struct class_group -> classGroup
HereAround Sep 22, 2021
2a04668
camelCase for struct torus_invariant_divisor_group -> torusInvariantD…
HereAround Sep 22, 2021
929432c
camelCase for struct map_from_character_to_principal_divisor -> mapFr…
HereAround Sep 22, 2021
08c56fb
camelCase for struct map_from_weil_divisors_to_class_group mapFromWei…
HereAround Sep 22, 2021
6557efb
camelCase for struct coordinate_ring_of_torus -> coordinateRingOfTorus
HereAround Sep 22, 2021
9ce5c35
camelCase for struct character_lattice -> characterLattice
HereAround Sep 22, 2021
b7d58a2
camelCase for struct irrelevant_ideal -> irrelevantIdeal
HereAround Sep 22, 2021
1fcd396
camelCase for struct stanley_reisner_ideal -> stanleyReisnerIdeal
HereAround Sep 22, 2021
5f14acd
camelCase for struct morphism_from_cox_variety -> morphismFromCoxVariety
HereAround Sep 22, 2021
2041773
camelCase for struct cartier_torus_invariant_divisor_group -> cartier…
HereAround Sep 22, 2021
9d5b049
camelCase for struct picard_group -> picardGroup
HereAround Sep 22, 2021
3489613
camelCase for struct zariski_cotangent_sheaf -> zariskiCotangentSheaf
HereAround Sep 22, 2021
c1828e8
camelCase for struct cotangent_sheaf -> cotangentSheaf
HereAround Sep 22, 2021
b54f5c0
camelCase for struct zariski_cotangent_sheaf_via_euler_sequence -> za…
HereAround Sep 22, 2021
696d6b4
camelCase for struct zariski_cotangent_sheaf_via_poincare_residue_map…
HereAround Sep 22, 2021
c29a409
camelCase for struc underlying_sheaf -> underlyingSheaf
HereAround Sep 22, 2021
3dc6648
camelCase for struct character_to_rational_function -> characterToRat…
HereAround Sep 22, 2021
917c4fa
Revert "Define JToric.GAP.Globals.POLYMAKE_JULIA_MODULE"
HereAround Sep 22, 2021
736a41b
Remove extra white space
HereAround Sep 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,37 @@ jobs:
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

docs:
name: "Documentation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- name: "Install package"
run: |
julia --project=docs --color=yes -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
#- name: "Run doctests"
#run: |
#julia --project=docs --color=yes test/doctest.jl
- name: "Deploy documentation"
run: julia --project=docs --color=yes docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Polymake = "d720cf60-89b5-51f5-aff5-213f193123e7"

[compat]
CapAndHomalg = "1.1.7"
GAP = "0.6.1"
CapAndHomalg = "1.1.8"
GAP = "0.6.2"
Oscar = "0.6"
Polymake = "0.5"
julia = "1.4"
Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/
6 changes: 6 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
JToric = "9bfa4af0-0a41-40a3-86ae-7e8f6cc9e7ab"

[compat]
Documenter = "^0.25.0"
4 changes: 4 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
push!(LOAD_PATH,"../src/")
using Documenter, JToric

makedocs(sitename="JToric -- Toric Geometry in Julia")
19 changes: 19 additions & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
site_name: JToric.jl
repo_url: https://github.com/oscar-system/JToric.jl
site_description: JToric
site_author: Martin Bies

theme: readthedocs

pages:

markdown_extensions:
- extra
- tables
- fenced_code
- mdx_math:
enable_dollar_delimiter: True

docs_dir: 'build'

extra_javascript: ['mathjaxhelper.js', 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_HTML']
122 changes: 122 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# JToric -- toric geometry in Julia

```@contents
```

```@meta
CurrentModule = JToric
```

## Goal

The goal of the package `JToric` is to make computations on toric geometry accessible in the [OSCAR computer algebra system](https://oscar.computeralgebra.de/). As such, we follow [the book](https://www.ams.org/publications/authors/books/postpub/gsm-124) `Toric Varieties` by `David A. Cox`, `John B. Little` and `Henry K. Schenck`]. Currently, this project is work-in-progress. Our goal is to ensure that one can perform all computations of `Appendix B`.


### Generalities

```@docs
version
```

## Toric Varieties

### Constructors

```@docs
NormalToricVariety
projective_space
```

### Conversion among GAP and Polymake toric varieties

```@docs
ntv_gap2polymake
ntv_polymake2gap
```

### Properties of toric varieties

```@docs
is_normal_variety
is_affine
is_projective
is_smooth
is_complete
has_torusfactor
is_orbifold
is_simplicial
is_isomorphic_to_projective_space
is_direct_product_of_projective_spaces
```

### Attributes of toric varieties

```@docs
affine_open_covering
cox_ring
list_of_variables_of_cox_ring
class_group
torus_invariant_divisor_group
map_from_character_to_principal_divisor
map_from_weil_divisors_to_class_group
dim
dimension_of_torusfactor
coordinate_ring_of_torus
list_of_variables_of_coordinate_ring_of_torus
is_product_of
factors
character_lattice
torus_invariant_prime_divisors
irrelevant_ideal
stanley_reisner_ideal
morphism_from_cox_variety
cox_variety
fan_of_variety
fan
cartier_torus_invariant_divisor_group
picard_group
name_of_variety
zariski_cotangent_sheaf
cotangent_sheaf
euler_characteristic
weil_divisors_of_variety
zariski_cotangent_sheaf_via_euler_sequence
zariski_cotangent_sheaf_via_poincare_residue_map
```


### Methods of toric varieties

```@docs
set_name_of_variety
coordinate_ring_of_torus( v::NormalToricVariety, names::Vector{String} )
cox_ring( v::NormalToricVariety, name::String )
Base.:*( v::NormalToricVariety, w::NormalToricVariety )
character_to_rational_function( l::Vector{Int}, v::NormalToricVariety )
blowup_on_ith_minimal_torus_orbit( v::NormalToricVariety, i::Int )
ith_betti_number( v::NormalToricVariety, i::Int )
nr_of_q_rational_points( v::NormalToricVariety, i::Int )
```


## Toric Divisors

### Constructors

```@docs
create_divisor
divisor_of_character
divisor_of_class
```

### Properties of toric divisors

```@docs
is_cartier
is_principal
is_primedivisor
is_basepoint_free
is_ample
is_very_ample
is_numerically_effective
```
Loading