mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-28 17:35:27 +01:00
correct the final printout
This commit is contained in:
parent
926f62cde1
commit
ef407c6a24
@ -171,13 +171,17 @@ function check_property_T(name::String, generating_set::Function,
|
|||||||
if λ > 0
|
if λ > 0
|
||||||
spectral_gap = check_distance_to_positive_cone(Δ, λ, P, tol=tol, rational=false)
|
spectral_gap = check_distance_to_positive_cone(Δ, λ, P, tol=tol, rational=false)
|
||||||
if isa(spectral_gap, Interval)
|
if isa(spectral_gap, Interval)
|
||||||
info(logger, "λ ≥ $(Float64(trunc(spectral_gap.lo,12)))")
|
sgap = spectral_gap.lo
|
||||||
Kazhdan_κ = Kazhdan_from_sgap(spectral_gap, S)
|
end
|
||||||
Kazhdan_κ_lo = Float64(trunc(Kazhdan_κ.lo, 12))
|
if sgap > 0
|
||||||
info(logger, "κ($name, S) ≥ $Kazhdan_κ_lo: Group HAS property (T)!")
|
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
|
else
|
||||||
spectral_gap = Float64(trunc(spectral_gap, 12))
|
sgap = Float64(trunc(sgap, 12))
|
||||||
info(logger, "λ($name, S) ≥ $spectral_gap: Group may NOT HAVE property (T)!")
|
info(logger, "λ($name, S) ≥ $sgap: Group may NOT HAVE property (T)!")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
info(logger, "κ($name, S) ≥ $λ < 0: Tells us nothing about property (T)")
|
info(logger, "κ($name, S) ≥ $λ < 0: Tells us nothing about property (T)")
|
||||||
|
Loading…
Reference in New Issue
Block a user