MCPcopy Create free account

hub / github.com/NethermindEth/latticefold / functions

Functions495 in github.com/NethermindEth/latticefold

↓ 1 callersFunctiongenerate_ajtai
( kappa: usize, n: usize, )
crates/latticefold/src/commitment/commitment_scheme.rs:124
↓ 1 callersFunctiongenerate_code_for_examples
()
crates/latticefold/build.rs:15
↓ 1 callersMethodget
(&self, name: &str)
crates/latticefold/src/arith/r1cs.rs:582
↓ 1 callersMethodget_short_challenge
(&mut self)
crates/latticefold/src/transcript/poseidon.rs:69
↓ 1 callersFunctionget_test_ccs
(W: usize, L: usize)
crates/latticefold/src/arith.rs:437
↓ 1 callersFunctionget_test_degree_three_z_non_scalar_split
()
crates/latticefold/src/arith/ccs.rs:88
↓ 1 callersFunctionget_test_z
(input: usize)
crates/latticefold/src/arith.rs:442
↓ 1 callersFunctionget_test_z_ntt
()
crates/latticefold/src/arith/r1cs.rs:237
↓ 1 callersFunctionhadamard_vec
(lhs: &[R], rhs: &[R])
crates/latticefold/src/arith/utils.rs:13
↓ 1 callersFunctionidentity_cs
(n: usize)
crates/latticefold-plus/src/r1cs.rs:199
↓ 1 callersFunctionidentity_cs
(n: usize)
crates/latticefold-plus/src/decomp.rs:145
↓ 1 callersFunctioninterpolate_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 callersMethodis_satisfied
Check if the constraint system is satisfied by the given inputs
crates/latticefold/src/arith/r1cs.rs:443
↓ 1 callersMethodkappa
Ajtai matrix number of rows This value affects the security of the scheme.
crates/latticefold/src/commitment/commitment_scheme.rs:59
↓ 1 callersMethodnconstraints
Get the number of constraints
crates/latticefold/src/arith/r1cs.rs:414
↓ 1 callersFunctionparse_benches
()
crates/latticefold/build.rs:234
↓ 1 callersFunctionprepare_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 callersFunctionprepare_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 callersMethodrelax
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 callersFunctionsetup_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 callersFunctionsetup_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 callersFunctionsetup_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 callersFunctionsetup_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 callersFunctionsetup_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 callersFunctionsetup_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 callersMethodsqueeze_bytes
(&mut self, n: usize)
crates/latticefold-plus/src/transcript.rs:52
↓ 1 callersMethodsqueeze_bytes
(&mut self, n: usize)
crates/latticefold/src/transcript/poseidon.rs:59
↓ 1 callersFunctionsqueeze_challenges
( transcript: &mut impl Transcript<R>, name: &str, n: usize, )
crates/latticefold-plus/src/transcript.rs:57
↓ 1 callersFunctionsumcheck_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 callersMethodtake_f_hat
Takes the `f_hat` value. Leaves the value in the struct as `None`.
crates/latticefold/src/arith.rs:367
↓ 1 callersMethodthroughput
((n, _, _, _): Self::Params)
crates/latticefold-plus/benches/decomp.rs:165
↓ 1 callersMethodto_r1cs
Convert to a sparse matrix representation (R1CS)
crates/latticefold/src/arith/r1cs.rs:510
↓ 1 callersFunctionu128_factorial
(a: usize)
crates/latticefold/src/utils/sumcheck/verifier.rs:271
↓ 1 callersFunctionu64_factorial
(a: usize)
crates/latticefold/src/utils/sumcheck/verifier.rs:281
↓ 1 callersFunctionvalidate_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 callersFunctionvec_value_mul
(lhs: &[R], rhs: &R)
crates/latticefold/src/arith/utils.rs:19
↓ 1 callersMethodverify
(&self, transcript: &mut impl Transcript<R>)
crates/latticefold-plus/src/r1cs.rs:137
Functionabsorb_public_input
( acc: &LCCCS<NTT>, cm_i: &CCCS<NTT>, transcript: &mut impl Transcript<NTT>, )
crates/latticefold/src/nifs.rs:175
Methodadd
(&mut self, name: impl Into<String>, index: usize, len: usize)
crates/latticefold/src/arith/r1cs.rs:577
Methodadd_assign
(&mut self, rhs: &'a Commitment<R>)
crates/latticefold/src/commitment/homomorphic_commitment.rs:55
Methodadd_terms
Add a term to the linear combination
crates/latticefold/src/arith/r1cs.rs:342
Methodbase_pow2
(&self)
crates/latticefold-plus/benches/utils/helpers.rs:52
Functionbench_cm_prover
Benchmark entry point for commitment transformation prover with L scaling.
crates/latticefold-plus/benches/cm.rs:178
Functionbench_cm_verifier
Benchmark entry point for commitment transformation verifier with L scaling.
crates/latticefold-plus/benches/cm.rs:183
Functionbench_decomp_prover
Benchmark entry point for decomposition prover with witness size scaling.
crates/latticefold-plus/benches/decomp.rs:213
Functionbench_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
Functionbench_decomp_verifier
Benchmark entry point for decomposition verifier with witness size scaling.
crates/latticefold-plus/benches/decomp.rs:218
Methodbench_decomposition_prover
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:304
Methodbench_decomposition_verifier
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:353
Functionbench_double_commitment_k_scaling
Benchmark entry point for double commitment with k-scaling.
crates/latticefold-plus/benches/double_commitment.rs:166
Functionbench_double_commitment_prover
Benchmark entry point for double commitment with witness size scaling.
crates/latticefold-plus/benches/double_commitment.rs:161
Functionbench_e2e_folding_arity
Benchmark entry point for E2E prover with folding arity scaling.
crates/latticefold-plus/benches/e2e.rs:272
Functionbench_e2e_prover
Benchmark entry point for E2E prover with protocol scaling.
crates/latticefold-plus/benches/e2e.rs:262
Methodbench_e2e_prover
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:619
Functionbench_e2e_verifier
Benchmark entry point for E2E verifier with protocol scaling.
crates/latticefold-plus/benches/e2e.rs:267
Methodbench_e2e_verifier
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:682
Methodbench_folding_prover
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:422
Methodbench_folding_verifier
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:516
Functionbench_lin_prover
Benchmark entry point for single instance folding prover with witness size scaling.
crates/latticefold-plus/benches/lin.rs:198
Functionbench_lin_verifier
Benchmark entry point for single instance folding verifier with witness size scaling.
crates/latticefold-plus/benches/lin.rs:203
Methodbench_linearization_prover
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:217
Methodbench_linearization_verifier
( group: &mut BenchmarkGroup<WallTime>, x_len: usize, n: usize, wit_len: usize
crates/latticefold/benches/utils.rs:258
Functionbench_mlin_k_scaling
Benchmark entry point for multilinear folding prover with k scaling.
crates/latticefold-plus/benches/mlin.rs:335
Functionbench_mlin_kappa_scaling
Benchmark entry point for multilinear folding prover with κ scaling.
crates/latticefold-plus/benches/mlin.rs:345
Functionbench_mlin_large_witness
Benchmark entry point for multilinear folding prover with large witness scaling.
crates/latticefold-plus/benches/mlin.rs:340
Functionbench_mlin_prover
Benchmark entry point for multilinear folding prover with L scaling.
crates/latticefold-plus/benches/mlin.rs:325
Functionbench_mlin_verifier
Benchmark entry point for multilinear folding verifier with L scaling.
crates/latticefold-plus/benches/mlin.rs:330
Functionbench_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
Functionbench_rgchk_k_scaling
Benchmark entry point for range check prover with k-scaling.
crates/latticefold-plus/benches/rgchk.rs:237
Functionbench_rgchk_kappa_scaling
Benchmark entry point for range check prover with κ-scaling.
crates/latticefold-plus/benches/rgchk.rs:242
Functionbench_rgchk_prover
Benchmark entry point for range check prover with witness size scaling.
crates/latticefold-plus/benches/rgchk.rs:227
Functionbench_rgchk_verifier
Benchmark entry point for range check verifier with witness size scaling.
crates/latticefold-plus/benches/rgchk.rs:232
Functionbench_setchk_batching
Benchmark entry point for set check prover with batching efficiency test.
crates/latticefold-plus/benches/setchk.rs:204
Functionbench_setchk_prover
Benchmark entry point for set check prover with size and batch scaling.
crates/latticefold-plus/benches/setchk.rs:194
Functionbench_setchk_verifier
Benchmark entry point for set check verifier with size and batch scaling.
crates/latticefold-plus/benches/setchk.rs:199
Functionbench_split_scaling_k_first
Benchmark entry point for split function with k_first scaling.
crates/latticefold-plus/benches/split.rs:175
Functionbench_split_scaling_kappa
Benchmark entry point for split function with κ scaling.
crates/latticefold-plus/benches/split.rs:180
Functionbench_split_varying_params
Benchmark entry point for split function with varying parameters.
crates/latticefold-plus/benches/split.rs:170
Functionbench_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
Functionbenchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/e2e.rs:13
Functionbenchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/decomposition.rs:14
Functionbenchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/ajtai.rs:22
Functionbenchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/linearization.rs:14
Functionbenchmarks_main
(c: &mut Criterion)
crates/latticefold/benches/folding.rs:12
Functionbit_decompose
(input: u64, num_var: usize)
crates/latticefold/src/utils/sumcheck/utils.rs:174
Functioncalculate_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
Methodcalculate_b_s
()
crates/latticefold/src/nifs/decomposition.rs:288
Methodcalculate_challenged_mz_mle
( Mz_mles_vec: &[Vec<DenseMultilinearExtension<NTT>>], zeta_s: &[NTT], )
crates/latticefold/src/nifs/folding.rs:208
Methodcalculate_claims
(alpha_s: &[NTT], zeta_s: &[NTT], cm_i_s: &[LCCCS<NTT>])
crates/latticefold/src/nifs/folding.rs:311
Methodcheck_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
Methodcheck_data
(&self)
crates/latticefold/src/arith.rs:505
Functioncheck_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
Methodcommit
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
Methodcommit_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
Methodcommit_witnesses
Ajtai commits to witnesses `wit_s` using Ajtai commitment scheme `scheme`.
crates/latticefold/src/nifs/decomposition.rs:178
Methodcompute
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
Methodcompute_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
Methodcompute_f_0
(rho_s: &[NTT], w_s: &[Witness<NTT>])
crates/latticefold/src/nifs/folding.rs:258
Methodcompute_mz_mles
( wit_s: &[Witness<NTT>], M: &[SparseMatrix<NTT>], decomposed_statements: &[Vec<NTT>],
crates/latticefold/src/nifs/decomposition.rs:229
Functioncompute_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
← previousnext →101–200 of 495, ranked by callers