Created
July 31, 2025 21:02
-
-
Save ncfavier/ae6224e1ff31aa660b2addd6acccc4e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module TerminalLarge where | |
open import 1Lab.Prelude | |
module | |
_ | |
{ℓ} | |
(X : Type ℓ) | |
(Y : Type) (f : Y → X) | |
(f-term : (Z : Type) (g : Z → X) → is-contr (Σ[ h ∈ (Z → Y) ] f ∘ h ≡ g)) | |
where | |
f-equiv : is-equiv f | |
f-equiv .is-eqv x = | |
Equiv→is-hlevel 0 | |
(Σ-ap (Π-contr-eqv (hlevel 0)) (λ _ → ap-equiv (Π-contr-eqv (hlevel 0))) e⁻¹) | |
(f-term ⊤ (λ _ → x)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment