Conversation
|
Maybe you can also add a concrete special case, e.g., theorem faltngs_hyperelliptic {K : Type*} [Field K] [NumberField K] {f : Polynomial K} (hf : f.discr ≠ 0) (hd : 5 ≤ f.natDegree) :
{x : K | IsSquare (f.eval x)}.Finite := by
sorryIt would be interesting to see if (1) models can find simpler proofs for the special case, (2) models can deduce the concrete application from the general result. |
|
Nice idea! I'd use Polynomial.Separable for |
|
Strangely, according to loogle, there is no result in Mathlib that connects |
|
Yeah apparently @kckennylau added |
I think it's better that you open a separate PR to add it in another file (maybe under NumberTheory is more suitable than AlgebraicGeometry for this one), since it doesn't mention function fields. This file would be suitable for further eval_problems about function fields, like Riemann Roch ... |
|
Instead of the old to make statements shorter. |
Function field Riemann Roch is apparently done in https://github.com/vaca22/riemann-roch-function-fields, see https://leanprover.zulipchat.com/#narrow/channel/579630-Project-announcements/topic/Riemann.E2.80.93Roch.20for.20function.20fields/near/609783727 |
Removed 'finite_setOf_notMem' from holes list.
This file defines basic objects associated to function fields of one variable, sufficient to state Faltings' theorem.
Main now requires `group`, `status`, `visible`, `statement_revision` and `tags` in every problem manifest (EvalTools/Markers.lean, added in 07848f4). Without them `validate-manifest` fails with "missing required key: group". Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011hxUxCg6joVz4hMa3m5Zh5
The generated-challenge marker stripper in EvalTools/Generate.lean is line-oriented: it only removes an attribute when the trimmed line both starts with `@[` and ends with `]`. An inline `@[eval_problem] theorem ...` survives into the generated Challenge.lean, where `import EvalTools.Markers` has been stripped, so the attribute is unknown and the build fails. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011hxUxCg6joVz4hMa3m5Zh5
The generated Submission.lean wraps the body in `namespace Submission` and opens the `_root_` namespaces of the helpers that moved to ChallengeDeps. `Adele` resolves there, but `Adele.principal` depends on the `finite_setOf_place_notMem` hole and so stays in Submission, and the anonymous `.principal` picks the constant up from the expected type's namespace. Spell out `Adele.principal`, which resolves in both settings. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011hxUxCg6joVz4hMa3m5Zh5
No description provided.