Zulip Chat Archive

Stream: Type theory

Topic: Infinite product of types


Will Bradley (May 24 2025 at 20:37):

Is this the right notion for an infinite product of types, corresponding to an infinite product of sets βi,iI\beta_i, i \in I over some index set II?

def infiniteProduct (I: Type u) (βs: I  Type v) :=
  (i: I)  βs i

I want to double-check my reasoning before I put it in my project.

Matt Diamond (May 24 2025 at 20:49):

I think Latex works if you use two dollar signs instead of one... βi\beta_i (I typed $$\beta_i$$)

Will Bradley (May 24 2025 at 20:50):

Thank you!

Matt Diamond said:

I think Latex works if you use two dollar signs instead of one... βi\beta_i (I typed $$\beta_i$$)

Mario Carneiro (May 24 2025 at 20:54):

yes, this is called a dependent product or Pi type

Will Bradley (May 24 2025 at 20:55):

Mario Carneiro said:

yes, this is called a dependent product or Pi type

I am familiar with Pi types. It's neat they correspond to infinite set products though

Mario Carneiro (May 25 2025 at 00:45):

what else would they be?

Mario Carneiro (May 25 2025 at 00:45):

it's the set of functions where the codomain depends on the value, that's exactly what an indexed product type is in set theory


Last updated: Dec 20 2025 at 21:32 UTC