Skip to content

Translated universe instances - #70

Draft
theostos wants to merge 1 commit into
rocq-community:masterfrom
theostos:pr/universe-instances
Draft

theostos wants to merge 1 commit into
rocq-community:masterfrom
theostos:pr/universe-instances

Conversation

@theostos

Copy link
Copy Markdown
Contributor

The importer previously formed Rocq universe instances from an implicit prefix of Lean parameters and a separately stored suffix for synthesized max/succ levels. It now stores the complete instance recipe and declares only directly used source levels plus synthesized algebraic levels; this fixes the universe-constraint failure at cslib's Int64.toInt_minValue.

@SkySkimmer

Copy link
Copy Markdown
Collaborator

What is the cslib error?

@SkySkimmer

Copy link
Copy Markdown
Collaborator

also there's a merge conflict

@theostos
theostos force-pushed the pr/universe-instances branch from 2dc7529 to 96ff81d Compare September 8, 2026 11:47
@theostos
theostos marked this pull request as draft September 8, 2026 14:10
@theostos

theostos commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

sorry about that, I'm not able to reproduce the problem, I may have mixed this branch with another one

Represent each translated universe instance as a complete expression over the Lean universe parameters. This keeps reference instances aligned with declaration contexts when successor and maximum levels require synthesized Rocq universes.
@theostos
theostos force-pushed the pr/universe-instances branch from 96ff81d to a8e4215 Compare September 8, 2026 21:43
@SkySkimmer

Copy link
Copy Markdown
Collaborator

This PR seems like an optimization rather than a bugfix as it avoids exposing unused universes in the interface of references (ie in their instances)

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.

2 participants