Home

依存積は依存和に分配する

module foundations.pi-type-distributes-over-sigma-type where
Imports
open import foundations.universe
open import foundations.identity-type
open import foundations.sigma-type
private variable
   : Level
  A : Type 
  B : A  Type 
  C : (a : A)  B a  Type 

Π-dist-Σ : ((a : A)  Σ (B a) (C a))
   Σ[ f  ((a : A)  B a) ] ((a : A)  C a (f a))
Π-dist-Σ g .fst a = g a .fst
Π-dist-Σ g .snd a = g a .snd