binius_core/protocols/gkr_exp/
utils.rs

1// Copyright 2025 Irreducible Inc.
2
3use binius_field::BinaryField;
4
5pub fn first_layer_inverse<F>(input: F, base: F) -> F
6where
7	F: BinaryField,
8{
9	(input - F::ONE) * (base - F::ONE).invert_or_zero()
10}