Skip to content

Commit

Permalink
Fix choice formulation
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulc29 committed Dec 5, 2023
1 parent 2edec16 commit 4b08132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Realizability/Assembly.agda
Original file line number Diff line number Diff line change
Expand Up @@ -707,11 +707,11 @@ module Realizability.Assembly {ℓ} {A : Type ℓ} (ca : CombinatoryAlgebra A) w
eIsCoequalizer : IsCoequalizer {C = ASM} k₁ k₂ e
eIsCoequalizer .glues = AssemblyMorphism≡ _ _ (funExt λ (x , x' , ex≡ex') ex≡ex')
eIsCoequalizer .univProp {W , ws} q k₁q≡k₂q =
uniqueExists {!!} {!!} {!!} {!!} where
uniqueExists (∃t→Σt q k₁q≡k₂q ∃t .fst) (∃t→Σt q k₁q≡k₂q ∃t .snd) (λ t isSetAssemblyMorphism _ _ _ _) λ t e⊚t≡q λ i e⊚t≡qIsProp q k₁q≡k₂q (∃t→Σt q k₁q≡k₂q ∃t) (t , e⊚t≡q) i .fst where
_⊩W_ = ws ._⊩_
∃t : ∃[ t ∈ AssemblyMorphism ys ws ] (e ⊚ t ≡ q)
∃t = (do
(e⁻¹ , e⁻¹IsSection) choice X Y (e .map) surjection
(e⁻¹ , e⁻¹IsSection) choice X Y (xs .isSetX) (ys .isSetX) (e .map) surjection
return (h e⁻¹ e⁻¹IsSection , {!!})) where
module _
(e⁻¹ : Y X)
Expand Down
2 changes: 1 addition & 1 deletion src/Realizability/Choice.agda
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ open import Cubical.Data.Sigma
module Realizability.Choice where

Choice : ℓ ℓ' Type (ℓ-max (ℓ-suc ℓ) (ℓ-suc ℓ'))
Choice ℓ ℓ' = (A : Type ℓ) (B : Type ℓ') (f : A B) isSurjection f ∃[ f' ∈ (B A) ] section f f'
Choice ℓ ℓ' = (A : Type ℓ) (B : Type ℓ') isSet A isSet B (f : A B) isSurjection f ∃[ f' ∈ (B A) ] section f f'

0 comments on commit 4b08132

Please sign in to comment.