Skip to content

feat(Algebra/IndZariski): fill basic instances and flatness#26

Open
chrisflav wants to merge 2 commits intochrisflav:masterfrom
chrisflav-agents:pr/ind-zariski-instances
Open

feat(Algebra/IndZariski): fill basic instances and flatness#26
chrisflav wants to merge 2 commits intochrisflav:masterfrom
chrisflav-agents:pr/ind-zariski-instances

Conversation

@chrisflav
Copy link
Owner

Fill several sorries in Algebra/IndZariski.lean:

  • CommAlgCat.isLocalIso is closed under isomorphisms and finite discrete limits (IsClosedUnderIsomorphisms, IsClosedUnderLimitsOfShape).
  • Algebra.IndZariski.of_isLocalIso: every local isomorphism is ind-Zariski.
  • Algebra.IndZariski.prod: ind-Zariski is closed under binary products (by reducing to the pi instance via ULift Bool).
  • Module.Flat.of_indZariski: every ind-Zariski algebra is flat (via isLocalIso_implies_flat using Zariski descent for flatness).

Fill several sorries in Algebra/IndZariski.lean:
- Add IsClosedUnderIsomorphisms and IsClosedUnderLimitsOfShape instances
  for CommAlgCat.isLocalIso.
- Prove of_isLocalIso: every local isomorphism is ind-Zariski.
- Prove prod: ind-Zariski is closed under products (via reduction to pi).
- Prove Module.Flat.of_indZariski: every ind-Zariski algebra is flat.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@chrisflav
Copy link
Owner Author

orchestra polish

1 similar comment
@chrisflav
Copy link
Owner Author

orchestra polish

- Replace `fun ... =>` with `fun ... ↦` throughout
- Replace `haveI` with `have` in tactic proof
- Split semicolon-chained tactics onto separate lines
- Replace `show ... from` pattern with explicit `have`
- Remove redundant parentheses
- Add docstring to `instance prod`

Co-Authored-By: Claude Opus 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