⚠ 您正在浏览 Cubical 库。 返回 Bedrock
Bedrock
English · 中文
菜单
依赖地图
模块
  • Landmarks
  • Base
    • Prelude
    • Truth
    • Impredicativity
    • Classical
    • Choice
  • FOL
    • Syntax
    • ZFStructure
    • Semantics
    • LevyHierarchy
    • Absoluteness
    • ZFModel
    • Manipulation
      • Relabelling
      • Bounding
      • Parameters
      • Renaming
      • Relativize
    • Coding
  • V
    • Hierarchy
    • Smallness
    • Model
    • Coding
  • L
    • Definability
    • Constructible
    • Ordinal
    • Rank
    • Ordinal
      • Linear
      • Stages
    • WellOrder
      • Base
    • Coding
      • Base
      • Environment
      • Model
      • InL
      • Closed
      • EnvSet
      • Sat
      • Bridge
      • Table
      • Sound
      • Unique
      • Slot
      • Descent
      • Shape
      • Recover
      • CodeSet
      • Graph
      • Satisfaction
      • Uniform
      • Powerset
      • Sequence
    • Stage
    • Axioms
      • Basic
      • Separation
      • Full
      • Power
      • Numerals
      • Infinity
    • Reflect
    • ReflectFo
    • Absoluteness
    • Recursion
    • Hierarchy
    • Choice
      • Stage
      • Finite
      • Name
      • Step
      • Internal
      • Table
      • Faithful
      • Adequate
      • Limit
      • Before
      • Order
      • Transversal
    • Model
{-# OPTIONS --erased-cubical --safe --no-sized-types --no-guardedness #-}

module Agda.Builtin.Cubical.Sub where

  open import Agda.Primitive.Cubical

  {-# BUILTIN SUB Sub #-}

  postulate
    inS : ∀ {ℓ} {A : Set ℓ} {φ} (x : A) → Sub A φ (λ _ → x)

  {-# BUILTIN SUBIN inS #-}

  -- Sub A φ u is treated as A.
  {-# COMPILE JS inS = _ => _ => _ => x => x #-}

  primitive
    primSubOut : ∀ {ℓ} {A : Set ℓ} {φ : I} {u : Partial φ A} → Sub _ φ u → A
使用改编自 1lab 的生成器渲染 (AGPL-3.0)。
© 2026 Bedrock Institute · 内容以 CC BY-NC-SA 4.0 许可 · 源码