seewoo5 / lean-poly-abc

Formalization of the proof of ABC conjecture for polynomials (Mason-Stothers theorem) in Lean 4
8 stars 0 forks source link

Pain Points #3

Closed seewoo5 closed 2 weeks ago

seewoo5 commented 1 year ago
seewoo5 commented 1 year ago
seewoo5 commented 1 year ago
seewoo5 commented 1 year ago
seewoo5 commented 1 year ago
jcpaik commented 1 year ago

with_bot nat is much painful to work with than nat

So, we need to choose one of the painful options.

jcpaik commented 1 year ago

It's hard to show that the num and denom of a ratfunc are coprime.

Simply trying to rewrite the definition does not work. It results in full gibberish.

theorem is_coprime.num_denom (x : ratfunc k) : is_coprime x.num x.denom :=
begin
  rw [ratfunc.num, ratfunc.denom],
  simp_rw [ratfunc.num_denom],
end

The idea is to mix three things. ratfunc.denom_div and ratfunc.mk_eq_div and ratfunc.induction_on. This is not all all trivial for anyone who is reading this for the first time.

seewoo5 commented 1 year ago

The proof of Davenport's theorem by Stothers can be simplified. We don't need to divide into two cases as $\deg(f^3) = \deg(g^2)$ and $\deg(f^3) \neq \deg(g^2)$. Also, some of the earlier assumptions like $f \neq 0, g\neq 0, f^3 - g^2 \neq 0$ actually follows from coprimality and $f' \neq 0 \neq g'$.

seewoo5 commented 1 year ago

In Stothers' paper, there's a slightly different version of ABC for not necessarily coprime polynomials (Theorem 1.2). Following the proof, it can be translated as follows: for zero-sum distinct triple of nonzero polynomials $a, b, c \in k[t]$, $a + b + c = 0$ implies $\max{\deg(a), \deg(b), \deg(c) } + 1 \le \deg(\mathrm{rad}(a)) + \deg(\mathrm{rad}(b)) + \deg(c)$ (the $\deg(\mathrm{rad}(c))$ of RHS of the original ABC inequality is replaced by $\deg(c)$. Using this, we can remove the coprimality hypothesis for Davenport's theorem (but not sure about the positive characteristic case).

jcpaik commented 3 weeks ago

@seewoo5 I think we need to work on this slightly different version of ABC for non-coprime polynomials