1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-25 18:25:30 +01:00
PropertyT.jl/test/1703.09680.jl

52 lines
1.4 KiB
Julia
Raw Normal View History

2019-02-21 16:31:38 +01:00
@testset "1703.09680 Examples" begin
@testset "SL(2,Z)" begin
N = 2
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)
sett = PropertyT.Settings("SL($N,Z)", G, S, with_SCS(20000, accel=20); upper_bound=0.1)
@info sett
λ = 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
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)
sett = PropertyT.Settings("SL($N,Z)", G, S, with_SCS(1000, accel=20); upper_bound=0.1)
@info sett
λ = PropertyT.spectral_gap(sett)
2019-10-31 09:59:09 +01:00
@test λ > 0.099
@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-02-21 16:31:38 +01:00
@testset "SAut(F₂)" begin
N = 2
G = SAut(FreeGroup(N))
S = PropertyT.generating_set(G)
2019-02-21 16:31:38 +01:00
rm("SAut(F$N)", recursive=true, force=true)
sett = PropertyT.Settings("SAut(F$N)", G, S, with_SCS(10000);
upper_bound=0.15)
@info sett
λ = PropertyT.spectral_gap(sett)
@test λ < 0.0
@test PropertyT.interpret_results(sett, λ) == false
2019-02-21 16:31:38 +01:00
end
end