-
Notifications
You must be signed in to change notification settings - Fork 70
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
Competing conventions for operations on propositions #984
Comments
We could reconcile 1 and 2 by introducing some modifier symbol like |
I don't have experience with that part of the codebase, but I think I'd expect logical connectives to be composable. It's kinda surprising to not be able to do |
I want to note that there is still a conflict that arises when considering the current usage of |
We also do this for pointed types I just realized. |
Here's an example usage for size: is-dedekind-cut-Prop : Prop (l1 ⊔ l2)
is-dedekind-cut-Prop =
( ∃ᴾ ℚ L ∧ᴾ ∃ᴾ ℚ U) ∧ᴾ
( ∀ᴾ ℚ (λ q → L q ⇔ᴾ (∃ᴾ ℚ (λ r → (q <ᴾ-ℚ r) ∧ᴾ L r)))) ∧ᴾ
( ∀ᴾ ℚ (λ r → U r ⇔ᴾ (∃ᴾ ℚ (λ q → (q <ᴾ-ℚ r) ∧ᴾ U q)))) ∧ᴾ
( ∀ᴾ ℚ (λ q → ¬ᴾ (L q ∧ᴾ U q))) ∧ᴾ
( ∀ᴾ ℚ (λ q → ∀ᴾ ℚ (λ r → (q <ᴾ-ℚ r) ⇒ᴾ (L q ∨ᴾ U r)))) It goes without saying that I would still much rather have this definition be in terms of conjunctions of more general predicates like |
## Summary - Introduce a general naming scheme for infix endooperations on propositions and the corresponding endooperations on types - Remove uses of `∀` - remove the redundant `implication-Prop` - Add table for propositional logic - Add table for operations on propositions - Correct the definition of exclusive disjunction. It is now named "exclusive sum" (up for discussion) - Introduce _disjunction_, (the correct definition of) _exclusive disjunction_, and _mere logical equivalence_ of types - Introduce _coinhabitedness_ of types - Introduce universal quantification - Define the homotopy preorder of types - Prove that existential quantification of type families agrees with existential quantification of the propositional reflection of the type family - Prove that disjunction of types agree with disjunction of the propositional reflections of the summands Intersects with #1060. Resolves #984. --------- Co-authored-by: Egbert Rijke <[email protected]>
The competing conventions are as follows:
_⇔_ : Prop → Prop → UU
_∧_ : Prop → Prop → Prop
Π-Prop : (X : UU) → (X → Prop) → Prop
and use textual name for the construction where more types are assumed to be props.E.g.
∃-Prop : (X : UU) → (X → UU) → Prop
whileexists-Prop : (X : UU) → (X → Prop) → Prop
Originally posted by @fredrik-bakke in #983 (comment)
The text was updated successfully, but these errors were encountered: