Skip to content

Equivalence (or otherwise) of all the various definitions of proof-irrelevance; streamlining them #2198

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

Closed
jamesmckinna opened this issue Nov 7, 2023 · 1 comment · Fixed by #2259

Comments

@jamesmckinna
Copy link
Contributor

jamesmckinna commented Nov 7, 2023

Consider:

  • Relation.Binary.PropositionalEquality:
isPropositional : Set a  Set a
isPropositional A = (a b : A)  a ≡ b
  • Relation.Nullary:
Irrelevant :  {p}  Set p  Set p
Irrelevant P =  (p₁ p₂ : P)  p₁ ≡ p₂
  • Relation.Unary:
Irrelevant : Pred A ℓ  Set _
Irrelevant P =  {x} (a : P x) (b : P x)  a ≡ b
  • Relation.Binary.Definitions:
Irrelevant : REL A B ℓ  Set _
Irrelevant _∼_ =  {x y} (a b : x ∼ y)  a ≡ b

(these all fall under #2091 with the exception of the top one, which is defined but never used anywhere; nevertheless they are all 'propositional' accounts of irrelevance; UPDATED see #2259 )
and the type-theoretic/definitional account of irrelevance given by using .(_) as a syntactic marker on types:

Issue: how to reconcile all these various things in a straightforward and intelligible way?
And suitably redefine/deprecate the redundant ones...

@MatthewDaggitt
Copy link
Contributor

MatthewDaggitt commented Nov 16, 2023

isPropositional should be deprecated for starters....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants