Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc lemmas #465

Merged
merged 7 commits into from
Nov 23, 2018
Merged

Misc lemmas #465

merged 7 commits into from
Nov 23, 2018

Conversation

clayrat
Copy link
Contributor

@clayrat clayrat commented Nov 15, 2018

Since it looks like I'm stuck in #457 without a box tactic, here are some helper lemmas I've written along the way.

@jonsterling
Copy link
Collaborator

Sorry it's taken a little while to review this ,we'll get to it shortly!

@ecavallo
Copy link
Collaborator

For now, it is possible to indirectly write a box with a composition:

def boxlike
  (A : 𝕀 → type) (B0 : [j] type [j=0 → A 0]) (B1 : [j] type [j=0 → A 1])
  (a : (i : 𝕀) → A i) (b0 : [j] B0 j [j=0 → a 0]) (b1 : [j] B1 j [j=0 → a 1])
  (i : 𝕀)
  : comp 0 1 (A i) [i=0 → B0 | i=1 → B1]
  =
  comp 0 1 (a i) in λ j → comp 0 j (A i) [i=0 → B0 | i=1 → B1] [
  | i=0 → b0
  | i=1 → b1
  ]

Copy link
Collaborator

@ecavallo ecavallo left a comment

Choose a reason for hiding this comment

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

nice work!

Copy link
Collaborator

@jonsterling jonsterling left a comment

Choose a reason for hiding this comment

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

great!

@jonsterling jonsterling merged commit bb0071b into RedPRL:master Nov 23, 2018
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.

4 participants