Left to Solve
Problems / MathOverflow (not formalized)

Numerical method with rational nodes and weights to compute exact value of definite integral?

Open, not yet stated in LeanMathOverflow (not formalized)Uncategoriseddifficulty55/100

Statement

Description

Let be a polynomial of degree and rational coefficients.

I'm interested in computing numerically the exact value of the integral , which is also rational

Usually the numerical integral is computed by the sum of weights and function values at nodes

The exact integral can be obtained by

• Newton-cotes formula with evaluation nodes

• Gauss-legendre quadrature with nodes.

Clearly gauss-legendre uses less points than newton-cotes due to the fact Newton-cotes keeps the nodes fixed at equal distance and find the best weights, while gauss-legendre find the best nodes and weights.

But the problem with gauss-legendre is the fact its nodes are irrational, impossible to represent them in computer, while rational values can.

Then I asked myself if there's a numerical method such we allow the nodes to move (different from newton-cotes) while keeping and in rationals (different from gauss-legendre). But unfortunatelly I have no clue how to start …

Posed by Carlos Adir · rational-functions, numerical-integration

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-454227.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-454227.lean

import Mathlib

/-!
# Numerical method with rational nodes and weights to compute exact value of definite integral?

Source: https://mathoverflow.net/questions/454227
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_454227

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_454227