22# 1: Literature Tate model over concrete base
33# ############################################################
44
5+ using Random
6+ our_rng = Random. Xoshiro (1234 )
7+
58B3 = projective_space (NormalToricVariety, 3 )
69Kbar = anticanonical_divisor_class (B3)
710w = torusinvariant_prime_divisors (B3)[1 ]
@@ -16,7 +19,7 @@ D = classes_of_tunable_sections_in_basis_of_Kbar_and_defining_classes(t1)
1619 @test parent (tate_section_a6 (t1)) == cox_ring (base_space (t1))
1720 @test parent (tate_polynomial (t1)) == cox_ring (ambient_space (t1))
1821 @test parent (discriminant (t1)) == cox_ring (base_space (t1))
19- @test length (singular_loci (t1)) == 2
22+ @test length (singular_loci (t1; rng = our_rng )) == 2
2023 @test dim (base_space (t1)) == 3
2124 @test dim (ambient_space (t1)) == 5
2225 @test is_base_space_fully_specified (t1) == true
@@ -97,7 +100,7 @@ w1 = literature_model(arxiv_id = "1208.2695", equation = "B.19", base_space = B2
97100 @test parent (weierstrass_section_g (w1)) == cox_ring (base_space (w1))
98101 @test parent (weierstrass_polynomial (w1)) == cox_ring (ambient_space (w1))
99102 @test parent (discriminant (w1)) == cox_ring (base_space (w1))
100- @test length (singular_loci (w1)) == 1
103+ @test length (singular_loci (w1; rng = our_rng )) == 1
101104 @test dim (base_space (w1)) == 2
102105 @test dim (ambient_space (w1)) == 4
103106 @test is_base_space_fully_specified (w1) == true
@@ -160,7 +163,7 @@ t3 = literature_model(arxiv_id = "1109.3454", equation = "3.1")
160163 @test parent (tate_section_a6 (t3)) == cox_ring (base_space (t3))
161164 @test parent (tate_polynomial (t3)) == cox_ring (ambient_space (t3))
162165 @test parent (discriminant (t3)) == cox_ring (base_space (t3))
163- @test length (singular_loci (t3)) == 2
166+ @test length (singular_loci (t3; rng = our_rng )) == 2
164167 @test dim (base_space (t3)) == 3
165168 @test dim (ambient_space (t3)) == 5
166169 @test is_base_space_fully_specified (t3) == false
@@ -261,7 +264,7 @@ w2 = literature_model(arxiv_id = "1208.2695", equation = "B.19", completeness_ch
261264 @test parent (weierstrass_section_g (w2)) == cox_ring (base_space (w2))
262265 @test parent (weierstrass_polynomial (w2)) == cox_ring (ambient_space (w2))
263266 @test parent (discriminant (w2)) == cox_ring (base_space (w2))
264- @test length (singular_loci (w2)) == 1
267+ @test length (singular_loci (w2; rng = our_rng )) == 1
265268 @test dim (base_space (w2)) == 2
266269 @test dim (ambient_space (w2)) == 4
267270 @test is_base_space_fully_specified (w2) == false
@@ -326,7 +329,7 @@ b2 = anticanonical_divisor(B2)
326329w5 = literature_model (arxiv_id = " 1507.05954" , equation = " A.1" , completeness_check = false , base_space = B2, defining_classes = Dict (" s8" => b2, " a1" => b, " a2" => b, " a3" => b))
327330
328331@testset " Test defining data for literature Weierstrass model over concrete base" begin
329- @test length (singular_loci (w4)) == 1
332+ @test length (singular_loci (w4; rng = our_rng )) == 1
330333 @test dim (base_space (w4)) == 2
331334 @test dim (ambient_space (w4)) == 4
332335 @test is_base_space_fully_specified (w4) == true
@@ -344,7 +347,7 @@ b = torusinvariant_prime_divisors(B2)[1]
344347w6 = literature_model (3 , base_space = B2, defining_classes = Dict (" b" => b), completeness_check = false )
345348
346349@testset " Test defining data for literature model defined by model index" begin
347- @test length (singular_loci (w6)) == 1
350+ @test length (singular_loci (w6; rng = our_rng )) == 1
348351 @test dim (base_space (w6)) == 2
349352 @test dim (ambient_space (w6)) == 4
350353 @test is_base_space_fully_specified (w6) == true
@@ -783,20 +786,20 @@ foah16_B3_weier = literature_model(arxiv_id = "1408.4808", equation = "3.203", t
783786 @test parent (explicit_model_sections (foah14_B3_weier)[" s7" ]) == cox_ring (base_space (foah14_B3_weier))
784787 @test parent (explicit_model_sections (foah15_B3_weier)[" s7" ]) == cox_ring (base_space (foah15_B3_weier))
785788 @test parent (explicit_model_sections (foah16_B3_weier)[" s7" ]) == cox_ring (base_space (foah16_B3_weier))
786- @test [k[2 : 3 ] for k in singular_loci (foah1_B3_weier)] == [((0 , 0 , 1 ), " I_1" )]
787- @test [k[2 : 3 ] for k in singular_loci (foah2_B3_weier)] == [((0 , 0 , 1 ), " I_1" )]
788- @test [k[2 : 3 ] for k in singular_loci (foah3_B3_weier)] == [((0 , 0 , 1 ), " I_1" )]
789- @test [k[2 : 3 ] for k in singular_loci (foah4_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" )]
790- @test [k[2 : 3 ] for k in singular_loci (foah5_B3_weier)] == [((0 , 0 , 1 ), " I_1" )]
791- @test [k[2 : 3 ] for k in singular_loci (foah6_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" )]
792- @test [k[2 : 3 ] for k in singular_loci (foah7_B3_weier)] == [((0 , 0 , 1 ), " I_1" )]
793- @test [k[2 : 3 ] for k in singular_loci (foah8_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" )]
794- @test [k[2 : 3 ] for k in singular_loci (foah9_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" )]
795- @test [k[2 : 3 ] for k in singular_loci (foah10_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 3 ), " Split I_3" )]
796- @test [k[2 : 3 ] for k in singular_loci (foah11_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 3 ), " Split I_3" )]
797- @test [k[2 : 3 ] for k in singular_loci (foah12_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" )]
798- @test [k[2 : 3 ] for k in singular_loci (foah13_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 4 ), " Split I_4" )]
799- @test [k[2 : 3 ] for k in singular_loci (foah14_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 3 ), " Split I_3" )]
800- @test [k[2 : 3 ] for k in singular_loci (foah15_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" )]
801- @test [k[2 : 3 ] for k in singular_loci (foah16_B3_weier)] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 3 ), " Split I_3" ), ((0 , 0 , 3 ), " Split I_3" ), ((0 , 0 , 3 ), " Split I_3" )]
789+ @test [k[2 : 3 ] for k in singular_loci (foah1_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" )]
790+ @test [k[2 : 3 ] for k in singular_loci (foah2_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" )]
791+ @test [k[2 : 3 ] for k in singular_loci (foah3_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" )]
792+ @test [k[2 : 3 ] for k in singular_loci (foah4_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" )]
793+ @test [k[2 : 3 ] for k in singular_loci (foah5_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" )]
794+ @test [k[2 : 3 ] for k in singular_loci (foah6_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" )]
795+ @test [k[2 : 3 ] for k in singular_loci (foah7_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" )]
796+ @test [k[2 : 3 ] for k in singular_loci (foah8_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" )]
797+ @test [k[2 : 3 ] for k in singular_loci (foah9_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" )]
798+ @test [k[2 : 3 ] for k in singular_loci (foah10_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 3 ), " Split I_3" )]
799+ @test [k[2 : 3 ] for k in singular_loci (foah11_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 3 ), " Split I_3" )]
800+ @test [k[2 : 3 ] for k in singular_loci (foah12_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" )]
801+ @test [k[2 : 3 ] for k in singular_loci (foah13_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 4 ), " Split I_4" )]
802+ @test [k[2 : 3 ] for k in singular_loci (foah14_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 3 ), " Split I_3" )]
803+ @test [k[2 : 3 ] for k in singular_loci (foah15_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" ), ((0 , 0 , 2 ), " Non-split I_2" )]
804+ @test [k[2 : 3 ] for k in singular_loci (foah16_B3_weier; rng = our_rng )] == [((0 , 0 , 1 ), " I_1" ), ((0 , 0 , 3 ), " Split I_3" ), ((0 , 0 , 3 ), " Split I_3" ), ((0 , 0 , 3 ), " Split I_3" )]
802805end
0 commit comments