⚠ 您正在浏览 Cubical 库。 返回 Bedrock
Bedrock
English · 中文
菜单
模块
  • Example.Doubling
  • Example.Naturals
  • HelloWorld
{-# OPTIONS --cubical-compatible --safe --no-sized-types --no-guardedness --level-universe #-}

module Agda.Builtin.Sigma where

open import Agda.Primitive

record Σ {a b} (A : Set a) (B : A → Set b) : Set (a ⊔ b) where
  constructor _,_
  field
    fst : A
    snd : B fst

open Σ public

infixr 4 _,_

{-# BUILTIN SIGMA Σ #-}
使用改编自 1lab 的生成器渲染 (AGPL-3.0)。
© 2026 choukh ([email protected]) · 内容以 CC BY-NC-SA 4.0 许可 · 源码