How to make an approximation of path with polynom P(x,y)=0?
Statement
Hi. Imagine that a user draws on the canvas any path. I want to approximate this path with a path where - is unknown polynom. May be somebody can suggest an appropriate algorithm?
1) I tried to use the method of least squares to find this polynom. Just choosed on the path a lot of points . And minimized unknown among all polinoms of degree n. This problem of minimization is a problem of finding an eigen vector of huge matrix that grows as . Already for this matrix has a size it's hard work for PC to find the solution. And for it doesn't give appropriate result.
2) Spline doesn't work for me. Because spline - is a union of curves . To each spline of course we can correspond . But this union will have a lot of bifurcation points on the curve. And for my project it is very bad
Posed by David · approximation-algorithms
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-98860.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-98860.lean
import Mathlib /-! # How to make an approximation of path with polynom P(x,y)=0? Source: https://mathoverflow.net/questions/98860 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_98860 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_98860