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();
92 auto verification_key =
94 OuterProver prover(prover_instance, verification_key);
95 OuterVerifier verifier(verification_key);
96 auto proof = prover.construct_proof();
97 bool verified = verifier.template verify_proof<bb::DefaultIO>(proof).result;
99 ASSERT_TRUE(verified);
102 translator_pairing_points.
P0.x.fix_witness();
103 translator_pairing_points.P0.y.fix_witness();
104 translator_pairing_points.P1.x.fix_witness();
105 translator_pairing_points.P1.y.fix_witness();
106 info(
"Recursive Verifier: num gates = ",
builder.num_gates);
108 auto variables_in_one_gate = graph.get_variables_in_one_gate();
109 EXPECT_EQ(variables_in_one_gate.size(), 0);