1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-26 02:30:29 +01:00

correct the final printout

This commit is contained in:
kalmar 2017-04-08 13:49:57 +02:00 committed by kalmarek
parent 926f62cde1
commit ef407c6a24

View File

@ -171,13 +171,17 @@ function check_property_T(name::String, generating_set::Function,
if λ > 0
spectral_gap = check_distance_to_positive_cone(Δ, λ, P, tol=tol, rational=false)
if isa(spectral_gap, Interval)
info(logger, "λ ≥ $(Float64(trunc(spectral_gap.lo,12)))")
Kazhdan_κ = Kazhdan_from_sgap(spectral_gap, S)
Kazhdan_κ_lo = Float64(trunc(Kazhdan_κ.lo, 12))
info(logger, "κ($name, S) ≥ $Kazhdan_κ_lo: Group HAS property (T)!")
sgap = spectral_gap.lo
end
if sgap > 0
info(logger, "λ ≥ $(Float64(trunc(sgap,12)))")
Kazhdan_κ = Kazhdan_from_sgap(sgap, S)
Kazhdan_κ = Float64(trunc(Kazhdan_κ, 12))
info(logger, "κ($name, S) ≥ $Kazhdan_κ: Group HAS property (T)!")
else
spectral_gap = Float64(trunc(spectral_gap, 12))
info(logger, "λ($name, S) ≥ $spectral_gap: Group may NOT HAVE property (T)!")
sgap = Float64(trunc(sgap, 12))
info(logger, "λ($name, S) ≥ $sgap: Group may NOT HAVE property (T)!")
end
else
info(logger, "κ($name, S) ≥ < 0: Tells us nothing about property (T)")