Skip to content

Commit

Permalink
Formulate propositional resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulc29 committed Mar 28, 2024
1 parent 73a0508 commit a4b8679
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Realizability/PropResizing.agda
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv

module Realizability.PropResizing where

-- Formulation of propositional resizing inspired by the corresponding formulation
-- in TypeTopology
-- https://www.cs.bham.ac.uk/~mhe/TypeTopology/UF.Size.html

copyOf : {ℓ} Type ℓ (ℓ' : Level) Type _
copyOf {ℓ} X ℓ' = Σ[ copy ∈ Type ℓ' ] X ≃ copy

copy = fst
copyEquiv = snd

propResizing : ℓ ℓ' Type _
propResizing ℓ ℓ' = (X : Type ℓ) isProp X copyOf X ℓ'

0 comments on commit a4b8679

Please sign in to comment.