forked from oscar-system/Oscar.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: Functionality for matroid realization spaces (oscar-system#2925)
- Add functionality for realization space of matroids. The realization space contains all vector sets that realize a given matroid. - Add several standard constructions.
- Loading branch information
Showing
14 changed files
with
1,170 additions
and
403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[ | ||
"Matroid Realization Spaces" => [ | ||
"introduction.md", | ||
] | ||
] |
34 changes: 34 additions & 0 deletions
34
experimental/MatroidRealizationSpaces/docs/src/introduction.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
```@meta | ||
CurrentModule = Oscar | ||
``` | ||
|
||
# Matroid Realization Spaces | ||
|
||
|
||
Let ``M`` be a matroid of rank ``d`` on a ground set ``E`` of size ``n``. Its | ||
*realization space* ``\mathcal{R}(M)`` is an affine scheme that parameterizes | ||
all hyperplane arrangements that realize the matroid ``M`` (up to the action of | ||
``PGL(r)``). We provide functions that determine the affine coordinate ring of | ||
``\mathcal{R}(M)``. | ||
|
||
|
||
```@docs | ||
is_realizable(M::Matroid; char::Union{Int,Nothing}=nothing, q::Union{Int,Nothing}=nothing) | ||
defining_ideal(RS::MatroidRealizationSpace) | ||
inequations(RS::MatroidRealizationSpace) | ||
ambient_ring(RS::MatroidRealizationSpace) | ||
realization_space(M::Matroid; B::Union{GroundsetType,Nothing} = nothing, | ||
F::AbstractAlgebra.Ring = ZZ, saturate::Bool=false, reduce::Bool=true, | ||
char::Union{Int,Nothing}=nothing, q::Union{Int,Nothing}=nothing) | ||
realization(M::Matroid; B::Union{GroundsetType,Nothing} = nothing, | ||
F::AbstractAlgebra.Ring = ZZ, saturate::Bool=false, reduce::Bool=true, | ||
char::Union{Int,Nothing}=nothing, q::Union{Int,Nothing}=nothing) | ||
realization(RS::MatroidRealizationSpace) | ||
``` | ||
|
||
If ``B`` is the polynomial ring `ambient_ring(RS)`, ``I`` the ideal | ||
`defining_ideal(RS)`, and ``U`` the multiplicative semigroup generated by | ||
`inequations(RS)`, then the coordinate ring of the realization space | ||
``\mathcal{R}(M)`` is isomorphic to ``U^{-1}B/I``. | ||
|
||
|
13 changes: 13 additions & 0 deletions
13
experimental/MatroidRealizationSpaces/src/MatroidRealizationSpaces.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
include("realization_space.jl") | ||
|
||
### Methods for realization spaces of matroids | ||
function underlying_scheme(RS::MatroidRealizationSpace{BRT, RT}) where {BRT<:Ring, RT<:MPolyQuoLocRing} | ||
isdefined(RS, :underlying_scheme) && return RS.underlying_scheme::Spec{BRT, RT} | ||
|
||
P = ambient_ring(RS)::MPolyRing | ||
I = defining_ideal(RS)::MPolyIdeal | ||
U = MPolyPowersOfElement(P, P.(inequations(RS)))::MPolyPowersOfElement | ||
RS.underlying_scheme = Spec(P, I, U) | ||
return RS.underlying_scheme::Spec{BRT, RT} | ||
end | ||
|
Oops, something went wrong.