Theorem: Groth16TypeIII.is_sound_quotient_version
Proof state before:
case intro
F : Type
inst✝ : Field F
n_stmt n_wit n_var : ℕ
u_stmt : Fin n_stmt → Polynomial F
u_wit : Fin n_wit → Polynomial F
v_stmt : Fin n_stmt → Polynomial F
v_wit : Fin n_wit → Polynomial F
w_stmt : Fin n_stmt → Polynomial F
w_wit : Fin n_wit → Polynomial F
t : Polynomial F
stmt : Groth16TypeIII.Stmt
prover : Prover F Groth16TypeIII
eqn :
  -(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                    (List.map
                        (fun x =>
                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                        (List.finRange n_var)).sum) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                        (List.map
                            (fun x =>
                              Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum *
                          (List.map
                              (fun x =>
                                Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum) +
                    (-(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                    (Polynomial.X ^ ↑x * t))
                                (List.finRange (n_var - 1))).sum *
                            (List.map
                                (fun x =>
                                  Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum) +
                      (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                          -(monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                    (List.finRange n_stmt)).sum *
                                (List.map
                                    (fun x =>
                                      Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                        Polynomial.X ^ ↑x)
                                    (List.finRange n_var)).sum) +
                        (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                      (List.finRange n_wit)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                      (List.finRange n_wit)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                          -(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                    (List.finRange n_wit)).sum *
                                (List.map
                                    (fun x =>
                                      Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                        Polynomial.X ^ ↑x)
                                    (List.finRange n_var)).sum))))))) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.β => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                    (Polynomial.X ^ ↑x * t))
                                (List.finRange (n_var - 1))).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                      (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                          -(monomial
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                        (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                          -(monomial
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))) +
          (-(monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                      ((List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                  (Polynomial.X ^ ↑x * t))
                              (List.finRange (n_var - 1))).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                    (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                        -(monomial
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                      (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                        -(monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))) +
        (-(monomial
                ((fun₀ | Vars.γ => 1) +
                  ((fun₀ | Vars.δ => 1) +
                    ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
              (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
          (-(monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                    ((List.map
                          (fun x =>
                            Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                      ((List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                (Polynomial.X ^ ↑x * t))
                            (List.finRange (n_var - 1))).sum *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                  (-(monomial
                              ((fun₀ | Vars.β => 1) +
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.α => 1) +
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                      -(monomial
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                          ((List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                (List.finRange n_stmt)).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                    (-(monomial
                              ((fun₀ | Vars.β => 1) +
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.α => 1) +
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                      -(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                          ((List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                (List.finRange n_wit)).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))) +
      ((monomial
            ((fun₀ | Vars.γ => 1) +
              ((fun₀ | Vars.δ => 1) +
                ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
          1 +
        ((monomial
                  ((fun₀ | Vars.β => 1) +
                    ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                (List.map (fun x => Polynomial.C (stmt x) * u_stmt x) (List.finRange n_stmt)).sum +
              (monomial
                  ((fun₀ | Vars.α => 1) +
                    ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                (List.map (fun x => Polynomial.C (stmt x) * v_stmt x) (List.finRange n_stmt)).sum +
            (monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
              (List.map (fun x => Polynomial.C (stmt x) * w_stmt x) (List.finRange n_stmt)).sum +
          ((monomial
                ((fun₀ | Vars.γ => 1) +
                  ((fun₀ | Vars.δ => 1) +
                    ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
              (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α)) +
            ((monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β)) +
              ((monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ)) +
                ((monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                    (List.map
                        (fun x =>
                          Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                        (List.finRange n_var)).sum +
                  ((monomial
                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                              (Polynomial.X ^ ↑x * t))
                          (List.finRange (n_var - 1))).sum +
                    ((monomial
                              ((fun₀ | Vars.β => 1) +
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                (List.finRange n_stmt)).sum +
                          (monomial
                              ((fun₀ | Vars.α => 1) +
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                (List.finRange n_stmt)).sum +
                        (monomial
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                          (List.map
                              (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                              (List.finRange n_stmt)).sum +
                      ((monomial
                              ((fun₀ | Vars.β => 1) +
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                (List.finRange n_wit)).sum +
                          (monomial
                              ((fun₀ | Vars.α => 1) +
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                (List.finRange n_wit)).sum +
                        (monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                          (List.map
                              (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * w_wit x)
                              (List.finRange n_wit)).sum))))))))) =
    0
h0012 :
  coeff ((((fun₀ | Vars.α => 0) + fun₀ | Vars.β => 0) + fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 2)
      (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                        (List.map
                            (fun x =>
                              Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                        (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                          (List.map
                              (fun x =>
                                Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum *
                            (List.map
                                (fun x =>
                                  Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum) +
                      (-(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                            ((List.map
                                  (fun x =>
                                    Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                      (Polynomial.X ^ ↑x * t))
                                  (List.finRange (n_var - 1))).sum *
                              (List.map
                                  (fun x =>
                                    Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                      Polynomial.X ^ ↑x)
                                  (List.finRange n_var)).sum) +
                        (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                            -(monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                          (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                        (List.finRange n_wit)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                        (List.finRange n_wit)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                            -(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                      (List.finRange n_wit)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum))))))) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.α => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.β => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                        (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                      (-(monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            ((List.map
                                  (fun x =>
                                    Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                      (Polynomial.X ^ ↑x * t))
                                  (List.finRange (n_var - 1))).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                        (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.δ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.δ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                          (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.γ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                        (List.finRange n_wit)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.γ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                        (List.finRange n_wit)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.β => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                    (Polynomial.X ^ ↑x * t))
                                (List.finRange (n_var - 1))).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                      (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                        (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))) +
          (-(monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                      ((List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                  (Polynomial.X ^ ↑x * t))
                              (List.finRange (n_var - 1))).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                    (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                      (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))) +
        ((monomial
              ((fun₀ | Vars.γ => 1) +
                ((fun₀ | Vars.δ => 1) +
                  ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
            1 +
          ((monomial
                    ((fun₀ | Vars.β => 1) +
                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                  (List.map (fun x => Polynomial.C (stmt x) * u_stmt x) (List.finRange n_stmt)).sum +
                (monomial
                    ((fun₀ | Vars.α => 1) +
                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                  (List.map (fun x => Polynomial.C (stmt x) * v_stmt x) (List.finRange n_stmt)).sum +
              (monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                (List.map (fun x => Polynomial.C (stmt x) * w_stmt x) (List.finRange n_stmt)).sum +
            ((monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α)) +
              ((monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β)) +
                ((monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ)) +
                  ((monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum +
                    ((monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                        (List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                (Polynomial.X ^ ↑x * t))
                            (List.finRange (n_var - 1))).sum +
                      ((monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                  (List.finRange n_stmt)).sum +
                            (monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                  (List.finRange n_stmt)).sum +
                          (monomial
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                (List.finRange n_stmt)).sum +
                        ((monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                  (List.finRange n_wit)).sum +
                            (monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                  (List.finRange n_wit)).sum +
                          (monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                (List.finRange n_wit)).sum)))))))))) =
    coeff ((((fun₀ | Vars.α => 0) + fun₀ | Vars.β => 0) + fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 2) 0
⊢ (((List.map (fun i => Polynomial.C (stmt i) * u_stmt i) (List.finRange n_stmt)).sum +
              (List.map
                  (fun i =>
                    Polynomial.C ((fun prover i => prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q i)) prover i) *
                      u_wit i)
                  (List.finRange n_wit)).sum) *
            ((List.map (fun i => Polynomial.C (stmt i) * v_stmt i) (List.finRange n_stmt)).sum +
              (List.map
                  (fun i =>
                    Polynomial.C ((fun prover i => prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q i)) prover i) *
                      v_wit i)
                  (List.finRange n_wit)).sum) -
          ((List.map (fun i => Polynomial.C (stmt i) * w_stmt i) (List.finRange n_stmt)).sum +
            (List.map
                (fun i =>
                  Polynomial.C ((fun prover i => prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q i)) prover i) * w_wit i)
                (List.finRange n_wit)).sum)).modByMonic
      t =
    0
Tactic:
have h0021 := congr_arg (coeff (Finsupp.single Vars.α 0 + Finsupp.single Vars.β 0 + Finsupp.single Vars.γ 2 + Finsupp.single Vars.δ 1)) eqn
Proof state after:
case intro
F : Type
inst✝ : Field F
n_stmt n_wit n_var : ℕ
u_stmt : Fin n_stmt → Polynomial F
u_wit : Fin n_wit → Polynomial F
v_stmt : Fin n_stmt → Polynomial F
v_wit : Fin n_wit → Polynomial F
w_stmt : Fin n_stmt → Polynomial F
w_wit : Fin n_wit → Polynomial F
t : Polynomial F
stmt : Groth16TypeIII.Stmt
prover : Prover F Groth16TypeIII
eqn :
  -(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                    (List.map
                        (fun x =>
                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                        (List.finRange n_var)).sum) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                        (List.map
                            (fun x =>
                              Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum *
                          (List.map
                              (fun x =>
                                Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum) +
                    (-(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                    (Polynomial.X ^ ↑x * t))
                                (List.finRange (n_var - 1))).sum *
                            (List.map
                                (fun x =>
                                  Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum) +
                      (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                          -(monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                    (List.finRange n_stmt)).sum *
                                (List.map
                                    (fun x =>
                                      Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                        Polynomial.X ^ ↑x)
                                    (List.finRange n_var)).sum) +
                        (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                      (List.finRange n_wit)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                      (List.finRange n_wit)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                          -(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                    (List.finRange n_wit)).sum *
                                (List.map
                                    (fun x =>
                                      Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                        Polynomial.X ^ ↑x)
                                    (List.finRange n_var)).sum))))))) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.β => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                    (Polynomial.X ^ ↑x * t))
                                (List.finRange (n_var - 1))).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                      (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                          -(monomial
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                        (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                          -(monomial
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))) +
          (-(monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                      ((List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                  (Polynomial.X ^ ↑x * t))
                              (List.finRange (n_var - 1))).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                    (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                        -(monomial
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                      (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                        -(monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))) +
        (-(monomial
                ((fun₀ | Vars.γ => 1) +
                  ((fun₀ | Vars.δ => 1) +
                    ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
              (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
          (-(monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                    ((List.map
                          (fun x =>
                            Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                      ((List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                (Polynomial.X ^ ↑x * t))
                            (List.finRange (n_var - 1))).sum *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                  (-(monomial
                              ((fun₀ | Vars.β => 1) +
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.α => 1) +
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                      -(monomial
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                          ((List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                (List.finRange n_stmt)).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                    (-(monomial
                              ((fun₀ | Vars.β => 1) +
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.α => 1) +
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                      -(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                          ((List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                (List.finRange n_wit)).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))) +
      ((monomial
            ((fun₀ | Vars.γ => 1) +
              ((fun₀ | Vars.δ => 1) +
                ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
          1 +
        ((monomial
                  ((fun₀ | Vars.β => 1) +
                    ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                (List.map (fun x => Polynomial.C (stmt x) * u_stmt x) (List.finRange n_stmt)).sum +
              (monomial
                  ((fun₀ | Vars.α => 1) +
                    ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                (List.map (fun x => Polynomial.C (stmt x) * v_stmt x) (List.finRange n_stmt)).sum +
            (monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
              (List.map (fun x => Polynomial.C (stmt x) * w_stmt x) (List.finRange n_stmt)).sum +
          ((monomial
                ((fun₀ | Vars.γ => 1) +
                  ((fun₀ | Vars.δ => 1) +
                    ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
              (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α)) +
            ((monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β)) +
              ((monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ)) +
                ((monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                    (List.map
                        (fun x =>
                          Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                        (List.finRange n_var)).sum +
                  ((monomial
                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                              (Polynomial.X ^ ↑x * t))
                          (List.finRange (n_var - 1))).sum +
                    ((monomial
                              ((fun₀ | Vars.β => 1) +
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                (List.finRange n_stmt)).sum +
                          (monomial
                              ((fun₀ | Vars.α => 1) +
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                (List.finRange n_stmt)).sum +
                        (monomial
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                          (List.map
                              (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                              (List.finRange n_stmt)).sum +
                      ((monomial
                              ((fun₀ | Vars.β => 1) +
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                (List.finRange n_wit)).sum +
                          (monomial
                              ((fun₀ | Vars.α => 1) +
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                (List.finRange n_wit)).sum +
                        (monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                          (List.map
                              (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * w_wit x)
                              (List.finRange n_wit)).sum))))))))) =
    0
h0012 :
  coeff ((((fun₀ | Vars.α => 0) + fun₀ | Vars.β => 0) + fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 2)
      (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                        (List.map
                            (fun x =>
                              Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                        (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                          (List.map
                              (fun x =>
                                Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum *
                            (List.map
                                (fun x =>
                                  Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum) +
                      (-(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                            ((List.map
                                  (fun x =>
                                    Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                      (Polynomial.X ^ ↑x * t))
                                  (List.finRange (n_var - 1))).sum *
                              (List.map
                                  (fun x =>
                                    Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                      Polynomial.X ^ ↑x)
                                  (List.finRange n_var)).sum) +
                        (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                            -(monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                          (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                        (List.finRange n_wit)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                        (List.finRange n_wit)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                            -(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                      (List.finRange n_wit)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum))))))) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.α => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.β => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                        (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                      (-(monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            ((List.map
                                  (fun x =>
                                    Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                      (Polynomial.X ^ ↑x * t))
                                  (List.finRange (n_var - 1))).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                        (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.δ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.δ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                          (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.γ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                        (List.finRange n_wit)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.γ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                        (List.finRange n_wit)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.β => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                    (Polynomial.X ^ ↑x * t))
                                (List.finRange (n_var - 1))).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                      (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                        (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))) +
          (-(monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                      ((List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                  (Polynomial.X ^ ↑x * t))
                              (List.finRange (n_var - 1))).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                    (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                      (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))) +
        ((monomial
              ((fun₀ | Vars.γ => 1) +
                ((fun₀ | Vars.δ => 1) +
                  ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
            1 +
          ((monomial
                    ((fun₀ | Vars.β => 1) +
                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                  (List.map (fun x => Polynomial.C (stmt x) * u_stmt x) (List.finRange n_stmt)).sum +
                (monomial
                    ((fun₀ | Vars.α => 1) +
                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                  (List.map (fun x => Polynomial.C (stmt x) * v_stmt x) (List.finRange n_stmt)).sum +
              (monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                (List.map (fun x => Polynomial.C (stmt x) * w_stmt x) (List.finRange n_stmt)).sum +
            ((monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α)) +
              ((monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β)) +
                ((monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ)) +
                  ((monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum +
                    ((monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                        (List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                (Polynomial.X ^ ↑x * t))
                            (List.finRange (n_var - 1))).sum +
                      ((monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                  (List.finRange n_stmt)).sum +
                            (monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                  (List.finRange n_stmt)).sum +
                          (monomial
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                (List.finRange n_stmt)).sum +
                        ((monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                  (List.finRange n_wit)).sum +
                            (monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                  (List.finRange n_wit)).sum +
                          (monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                (List.finRange n_wit)).sum)))))))))) =
    coeff ((((fun₀ | Vars.α => 0) + fun₀ | Vars.β => 0) + fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 2) 0
h0021 :
  coeff ((((fun₀ | Vars.α => 0) + fun₀ | Vars.β => 0) + fun₀ | Vars.γ => 2) + fun₀ | Vars.δ => 1)
      (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                        (List.map
                            (fun x =>
                              Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))))
                        (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                          (List.map
                              (fun x =>
                                Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum *
                            (List.map
                                (fun x =>
                                  Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum) +
                      (-(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                            ((List.map
                                  (fun x =>
                                    Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                      (Polynomial.X ^ ↑x * t))
                                  (List.finRange (n_var - 1))).sum *
                              (List.map
                                  (fun x =>
                                    Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                      Polynomial.X ^ ↑x)
                                  (List.finRange n_var)).sum) +
                        (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                            -(monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum) +
                          (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                        (List.finRange n_wit)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                        (List.finRange n_wit)).sum *
                                    (List.map
                                        (fun x =>
                                          Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                            Polynomial.X ^ ↑x)
                                        (List.finRange n_var)).sum) +
                            -(monomial ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + fun₀ | Vars.δ => 1)))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                      (List.finRange n_wit)).sum *
                                  (List.map
                                      (fun x =>
                                        Polynomial.C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x)) *
                                          Polynomial.X ^ ↑x)
                                      (List.finRange n_var)).sum))))))) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.α => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.β => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                        (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                    Polynomial.X ^ ↑x)
                                (List.finRange n_var)).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                      (-(monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            ((List.map
                                  (fun x =>
                                    Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                      (Polynomial.X ^ ↑x * t))
                                  (List.finRange (n_var - 1))).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                        (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.δ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.δ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                        (List.finRange n_stmt)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                          (-(monomial
                                    ((fun₀ | Vars.β => 1) +
                                      ((fun₀ | Vars.γ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                        (List.finRange n_wit)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                              -(monomial
                                    ((fun₀ | Vars.α => 1) +
                                      ((fun₀ | Vars.γ => 1) +
                                        ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                                  ((List.map
                                        (fun x =>
                                          Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                        (List.finRange n_wit)).sum *
                                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)) +
                            -(monomial
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.β => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))))
                      (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) +
                            ((fun₀ | Vars.δ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) *
                                  Polynomial.X ^ ↑x)
                              (List.finRange n_var)).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                    (-(monomial
                            ((fun₀ | Vars.γ => 1) +
                              ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                          ((List.map
                                (fun x =>
                                  Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                    (Polynomial.X ^ ↑x * t))
                                (List.finRange (n_var - 1))).sum *
                            Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                      (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.δ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                      (List.finRange n_stmt)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.δ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                        (-(monomial
                                  ((fun₀ | Vars.β => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                            -(monomial
                                  ((fun₀ | Vars.α => 1) +
                                    ((fun₀ | Vars.γ => 1) +
                                      ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                                ((List.map
                                      (fun x =>
                                        Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                      (List.finRange n_wit)).sum *
                                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)) +
                          -(monomial
                                ((fun₀ | Vars.γ => 1) +
                                  ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))) +
          (-(monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                  Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
            (-(monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                    Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
              (-(monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                      Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                (-(monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                      ((List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                            (List.finRange n_var)).sum *
                        Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                  (-(monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                        ((List.map
                              (fun x =>
                                Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                  (Polynomial.X ^ ↑x * t))
                              (List.finRange (n_var - 1))).sum *
                          Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                    (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                    (List.finRange n_stmt)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                  (List.finRange n_stmt)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                      (-(monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                          -(monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1)))))
                              ((List.map
                                    (fun x =>
                                      Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                    (List.finRange n_wit)).sum *
                                Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)) +
                        -(monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))
                            ((List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                  (List.finRange n_wit)).sum *
                              Polynomial.C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))) +
        ((monomial
              ((fun₀ | Vars.γ => 1) +
                ((fun₀ | Vars.δ => 1) +
                  ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.β => 1))))))
            1 +
          ((monomial
                    ((fun₀ | Vars.β => 1) +
                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                  (List.map (fun x => Polynomial.C (stmt x) * u_stmt x) (List.finRange n_stmt)).sum +
                (monomial
                    ((fun₀ | Vars.α => 1) +
                      ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1)))))
                  (List.map (fun x => Polynomial.C (stmt x) * v_stmt x) (List.finRange n_stmt)).sum +
              (monomial ((fun₀ | Vars.δ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.γ => 1))))
                (List.map (fun x => Polynomial.C (stmt x) * w_stmt x) (List.finRange n_stmt)).sum +
            ((monomial
                  ((fun₀ | Vars.γ => 1) +
                    ((fun₀ | Vars.δ => 1) +
                      ((fun₀ | Vars.α => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α)) +
              ((monomial
                    ((fun₀ | Vars.γ => 1) +
                      ((fun₀ | Vars.δ => 1) +
                        ((fun₀ | Vars.β => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                  (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β)) +
                ((monomial
                      ((fun₀ | Vars.γ => 1) +
                        ((fun₀ | Vars.δ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))))
                    (Polynomial.C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ)) +
                  ((monomial
                        ((fun₀ | Vars.γ => 1) +
                          ((fun₀ | Vars.δ => 1) +
                            ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                      (List.map
                          (fun x =>
                            Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow x)) * Polynomial.X ^ ↑x)
                          (List.finRange n_var)).sum +
                    ((monomial
                          ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                        (List.map
                            (fun x =>
                              Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t x)) *
                                (Polynomial.X ^ ↑x * t))
                            (List.finRange (n_var - 1))).sum +
                      ((monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * u_stmt x)
                                  (List.finRange n_stmt)).sum +
                            (monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.δ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * v_stmt x)
                                  (List.finRange n_stmt)).sum +
                          (monomial
                              ((fun₀ | Vars.δ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x)) * w_stmt x)
                                (List.finRange n_stmt)).sum +
                        ((monomial
                                ((fun₀ | Vars.β => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * u_wit x)
                                  (List.finRange n_wit)).sum +
                            (monomial
                                ((fun₀ | Vars.α => 1) +
                                  ((fun₀ | Vars.γ => 1) +
                                    ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1)))))
                              (List.map
                                  (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * v_wit x)
                                  (List.finRange n_wit)).sum +
                          (monomial
                              ((fun₀ | Vars.γ => 1) +
                                ((fun₀ | Vars.γ => 1) + ((fun₀ | Vars.δ => 1) + fun₀ | Vars.δ => 1))))
                            (List.map
                                (fun x => Polynomial.C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x)) * w_wit x)
                                (List.finRange n_wit)).sum)))))))))) =
    coeff ((((fun₀ | Vars.α => 0) + fun₀ | Vars.β => 0) + fun₀ | Vars.γ => 2) + fun₀ | Vars.δ => 1) 0
⊢ (((List.map (fun i => Polynomial.C (stmt i) * u_stmt i) (List.finRange n_stmt)).sum +
              (List.map
                  (fun i =>
                    Polynomial.C ((fun prover i => prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q i)) prover i) *
                      u_wit i)
                  (List.finRange n_wit)).sum) *
            ((List.map (fun i => Polynomial.C (stmt i) * v_stmt i) (List.finRange n_stmt)).sum +
              (List.map
                  (fun i =>
                    Polynomial.C ((fun prover i => prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q i)) prover i) *
                      v_wit i)
                  (List.finRange n_wit)).sum) -
          ((List.map (fun i => Polynomial.C (stmt i) * w_stmt i) (List.finRange n_stmt)).sum +
            (List.map
                (fun i =>
                  Polynomial.C ((fun prover i => prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q i)) prover i) * w_wit i)
                (List.finRange n_wit)).sum)).modByMonic
      t =
    0