Skip to content

Commit 9627744

Browse files
authored
BasisLieHighestWeight: Rename some variables in doctests (#4461)
1 parent 301bc4f commit 9627744

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

experimental/BasisLieHighestWeight/src/UserFunctions.jl

+6-6
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ If this is a weighted ordering, the height of the corresponding root is used as
409409
410410
# Examples
411411
```jldoctest
412-
julia> bases = basis_coordinate_ring_kodaira(:G, 2, [1,0], 6; monomial_ordering = :invlex)
412+
julia> mon_bases = basis_coordinate_ring_kodaira(:G, 2, [1,0], 6; monomial_ordering = :invlex)
413413
6-element Vector{Tuple{MonomialBasis, Vector{ZZMPolyRingElem}}}:
414414
(Monomial basis of a highest weight module with highest weight [1, 0] over Lie algebra of type G2, [1, x1, x3, x1*x3, x1^2*x3, x3*x4, x1*x3*x4])
415415
(Monomial basis of a highest weight module with highest weight [2, 0] over Lie algebra of type G2, [x4, x1*x4, x4^2, x3*x4^2, x1*x3*x4^2])
@@ -418,7 +418,7 @@ julia> bases = basis_coordinate_ring_kodaira(:G, 2, [1,0], 6; monomial_ordering
418418
(Monomial basis of a highest weight module with highest weight [5, 0] over Lie algebra of type G2, [x1^2*x4^6, x4^7, x1*x4^7, x2*x4^3*x5, x1*x2*x4^3*x5, x2*x3*x4^3*x5, x1*x2*x3*x4^3*x5, x1^2*x2*x3*x4^3*x5, x2*x3^2*x4^3*x5, x1*x2*x3^2*x4^3*x5, x1^2*x2*x3^2*x4^3*x5, x2*x4^4*x5])
419419
(Monomial basis of a highest weight module with highest weight [6, 0] over Lie algebra of type G2, [x4^9, x1*x3*x4^4*x5, x2*x4^5*x5, x3*x4^5*x5, x3^2*x4^5*x5, x2*x3^2*x4^5*x5, x1*x2*x3^2*x4^5*x5, x3^4*x4*x5^2])
420420
421-
julia> [length(basis[2]) for basis in bases]
421+
julia> [length(mon_basis[2]) for mon_basis in mon_bases]
422422
6-element Vector{Int64}:
423423
7
424424
5
@@ -427,7 +427,7 @@ julia> [length(basis[2]) for basis in bases]
427427
12
428428
8
429429
430-
julia> bases[end][1]
430+
julia> mon_bases[end][1]
431431
Monomial basis of a highest weight module
432432
of highest weight [6, 0]
433433
of dimension 714
@@ -512,7 +512,7 @@ The monomial ordering is fixed to `degrevlex`.
512512
513513
# Examples
514514
```jldoctest
515-
julia> bases = basis_coordinate_ring_kodaira_ffl(:G, 2, [1,0], 6)
515+
julia> mon_bases = basis_coordinate_ring_kodaira_ffl(:G, 2, [1,0], 6)
516516
6-element Vector{Tuple{MonomialBasis, Vector{ZZMPolyRingElem}}}:
517517
(Monomial basis of a highest weight module with highest weight [1, 0] over Lie algebra of type G2, [1, x6, x4, x3, x2, x1, x1*x6])
518518
(Monomial basis of a highest weight module with highest weight [2, 0] over Lie algebra of type G2, [])
@@ -521,7 +521,7 @@ julia> bases = basis_coordinate_ring_kodaira_ffl(:G, 2, [1,0], 6)
521521
(Monomial basis of a highest weight module with highest weight [5, 0] over Lie algebra of type G2, [])
522522
(Monomial basis of a highest weight module with highest weight [6, 0] over Lie algebra of type G2, [])
523523
524-
julia> [length(basis[2]) for basis in bases]
524+
julia> [length(mon_basis[2]) for mon_basis in mon_bases]
525525
6-element Vector{Int64}:
526526
7
527527
0
@@ -530,7 +530,7 @@ julia> [length(basis[2]) for basis in bases]
530530
0
531531
0
532532
533-
julia> bases[end][1]
533+
julia> mon_bases[end][1]
534534
Monomial basis of a highest weight module
535535
of highest weight [6, 0]
536536
of dimension 714

0 commit comments

Comments
 (0)