Degrees, Dimensions, and Crispness David Jaz Myers Johns Hopkins - - PowerPoint PPT Presentation

degrees dimensions and crispness
SMART_READER_LITE
LIVE PREVIEW

Degrees, Dimensions, and Crispness David Jaz Myers Johns Hopkins - - PowerPoint PPT Presentation

Degrees, Dimensions, and Crispness David Jaz Myers Johns Hopkins University March 15, 2019 David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 1 / 25 Outline The upper naturals. The algebra of


slide-1
SLIDE 1

Degrees, Dimensions, and Crispness

David Jaz Myers

Johns Hopkins University

March 15, 2019

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 1 / 25

slide-2
SLIDE 2

Outline

The upper naturals. The algebra of polynomials, three ways. Crisp things have natural number degree / dimension.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 2 / 25

slide-3
SLIDE 3

The Logic of Space

Space-y-ness of your domains of discourse ⇐ ⇒ Constructiveness of the (native) logic about things in those domains

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 3 / 25

slide-4
SLIDE 4

Logical Connectivity

Definition

A proposition U : A → Prop is logically connected if for all P : A → Prop, if ∀a. Ua → Pa ∨ ¬Pa, then either ∀a. Ua → Pa or ∀a. Ua → ¬Pa.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 4 / 25

slide-5
SLIDE 5

Logical Connectivity

Definition

A proposition U : A → Prop is logically connected if for all P : A → Prop, if ∀a. Ua → Pa ∨ ¬Pa, then either ∀a. Ua → Pa or ∀a. Ua → ¬Pa.

Lemma

If U : A → Prop is logically connected and f : A → B, then its image im(U) :≡ λb. ∃a. f (a) = b ∧ Ua : B → Prop is logically connected.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 4 / 25

slide-6
SLIDE 6

Logical Connectivity

Definition

A proposition U : A → Prop is logically connected if for all P : A → Prop, if ∀a. Ua → Pa ∨ ¬Pa, then either ∀a. Ua → Pa or ∀a. Ua → ¬Pa.

Lemma

If U : A → Prop is logically connected and f : A → B, then its image im(U) :≡ λb. ∃a. f (a) = b ∧ Ua : B → Prop is logically connected.

Lemma

If A has decidable equality (either a = b or a = b), then a logically connected U : A → Prop has at most one element.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 4 / 25

slide-7
SLIDE 7

Degree of a Polynomial

Suppose R is a ring. Naively, taking the degree of a polynomial should give a map deg : R[x] → N

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 5 / 25

slide-8
SLIDE 8

Degree of a Polynomial

Suppose R is a ring. Naively, taking the degree of a polynomial should give a map deg : R[x] → N But suppose that R is logically connected and for r : R consider the polynomial rx.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 5 / 25

slide-9
SLIDE 9

Degree of a Polynomial

Suppose R is a ring. Naively, taking the degree of a polynomial should give a map deg : R[x] → N But suppose that R is logically connected and for r : R consider the polynomial rx. Then deg(rx) : N, so that λr. deg(rx) : R → N . But R is connected and N has decidable equality, so this map must be constant (by the lemma).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 5 / 25

slide-10
SLIDE 10

Degree of a Polynomial

Suppose R is a ring. Naively, taking the degree of a polynomial should give a map deg : R[x] → N But suppose that R is logically connected and for r : R consider the polynomial rx. Then deg(rx) : N, so that λr. deg(rx) : R → N . But R is connected and N has decidable equality, so this map must be constant (by the lemma). Of course, deg(x) = 1 and deg(0) = 0, so this proves 1 = 0, which is an issue.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 5 / 25

slide-11
SLIDE 11

Problems with the Naturals

So there’s a problem with the naturals – they are too discrete. How do we fix this?

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 6 / 25

slide-12
SLIDE 12

Problems with the Naturals

So there’s a problem with the naturals – they are too discrete. How do we fix this? To solve this, we need to find another problem with the natural numbers:

  • ne from logic.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 6 / 25

slide-13
SLIDE 13

Problems with the Naturals

So there’s a problem with the naturals – they are too discrete. How do we fix this? To solve this, we need to find another problem with the natural numbers:

  • ne from logic.

Proposition

The law of excluded middle (LEM) is equivalent to the well-ordering principle (WOP) for N.

Proof.

That the classical naturals satisfy WOP is routine. Let’s show that the well-ordering of N implies LEM.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 6 / 25

slide-14
SLIDE 14

Problems with the Naturals

So there’s a problem with the naturals – they are too discrete. How do we fix this? To solve this, we need to find another problem with the natural numbers:

  • ne from logic.

Proposition

The law of excluded middle (LEM) is equivalent to the well-ordering principle (WOP) for N.

Proof.

That the classical naturals satisfy WOP is routine. Let’s show that the well-ordering of N implies LEM. Given a proposition P : Prop, define ¯ P : N → Prop by ¯ P(n) :≡ P ∨ 1 ≤ n and note that ¯ P(0) = P.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 6 / 25

slide-15
SLIDE 15

Problems with the Naturals

So there’s a problem with the naturals – they are too discrete. How do we fix this? To solve this, we need to find another problem with the natural numbers:

  • ne from logic.

Proposition

The law of excluded middle (LEM) is equivalent to the well-ordering principle (WOP) for N.

Proof.

That the classical naturals satisfy WOP is routine. Let’s show that the well-ordering of N implies LEM. Given a proposition P : Prop, define ¯ P : N → Prop by ¯ P(n) :≡ P ∨ 1 ≤ n and note that ¯ P(0) = P.The least number satisfying ¯ P is 0 or not depending on whether P or ¬P; since equality of naturals is decidable, either P or ¬P.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 6 / 25

slide-16
SLIDE 16

The Upper Naturals

In other words, The naturals are not complete as a Prop-category.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 7 / 25

slide-17
SLIDE 17

The Upper Naturals

In other words, The naturals are not complete as a Prop-category. So, let’s freely complete them! We will replace a natural number n : N by its upper bounds λm. n ≤ m : N → Prop.

Definition

The upper naturals N↑ are the type of upward closed propositions on the

  • naturals. (As a Prop-category, this is
  • PropNop)

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 7 / 25

slide-18
SLIDE 18

The Upper Naturals

In other words, The naturals are not complete as a Prop-category. So, let’s freely complete them! We will replace a natural number n : N by its upper bounds λm. n ≤ m : N → Prop.

Definition

The upper naturals N↑ are the type of upward closed propositions on the

  • naturals. (As a Prop-category, this is
  • PropNop)

We think of an upper natural N : N↑ as a natural “defined by its upper bounds”: Nn holds if n is an upper bound of N.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 7 / 25

slide-19
SLIDE 19

The Upper Naturals

In other words, The naturals are not complete as a Prop-category. So, let’s freely complete them! We will replace a natural number n : N by its upper bounds λm. n ≤ m : N → Prop.

Definition

The upper naturals N↑ are the type of upward closed propositions on the

  • naturals. (As a Prop-category, this is
  • PropNop)

We think of an upper natural N : N↑ as a natural “defined by its upper bounds”: Nn holds if n is an upper bound of N. For N, M : N↑, say N ≤ M when every upper bound of M is an upper bound of N.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 7 / 25

slide-20
SLIDE 20

Naturals and Upper Naturals

Definition

The upper naturals N↑ are the type of upward closed propositions on the naturals. Every natural n : N gives an upper natural n↑ : N↑ by the Yoneda embedding: n↑(m) :≡ n ≤ m. and we define ∞↑ :≡ λ . False.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 8 / 25

slide-21
SLIDE 21

Naturals and Upper Naturals

Definition

The upper naturals N↑ are the type of upward closed propositions on the naturals. Every natural n : N gives an upper natural n↑ : N↑ by the Yoneda embedding: n↑(m) :≡ n ≤ m. and we define ∞↑ :≡ λ . False. An upper natural N : N↑ is bounded if there exists an upper bound n : N

  • f N (that is, if ∃n. Nn).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 8 / 25

slide-22
SLIDE 22

Naturals and Upper Naturals

Definition

The upper naturals N↑ are the type of upward closed propositions on the naturals. Every natural n : N gives an upper natural n↑ : N↑ by the Yoneda embedding: n↑(m) :≡ n ≤ m. and we define ∞↑ :≡ λ . False. An upper natural N : N↑ is bounded if there exists an upper bound n : N

  • f N (that is, if ∃n. Nn).

We can take the minimum upper natural satisfying a proposition: min : (N → Prop) → N↑ by (min P)n :≡ ∃m ≤ n. Pm

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 8 / 25

slide-23
SLIDE 23

Upper Arithmetic

Definition

min : (N → Prop) → N↑ P → λn. ∃m ≤ n. Pm

Lemma

For P : N → Prop, min P = n↑ if and only if n is the least number satisfying P. We can define the arithmetic operations for upper naturals by Day convolution: (with N, M : N↑) (N + M)n :≡ ∃a, b : N . Na ∧ Mb ∧ (a + b ≤ n).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 9 / 25

slide-24
SLIDE 24

Upper Arithmetic

Definition

min : (N → Prop) → N↑ P → λn. ∃m ≤ n. Pm

Lemma

For P : N → Prop, min P = n↑ if and only if n is the least number satisfying P. We can define the arithmetic operations for upper naturals by Day convolution: (with N, M : N↑) (N + M)n :≡ ∃a, b : N . Na ∧ Mb ∧ (a + b ≤ n). (N · M)n :≡ ∃a, b : N . Na ∧ Mb ∧ (ab ≤ n).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 9 / 25

slide-25
SLIDE 25

Upper Arithmetic

Definition

min : (N → Prop) → N↑ P → λn. ∃m ≤ n. Pm

Lemma

For P : N → Prop, min P = n↑ if and only if n is the least number satisfying P. We can define the arithmetic operations for upper naturals by Day convolution: (with N, M : N↑) (N + M)n :≡ ∃a, b : N . Na ∧ Mb ∧ (a + b ≤ n). (N · M)n :≡ ∃a, b : N . Na ∧ Mb ∧ (ab ≤ n). And one can prove the expected identities by the usual Day convolution arguments.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 9 / 25

slide-26
SLIDE 26

Upper Naturals in Models

In localic models, N↑ is the sheaf of upper semi-continuous functions valued in N.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 10 / 25

slide-27
SLIDE 27

Upper Naturals in Models

In localic models, N↑ is the sheaf of upper semi-continuous functions valued in N. (Hartshorne (1977) Example III.12.7.2) If Y is a Noetherian scheme and F a coherent sheaf of modules on Y , then y → dimk(y)(Fy ⊗k(y)) is an upper-semicontinuous function Y → N, and therefore a global section of N↑ ∈ Sh(Y ).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 10 / 25

slide-28
SLIDE 28

Upper Naturals in Models

In localic models, N↑ is the sheaf of upper semi-continuous functions valued in N. (Hartshorne (1977) Example III.12.7.2) If Y is a Noetherian scheme and F a coherent sheaf of modules on Y , then y → dimk(y)(Fy ⊗k(y)) is an upper-semicontinuous function Y → N, and therefore a global section of N↑ ∈ Sh(Y ). For more on the upper naturals in a localic setting, see Section II.5 of Blechschmidt (2017). (There they are called generalized naturals)

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 10 / 25

slide-29
SLIDE 29

Cardinality

As an example of what we can define with upper naturals that we couldn’t with naturals, consider:

Definition

Define the (finite) cardinality of a type as Card : Type → N↑ X → min

  • λn. [n] ≃ X
  • David Jaz Myers (Johns Hopkins University)

Degrees, Dimensions, and Crispness March 15, 2019 11 / 25

slide-30
SLIDE 30

Cardinality

As an example of what we can define with upper naturals that we couldn’t with naturals, consider:

Definition

Define the (finite) cardinality of a type as Card : Type → N↑ X → min

  • λn. [n] ≃ X
  • (or, the Kuratowski cardinality by X → min
  • λn. ∃f : [n] ։ X
  • )

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 11 / 25

slide-31
SLIDE 31

Cardinality

As an example of what we can define with upper naturals that we couldn’t with naturals, consider:

Definition

Define the (finite) cardinality of a type as Card : Type → N↑ X → min

  • λn. [n] ≃ X
  • (or, the Kuratowski cardinality by X → min
  • λn. ∃f : [n] ։ X
  • )

Proposition

We have the expected equations: Card(X + Y ) = Card(X) + Card(Y ). Card(X × Y ) = Card(X) · Card(Y ). Card(X +U Y ) = Card(X) + Card(Y ) − Card(U).*

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 11 / 25

slide-32
SLIDE 32

Polynomials, Three Ways

To define the degree of a polynomial, we need to define the algebra of

  • polynomials. In the following, let R be a ring.

Definition

For a type I, the free R-algebra on I, R[xi | i : I] is the higher inductive type generated by x : I → R[xi | i : I] struct : R-algebra structure on R[xi | i : I]

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 12 / 25

slide-33
SLIDE 33

Polynomials, Three Ways

To define the degree of a polynomial, we need to define the algebra of

  • polynomials. In the following, let R be a ring.

Definition

For a type I, the free R-algebra on I, R[xi | i : I] is the higher inductive type generated by x : I → R[xi | i : I] struct : R-algebra structure on R[xi | i : I]

Proposition

Let A be an R-algebra and I a type. Then evaluating at x : I → R[xi | i : I] gives an equivalence (I → A) ≃ AlgR(R[xi | i : I], A).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 12 / 25

slide-34
SLIDE 34

Polynomials, Three Ways

This gives a straightforward definition of R[x] as R[xi | i : ∗].

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 13 / 25

slide-35
SLIDE 35

Polynomials, Three Ways

This gives a straightforward definition of R[x] as R[xi | i : ∗]. But it’s not immediately clear how to define the degree of a polynomial using this definition. Let’s give another:

Definition

Define R[x]s to be the type of eventually vanishing sequences in R. That is R[x]s :≡ (f : N → R) × ∃n. ∀m > n. fm = 0.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 13 / 25

slide-36
SLIDE 36

Polynomials, Three Ways

This gives a straightforward definition of R[x] as R[xi | i : ∗]. But it’s not immediately clear how to define the degree of a polynomial using this definition. Let’s give another:

Definition

Define R[x]s to be the type of eventually vanishing sequences in R. That is R[x]s :≡ (f : N → R) × ∃n. ∀m > n. fm = 0.

Proposition

Let A be an R-algebra. Then, evaluation at x : R[x]s gives an equivalence A ≃ AlgR(R[x]s, A).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 13 / 25

slide-37
SLIDE 37

The Degree of a Polynomial

Now we can define deg : R[x]s → N↑ deg(f )n ≡: ∀m > n. fm = 0

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 14 / 25

slide-38
SLIDE 38

The Degree of a Polynomial

Now we can define deg : R[x]s → N↑ deg(f )n ≡: ∀m > n. fm = 0 We can prove some basic facts about the degree: If deg(f ) = n↑, then f = n

i=0 fixi.

deg(f + g) ≤ max{deg(f ), deg(g)}. deg(fg) ≤ deg(f ) + deg(g).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 14 / 25

slide-39
SLIDE 39

The Degree of a Polynomial

Now we can define deg : R[x]s → N↑ deg(f )n ≡: ∀m > n. fm = 0 We can prove some basic facts about the degree: If deg(f ) = n↑, then f = n

i=0 fixi.

deg(f + g) ≤ max{deg(f ), deg(g)}. deg(fg) ≤ deg(f ) + deg(g). What about deg(f ◦ g) ≤ deg(f ) · deg(g)?

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 14 / 25

slide-40
SLIDE 40

Horner Normal Form

We note that any polynomial f can be written as f (x) = g(x) · x + f (0)

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 15 / 25

slide-41
SLIDE 41

Horner Normal Form

We note that any polynomial f can be written as f (x) = g(x) · x + f (0)

Definition

Let R[x]h be the higher inductive type given by const : R → R[x]h, (−) · x + (−) : R[x]h × R → R[x]h, eq : (r : R) → const(0) · x + const(r) = const(r), is − set : R[x]h is a set.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 15 / 25

slide-42
SLIDE 42

Horner Normal Form

We note that any polynomial f can be written as f (x) = g(x) · x + f (0)

Definition

Let R[x]h be the higher inductive type given by const : R → R[x]h, (−) · x + (−) : R[x]h × R → R[x]h, eq : (r : R) → const(0) · x + const(r) = const(r), is − set : R[x]h is a set.

Proposition

For any R-algebra A, evaluation at const(1) · x + const(0) gives an equivalence A ≃ AlgR(R[x]h, A).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 15 / 25

slide-43
SLIDE 43

Induction on ✘✘✘✘

Degree Horner Normal Form

Definition

Define the composite f ◦ g of two polynomials f , g : R[x]h by induction on f : If f ≡ const(r), then f ◦ g :≡ const(r). If f ≡ h · x + const(r), then f ◦ g :≡ (h ◦ g) · g + const(r). We check that (0 · x + r) ◦ g = r, and We note we are mapping into a set.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 16 / 25

slide-44
SLIDE 44

Induction on ✘✘✘✘

Degree Horner Normal Form

Proposition

For any polynomials f , g : R[x]h, deg(f ◦ g) ≤ deg(f ) · deg(g).

Proof.

By induction on horner normal form: deg((f (x)x + r) ◦ g) = deg((f ◦ g)(x) · g(x) + r) = deg((f ◦ g)(x) · g(x)) ≤ deg((f ◦ g)) + deg(g) ≤ deg(f ) · deg(g) + deg(g) by hypothesis = (deg(f ) + 1↑) · deg(g) = deg(f (x) · x + r) · deg(g)

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 17 / 25

slide-45
SLIDE 45

Induction on ✘✘✘✘

Degree Horner Normal Form

Proposition

For any polynomials f , g : R[x]h, deg(f ◦ g) ≤ deg(f ) · deg(g).

Proof.

By induction on horner normal form: deg((f (x)x + r) ◦ g) = deg((f ◦ g)(x) · g(x) + r) = deg((f ◦ g)(x) · g(x)) ≤ deg((f ◦ g)) + deg(g) ≤ deg(f ) · deg(g) + deg(g) by hypothesis = (deg(f ) + 1↑) · deg(g) = deg(f (x) · x + r) · deg(g)

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 17 / 25

slide-46
SLIDE 46

Slogan: Instead of inducting on degree, induct on the polynomial!

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 18 / 25

slide-47
SLIDE 47

Dimension

Definition

We define the dimension of a vector space V over a field k by (dim V )n :≡ min(λn. kn ∼ = V ) It is the minimum n such that V has an n-element basis

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 19 / 25

slide-48
SLIDE 48

Dimension

Definition

We define the dimension of a vector space V over a field k by (dim V )n :≡ min(λn. kn ∼ = V ) It is the minimum n such that V has an n-element basis

Proposition

Let f : k[x]. Then deg(f ) = dim(k[x]/(f )).

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 19 / 25

slide-49
SLIDE 49

Catching up on Crispness

Recall that Shulman’s cohesive homotopy type theory uses crisp variables to keep track of discontinuous dependency. A term is crisp if all the free variables in it are crisp.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 20 / 25

slide-50
SLIDE 50

Catching up on Crispness

Recall that Shulman’s cohesive homotopy type theory uses crisp variables to keep track of discontinuous dependency. A term is crisp if all the free variables in it are crisp. Crisp variables must have crisp type, and only crisp terms can be substituted for crisp variables.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 20 / 25

slide-51
SLIDE 51

Catching up on Crispness

Recall that Shulman’s cohesive homotopy type theory uses crisp variables to keep track of discontinuous dependency. A term is crisp if all the free variables in it are crisp. Crisp variables must have crisp type, and only crisp terms can be substituted for crisp variables. So, x :: X – a crisp point of X – is a general discontinuous element of X.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 20 / 25

slide-52
SLIDE 52

Catching up on Crispness

Recall that Shulman’s cohesive homotopy type theory uses crisp variables to keep track of discontinuous dependency. A term is crisp if all the free variables in it are crisp. Crisp variables must have crisp type, and only crisp terms can be substituted for crisp variables. So, x :: X – a crisp point of X – is a general discontinuous element of X.

Axiom (LEM)

If P :: Prop is a crisp proposition, then either P or ¬P holds.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 20 / 25

slide-53
SLIDE 53

Catching up on Crispness

Recall that Shulman’s cohesive homotopy type theory uses crisp variables to keep track of discontinuous dependency. A term is crisp if all the free variables in it are crisp. Crisp variables must have crisp type, and only crisp terms can be substituted for crisp variables. So, x :: X – a crisp point of X – is a general discontinuous element of X.

Axiom (LEM)

If P :: Prop is a crisp proposition, then either P or ¬P holds. Discontinuously, every proposition is either true or false.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 20 / 25

slide-54
SLIDE 54

Crisp upper naturals are extended naturals

If X is a crisp type, then ♭X can be thought of as the type of crisp points of X.

Definition

The Extended Naturals N∞ is the type of monotone functions N → Bool.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 21 / 25

slide-55
SLIDE 55

Crisp upper naturals are extended naturals

If X is a crisp type, then ♭X can be thought of as the type of crisp points of X.

Definition

The Extended Naturals N∞ is the type of monotone functions N → Bool. Equivalently, it is the type of upwards-closed decidable propositions on the naturals.

Proposition

The extended naturals embed into the upper naturals, preserving the naturals. The bounded extended naturals are equivalent to the naturals. Every decidable, inhabited subset of N has a least element.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 21 / 25

slide-56
SLIDE 56

Crisp upper naturals are extended naturals

Definition

The Extended Naturals N∞ is the type of monotone functions N → Bool.

Proposition (Using LEM)

♭ N↑ ≃ ♭ N∞

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 22 / 25

slide-57
SLIDE 57

Crisp upper naturals are extended naturals

Definition

The Extended Naturals N∞ is the type of monotone functions N → Bool.

Proposition (Using LEM)

♭ N↑ ≃ ♭ N∞ And this equivalence restricts to ♭{Bounded upper naturals} ≃ N

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 22 / 25

slide-58
SLIDE 58

The Crisp Countable Axiom of Choice

Axiom (ACN)

Suppose P :: N → Type is a crisp countable family of types. If f :: (n : N) → Pn crisply, then (n : N) → Pn.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 23 / 25

slide-59
SLIDE 59

The Crisp Countable Axiom of Choice

Axiom (ACN)

Suppose P :: N → Type is a crisp countable family of types. If f :: (n : N) → Pn crisply, then (n : N) → Pn.

Proposition

Assuming ACN, ♭ N∞ ≃ N +{∞}.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 23 / 25

slide-60
SLIDE 60

Corollaries

Corollary

Every crisp type is either infinite or has a natural number cardinality. Every crisp polynomial has natural number degree. Every crisp vector space has natural number dimension. . . .

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 24 / 25

slide-61
SLIDE 61

References

Ingo Blechschmidt. Using the internal language of toposes in algebraic

  • geometry. Phd Thesis, 2017.

Henri Lombardi and Claude Quitt´

  • e. Commutative algebra: Constructive
  • methods. Finite projective modules. arXiv e-prints, art.

arXiv:1605.04832, May 2016. Michael Shulman. Brouwer’s fixed-point theorem in real-cohesive homotopy type theory. arXiv e-prints, art. arXiv:1509.07584, Sep 2015.

David Jaz Myers (Johns Hopkins University) Degrees, Dimensions, and Crispness March 15, 2019 25 / 25