API Reference

Core Types

SelfConsistentLogisticNoise.FourierDisc — Type
FourierDisc(N, M)

Fourier discretization parameters.

  • N: truncation level (modes from -N to N, total 2N+1 coefficients)
  • M: FFT oversampling grid size (typically M = os * (2N+1) with os = 8 or 16)
source

Observables and Coupling

Problem Construction

SelfConsistentLogisticNoise.build_problem — Function
build_problem(; a=0.915, σ=0.02, N=256, δ=0.0, coupling_type=:linear,
              β=1.0, oversample=8, η=0.1, σ_sm=0.005,
              taper=true, M_override=nothing, cache=true)

Convenience function to build a complete SCProblem.

source
SelfConsistentLogisticNoise.build_B — Function
build_B(map::QuadraticMap, disc::FourierDisc; cache=true, cache_dir=".cache",
        η=0.1, σ_sm=0.005, taper=true)

Build the matrix Ba where: (Ba){k,ℓ} = (1/2)∫{-1}^{1} e^{-iπk T_a(y)} e^{iπℓy} dy

Uses FFT trick: for each k, compute Fourier coefficients of gk(y) = e^{-iπk Ta(y)}. When taper=true, uses the tapered + smoothed map T̃_a. by sampling on a fine grid and taking FFT.

If cache=true, attempts to load from / save to disk.

source

Solver

SelfConsistentLogisticNoise.solve_fixed_point — Function
solve_fixed_point(prob::SCProblem; kwargs...)

Solve for fixed point f* such that 𝒯(f) = f using damped Picard iteration.

Keyword Arguments

  • α=0.2: damping parameter (0 < α ≤ 1). Smaller values give more stability.
  • tol=1e-12: convergence tolerance for relative residual.
  • maxit=5000: maximum number of iterations.
  • init=:uniform: initial condition (:uniform, :bump, :random, or a Vector{ComplexF64})
  • verbose=false: print progress information.
  • enforce_symmetry=true: enforce conjugate symmetry at each step.

Returns

  • FixedPointResult containing converged solution and diagnostics.
source

Operator Application

SelfConsistentLogisticNoise.apply_Pc — Function
apply_Pc(prob::SCProblem, fhat::Vector{ComplexF64}, c::Float64)

Apply the noisy transfer operator with shift c: (Pc f)̂k = ρ̂σ(k) * e^{-iπkc} * (Ba f̂)_k

where ρ̂_σ(k) = exp(-(π²/2)σ²k²) is the Gaussian kernel.

source
SelfConsistentLogisticNoise.reconstruct_density — Function
reconstruct_density(fhat::Vector{ComplexF64}, xgrid::AbstractVector)

Reconstruct density f(x) from Fourier coefficients on the given grid.

source
reconstruct_density(fhat::Vector{ComplexF64}; npts=1000)

Reconstruct density on a uniform grid with npts points.

source

Parameter Sweeps

SelfConsistentLogisticNoise.sweep_delta — Function
sweep_delta(prob::SCProblem, δ_range; warm_start=true, kwargs...)

Sweep over δ values, optionally using warm-start continuation.

Returns a DataFrame with columns: δ, m, c, residual, iterations, converged

source
SelfConsistentLogisticNoise.multistart_solve — Function
multistart_solve(prob::SCProblem; n_starts=5, kwargs...)

Run solver from multiple initial conditions to detect multiple fixed points.

Returns a vector of FixedPointResults, clustered by uniqueness.

source

Rigorous Verification

SelfConsistentLogisticNoise.verify_fixed_point — Function
verify_fixed_point(prob, fhat; τ=0.01, verbose=false)

Attempt to rigorously verify that fhat is close to a true fixed point. Uses BallArithmetic for certified bounds on singular values.

Returns a RigorousResult with verification status and all computed constants.

source

I/O

Indexing Utilities