2019-02-21 16:31:38 +01:00
|
|
|
@testset "1703.09680 Examples" begin
|
|
|
|
|
|
|
|
@testset "SL(2,Z)" begin
|
|
|
|
N = 2
|
2019-07-01 01:38:30 +02:00
|
|
|
G = MatrixAlgebra(zz, N)
|
|
|
|
S = PropertyT.generating_set(G)
|
2019-02-21 16:31:38 +01:00
|
|
|
|
|
|
|
rm("SL($N,Z)", recursive=true, force=true)
|
2019-07-01 01:38:30 +02:00
|
|
|
sett = PropertyT.Settings("SL($N,Z)", G, S, with_SCS(20000, accel=20); upper_bound=0.1)
|
|
|
|
|
2019-10-30 23:56:53 +01:00
|
|
|
@info sett
|
2019-07-01 01:38:30 +02:00
|
|
|
|
|
|
|
λ = PropertyT.spectral_gap(sett)
|
|
|
|
@test λ < 0.0
|
|
|
|
@test PropertyT.interpret_results(sett, λ) == false
|
2019-02-21 16:31:38 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
@testset "SL(3,Z)" begin
|
|
|
|
N = 3
|
2019-07-01 01:38:30 +02:00
|
|
|
G = MatrixAlgebra(zz, N)
|
|
|
|
S = PropertyT.generating_set(G)
|
|
|
|
|
2019-02-21 16:31:38 +01:00
|
|
|
rm("SL($N,Z)", recursive=true, force=true)
|
2019-07-01 01:38:30 +02:00
|
|
|
sett = PropertyT.Settings("SL($N,Z)", G, S, with_SCS(1000, accel=20); upper_bound=0.1)
|
|
|
|
|
2019-10-30 23:56:53 +01:00
|
|
|
@info sett
|
2019-07-01 01:38:30 +02:00
|
|
|
|
|
|
|
λ = PropertyT.spectral_gap(sett)
|
|
|
|
@test λ > 0.0999
|
|
|
|
@test PropertyT.interpret_results(sett, λ) == true
|
|
|
|
|
|
|
|
@test PropertyT.check_property_T(sett) == true #second run should be fast
|
2019-02-21 16:31:38 +01:00
|
|
|
end
|
2019-07-01 01:38:30 +02:00
|
|
|
|
2019-02-21 16:31:38 +01:00
|
|
|
@testset "SAut(F₂)" begin
|
|
|
|
N = 2
|
|
|
|
G = SAut(FreeGroup(N))
|
2019-07-01 01:38:30 +02:00
|
|
|
S = PropertyT.generating_set(G)
|
|
|
|
|
2019-02-21 16:31:38 +01:00
|
|
|
rm("SAut(F$N)", recursive=true, force=true)
|
2019-07-01 01:38:30 +02:00
|
|
|
sett = PropertyT.Settings("SAut(F$N)", G, S, with_SCS(10000);
|
2019-10-30 23:56:53 +01:00
|
|
|
upper_bound=0.15)
|
2019-07-01 01:38:30 +02:00
|
|
|
|
2019-10-30 23:56:53 +01:00
|
|
|
@info sett
|
2019-07-01 01:38:30 +02:00
|
|
|
|
|
|
|
λ = PropertyT.spectral_gap(sett)
|
|
|
|
@test λ < 0.0
|
|
|
|
@test PropertyT.interpret_results(sett, λ) == false
|
|
|
|
|
2019-02-21 16:31:38 +01:00
|
|
|
end
|
|
|
|
end
|