Skip to content

Conversation

adomasbaliuka
Copy link
Contributor

Universe level levelOne specified for Nat. Should be levelZero


See zulip discussion

Universe level levelOne specified for Nat. Should be levelZero
@adomasbaliuka adomasbaliuka changed the title Fixs universe levels in Chapter 03 "Expressions" Fixes universe levels in Chapter 03 "Expressions" Aug 17, 2024
mkAppN (.const ``List.map [levelOne, levelOne])
#[nat, nat, addOne, .app (.const ``List.nil [levelOne]) nat]
mkAppN (.const ``List.map [levelZero, levelZero])
#[nat, nat, addOne, .app (.const ``List.nil [levelZero]) nat]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This makes the universe output differ from what's shown below a few lines down on line 304:

-- @List.map.{1, 1} Nat Nat (fun x => Nat.add x 1) (@List.nil.{1} Nat) : List.{1} Nat

I fully defer to the Zulip thread that this change is right though -- can you just update that line so its output now has the right universes in it as well, and then this should be good to merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry about missing this and great you noticed! Updated.

@Julian
Copy link
Collaborator

Julian commented Aug 29, 2024

Thanks again!

@Julian Julian merged commit e474680 into leanprover-community:master Aug 29, 2024
5 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.

2 participants