@@ -192,7 +192,7 @@ fn read_public(vs: &mut VerifierState, prog: &Program, public_input: &[F192; 2])
192192 || bytecode_size > ( 1usize << MAX_LOG_BYTECODE )
193193 || !( MIN_LOG_MEM ..=MAX_LOG_MEM ) . contains ( & log_mem)
194194 || row_counts. iter ( ) . any ( |& r| r >= ( 1usize << MAX_LOG_ROWS ) )
195- || :: pcs:: ligerito :: validate_log_inv_rate ( log_inv_rate) . is_err ( )
195+ || :: pcs:: whir :: validate_log_inv_rate ( log_inv_rate) . is_err ( )
196196 {
197197 return Err ( Error :: PublicInput ) ;
198198 }
@@ -492,7 +492,7 @@ impl Stats {
492492/// Fiat-Shamir transcript before the commitment.
493493#[ tracing:: instrument( name = "Prove" , skip_all, fields( log_inv_rate) ) ]
494494pub fn prove ( program : & Program , public_input : [ F192 ; 2 ] , log_inv_rate : usize ) -> ( Proof , Stats ) {
495- :: pcs:: ligerito :: validate_log_inv_rate ( log_inv_rate) . expect ( "valid log_inv_rate" ) ;
495+ :: pcs:: whir :: validate_log_inv_rate ( log_inv_rate) . expect ( "valid log_inv_rate" ) ;
496496 // One proof is one arena phase: every transient buffer below is bump-allocated
497497 // and reclaimed wholesale here, rather than faulted in and unmapped again per
498498 // proof. Bound first so it outlives them; inert unless `init_prover` opted in.
@@ -535,7 +535,7 @@ pub fn prove(program: &Program, public_input: [F192; 2], log_inv_rate: usize) ->
535535 // `w.q` (≥1 instance, a program with no BLAKE3 carries one padding instance,
536536 // so the proof shape is uniform and there is no has/hasn't-BLAKE3 fork). flock's
537537 // R1CS validity and EVERY leanVM point claim are discharged together by ONE
538- // Ligerito over this commitment (below). The input/output words bind via the
538+ // WHIR over this commitment (below). The input/output words bind via the
539539 // memory bus (virtual value columns route to q_pkd); the constant pins reuse a
540540 // bus point, so no dedicated binding challenge is drawn. Mirrored in `verify`.
541541 let l = & w. layout ;
@@ -582,7 +582,7 @@ pub fn prove(program: &Program, public_input: [F192; 2], log_inv_rate: usize) ->
582582 // Run flock's reduction (zerocheck + lincheck) over the prepared native
583583 // layouts retained from the fused q_pkd build pass; it returns the `(ab, c)`
584584 // validity claims on the committed `q_pkd`, discharged by the PCS below in the
585- // SAME Ligerito as every leanVM point claim (the point claims become the
585+ // SAME WHIR as every leanVM point claim (the point claims become the
586586 // opener's `point_claims`).
587587 let flock_reduction = w
588588 . flock_reduction
@@ -667,7 +667,7 @@ fn bind_pi_claim(
667667/// Everything a recursion harness needs from an accepting verify run, named
668668/// and typed: the deferred bytecode claims, the count-channel root, flock's
669669/// reduction claims, and the stacked-opening summary (ring-switch challenges +
670- /// Ligerito fold/query data). The sub-proof scalars themselves live on
670+ /// WHIR fold/query data). The sub-proof scalars themselves live on
671671/// `proof.stream` at fixed offsets from its tail. Ordinary callers just
672672/// `?`-discard it.
673673pub struct VerifySummary {
@@ -691,7 +691,7 @@ pub fn verify(program: &Program, public_input: &[F192; 2], proof: &Proof) -> Res
691691 let root = pcs:: read_commitment ( & mut vs) . map_err ( Error :: Transcript ) ?;
692692
693693 // BLAKE3 ↔ flock (single PCS): flock's R1CS validity and every leanVM point
694- // claim are verified together by ONE Ligerito opening at the end. The executed-
694+ // claim are verified together by ONE WHIR opening at the end. The executed-
695695 // BLAKE3 count is public (announced); its flock sub-proof rides the shared
696696 // `stream`/`openings`, and presence is enforced by consumption below plus
697697 // `vs.finish()` (a proof with `n_b3 = 0` but trailing flock data, or vice versa,
@@ -728,7 +728,7 @@ pub fn verify(program: &Program, public_input: &[F192; 2], proof: &Proof) -> Res
728728
729729 // Replay flock's reduction straight off the shared stream (each scalar bound
730730 // as it is read) to recover its `(ab, c)` validity claims on q_pkd, then
731- // verify them alongside every point claim in the ONE Ligerito opening
731+ // verify them alongside every point claim in the ONE WHIR opening
732732 // (mirroring `prove`). `n_blocks = max(n_b3, 1)`, always ≥ 1 instance.
733733 let n_blocks = n_b3. max ( 1 ) ;
734734 let offset = l. placements [ QPKD ] . offset ;
@@ -811,7 +811,7 @@ mod tests {
811811 /// cell), hash them into the output `c` (cells 6,7), pad with filler SETs so
812812 /// the last executed instruction lands one before the sentinel, and halt
813813 /// there. The flock validity sub-proof plus the memory / state / bytecode bus
814- /// interactions are verified end-to-end (the proof carries the Ligerito
814+ /// interactions are verified end-to-end (the proof carries the WHIR
815815 /// opening they assert on).
816816 fn blake3_program ( a : [ F64 ; 4 ] , b : [ F64 ; 4 ] ) -> Program {
817817 // a → cells 2,3 and b → cells 4,5 (two flock lanes per BLAKE3 cell).
@@ -882,9 +882,9 @@ mod tests {
882882
883883 let ( proof, stats) = prove ( & program, pi, pcs:: LOG_INV_RATE ) ;
884884 assert_eq ! ( stats. counts[ 5 ] , 1 , "one BLAKE3 row" ) ;
885- // flock's sub-proof rides the shared channels: its Ligerito is the proof's
885+ // flock's sub-proof rides the shared channels: its WHIR is the proof's
886886 // one opening, its scalar reduction trails the `stream`.
887- assert ! ( !proof. openings. is_empty( ) , "BLAKE3 program carries a Ligerito opening" ) ;
887+ assert ! ( !proof. openings. is_empty( ) , "BLAKE3 program carries a WHIR opening" ) ;
888888 verify ( & program, & pi, & proof) . expect ( "BLAKE3 program verifies" ) ;
889889 }
890890
@@ -953,7 +953,7 @@ mod tests {
953953 verify ( & program, & pi, & proof) . expect ( "self-hash BLAKE3 verifies" ) ;
954954 }
955955
956- /// Tampering flock's validity sub-proof (its Ligerito , opened over the same
956+ /// Tampering flock's validity sub-proof (its WHIR , opened over the same
957957 /// stacked commitment) must make verification fail.
958958 #[ test]
959959 fn blake3_rejects_tampered_validity ( ) {
@@ -967,8 +967,8 @@ mod tests {
967967
968968 // The stacked opening is the proof's one hint; tamper a sumcheck
969969 // round message (the inner-product transcript); must be rejected.
970- let lig = proof. openings . last_mut ( ) . expect ( "stacked Ligerito opening" ) ;
971- lig. ligerito . sumcheck_transcript [ 0 ] . u_0 += F192 :: ONE ;
970+ let lig = proof. openings . last_mut ( ) . expect ( "stacked WHIR opening" ) ;
971+ lig. whir . sumcheck_transcript [ 0 ] . u_0 += F192 :: ONE ;
972972 assert ! (
973973 verify( & program, & pi, & proof) . is_err( ) ,
974974 "tampered BLAKE3 validity proof must be rejected"
@@ -980,7 +980,7 @@ mod tests {
980980 /// the verifier's reduction/opening replay, so tampering a transport word
981981 /// diverges the recovered `(ab, c)` claims (or breaks decoding) and
982982 /// verification must reject. (Complements `blake3_rejects_tampered_validity`,
983- /// which tampers the Ligerito opening.)
983+ /// which tampers the WHIR opening.)
984984 #[ test]
985985 fn blake3_rejects_tampered_reduction ( ) {
986986 let program = blake3_program (
@@ -1019,7 +1019,7 @@ mod tests {
10191019 let pi = [ F192 :: new ( 1 , 2 , 3 ) , F192 :: new ( 4 , 5 , 6 ) ] ;
10201020 let ( proof, stats) = prove ( & program, pi, pcs:: LOG_INV_RATE ) ;
10211021 assert_eq ! ( stats. counts[ 5 ] , 0 , "no real BLAKE3 rows" ) ;
1022- // The proof still carries exactly one Ligerito opening (over the padding).
1022+ // The proof still carries exactly one WHIR opening (over the padding).
10231023 assert_eq ! ( proof. openings. len( ) , 1 , "unified path: one opening always" ) ;
10241024 verify ( & program, & pi, & proof) . expect ( "non-BLAKE3 program verifies" ) ;
10251025 }
0 commit comments