Registry Mirror
Skip to content

Conversation

@alreadydone

Copy link
Copy Markdown
Contributor

No description provided.

@MichaelStollBayreuth MichaelStollBayreuth left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM.

@MichaelStollBayreuth

Copy link
Copy Markdown

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
  sorry

It 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.

@alreadydone

Copy link
Copy Markdown
Contributor Author

Nice idea! I'd use Polynomial.Separable for hf though.

@MichaelStollBayreuth

MichaelStollBayreuth commented May 12, 2026 •

Copy link
Copy Markdown

Strangely, according to loogle, there is no result in Mathlib that connects Polynomial.Separable and Polynomial.discr... I guess this is because Polynomial.discr has very little API.

@alreadydone

alreadydone commented May 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Yeah apparently @kckennylau added Polynomial.discr relatively recently.

@alreadydone

alreadydone commented May 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Maybe you can also add a concrete special case, e.g.,

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 ...

@alreadydone

alreadydone commented May 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Instead of the old Is1DFunctionField I introduced

class BundledFunctionField extends
  Algebra (RatFunc K) F, IsScalarTower K (RatFunc K) F, FunctionField K F

to make statements shorter.

@alreadydone

Copy link
Copy Markdown
Contributor Author

This file would be suitable for further eval_problems about function fields, like Riemann Roch ...

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

@alreadydone alreadydone changed the title feat(AlgebraicGeometry): function fields and Faltings' theorem feat(AlgebraicGeometry): Faltings' theorem Aug 2, 2026
kim-em and others added 2 commits August 21, 2026 01:32
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
kim-em and others added 2 commits August 21, 2026 03:02
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
@kim-em
kim-em merged commit 2f9397a into leanprover:main Aug 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants