Skip to content

Commit

Permalink
autogenerated
Browse files Browse the repository at this point in the history
tiagofneto committed Dec 19, 2023
1 parent 18e945c commit 7de0730
Showing 5 changed files with 811 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/air.cairo
Original file line number Diff line number Diff line change
@@ -5,4 +5,4 @@ mod public_input;
mod public_memory;
mod diluted;
mod pedersen;
mod public_verify;
mod autogenerated;
795 changes: 795 additions & 0 deletions src/air/autogenerated.cairo

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions src/air/composition.cairo
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use cairo_verifier::air::global_values::{EcPoint, InteractionElements, GlobalValues};
use cairo_verifier::air::constants::{
PUBLIC_MEMORY_STEP, DILUTED_N_BITS, DILUTED_SPACING, PEDERSEN_BUILTIN_RATIO,
PEDERSEN_BUILTIN_REPETITIONS
PEDERSEN_BUILTIN_REPETITIONS, segments
};
use cairo_verifier::air::public_input::{PublicInput, PublicInputTrait};
use cairo_verifier::air::diluted::get_diluted_product;
use cairo_verifier::air::pedersen::{eval_pedersen_x, eval_pedersen_y};
use cairo_verifier::air::public_verify::segments;
use cairo_verifier::air::autogenerated::eval_composition_polynomial_inner;
use cairo_verifier::common::felt252::{Felt252Div, Felt252PartialOrd, pow};

const SHIFT_POINT_X: felt252 = 0x49ee3eba8c1600700ee1b87eb599f16716b0b1022947733551fde4050ca6804;
@@ -75,6 +75,7 @@ fn eval_composition_polynomial(
diluted_check_final_cum_val: diluted_prod
};

// TODO autogenerated
0
eval_composition_polynomial_inner(
mask_values, constraint_coefficients, point, trace_generator, global_values
)
}
10 changes: 10 additions & 0 deletions src/air/constants.cairo
Original file line number Diff line number Diff line change
@@ -28,3 +28,13 @@ const MEMORY_STEP: felt252 = 2;
const NUM_COLUMNS_FIRST: felt252 = 7;
const NUM_COLUMNS_SECOND: felt252 = 3;
const IS_DYNAMIC_AIR: felt252 = 0;

mod segments {
const PROGRAM: usize = 0;
const EXECUTION: usize = 1;
const OUTPUT: usize = 2;
const PEDERSEN: usize = 3;
const RANGE_CHECK: usize = 4;
const BITWISE: usize = 5;
const N_SEGMENTS: usize = 6;
}
9 changes: 0 additions & 9 deletions src/air/public_verify.cairo

This file was deleted.

0 comments on commit 7de0730

Please sign in to comment.