mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-27 01:10:28 +01:00
better printing
This commit is contained in:
parent
41e53a598a
commit
028979bfd1
@ -138,6 +138,8 @@ function compute_κandA(sdp_constraints, Δ::GroupAlgebraElement, solver::Abstra
|
|||||||
return κ, A
|
return κ, A
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Kazhdan_from_sgap(λ,N) = sqrt(2*λ/N)
|
||||||
|
|
||||||
function check_property_T(name::String, generating_set::Function,
|
function check_property_T(name::String, generating_set::Function,
|
||||||
solver, upper_bound, tol, radius)
|
solver, upper_bound, tol, radius)
|
||||||
|
|
||||||
@ -171,9 +173,10 @@ function check_property_T(name::String, generating_set::Function,
|
|||||||
spectral_gap = spectral_gap.lo
|
spectral_gap = spectral_gap.lo
|
||||||
end
|
end
|
||||||
if spectral_gap > 0
|
if spectral_gap > 0
|
||||||
Kazhdan_κ = sqrt(2*spectral_gap/S)
|
@show spectral_gap
|
||||||
Kazhdan_κ = Float64(trunc(Kazhdan_κ, 12))
|
Kazhdan_const = Kazhdan_from_sgap(spectral_gap, S)
|
||||||
info(logger, "κ($name, S) ≥ $Kazhdan_κ: Group HAS property (T)!")
|
Kazhdan_const = Float64(trunc(Kazhdan_const, 12))
|
||||||
|
info(logger, "κ($name, S) ≥ $Kazhdan_const: Group HAS property (T)!")
|
||||||
else
|
else
|
||||||
spectral_gap = Float64(trunc(spectral_gap, 12))
|
spectral_gap = Float64(trunc(spectral_gap, 12))
|
||||||
info(logger, "λ($name, S) ≥ $spectral_gap: Group may NOT HAVE property (T)!")
|
info(logger, "λ($name, S) ≥ $spectral_gap: Group may NOT HAVE property (T)!")
|
||||||
|
Loading…
Reference in New Issue
Block a user