Skip to content

feat(Algebra/LocalIso): prove of_bijective and comp for RingHom.IsLocalIso#24

Open
chrisflav wants to merge 4 commits intochrisflav:masterfrom
chrisflav-agents:pr/local-iso-proofs
Open

feat(Algebra/LocalIso): prove of_bijective and comp for RingHom.IsLocalIso#24
chrisflav wants to merge 4 commits intochrisflav:masterfrom
chrisflav-agents:pr/local-iso-proofs

Conversation

@chrisflav
Copy link
Owner

Prove RingHom.IsLocalIso.of_bijective: a bijective ring homomorphism is a local isomorphism.

Prove RingHom.IsLocalIso.comp: the composition of two local isomorphisms is a local isomorphism. The proof localizes at primes of the target, lifts elements via IsLocalization.Away.surj, and builds the required IsStandardOpenImmersion instances by composing localization equivalences.

…alIso

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
chrisflav-agent bot and others added 2 commits March 17, 2026 17:03
- Add `@[algebraize]` tag to `RingHom.IsLocalIso` so the algebraize tactic
  can automatically generate `Algebra.IsLocalIso` instances from `RingHom.IsLocalIso` hypotheses
- Import `Mathlib.Tactic.Algebraize`
- Use `algebraize [f, g, g.comp f]` in `comp` instead of manual instance setup
- Use `inferInstance` in `of_bijective` instead of the auto-generated instance name

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant