question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 2 years ago
  • Comments:30 (30 by maintainers)

github_iconTop GitHub Comments

2reactions
re-xyrcommented, Sep 18, 2021

Alternatively: f {universe u v} x y.

1reaction
re-xyrcommented, Sep 18, 2021

Because I feel the code look cleaner that way. Still, I do like Lean’s level application syntax: f.(u, v) x y.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found