Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NethermindEth/latticefold
/ functions
Functions
495 in github.com/NethermindEth/latticefold
⨍
Functions
495
◇
Types & classes
152
↓ 1 callers
Function
generate_ajtai
( kappa: usize, n: usize, )
crates/latticefold/src/commitment/commitment_scheme.rs:124
↓ 1 callers
Function
generate_code_for_examples
()
crates/latticefold/build.rs:15
↓ 1 callers
Method
get
(&self, name: &str)
crates/latticefold/src/arith/r1cs.rs:582
↓ 1 callers
Method
get_short_challenge
(&mut self)
crates/latticefold/src/transcript/poseidon.rs:69
↓ 1 callers
Function
get_test_ccs
(W: usize, L: usize)
crates/latticefold/src/arith.rs:437
↓ 1 callers
Function
get_test_degree_three_z_non_scalar_split
()
crates/latticefold/src/arith/ccs.rs:88
↓ 1 callers
Function
get_test_z
(input: usize)
crates/latticefold/src/arith.rs:442
↓ 1 callers
Function
get_test_z_ntt
()
crates/latticefold/src/arith/r1cs.rs:237
↓ 1 callers
Function
hadamard_vec
(lhs: &[R], rhs: &[R])
crates/latticefold/src/arith/utils.rs:13
↓ 1 callers
Function
identity_cs
(n: usize)
crates/latticefold-plus/src/r1cs.rs:199
↓ 1 callers
Function
identity_cs
(n: usize)
crates/latticefold-plus/src/decomp.rs:145
↓ 1 callers
Function
interpolate_uni_poly
interpolate the *unique* univariate polynomial of degree *at most p_i.len()-1 passing through the y-values in p_i at x = 0,..., p_i.len()-1 and evalua
crates/latticefold/src/utils/sumcheck/verifier.rs:139
↓ 1 callers
Method
is_satisfied
Check if the constraint system is satisfied by the given inputs
crates/latticefold/src/arith/r1cs.rs:443
↓ 1 callers
Method
kappa
Ajtai matrix number of rows This value affects the security of the scheme.
crates/latticefold/src/commitment/commitment_scheme.rs:59
↓ 1 callers
Method
nconstraints
Get the number of constraints
crates/latticefold/src/arith/r1cs.rs:414
↓ 1 callers
Function
parse_benches
()
crates/latticefold/build.rs:234
↓ 1 callers
Function
prepare_g2_i_mle_list
Get the MLEs needed for one g2 component of the sumcheck polynomial
crates/latticefold/src/nifs/folding/utils.rs:548
↓ 1 callers
Function
prepare_lin_sumcheck_polynomial
Prepare the main linearization polynomial. $$ g(\vec{\mathbf{x}}) := eq(\vec{\beta}, \vec{\mathbf{x}}) \cdot \left( \sum\_{i=1}^{n\_s} c\_i \cdot \le
crates/latticefold/src/nifs/linearization/utils.rs:63
↓ 1 callers
Method
relax
Converts the R1CS instance into a RelaxedR1CS as described in [Nova](https://eprint.iacr.org/2021/370.pdf#page=14)
crates/latticefold/src/arith/r1cs.rs:44
↓ 1 callers
Function
setup_proof
Generates a valid single instance fold proof for verifier benchmarks. Creates a LinB instance, executes the lin folding protocol to generate a `CmPro
crates/latticefold-plus/benches/lin.rs:80
↓ 1 callers
Function
setup_proof
Generates a valid end-to-end proof for verifier benchmarks. Creates a complete prover setup, generates a proof by folding L instances, and prepares t
crates/latticefold-plus/benches/e2e.rs:108
↓ 1 callers
Function
setup_proof
Generates a valid set check proof for verifier benchmarks. Creates input, executes the prover to generate an `Out` proof, and validates it before ret
crates/latticefold-plus/benches/setchk.rs:69
↓ 1 callers
Function
setup_proof
Generates a valid range check proof for verifier benchmarks. Creates input, executes the prover to generate a `Dcom` proof, and validates it before r
crates/latticefold-plus/benches/rgchk.rs:73
↓ 1 callers
Function
setup_proof
Generates a valid multilinear fold proof for verifier benchmarks. Creates an `Mlin` input with L instances, executes the mlin protocol to generate a
crates/latticefold-plus/benches/mlin.rs:105
↓ 1 callers
Function
setup_proof
Generates a valid decomposition proof for verifier benchmarks. Creates a LinB2 instance, executes the decomposition protocol to generate a `DecompPro
crates/latticefold-plus/benches/decomp.rs:100
↓ 1 callers
Method
squeeze_bytes
(&mut self, n: usize)
crates/latticefold-plus/src/transcript.rs:52
↓ 1 callers
Method
squeeze_bytes
(&mut self, n: usize)
crates/latticefold/src/transcript/poseidon.rs:59
↓ 1 callers
Function
squeeze_challenges
( transcript: &mut impl Transcript<R>, name: &str, n: usize, )
crates/latticefold-plus/src/transcript.rs:57
↓ 1 callers
Function
sumcheck_polynomial_comb_fn
Combines evaluations of MLE into evaluation of folding sumcheck polynomial # Arguments - `vals: &[NTT]`: The evaluations of the multilinear extensio
crates/latticefold/src/nifs/folding/utils.rs:273
↓ 1 callers
Method
take_f_hat
Takes the `f_hat` value. Leaves the value in the struct as `None`.
crates/latticefold/src/arith.rs:367
↓ 1 callers
Method
throughput
((n, _, _, _): Self::Params)
crates/latticefold-plus/benches/decomp.rs:165
↓ 1 callers
Method
to_r1cs
Convert to a sparse matrix representation (R1CS)
crates/latticefold/src/arith/r1cs.rs:510
↓ 1 callers
Function
u128_factorial
(a: usize)
crates/latticefold/src/utils/sumcheck/verifier.rs:271
↓ 1 callers
Function
u64_factorial
(a: usize)
crates/latticefold/src/utils/sumcheck/verifier.rs:281
↓ 1 callers
Function
validate_witness_params
Validates that witness size satisfies decomposition parameter constraints. Ensures the fundamental constraint: `witness_size >= κ × k × d × l × d` wh
crates/latticefold-plus/benches/utils/helpers.rs:429
↓ 1 callers
Function
vec_value_mul
(lhs: &[R], rhs: &R)
crates/latticefold/src/arith/utils.rs:19
↓ 1 callers
Method
verify
(&self, transcript: &mut impl Transcript<R>)
crates/latticefold-plus/src/r1cs.rs:137
Function
absorb_public_input
( acc: &LCCCS<NTT>, cm_i: &CCCS<NTT>, transcript: &mut impl Transcript<NTT>, )
crates/latticefold/src/nifs.rs:175
Method
add
(&mut self, name: impl Into<String>, index: usize, len: usize)
crates/latticefold/src/arith/r1cs.rs:577
Method
add_assign
(&mut self, rhs: &'a Commitment<R>)
crates/latticefold/src/commitment/homomorphic_commitment.rs:55
Method
add_terms
Add a term to the linear combination
crates/latticefold/src/arith/r1cs.rs:342
Method
base_pow2
(&self)
crates/latticefold-plus/benches/utils/helpers.rs:52
Function
bench_cm_prover
Benchmark entry point for commitment transformation prover with L scaling.
crates/latticefold-plus/benches/cm.rs:178
Function
bench_cm_verifier
Benchmark entry point for commitment transformation verifier with L scaling.
crates/latticefold-plus/benches/cm.rs:183
Function
bench_decomp_prover
Benchmark entry point for decomposition prover with witness size scaling.
crates/latticefold-plus/benches/decomp.rs:213
Function
bench_decomp_roundtrip
Benchmark entry point for complete fold→decompose roundtrip cycle. Measures the full cost of folding followed by decomposition, which is the typical
crates/latticefold-plus/benches/decomp.rs:227
Function
bench_decomp_verifier
Benchmark entry point for decomposition verifier with witness size scaling.
crates/latticefold-plus/benches/decomp.rs:218
Method
bench_decomposition_prover
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:304
Method
bench_decomposition_verifier
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:353
Function
bench_double_commitment_k_scaling
Benchmark entry point for double commitment with k-scaling.
crates/latticefold-plus/benches/double_commitment.rs:166
Function
bench_double_commitment_prover
Benchmark entry point for double commitment with witness size scaling.
crates/latticefold-plus/benches/double_commitment.rs:161
Function
bench_e2e_folding_arity
Benchmark entry point for E2E prover with folding arity scaling.
crates/latticefold-plus/benches/e2e.rs:272
Function
bench_e2e_prover
Benchmark entry point for E2E prover with protocol scaling.
crates/latticefold-plus/benches/e2e.rs:262
Method
bench_e2e_prover
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:619
Function
bench_e2e_verifier
Benchmark entry point for E2E verifier with protocol scaling.
crates/latticefold-plus/benches/e2e.rs:267
Method
bench_e2e_verifier
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:682
Method
bench_folding_prover
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:422
Method
bench_folding_verifier
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:516
Function
bench_lin_prover
Benchmark entry point for single instance folding prover with witness size scaling.
crates/latticefold-plus/benches/lin.rs:198
Function
bench_lin_verifier
Benchmark entry point for single instance folding verifier with witness size scaling.
crates/latticefold-plus/benches/lin.rs:203
Method
bench_linearization_prover
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:217
Method
bench_linearization_verifier
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:258
Function
bench_mlin_k_scaling
Benchmark entry point for multilinear folding prover with k scaling.
crates/latticefold-plus/benches/mlin.rs:335
Function
bench_mlin_kappa_scaling
Benchmark entry point for multilinear folding prover with κ scaling.
crates/latticefold-plus/benches/mlin.rs:345
Function
bench_mlin_large_witness
Benchmark entry point for multilinear folding prover with large witness scaling.
crates/latticefold-plus/benches/mlin.rs:340
Function
bench_mlin_prover
Benchmark entry point for multilinear folding prover with L scaling.
crates/latticefold-plus/benches/mlin.rs:325
Function
bench_mlin_verifier
Benchmark entry point for multilinear folding verifier with L scaling.
crates/latticefold-plus/benches/mlin.rs:330
Function
bench_prover_protocol
Generic benchmark runner for prover protocols. Eliminates boilerplate by handling benchmark group creation, parameter iteration, throughput measureme
crates/latticefold-plus/benches/utils/helpers.rs:306
Function
bench_rgchk_k_scaling
Benchmark entry point for range check prover with k-scaling.
crates/latticefold-plus/benches/rgchk.rs:237
Function
bench_rgchk_kappa_scaling
Benchmark entry point for range check prover with κ-scaling.
crates/latticefold-plus/benches/rgchk.rs:242
Function
bench_rgchk_prover
Benchmark entry point for range check prover with witness size scaling.
crates/latticefold-plus/benches/rgchk.rs:227
Function
bench_rgchk_verifier
Benchmark entry point for range check verifier with witness size scaling.
crates/latticefold-plus/benches/rgchk.rs:232
Function
bench_setchk_batching
Benchmark entry point for set check prover with batching efficiency test.
crates/latticefold-plus/benches/setchk.rs:204
Function
bench_setchk_prover
Benchmark entry point for set check prover with size and batch scaling.
crates/latticefold-plus/benches/setchk.rs:194
Function
bench_setchk_verifier
Benchmark entry point for set check verifier with size and batch scaling.
crates/latticefold-plus/benches/setchk.rs:199
Function
bench_split_scaling_k_first
Benchmark entry point for split function with k_first scaling.
crates/latticefold-plus/benches/split.rs:175
Function
bench_split_scaling_kappa
Benchmark entry point for split function with κ scaling.
crates/latticefold-plus/benches/split.rs:180
Function
bench_split_varying_params
Benchmark entry point for split function with varying parameters.
crates/latticefold-plus/benches/split.rs:170
Function
bench_verifier_protocol
Generic benchmark runner for verifier protocols. Similar to `bench_prover_protocol` but for verification. Handles proof generation in the setup phase
crates/latticefold-plus/benches/utils/helpers.rs:340
Function
benchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/e2e.rs:13
Function
benchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/decomposition.rs:14
Function
benchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/ajtai.rs:22
Function
benchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/linearization.rs:14
Function
benchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/folding.rs:12
Function
bit_decompose
(input: u64, num_var: usize)
crates/latticefold/src/utils/sumcheck/utils.rs:174
Function
calculate_Mz_mles
Prepare MLE's of the form mle[M_i \cdot z_ccs](x), a.k.a. \sum mle[M_i](x, b) * mle[z_ccs](b).
crates/latticefold/src/utils/mle_helpers.rs:137
Method
calculate_b_s
()
crates/latticefold/src/nifs/decomposition.rs:288
Method
calculate_challenged_mz_mle
( Mz_mles_vec: &[Vec<DenseMultilinearExtension<NTT>>], zeta_s: &[NTT], )
crates/latticefold/src/nifs/folding.rs:208
Method
calculate_claims
(alpha_s: &[NTT], zeta_s: &[NTT], cm_i_s: &[LCCCS<NTT>])
crates/latticefold/src/nifs/folding.rs:311
Method
check_and_generate_subclaim
verify the sumcheck phase, and generate the subclaim If the asserted sum is correct, then the multilinear polynomial evaluated at `subclaim.point` is
crates/latticefold/src/utils/sumcheck/verifier.rs:92
Method
check_data
(&self)
crates/latticefold/src/arith.rs:505
Function
check_ring_modulus_128_bits_security
( ring_modulus: &BigUint, kappa: usize, degree: usize, num_cols: usize, b: u128, l: us
crates/latticefold/src/utils/security_check.rs:17
Method
commit
Produces a commitment from a witness Ajtai commitments are produced by multiplying an Ajtai matrix by the witness vector
crates/latticefold/src/arith.rs:357
Method
commit_coeff
Commit to a witness in the coefficient form. Performs NTT on each component of the witness and then does Ajtai commitment.
crates/latticefold/src/commitment/commitment_scheme.rs:81
Method
commit_witnesses
Ajtai commits to witnesses `wit_s` using Ajtai commitment scheme `scheme`.
crates/latticefold/src/nifs/decomposition.rs:178
Method
compute
Computes decomposition parameters for the current ring configuration. Uses FrogRing dimension and modulus to calculate optimal base and length for ga
crates/latticefold-plus/benches/utils/helpers.rs:40
Method
compute_evaluation_vectors
Step 3: the mle evaluations that the prover sends to the verifier. I.e. f-hat rows mle evaluations and Mz mle evaluations.
crates/latticefold/src/nifs/linearization.rs:126
Method
compute_f_0
(rho_s: &[NTT], w_s: &[Witness<NTT>])
crates/latticefold/src/nifs/folding.rs:258
Method
compute_mz_mles
( wit_s: &[Witness<NTT>], M: &[SparseMatrix<NTT>], decomposed_statements: &[Vec<NTT>],
crates/latticefold/src/nifs/decomposition.rs:229
Function
compute_sumcheck_claim_expected_value
Computes the grand sum from point 4 of the Latticefold folding protocol. # Arguments - `alpha_s: &[NTT]` A slice containing the $\alpha$ challenges.
crates/latticefold/src/nifs/folding/utils.rs:369
← previous
next →
101–200 of 495, ranked by callers