@@ -46,43 +46,6 @@ pub(crate) fn transpose_in_place<F: Field>(mat: &mut [F], scratch: &mut [F], row
46
46
mat. copy_from_slice ( scratch) ;
47
47
}
48
48
49
- /**********************************
50
- * TENSOR IOP BASED PCS UTILITIES *
51
- **********************************/
52
-
53
- pub trait TensorIOPPCS {
54
- fn codeword_len ( & self ) -> usize ;
55
-
56
- fn hamming_weight ( & self ) -> f64 ;
57
-
58
- fn row_col_from_variables < F : Field > ( num_vars : usize ) -> ( usize , usize ) {
59
- let elems_for_smallest_tree = tree:: leaf_adic :: < F > ( ) * 2 ;
60
-
61
- let row_num: usize = elems_for_smallest_tree;
62
- let msg_size: usize = ( 1 << num_vars) / row_num;
63
-
64
- ( row_num, msg_size)
65
- }
66
-
67
- fn query_complexity ( & self , soundness_bits : usize ) -> usize {
68
- // NOTE: use Ligero (AHIV22) or Avg-case dist to a code (BKS18)
69
- // version of avg case dist in unique decoding technique.
70
- let avg_case_dist = self . hamming_weight ( ) / 3f64 ;
71
- let sec_bits = -( 1f64 - avg_case_dist) . log2 ( ) ;
72
-
73
- ( soundness_bits as f64 / sec_bits) . ceil ( ) as usize
74
- }
75
-
76
- fn proximity_repetitions < F : Field > ( & self , soundness_bits : usize ) -> usize {
77
- // NOTE: use Ligero (AHIV22) or Avg-case dist to a code (BKS18)
78
- // version of avg case dist in unique decoding technique.
79
- // Here is the probability union bound
80
- let single_run_soundness_bits = F :: FIELD_SIZE - self . codeword_len ( ) . ilog2 ( ) as usize ;
81
-
82
- ( soundness_bits as f64 / single_run_soundness_bits as f64 ) . ceil ( ) as usize
83
- }
84
- }
85
-
86
49
/*********************
87
50
* LINEAR OPERATIONS *
88
51
*********************/
0 commit comments