Large similarity preserving maps

Content created by Louis Wasserman.

Created on 2026-02-15.
Last modified on 2026-02-15.

module foundation.similarity-preserving-maps-large-similarity-relations where
Imports
open import foundation.embeddings
open import foundation.injective-maps
open import foundation.large-binary-relations
open import foundation.large-similarity-relations
open import foundation.logical-equivalences
open import foundation.propositions
open import foundation.universe-levels

Idea

Given large similarity relations on universe polymorphic types X and Y, a map f : X → Y preserves similarity if whenever x₁ is similar to x₂ , f x₁ is similar to f x₂.

Definition

module _
  {αX αY γ : Level  Level}
  {βX βY : Level  Level  Level}
  {X : (l : Level)  UU (αX l)}
  {Y : (l : Level)  UU (αY l)}
  (SX : Large-Similarity-Relation βX X)
  (SY : Large-Similarity-Relation βY Y)
  (f : {l : Level}  X l  Y (γ l))
  where

  preserves-sim-map-Large-Similarity-Relation : UUω
  preserves-sim-map-Large-Similarity-Relation =
    {l1 l2 : Level} (x₁ : X l1) (x₂ : X l2) 
    sim-Large-Similarity-Relation SX x₁ x₂ 
    sim-Large-Similarity-Relation SY (f x₁) (f x₂)

record
  sim-preserving-map-Large-Similarity-Relation
    {αX αY : Level  Level}
    {βX βY : Level  Level  Level}
    {X : (l : Level)  UU (αX l)}
    {Y : (l : Level)  UU (αY l)}
    (SX : Large-Similarity-Relation βX X)
    (SY : Large-Similarity-Relation βY Y) :
    UUω
  where

  field
    map-sim-preserving-map-Large-Similarity-Relation :
      {l : Level}  X l  Y l
    preserves-sim-map-sim-preserving-map-Large-Similarity-Relation :
      preserves-sim-map-Large-Similarity-Relation
        ( SX)
        ( SY)
        ( map-sim-preserving-map-Large-Similarity-Relation)

open sim-preserving-map-Large-Similarity-Relation public

Recent changes