Skip to content

Sigma bases#505

Draft
TOTBWF wants to merge 15 commits intomainfrom
sigmalike
Draft

Sigma bases#505
TOTBWF wants to merge 15 commits intomainfrom
sigmalike

Conversation

@TOTBWF
Copy link
Collaborator

@TOTBWF TOTBWF commented Jun 6, 2025

Description

This PR defines a notion of "Σ-basis", which is a nice encoding of an equivalence to a Σ type. It also defines some
general reasoning principles for Σ-bases, with an eye to fixing #463 in a modular fashion. I've used them a bit
in Cat.Displayed.Total to prove some basic results, and they seem relatively ergonomic.

Some prose still needs to be written, so I've marked this as a draft for now to get some feedback on the general
design first.

Checklist

Before submitting a merge request, please check the items below:

  • I've read the contributing guidelines.
  • The imports of new modules have been sorted with support/sort-imports.hs (or nix run --experimental-features nix-command -f . sort-imports).
  • All new code blocks have "agda" as their language.

If your change affects many files without adding substantial content, and
you don't want your name to appear on those pages (for example, treewide
refactorings or reformattings), start the commit message and PR title with chore:.

@TOTBWF TOTBWF requested review from ncfavier and plt-amy June 6, 2025 19:47
@Lavenza
Copy link
Member

Lavenza commented Jun 6, 2025

Pull request preview

New pages
Changed pages

plt-amy added a commit that referenced this pull request Feb 25, 2026
Fixes #463 in a more direct way than #505, with a bespoke set of
operators for equational reasoning in `PathP (λ i → Hom[ p i ] ...) ...`
that take the "continuation" in the form of a path in `Σ _ λ m → Hom[ m
] x y`. This does mean that we still need all the `[]` versions of the
category combinators, but it's an improvement, at least, and does not
complicate the dependency graph.

---------

Co-authored-by: Naïm Camille Favier <n@monade.li>
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.

2 participants