Theorem: Groth16TypeIII.is_sound_quotient_version (FormalSnarksProject/Other/Groth16TypeIIIQuotientVersion.lean)

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 :
  -(X Vars_γ *
                  (X Vars_δ *
                    (X Vars_α *
                      (X Vars_γ *
                        (X Vars_δ *
                          (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                            (List.map
                                (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                (List.finRange n_var)).sum)))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_β *
                        (X Vars_γ *
                          (X Vars_δ *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                              (List.map
                                  (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                  (List.finRange n_var)).sum)))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                (List.map
                                    (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum)))))) +
                  (-(X Vars_γ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              ((List.map
                                    (fun b => C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum *
                                (List.map
                                    (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum))))) +
                    (-(X Vars_γ *
                          (X Vars_γ *
                            (X Vars_δ *
                              ((List.map
                                    (fun b =>
                                      C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                        (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                    (List.finRange (n_var - 1))).sum *
                                (List.map
                                    (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum)))) +
                      (-(X Vars_β *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (u_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        (List.map
                                            (fun b =>
                                              C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                            (List.finRange n_var)).sum))))) +
                            -(X Vars_α *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (v_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        (List.map
                                            (fun b =>
                                              C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                            (List.finRange n_var)).sum))))) +
                          -(X Vars_δ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                            (to_MvPolynomial_Option Vars) (w_stmt b))
                                        (List.finRange n_stmt)).sum *
                                    (List.map
                                        (fun b =>
                                          C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                        (List.finRange n_var)).sum)))) +
                        (-(X Vars_β *
                                (X Vars_γ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (u_wit b))
                                            (List.finRange n_wit)).sum *
                                        (List.map
                                            (fun b =>
                                              C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                            (List.finRange n_var)).sum))))) +
                            -(X Vars_α *
                                (X Vars_γ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (v_wit b))
                                            (List.finRange n_wit)).sum *
                                        (List.map
                                            (fun b =>
                                              C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                            (List.finRange n_var)).sum))))) +
                          -(X Vars_γ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                            (to_MvPolynomial_Option Vars) (w_wit b))
                                        (List.finRange n_wit)).sum *
                                    (List.map
                                        (fun b =>
                                          C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                        (List.finRange n_var)).sum)))))))))) +
            (-(X Vars_γ *
                  (X Vars_δ *
                    (X Vars_α *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_δ *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_β *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_δ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_δ *
                                (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                  (-(X Vars_γ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_δ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                    (-(X Vars_γ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_δ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                          (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                      (List.finRange (n_var - 1))).sum *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))) +
                      (-(X Vars_β *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (u_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                            -(X Vars_α *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (v_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                          -(X Vars_δ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_δ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (w_stmt b))
                                          (List.finRange n_stmt)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))) +
                        (-(X Vars_β *
                                (X Vars_γ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (u_wit b))
                                              (List.finRange n_wit)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                            -(X Vars_α *
                                (X Vars_γ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (v_wit b))
                                              (List.finRange n_wit)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                          -(X Vars_γ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_δ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (w_wit b))
                                          (List.finRange n_wit)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))))))) +
          (-(X Vars_γ *
                (X Vars_δ *
                  (X Vars_α *
                    (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
            (-(X Vars_γ *
                  (X Vars_δ *
                    (X Vars_β *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              ((List.map
                                    (fun b => C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                  (-(X Vars_γ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              ((List.map
                                    (fun b =>
                                      C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                        (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                    (List.finRange (n_var - 1))).sum *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))) +
                    (-(X Vars_β *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (u_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                          -(X Vars_α *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (v_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                        -(X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_γ *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                            (to_MvPolynomial_Option Vars) (w_stmt b))
                                        (List.finRange n_stmt)).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))) +
                      (-(X Vars_β *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (u_wit b))
                                            (List.finRange n_wit)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                          -(X Vars_α *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (v_wit b))
                                            (List.finRange n_wit)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                        -(X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_γ *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                            (to_MvPolynomial_Option Vars) (w_wit b))
                                        (List.finRange n_wit)).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))))))) +
        (-(X Vars_γ *
              (X Vars_δ *
                (X Vars_α *
                  (X Vars_γ *
                    (X Vars_δ *
                      (X Vars_β *
                        (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
          (-(X Vars_γ *
                (X Vars_δ *
                  (X Vars_β *
                    (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_β *
                          (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
            (-(X Vars_γ *
                  (X Vars_δ *
                    (X Vars_δ *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_β *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_β *
                            ((List.map
                                  (fun b => C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                  (List.finRange n_var)).sum *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                (-(X Vars_γ *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_β *
                            ((List.map
                                  (fun b =>
                                    C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                      (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                  (List.finRange (n_var - 1))).sum *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))) +
                  (-(X Vars_β *
                            (X Vars_δ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_β *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (u_stmt b))
                                          (List.finRange n_stmt)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                        -(X Vars_α *
                            (X Vars_δ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_β *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (v_stmt b))
                                          (List.finRange n_stmt)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                      -(X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_β *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                          (to_MvPolynomial_Option Vars) (w_stmt b))
                                      (List.finRange n_stmt)).sum *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))) +
                    (-(X Vars_β *
                            (X Vars_γ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_β *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (u_wit b))
                                          (List.finRange n_wit)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                        -(X Vars_α *
                            (X Vars_γ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_β *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (v_wit b))
                                          (List.finRange n_wit)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                      -(X Vars_γ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_β *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                          (to_MvPolynomial_Option Vars) (w_wit b))
                                      (List.finRange n_wit)).sum *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))))))) +
      (X Vars_γ * (X Vars_δ * (X Vars_α * (X Vars_γ * (X Vars_δ * X Vars_β)))) +
        (X Vars_β *
                (X Vars_δ *
                  (X Vars_γ *
                    (X Vars_δ *
                      (X Vars_γ *
                        (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (u_stmt b))
                            (List.finRange n_stmt)).sum)))) +
              X Vars_α *
                (X Vars_δ *
                  (X Vars_γ *
                    (X Vars_δ *
                      (X Vars_γ *
                        (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (v_stmt b))
                            (List.finRange n_stmt)).sum)))) +
            X Vars_δ *
              (X Vars_γ *
                (X Vars_δ *
                  (X Vars_γ *
                    (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (w_stmt b))
                        (List.finRange n_stmt)).sum))) +
          (X Vars_γ *
              (X Vars_δ *
                (X Vars_α * (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α)))))) +
            (X Vars_γ *
                (X Vars_δ *
                  (X Vars_β *
                    (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β)))))) +
              (X Vars_γ *
                  (X Vars_δ *
                    (X Vars_δ *
                      (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ)))))) +
                (X Vars_γ *
                    (X Vars_δ *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_δ *
                            (List.map
                                (fun b => C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                (List.finRange n_var)).sum)))) +
                  (X Vars_γ *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_δ *
                            (List.map
                                (fun b =>
                                  C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                    (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                (List.finRange (n_var - 1))).sum))) +
                    (X Vars_β *
                            (X Vars_δ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_δ *
                                    (List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                            (to_MvPolynomial_Option Vars) (u_stmt b))
                                        (List.finRange n_stmt)).sum)))) +
                          X Vars_α *
                            (X Vars_δ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_δ *
                                    (List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                            (to_MvPolynomial_Option Vars) (v_stmt b))
                                        (List.finRange n_stmt)).sum)))) +
                        X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_δ *
                                (List.map
                                    (fun b =>
                                      C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                        (to_MvPolynomial_Option Vars) (w_stmt b))
                                    (List.finRange n_stmt)).sum))) +
                      (X Vars_β *
                            (X Vars_γ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_δ *
                                    (List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                            (to_MvPolynomial_Option Vars) (u_wit b))
                                        (List.finRange n_wit)).sum)))) +
                          X Vars_α *
                            (X Vars_γ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_δ *
                                    (List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                            (to_MvPolynomial_Option Vars) (v_wit b))
                                        (List.finRange n_wit)).sum)))) +
                        X Vars_γ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_δ *
                                (List.map
                                    (fun b =>
                                      C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                        (to_MvPolynomial_Option Vars) (w_wit b))
                                    (List.finRange n_wit)).sum)))))))))))) =
    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:
simp only [←(EquivLike.apply_eq_iff_eq (optionEquivRight _ _))] at eqn
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 :
  (optionEquivRight F Vars)
      (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_α *
                        (X Vars_γ *
                          (X Vars_δ *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                              (List.map
                                  (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                  (List.finRange n_var)).sum)))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_β *
                          (X Vars_γ *
                            (X Vars_δ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                                (List.map
                                    (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum)))))) +
                  (-(X Vars_γ *
                        (X Vars_δ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                  (List.map
                                      (fun b =>
                                        C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum)))))) +
                    (-(X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum *
                                  (List.map
                                      (fun b =>
                                        C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum))))) +
                      (-(X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                          (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                      (List.finRange (n_var - 1))).sum *
                                  (List.map
                                      (fun b =>
                                        C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum)))) +
                        (-(X Vars_β *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (u_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          (List.map
                                              (fun b =>
                                                C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) *
                                                  X Vars_x ^ ↑b)
                                              (List.finRange n_var)).sum))))) +
                              -(X Vars_α *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (v_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          (List.map
                                              (fun b =>
                                                C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) *
                                                  X Vars_x ^ ↑b)
                                              (List.finRange n_var)).sum))))) +
                            -(X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (w_stmt b))
                                          (List.finRange n_stmt)).sum *
                                      (List.map
                                          (fun b =>
                                            C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                          (List.finRange n_var)).sum)))) +
                          (-(X Vars_β *
                                  (X Vars_γ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (u_wit b))
                                              (List.finRange n_wit)).sum *
                                          (List.map
                                              (fun b =>
                                                C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) *
                                                  X Vars_x ^ ↑b)
                                              (List.finRange n_var)).sum))))) +
                              -(X Vars_α *
                                  (X Vars_γ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (v_wit b))
                                              (List.finRange n_wit)).sum *
                                          (List.map
                                              (fun b =>
                                                C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) *
                                                  X Vars_x ^ ↑b)
                                              (List.finRange n_var)).sum))))) +
                            -(X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (w_wit b))
                                          (List.finRange n_wit)).sum *
                                      (List.map
                                          (fun b =>
                                            C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                          (List.finRange n_var)).sum)))))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_α *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_δ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_β *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_δ *
                                (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                  (-(X Vars_γ *
                        (X Vars_δ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                    (-(X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                        (List.finRange n_var)).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                      (-(X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                            (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                        (List.finRange (n_var - 1))).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))) +
                        (-(X Vars_β *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        (X Vars_δ *
                                          ((List.map
                                                (fun b =>
                                                  C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                    (to_MvPolynomial_Option Vars) (u_stmt b))
                                                (List.finRange n_stmt)).sum *
                                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                              -(X Vars_α *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        (X Vars_δ *
                                          ((List.map
                                                (fun b =>
                                                  C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                    (to_MvPolynomial_Option Vars) (v_stmt b))
                                                (List.finRange n_stmt)).sum *
                                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                            -(X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (w_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))) +
                          (-(X Vars_β *
                                  (X Vars_γ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        (X Vars_δ *
                                          ((List.map
                                                (fun b =>
                                                  C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                    (to_MvPolynomial_Option Vars) (u_wit b))
                                                (List.finRange n_wit)).sum *
                                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                              -(X Vars_α *
                                  (X Vars_γ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        (X Vars_δ *
                                          ((List.map
                                                (fun b =>
                                                  C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                    (to_MvPolynomial_Option Vars) (v_wit b))
                                                (List.finRange n_wit)).sum *
                                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                            -(X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (w_wit b))
                                            (List.finRange n_wit)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))))))) +
            (-(X Vars_γ *
                  (X Vars_δ *
                    (X Vars_α *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_β *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_γ *
                                (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                  (-(X Vars_γ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_γ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                    (-(X Vars_γ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_γ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                          (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                      (List.finRange (n_var - 1))).sum *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))) +
                      (-(X Vars_β *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_γ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (u_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                            -(X Vars_α *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_γ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (v_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                          -(X Vars_δ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (w_stmt b))
                                          (List.finRange n_stmt)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))) +
                        (-(X Vars_β *
                                (X Vars_γ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_γ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (u_wit b))
                                              (List.finRange n_wit)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                            -(X Vars_α *
                                (X Vars_γ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_γ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (v_wit b))
                                              (List.finRange n_wit)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                          -(X Vars_γ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (w_wit b))
                                          (List.finRange n_wit)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))))))) +
          (-(X Vars_γ *
                (X Vars_δ *
                  (X Vars_α *
                    (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_β *
                          (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
            (-(X Vars_γ *
                  (X Vars_δ *
                    (X Vars_β *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_β *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_β *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_β *
                              ((List.map
                                    (fun b => C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                  (-(X Vars_γ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_β *
                              ((List.map
                                    (fun b =>
                                      C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                        (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                    (List.finRange (n_var - 1))).sum *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))) +
                    (-(X Vars_β *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_β *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (u_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                          -(X Vars_α *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_β *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (v_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                        -(X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_β *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                            (to_MvPolynomial_Option Vars) (w_stmt b))
                                        (List.finRange n_stmt)).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))) +
                      (-(X Vars_β *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_β *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (u_wit b))
                                            (List.finRange n_wit)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                          -(X Vars_α *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_β *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (v_wit b))
                                            (List.finRange n_wit)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                        -(X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_β *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                            (to_MvPolynomial_Option Vars) (w_wit b))
                                        (List.finRange n_wit)).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))))))) +
        (X Vars_γ * (X Vars_δ * (X Vars_α * (X Vars_γ * (X Vars_δ * X Vars_β)))) +
          (X Vars_β *
                  (X Vars_δ *
                    (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (u_stmt b))
                              (List.finRange n_stmt)).sum)))) +
                X Vars_α *
                  (X Vars_δ *
                    (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (v_stmt b))
                              (List.finRange n_stmt)).sum)))) +
              X Vars_δ *
                (X Vars_γ *
                  (X Vars_δ *
                    (X Vars_γ *
                      (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (w_stmt b))
                          (List.finRange n_stmt)).sum))) +
            (X Vars_γ *
                (X Vars_δ *
                  (X Vars_α *
                    (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α)))))) +
              (X Vars_γ *
                  (X Vars_δ *
                    (X Vars_β *
                      (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β)))))) +
                (X Vars_γ *
                    (X Vars_δ *
                      (X Vars_δ *
                        (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ)))))) +
                  (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_δ *
                              (List.map
                                  (fun b => C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                  (List.finRange n_var)).sum)))) +
                    (X Vars_γ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_δ *
                              (List.map
                                  (fun b =>
                                    C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                      (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                  (List.finRange (n_var - 1))).sum))) +
                      (X Vars_β *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      (List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (u_stmt b))
                                          (List.finRange n_stmt)).sum)))) +
                            X Vars_α *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      (List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (v_stmt b))
                                          (List.finRange n_stmt)).sum)))) +
                          X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  (List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                          (to_MvPolynomial_Option Vars) (w_stmt b))
                                      (List.finRange n_stmt)).sum))) +
                        (X Vars_β *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      (List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (u_wit b))
                                          (List.finRange n_wit)).sum)))) +
                            X Vars_α *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      (List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (v_wit b))
                                          (List.finRange n_wit)).sum)))) +
                          X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  (List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                          (to_MvPolynomial_Option Vars) (w_wit b))
                                      (List.finRange n_wit)).sum))))))))))))) =
    (optionEquivRight F Vars) 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

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 :
  (optionEquivRight F Vars)
      (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_α *
                        (X Vars_γ *
                          (X Vars_δ *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                              (List.map
                                  (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                  (List.finRange n_var)).sum)))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_β *
                          (X Vars_γ *
                            (X Vars_δ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                                (List.map
                                    (fun b => C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum)))))) +
                  (-(X Vars_γ *
                        (X Vars_δ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                  (List.map
                                      (fun b =>
                                        C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum)))))) +
                    (-(X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum *
                                  (List.map
                                      (fun b =>
                                        C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum))))) +
                      (-(X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                          (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                      (List.finRange (n_var - 1))).sum *
                                  (List.map
                                      (fun b =>
                                        C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum)))) +
                        (-(X Vars_β *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (u_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          (List.map
                                              (fun b =>
                                                C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) *
                                                  X Vars_x ^ ↑b)
                                              (List.finRange n_var)).sum))))) +
                              -(X Vars_α *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (v_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          (List.map
                                              (fun b =>
                                                C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) *
                                                  X Vars_x ^ ↑b)
                                              (List.finRange n_var)).sum))))) +
                            -(X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (w_stmt b))
                                          (List.finRange n_stmt)).sum *
                                      (List.map
                                          (fun b =>
                                            C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                          (List.finRange n_var)).sum)))) +
                          (-(X Vars_β *
                                  (X Vars_γ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (u_wit b))
                                              (List.finRange n_wit)).sum *
                                          (List.map
                                              (fun b =>
                                                C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) *
                                                  X Vars_x ^ ↑b)
                                              (List.finRange n_var)).sum))))) +
                              -(X Vars_α *
                                  (X Vars_γ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (v_wit b))
                                              (List.finRange n_wit)).sum *
                                          (List.map
                                              (fun b =>
                                                C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) *
                                                  X Vars_x ^ ↑b)
                                              (List.finRange n_var)).sum))))) +
                            -(X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (w_wit b))
                                          (List.finRange n_wit)).sum *
                                      (List.map
                                          (fun b =>
                                            C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                          (List.finRange n_var)).sum)))))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_α *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_δ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_β *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_δ *
                                (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                  (-(X Vars_γ *
                        (X Vars_δ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                    (-(X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                        (List.finRange n_var)).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                      (-(X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                            (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                        (List.finRange (n_var - 1))).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))) +
                        (-(X Vars_β *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        (X Vars_δ *
                                          ((List.map
                                                (fun b =>
                                                  C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                    (to_MvPolynomial_Option Vars) (u_stmt b))
                                                (List.finRange n_stmt)).sum *
                                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                              -(X Vars_α *
                                  (X Vars_δ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        (X Vars_δ *
                                          ((List.map
                                                (fun b =>
                                                  C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                    (to_MvPolynomial_Option Vars) (v_stmt b))
                                                (List.finRange n_stmt)).sum *
                                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                            -(X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (w_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))) +
                          (-(X Vars_β *
                                  (X Vars_γ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        (X Vars_δ *
                                          ((List.map
                                                (fun b =>
                                                  C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                    (to_MvPolynomial_Option Vars) (u_wit b))
                                                (List.finRange n_wit)).sum *
                                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                              -(X Vars_α *
                                  (X Vars_γ *
                                    (X Vars_γ *
                                      (X Vars_δ *
                                        (X Vars_δ *
                                          ((List.map
                                                (fun b =>
                                                  C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                    (to_MvPolynomial_Option Vars) (v_wit b))
                                                (List.finRange n_wit)).sum *
                                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                            -(X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (w_wit b))
                                            (List.finRange n_wit)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))))))) +
            (-(X Vars_γ *
                  (X Vars_δ *
                    (X Vars_α *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_β *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_γ *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_γ *
                                (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                  (-(X Vars_γ *
                        (X Vars_δ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_γ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                      (List.finRange n_var)).sum *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                    (-(X Vars_γ *
                          (X Vars_γ *
                            (X Vars_δ *
                              (X Vars_γ *
                                ((List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                          (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                      (List.finRange (n_var - 1))).sum *
                                  C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))) +
                      (-(X Vars_β *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_γ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (u_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                            -(X Vars_α *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_γ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                  (to_MvPolynomial_Option Vars) (v_stmt b))
                                              (List.finRange n_stmt)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                          -(X Vars_δ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (w_stmt b))
                                          (List.finRange n_stmt)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))) +
                        (-(X Vars_β *
                                (X Vars_γ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_γ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (u_wit b))
                                              (List.finRange n_wit)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                            -(X Vars_α *
                                (X Vars_γ *
                                  (X Vars_γ *
                                    (X Vars_δ *
                                      (X Vars_γ *
                                        ((List.map
                                              (fun b =>
                                                C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                  (to_MvPolynomial_Option Vars) (v_wit b))
                                              (List.finRange n_wit)).sum *
                                          C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                          -(X Vars_γ *
                              (X Vars_γ *
                                (X Vars_δ *
                                  (X Vars_γ *
                                    ((List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (w_wit b))
                                          (List.finRange n_wit)).sum *
                                      C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))))))) +
          (-(X Vars_γ *
                (X Vars_δ *
                  (X Vars_α *
                    (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_β *
                          (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α) *
                            C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
            (-(X Vars_γ *
                  (X Vars_δ *
                    (X Vars_β *
                      (X Vars_γ *
                        (X Vars_δ *
                          (X Vars_β *
                            (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β) *
                              C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
              (-(X Vars_γ *
                    (X Vars_δ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_β *
                              (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ) *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
                (-(X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_β *
                              ((List.map
                                    (fun b => C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                    (List.finRange n_var)).sum *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                  (-(X Vars_γ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_β *
                              ((List.map
                                    (fun b =>
                                      C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                        (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                    (List.finRange (n_var - 1))).sum *
                                C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))) +
                    (-(X Vars_β *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_β *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (u_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                          -(X Vars_α *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_β *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                                (to_MvPolynomial_Option Vars) (v_stmt b))
                                            (List.finRange n_stmt)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                        -(X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_β *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y b)) *
                                            (to_MvPolynomial_Option Vars) (w_stmt b))
                                        (List.finRange n_stmt)).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))) +
                      (-(X Vars_β *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_β *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (u_wit b))
                                            (List.finRange n_wit)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                          -(X Vars_α *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_β *
                                      ((List.map
                                            (fun b =>
                                              C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                                (to_MvPolynomial_Option Vars) (v_wit b))
                                            (List.finRange n_wit)).sum *
                                        C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                        -(X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_β *
                                  ((List.map
                                        (fun b =>
                                          C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q b)) *
                                            (to_MvPolynomial_Option Vars) (w_wit b))
                                        (List.finRange n_wit)).sum *
                                    C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))))))) +
        (X Vars_γ * (X Vars_δ * (X Vars_α * (X Vars_γ * (X Vars_δ * X Vars_β)))) +
          (X Vars_β *
                  (X Vars_δ *
                    (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (u_stmt b))
                              (List.finRange n_stmt)).sum)))) +
                X Vars_α *
                  (X Vars_δ *
                    (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (v_stmt b))
                              (List.finRange n_stmt)).sum)))) +
              X Vars_δ *
                (X Vars_γ *
                  (X Vars_δ *
                    (X Vars_γ *
                      (List.map (fun b => C (stmt b) * (to_MvPolynomial_Option Vars) (w_stmt b))
                          (List.finRange n_stmt)).sum))) +
            (X Vars_γ *
                (X Vars_δ *
                  (X Vars_α *
                    (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α)))))) +
              (X Vars_γ *
                  (X Vars_δ *
                    (X Vars_β *
                      (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β)))))) +
                (X Vars_γ *
                    (X Vars_δ *
                      (X Vars_δ *
                        (X Vars_γ * (X Vars_δ * (X Vars_δ * C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ)))))) +
                  (X Vars_γ *
                      (X Vars_δ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_δ *
                              (List.map
                                  (fun b => C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow b)) * X Vars_x ^ ↑b)
                                  (List.finRange n_var)).sum)))) +
                    (X Vars_γ *
                        (X Vars_γ *
                          (X Vars_δ *
                            (X Vars_δ *
                              (List.map
                                  (fun b =>
                                    C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t b)) *
                                      (X Vars_x ^ ↑b * (to_MvPolynomial_Option Vars) t))
                                  (List.finRange (n_var - 1))).sum))) +
                      (X Vars_β *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      (List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (u_stmt b))
                                          (List.finRange n_stmt)).sum)))) +
                            X Vars_α *
                              (X Vars_δ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      (List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                              (to_MvPolynomial_Option Vars) (v_stmt b))
                                          (List.finRange n_stmt)).sum)))) +
                          X Vars_δ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  (List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y b)) *
                                          (to_MvPolynomial_Option Vars) (w_stmt b))
                                      (List.finRange n_stmt)).sum))) +
                        (X Vars_β *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      (List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (u_wit b))
                                          (List.finRange n_wit)).sum)))) +
                            X Vars_α *
                              (X Vars_γ *
                                (X Vars_γ *
                                  (X Vars_δ *
                                    (X Vars_δ *
                                      (List.map
                                          (fun b =>
                                            C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                              (to_MvPolynomial_Option Vars) (v_wit b))
                                          (List.finRange n_wit)).sum)))) +
                          X Vars_γ *
                            (X Vars_γ *
                              (X Vars_δ *
                                (X Vars_δ *
                                  (List.map
                                      (fun b =>
                                        C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q b)) *
                                          (to_MvPolynomial_Option Vars) (w_wit b))
                                      (List.finRange n_wit)).sum))))))))))))) =
    (optionEquivRight F Vars) 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:
simp only [AlgEquiv.map_add, AlgEquiv.map_zero, AlgEquiv.map_mul, AlgEquiv.map_one,
  AlgEquiv.map_neg, AlgEquiv.list_map_sum, AlgEquiv.map_pow] at eqn
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 :
  -((optionEquivRight F Vars) (X Vars_γ) *
                  ((optionEquivRight F Vars) (X Vars_δ) *
                    ((optionEquivRight F Vars) (X Vars_α) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α)) *
                            (List.map
                                (fun x =>
                                  (optionEquivRight F Vars)
                                      (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                    (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                (List.finRange n_var)).sum)))))) +
              (-((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_β) *
                        ((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β)) *
                              (List.map
                                  (fun x =>
                                    (optionEquivRight F Vars)
                                        (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                      (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                  (List.finRange n_var)).sum)))))) +
                (-((optionEquivRight F Vars) (X Vars_γ) *
                      ((optionEquivRight F Vars) (X Vars_δ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ)) *
                                (List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                        (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                    (List.finRange n_var)).sum)))))) +
                  (-((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x))) *
                                        (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                    (List.finRange n_var)).sum *
                                (List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                        (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                    (List.finRange n_var)).sum))))) +
                    (-((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x))) *
                                        ((optionEquivRight F Vars) (X Vars_x) ^ ↑x *
                                          (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) t)))
                                    (List.finRange (n_var - 1))).sum *
                                (List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                        (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                    (List.finRange n_var)).sum)))) +
                      (-((optionEquivRight F Vars) (X Vars_β) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_γ) *
                                    ((optionEquivRight F Vars) (X Vars_δ) *
                                      ((List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_stmt x)))
                                            (List.finRange n_stmt)).sum *
                                        (List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                                (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                            (List.finRange n_var)).sum))))) +
                            -((optionEquivRight F Vars) (X Vars_α) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_γ) *
                                    ((optionEquivRight F Vars) (X Vars_δ) *
                                      ((List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_stmt x)))
                                            (List.finRange n_stmt)).sum *
                                        (List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                                (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                            (List.finRange n_var)).sum))))) +
                          -((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_stmt x)))
                                        (List.finRange n_stmt)).sum *
                                    (List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                            (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                        (List.finRange n_var)).sum)))) +
                        (-((optionEquivRight F Vars) (X Vars_β) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((optionEquivRight F Vars) (X Vars_γ) *
                                    ((optionEquivRight F Vars) (X Vars_δ) *
                                      ((List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_wit x)))
                                            (List.finRange n_wit)).sum *
                                        (List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                                (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                            (List.finRange n_var)).sum))))) +
                            -((optionEquivRight F Vars) (X Vars_α) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((optionEquivRight F Vars) (X Vars_γ) *
                                    ((optionEquivRight F Vars) (X Vars_δ) *
                                      ((List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_wit x)))
                                            (List.finRange n_wit)).sum *
                                        (List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                                (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                            (List.finRange n_var)).sum))))) +
                          -((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_wit x)))
                                        (List.finRange n_wit)).sum *
                                    (List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.2 Proof_G2_Idx.B (SRS_Elements_G2_Idx.x_pow x))) *
                                            (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                        (List.finRange n_var)).sum)))))))))) +
            (-((optionEquivRight F Vars) (X Vars_γ) *
                  ((optionEquivRight F Vars) (X Vars_δ) *
                    ((optionEquivRight F Vars) (X Vars_α) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α)) *
                              (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))) +
              (-((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_β) *
                        ((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β)) *
                                (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))) +
                (-((optionEquivRight F Vars) (X Vars_γ) *
                      ((optionEquivRight F Vars) (X Vars_δ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ)) *
                                  (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))))) +
                  (-((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                ((List.map
                                      (fun x =>
                                        (optionEquivRight F Vars)
                                            (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x))) *
                                          (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                      (List.finRange n_var)).sum *
                                  (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                    (-((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                ((List.map
                                      (fun x =>
                                        (optionEquivRight F Vars)
                                            (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x))) *
                                          ((optionEquivRight F Vars) (X Vars_x) ^ ↑x *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) t)))
                                      (List.finRange (n_var - 1))).sum *
                                  (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                      (-((optionEquivRight F Vars) (X Vars_β) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_γ) *
                                    ((optionEquivRight F Vars) (X Vars_δ) *
                                      ((optionEquivRight F Vars) (X Vars_δ) *
                                        ((List.map
                                              (fun x =>
                                                (optionEquivRight F Vars)
                                                    (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                                  (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_stmt x)))
                                              (List.finRange n_stmt)).sum *
                                          (optionEquivRight F Vars)
                                            (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                            -((optionEquivRight F Vars) (X Vars_α) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_γ) *
                                    ((optionEquivRight F Vars) (X Vars_δ) *
                                      ((optionEquivRight F Vars) (X Vars_δ) *
                                        ((List.map
                                              (fun x =>
                                                (optionEquivRight F Vars)
                                                    (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                                  (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_stmt x)))
                                              (List.finRange n_stmt)).sum *
                                          (optionEquivRight F Vars)
                                            (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                          -((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    ((List.map
                                          (fun x =>
                                            (optionEquivRight F Vars)
                                                (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                              (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_stmt x)))
                                          (List.finRange n_stmt)).sum *
                                      (optionEquivRight F Vars)
                                        (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ))))))) +
                        (-((optionEquivRight F Vars) (X Vars_β) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((optionEquivRight F Vars) (X Vars_γ) *
                                    ((optionEquivRight F Vars) (X Vars_δ) *
                                      ((optionEquivRight F Vars) (X Vars_δ) *
                                        ((List.map
                                              (fun x =>
                                                (optionEquivRight F Vars)
                                                    (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                                  (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_wit x)))
                                              (List.finRange n_wit)).sum *
                                          (optionEquivRight F Vars)
                                            (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                            -((optionEquivRight F Vars) (X Vars_α) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((optionEquivRight F Vars) (X Vars_γ) *
                                    ((optionEquivRight F Vars) (X Vars_δ) *
                                      ((optionEquivRight F Vars) (X Vars_δ) *
                                        ((List.map
                                              (fun x =>
                                                (optionEquivRight F Vars)
                                                    (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                                  (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_wit x)))
                                              (List.finRange n_wit)).sum *
                                          (optionEquivRight F Vars)
                                            (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))) +
                          -((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    ((List.map
                                          (fun x =>
                                            (optionEquivRight F Vars)
                                                (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                              (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_wit x)))
                                          (List.finRange n_wit)).sum *
                                      (optionEquivRight F Vars)
                                        (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.δ)))))))))))))) +
          (-((optionEquivRight F Vars) (X Vars_γ) *
                ((optionEquivRight F Vars) (X Vars_δ) *
                  ((optionEquivRight F Vars) (X Vars_α) *
                    ((optionEquivRight F Vars) (X Vars_γ) *
                      ((optionEquivRight F Vars) (X Vars_δ) *
                        ((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α)) *
                            (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))) +
            (-((optionEquivRight F Vars) (X Vars_γ) *
                  ((optionEquivRight F Vars) (X Vars_δ) *
                    ((optionEquivRight F Vars) (X Vars_β) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β)) *
                              (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))) +
              (-((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_δ) *
                        ((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ)) *
                                (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))))) +
                (-((optionEquivRight F Vars) (X Vars_γ) *
                      ((optionEquivRight F Vars) (X Vars_δ) *
                        ((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x))) *
                                        (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                    (List.finRange n_var)).sum *
                                (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                  (-((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x))) *
                                        ((optionEquivRight F Vars) (X Vars_x) ^ ↑x *
                                          (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) t)))
                                    (List.finRange (n_var - 1))).sum *
                                (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                    (-((optionEquivRight F Vars) (X Vars_β) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    ((optionEquivRight F Vars) (X Vars_γ) *
                                      ((List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_stmt x)))
                                            (List.finRange n_stmt)).sum *
                                        (optionEquivRight F Vars)
                                          (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                          -((optionEquivRight F Vars) (X Vars_α) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    ((optionEquivRight F Vars) (X Vars_γ) *
                                      ((List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_stmt x)))
                                            (List.finRange n_stmt)).sum *
                                        (optionEquivRight F Vars)
                                          (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                        -((optionEquivRight F Vars) (X Vars_δ) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_stmt x)))
                                        (List.finRange n_stmt)).sum *
                                    (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ))))))) +
                      (-((optionEquivRight F Vars) (X Vars_β) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    ((optionEquivRight F Vars) (X Vars_γ) *
                                      ((List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_wit x)))
                                            (List.finRange n_wit)).sum *
                                        (optionEquivRight F Vars)
                                          (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                          -((optionEquivRight F Vars) (X Vars_α) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    ((optionEquivRight F Vars) (X Vars_γ) *
                                      ((List.map
                                            (fun x =>
                                              (optionEquivRight F Vars)
                                                  (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_wit x)))
                                            (List.finRange n_wit)).sum *
                                        (optionEquivRight F Vars)
                                          (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))) +
                        -((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                ((optionEquivRight F Vars) (X Vars_γ) *
                                  ((List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_wit x)))
                                        (List.finRange n_wit)).sum *
                                    (optionEquivRight F Vars)
                                      (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.γ)))))))))))))) +
        (-((optionEquivRight F Vars) (X Vars_γ) *
              ((optionEquivRight F Vars) (X Vars_δ) *
                ((optionEquivRight F Vars) (X Vars_α) *
                  ((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_β) *
                        ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.α)) *
                          (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))) +
          (-((optionEquivRight F Vars) (X Vars_γ) *
                ((optionEquivRight F Vars) (X Vars_δ) *
                  ((optionEquivRight F Vars) (X Vars_β) *
                    ((optionEquivRight F Vars) (X Vars_γ) *
                      ((optionEquivRight F Vars) (X Vars_δ) *
                        ((optionEquivRight F Vars) (X Vars_β) *
                          ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.β)) *
                            (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))) +
            (-((optionEquivRight F Vars) (X Vars_γ) *
                  ((optionEquivRight F Vars) (X Vars_δ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_β) *
                            ((optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.A SRS_Elements_G1_Idx.δ)) *
                              (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))))) +
              (-((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_β) *
                            ((List.map
                                  (fun x =>
                                    (optionEquivRight F Vars)
                                        (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow x))) *
                                      (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                  (List.finRange n_var)).sum *
                              (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
                (-((optionEquivRight F Vars) (X Vars_γ) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_β) *
                            ((List.map
                                  (fun x =>
                                    (optionEquivRight F Vars)
                                        (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.x_pow_times_t x))) *
                                      ((optionEquivRight F Vars) (X Vars_x) ^ ↑x *
                                        (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) t)))
                                  (List.finRange (n_var - 1))).sum *
                              (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                  (-((optionEquivRight F Vars) (X Vars_β) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_β) *
                                    ((List.map
                                          (fun x =>
                                            (optionEquivRight F Vars)
                                                (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                              (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_stmt x)))
                                          (List.finRange n_stmt)).sum *
                                      (optionEquivRight F Vars)
                                        (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
                        -((optionEquivRight F Vars) (X Vars_α) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_β) *
                                    ((List.map
                                          (fun x =>
                                            (optionEquivRight F Vars)
                                                (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                              (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_stmt x)))
                                          (List.finRange n_stmt)).sum *
                                      (optionEquivRight F Vars)
                                        (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
                      -((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_β) *
                                ((List.map
                                      (fun x =>
                                        (optionEquivRight F Vars)
                                            (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.y x))) *
                                          (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_stmt x)))
                                      (List.finRange n_stmt)).sum *
                                  (optionEquivRight F Vars) (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β))))))) +
                    (-((optionEquivRight F Vars) (X Vars_β) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_β) *
                                    ((List.map
                                          (fun x =>
                                            (optionEquivRight F Vars)
                                                (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                              (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_wit x)))
                                          (List.finRange n_wit)).sum *
                                      (optionEquivRight F Vars)
                                        (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
                        -((optionEquivRight F Vars) (X Vars_α) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_β) *
                                    ((List.map
                                          (fun x =>
                                            (optionEquivRight F Vars)
                                                (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                              (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_wit x)))
                                          (List.finRange n_wit)).sum *
                                      (optionEquivRight F Vars)
                                        (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))) +
                      -((optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_β) *
                                ((List.map
                                      (fun x =>
                                        (optionEquivRight F Vars)
                                            (C (prover.1 Proof_G1_Idx.A (SRS_Elements_G1_Idx.q x))) *
                                          (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_wit x)))
                                      (List.finRange n_wit)).sum *
                                  (optionEquivRight F Vars)
                                    (C (prover.2 Proof_G2_Idx.B SRS_Elements_G2_Idx.β)))))))))))))) +
      ((optionEquivRight F Vars) (X Vars_γ) *
          ((optionEquivRight F Vars) (X Vars_δ) *
            ((optionEquivRight F Vars) (X Vars_α) *
              ((optionEquivRight F Vars) (X Vars_γ) *
                ((optionEquivRight F Vars) (X Vars_δ) * (optionEquivRight F Vars) (X Vars_β))))) +
        ((optionEquivRight F Vars) (X Vars_β) *
                ((optionEquivRight F Vars) (X Vars_δ) *
                  ((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        (List.map
                            (fun x =>
                              (optionEquivRight F Vars) (C (stmt x)) *
                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_stmt x)))
                            (List.finRange n_stmt)).sum)))) +
              (optionEquivRight F Vars) (X Vars_α) *
                ((optionEquivRight F Vars) (X Vars_δ) *
                  ((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        (List.map
                            (fun x =>
                              (optionEquivRight F Vars) (C (stmt x)) *
                                (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_stmt x)))
                            (List.finRange n_stmt)).sum)))) +
            (optionEquivRight F Vars) (X Vars_δ) *
              ((optionEquivRight F Vars) (X Vars_γ) *
                ((optionEquivRight F Vars) (X Vars_δ) *
                  ((optionEquivRight F Vars) (X Vars_γ) *
                    (List.map
                        (fun x =>
                          (optionEquivRight F Vars) (C (stmt x)) *
                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_stmt x)))
                        (List.finRange n_stmt)).sum))) +
          ((optionEquivRight F Vars) (X Vars_γ) *
              ((optionEquivRight F Vars) (X Vars_δ) *
                ((optionEquivRight F Vars) (X Vars_α) *
                  ((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_δ) *
                        (optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.α))))))) +
            ((optionEquivRight F Vars) (X Vars_γ) *
                ((optionEquivRight F Vars) (X Vars_δ) *
                  ((optionEquivRight F Vars) (X Vars_β) *
                    ((optionEquivRight F Vars) (X Vars_γ) *
                      ((optionEquivRight F Vars) (X Vars_δ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          (optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.β))))))) +
              ((optionEquivRight F Vars) (X Vars_γ) *
                  ((optionEquivRight F Vars) (X Vars_δ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            (optionEquivRight F Vars) (C (prover.1 Proof_G1_Idx.C SRS_Elements_G1_Idx.δ))))))) +
                ((optionEquivRight F Vars) (X Vars_γ) *
                    ((optionEquivRight F Vars) (X Vars_δ) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            (List.map
                                (fun x =>
                                  (optionEquivRight F Vars)
                                      (C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow x))) *
                                    (optionEquivRight F Vars) (X Vars_x) ^ ↑x)
                                (List.finRange n_var)).sum)))) +
                  ((optionEquivRight F Vars) (X Vars_γ) *
                      ((optionEquivRight F Vars) (X Vars_γ) *
                        ((optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_δ) *
                            (List.map
                                (fun x =>
                                  (optionEquivRight F Vars)
                                      (C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.x_pow_times_t x))) *
                                    ((optionEquivRight F Vars) (X Vars_x) ^ ↑x *
                                      (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) t)))
                                (List.finRange (n_var - 1))).sum))) +
                    ((optionEquivRight F Vars) (X Vars_β) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    (List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x))) *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_stmt x)))
                                        (List.finRange n_stmt)).sum)))) +
                          (optionEquivRight F Vars) (X Vars_α) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    (List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x))) *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_stmt x)))
                                        (List.finRange n_stmt)).sum)))) +
                        (optionEquivRight F Vars) (X Vars_δ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                (List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.y x))) *
                                        (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_stmt x)))
                                    (List.finRange n_stmt)).sum))) +
                      ((optionEquivRight F Vars) (X Vars_β) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    (List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x))) *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (u_wit x)))
                                        (List.finRange n_wit)).sum)))) +
                          (optionEquivRight F Vars) (X Vars_α) *
                            ((optionEquivRight F Vars) (X Vars_γ) *
                              ((optionEquivRight F Vars) (X Vars_γ) *
                                ((optionEquivRight F Vars) (X Vars_δ) *
                                  ((optionEquivRight F Vars) (X Vars_δ) *
                                    (List.map
                                        (fun x =>
                                          (optionEquivRight F Vars)
                                              (C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x))) *
                                            (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (v_wit x)))
                                        (List.finRange n_wit)).sum)))) +
                        (optionEquivRight F Vars) (X Vars_γ) *
                          ((optionEquivRight F Vars) (X Vars_γ) *
                            ((optionEquivRight F Vars) (X Vars_δ) *
                              ((optionEquivRight F Vars) (X Vars_δ) *
                                (List.map
                                    (fun x =>
                                      (optionEquivRight F Vars)
                                          (C (prover.1 Proof_G1_Idx.C (SRS_Elements_G1_Idx.q x))) *
                                        (optionEquivRight F Vars) ((to_MvPolynomial_Option Vars) (w_wit x)))
                                    (List.finRange n_wit)).sum)))))))))))) =
    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