71 auto [proof, verifier_input, merge_commitments] = create_goblin_prover_output();
76 RecursiveMergeCommitments recursive_merge_commitments;
78 recursive_merge_commitments.t_commitments[idx] =
79 RecursiveCommitment::from_witness(&
builder, merge_commitments.t_commitments[idx]);
80 recursive_merge_commitments.T_prev_commitments[idx] =
81 RecursiveCommitment::from_witness(&
builder, merge_commitments.T_prev_commitments[idx]);
82 recursive_merge_commitments.t_commitments[idx].unset_free_witness_tag();
83 recursive_merge_commitments.T_prev_commitments[idx].unset_free_witness_tag();
96 auto verification_key =
98 OuterProver prover(prover_instance, verification_key);
99 OuterVerifier verifier(verification_key);
100 auto proof = prover.construct_proof();
101 bool verified = verifier.template verify_proof<bb::DefaultIO>(proof).result;
103 ASSERT_TRUE(verified);
113 translator_pairing_points.
P0.fix_witness();
114 translator_pairing_points.P1.fix_witness();
115 info(
"Recursive Verifier: num gates = ",
builder.num_gates());
117 auto variables_in_one_gate = graph.get_variables_in_one_gate();
118 EXPECT_EQ(variables_in_one_gate.size(), 0);