More universe level related issues #1
See original GitHub issue~I plan to post all level related issues here in the future.~
Commit: d2ef653
universe u
open data EventT : Type (lsuc u)
| CarrierT (A : Type u)
def GetAgentT (T : EventT) : Type u
| CarrierT A => A
struct Event (T : EventT) : Type (lsuc (lsuc u))
| agent : GetAgentT T
universe v
def Quantifier (A : Type u) : Type (lmax u (lsuc v)) => (A -> Type v) -> Type v
def Verb (T : EventT) : Type (lsuc (lsuc u)) => Quantifier (Event T)
def mkVerb {T : EventT} (p : Event T -> Type v) : Verb T
=> \f => Sig (e : Event T) (s : p e) ** (f e)
(Apart from the level error, it’s strange that the level parameter (lsuc (lsuc u))
of the type of Event
can be omitted)
(I’m trying to make the program I wrote before level-polymorphic) (Would there be a way to specify the level parameters for functions manully?)
Issue Analytics
- State:
- Created 2 years ago
- Comments:30 (30 by maintainers)
Top Results From Across the Web
Confronting the Multiverse: What 'Infinite Universes' Would Mean
Level III: A kind of space different from the space-time of our universe exists (called "Hilbert space," which is infinite-dimensional and ...
Read more >What If Humanity Lives in a Level I Multiverse? | Unveiled
How To Know If It's Aliens · Giant Asteroid Hits Atlantic Ocean - Universe Sandbox · This Is The Most Detailed Image Of...
Read more >What does it mean when they say the universe is expanding?
Answer. When scientists talk about the expanding universe, they mean that it has been growing ever since its beginning with the Big Bang....
Read more >Multiverse - Wikipedia
The multiverse is a hypothetical group of multiple universes. Together, these universes comprise everything that exists: the entirety of space, time, ...
Read more >Tegmark's level 1 multiverse - why does infinite set of ...
In "Our Mathematical Universe" Tegmark claims that inflation theory implies existence of (countably, it seems to me) infinite set of universes.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alternatively:
f {universe u v} x y
.Because I feel the code look cleaner that way. Still, I do like Lean’s level application syntax:
f.(u, v) x y
.