Skip to content

Logic, equality, and compactness #1264

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

Open
wants to merge 66 commits into
base: master
Choose a base branch
from

Conversation

fredrik-bakke
Copy link
Collaborator

@fredrik-bakke fredrik-bakke commented Feb 4, 2025

A lot of results in logic and foundations.

Summary

  • Types with decidable Σ-, Π-, and ∀-types
  • Logical properties of maps
    • Irrefutably surjective maps
    • Propositionally double negation eliminating types
    • Propositionally decidable maps
    • Propositionally double negation eliminating maps
    • Hilbert $\varepsilon$-operators on maps
    • Double negation image
  • Double negation dense equality and applications to decidability search
  • Propositionally decidable types
  • Infrastructure for logical properties on equality
    • Apartness relations
    • Tight apartness relations
    • Decidable equality
    • Double negation stable equality
    • Equality in decidable posets
  • Structures on the booleans
  • Increasing binary sequences
    • The type of increasing binary sequences
    • Inequality on increasing binary sequences
    • Bounded increasing binary sequences
    • Decidability search on increasing binary sequences
  • Dirk Gently's principle
  • Miscellaneous edits

@fredrik-bakke fredrik-bakke changed the title Logic and compactness Logic, equality, and compactness Feb 4, 2025
Comment on lines 88 to 90
**Terminology.** In the terminology of Martín Escardó, a type that has
∀-decidability search is referred to as _weakly compact_, or _Π-compact_, or
_satisfying the weak principle of omniscience_. {{#cite TypeTopology}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be useful here to mention also whether the terminology "∀-decidability" is our own name for the concept, or whether it is more widely used in other literature (I couldn't tell the answer from what has been written so far in this file). Same for all the related decidability searches.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right, yes. This is new terminology

_exhaustively searchable_, _exhaustibly searchable_, _exhaustible_,
_omniscient_, _satisfying the principle of omniscience_, _compact_, or
_Σ-compact_. {{#cite Esc08}} {{#cite TypeTopology}} We reserve the term
_Σ-decidability searchable_ for types for which there (merely)
Copy link
Collaborator

Choose a reason for hiding this comment

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

The phrase "Σ-decidability searchable" grammatically questionable, because it combines a noun "Σ-decidability" with an adjective "searchable" in the wrong order. Please find better terminology.

Comment on lines 95 to 98
has-Σ-decidability-search-Level :
{l1 : Level} (l2 : Level) → UU l1 → UU (l1 ⊔ lsuc l2)
has-Σ-decidability-search-Level l2 X =
(P : decidable-family l2 X) → is-decidable (Σ X (family-decidable-family P))
Copy link
Collaborator

@EgbertRijke EgbertRijke Mar 21, 2025

Choose a reason for hiding this comment

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

If I read this concept correctly, the scheme here is that for families of a certain kind, the total space is again of that kind. (This concept could also be interesting for localizations: local types such that the domain of every map with local fibers into it has a local domain.) So wouldn't it be better for the name to have that kind be postfixed to the name, rather than prefixed as an adjective?

For example, has-pair-search-decidable-family would seem more fitting with our naming scheme, or has-pairing-search-decidable-family. I'd read this name as follows: There is a function which, given a decidable family searches for a pair or reports that there is no such pair.

Another idea would be just to name this concept "has-Σ-decidability" without postfixing the word "search", because the concept is just about decidability of Σ-types. Or even "has-decidable-Σ".

Copy link
Collaborator Author

@fredrik-bakke fredrik-bakke Mar 21, 2025

Choose a reason for hiding this comment

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

Indeed! I suppose for instance projectivity of a type is exactly "Π-inhabitedness".

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I tried implementing the terminology "having decidable Σ-types" in the most recent commit

@fredrik-bakke fredrik-bakke marked this pull request as ready for review March 24, 2025 15:21
@fredrik-bakke
Copy link
Collaborator Author

Martín just explained to me that the "types with double negation dense equality have decidable sigmas" result is a special case of "types are compact iff their totally separated reflections are compact", so that should be remarked in the appropriate places before merging.

@fredrik-bakke fredrik-bakke mentioned this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants