Calculational HoTT International Conference on Homotopy Type Theory - - PowerPoint PPT Presentation

calculational hott international conference on homotopy
SMART_READER_LITE
LIVE PREVIEW

Calculational HoTT International Conference on Homotopy Type Theory - - PowerPoint PPT Presentation

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions Calculational HoTT International Conference on Homotopy Type Theory (HoTT 2019) Carnegie Mellon University August 12 to


slide-1
SLIDE 1

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Calculational HoTT International Conference on Homotopy Type Theory (HoTT 2019) Carnegie Mellon University August 12 to 17, 2019

Bernarda Aldana, Jaime Bohorquez, Ernesto Acosta Escuela Colombiana de Ingenier´ ıa Bogot´ a, Colombia

slide-2
SLIDE 2

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Content

1 A few initial words 2 Brief description of CL 3 The problem 4 Deductive chains 5 Calculational HoTT 6 A deduction 7 Conclusions

slide-3
SLIDE 3

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Presentation

What we do is to rewrite math topics using Calculational Logic (CL),

slide-4
SLIDE 4

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Presentation

What we do is to rewrite math topics using Calculational Logic (CL), as there is a large community rewriting math in terms of HoTT.

slide-5
SLIDE 5

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Presentation

What we do is to rewrite math topics using Calculational Logic (CL), as there is a large community rewriting math in terms of HoTT. We ended up trying to interpret HoTT in terms of CL.

slide-6
SLIDE 6

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Presentation

What we do is to rewrite math topics using Calculational Logic (CL), as there is a large community rewriting math in terms of HoTT. We ended up trying to interpret HoTT in terms of CL. The result: “Calculational HoTT”(arXiv:1901.08883v2), a joint work with Bernarda Aldana and Jaime Bohorquez.

slide-7
SLIDE 7

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Equational axioms and Leibniz rules

Brief description of CL. Main feature: CL axioms are logical equations A ≡ B, C ≡ D, . . . CL is an equational logical system CL inference rules are Leibniz’s rules E[x/A] A ≡ B E[x/B] E[x/B] A ≡ B E[x/A]

slide-8
SLIDE 8

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Calculations

Derivations in CL are deduction trees of the form: E1 A ≡ B E2 C ≡ D E3 E ≡ F E4 where A through F are subformulas of the corresponding Ei.

slide-9
SLIDE 9

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Calculations

Derivations in CL are deduction trees of the form: E1 A ≡ B E2 C ≡ D E3 E ≡ F E4 where A through F are subformulas of the corresponding Ei. This deduction tree, written vertically, is what Lifschitz called ‘Calculation’[Lifs]: E1 ⇔ A ≡ B E2 ⇔ C ≡ D E3 ⇔ E ≡ F E4 which derives E1 ≡ E4 Double arrows stand for the bidi- rectionality of Leibniz rules

slide-10
SLIDE 10

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Calculations

Derivations in CL are deduction trees of the form: E1 A ≡ B E2 C ≡ D E3 E ≡ F E4 where A through F are subformulas of the corresponding Ei. This deduction tree, written vertically, is what Lifschitz called ‘Calculation’[Lifs]: E1 ⇔ A ≡ B E2 ⇔ C ≡ D E3 ⇔ E ≡ F E4 which derives E1 ≡ E4 Double arrows stand for the bidi- rectionality of Leibniz rules There are sound and complete calculational versions of both, classical (CCL) and intuitionistic (ICL) first order logic.

slide-11
SLIDE 11

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Embeddings

The problem Curry-Howard isomorphism embeds intuitionistic predicate logic into dependent type theory

slide-12
SLIDE 12

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Embeddings

The problem Curry-Howard isomorphism embeds intuitionistic predicate logic into dependent type theory We pose ourself the following question: Is it possible to embed ICL into HoTT?

slide-13
SLIDE 13

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Embeddings

The problem Curry-Howard isomorphism embeds intuitionistic predicate logic into dependent type theory We pose ourself the following question: Is it possible to embed ICL into HoTT? We concentrated in

  • establishing a linear calculation format as an instrument to understand

proofs in HoTT book, and

slide-14
SLIDE 14

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Embeddings

The problem Curry-Howard isomorphism embeds intuitionistic predicate logic into dependent type theory We pose ourself the following question: Is it possible to embed ICL into HoTT? We concentrated in

  • establishing a linear calculation format as an instrument to understand

proofs in HoTT book, and

  • identify and derive equational judgments in HoTT.
slide-15
SLIDE 15

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Embeddings

The problem Curry-Howard isomorphism embeds intuitionistic predicate logic into dependent type theory We pose ourself the following question: Is it possible to embed ICL into HoTT? We concentrated in

  • establishing a linear calculation format as an instrument to understand

proofs in HoTT book, and

  • identify and derive equational judgments in HoTT.

Note: We expected to be more comfortable with a linear calculation format as an instrument to understand proofs in HoTT book.

slide-16
SLIDE 16

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

First: Definition of deductive chains.

slide-17
SLIDE 17

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

First: Definition of deductive chains. A → B <: A ❀ B (read A leads to B) stands temporarily for one of the judgments A ≡ B

  • r A ≃ B <:
slide-18
SLIDE 18

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

First: Definition of deductive chains. A → B <: A ❀ B (read A leads to B) stands temporarily for one of the judgments A ≡ B

  • r A ≃ B <:

It is easy to prove the following transitivity rule scheme A1 ❀ A2 A2 ❀ A3 A1 ❀ A3 where the conclusion corresponds to

slide-19
SLIDE 19

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

First: Definition of deductive chains. A → B <: A ❀ B (read A leads to B) stands temporarily for one of the judgments A ≡ B

  • r A ≃ B <:

It is easy to prove the following transitivity rule scheme A1 ❀ A2 A2 ❀ A3 A1 ❀ A3 where the conclusion corresponds to A1 → A3 <: if at least one of the premises is a judgment of the form A → B <:

slide-20
SLIDE 20

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

First: Definition of deductive chains. A → B <: A ❀ B (read A leads to B) stands temporarily for one of the judgments A ≡ B

  • r A ≃ B <:

It is easy to prove the following transitivity rule scheme A1 ❀ A2 A2 ❀ A3 A1 ❀ A3 where the conclusion corresponds to A1 → A3 <: if at least one of the premises is a judgment of the form A → B <: A1 ≃ A3 <: if none of the premises is of the form A → B <: and at least one is of the form A ≃ B <:

slide-21
SLIDE 21

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

First: Definition of deductive chains. A → B <: A ❀ B (read A leads to B) stands temporarily for one of the judgments A ≡ B

  • r A ≃ B <:

It is easy to prove the following transitivity rule scheme A1 ❀ A2 A2 ❀ A3 A1 ❀ A3 where the conclusion corresponds to A1 → A3 <: if at least one of the premises is a judgment of the form A → B <: A1 ≃ A3 <: if none of the premises is of the form A → B <: and at least one is of the form A ≃ B <: A1 ≡ A3 if all the premises are of the form A ≡ B

slide-22
SLIDE 22

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

By induction we have the following derivation . . . a : A1 . . . A1 ❀ A2 · · · . . . An−1 ❀ An An <: .

slide-23
SLIDE 23

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

By induction we have the following derivation . . . a : A1 . . . A1 ❀ A2 · · · . . . An−1 ❀ An An <: . which may be represented vertically by the following format-scheme An ⇆ · · · An−1 . . . A2 ⇆ · · · A1

∧ :

· · · a which we called a deductive chain.

slide-24
SLIDE 24

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

The links in this format-scheme are B ⇆ A

slide-25
SLIDE 25

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

The links in this format-scheme are B ⇆ A consequence link B ← : ; evidence A

slide-26
SLIDE 26

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

The links in this format-scheme are B ⇆ A consequence link B ← : ; evidence A equivalence link B ≡ evidence A

slide-27
SLIDE 27

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

The links in this format-scheme are B ⇆ A consequence link B ← : ; evidence A equivalence link B ≡ evidence A h-equivalence link B ≃ : ; evidence A

slide-28
SLIDE 28

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Deductive chains

The links in this format-scheme are B ⇆ A consequence link B ← : ; evidence A equivalence link B ≡ evidence A h-equivalence link B ≃ : ; evidence A The link at the bottom of the deductive chain is called inhabitation link.

slide-29
SLIDE 29

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Quantified proposition notation

Unified notation for operationals (Qx:T | range · term)

slide-30
SLIDE 30

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Quantified proposition notation

Unified notation for operationals (Qx:T | range · term) Examples:

  • Summation:

(Σi:N | 1 ≤ i ≤ 3 · i2) = 12 + 22 + 32

slide-31
SLIDE 31

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Quantified proposition notation

Unified notation for operationals (Qx:T | range · term) Examples:

  • Summation:

(Σi:N | 1 ≤ i ≤ 3 · i2) = 12 + 22 + 32

  • Logical operationals (universal and existential quantifiers)

(∀x:T | range · term) for conjunction, (∃x:T | range · term) for disjunction.

slide-32
SLIDE 32

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Quantified proposition notation

Unified notation for operationals (Qx:T | range · term) Examples:

  • Summation:

(Σi:N | 1 ≤ i ≤ 3 · i2) = 12 + 22 + 32

  • Logical operationals (universal and existential quantifiers)

(∀x:T | range · term) for conjunction, (∃x:T | range · term) for disjunction. [Trade] rules (∀x:T | P · Q) ≡ (∀x:T · P ⇒Q) (∃x:T | P · Q) ≡ (∃x:T · P ∧Q)

slide-33
SLIDE 33

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

Second: identify and derive equational judgments of HoTT corresponding to axioms and theorems of ICL:

slide-34
SLIDE 34

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

Second: identify and derive equational judgments of HoTT corresponding to axioms and theorems of ICL: [One-Point]: (∀x:T | x=a · P) ≡ P[a/x] (∃x:T | x=a · P) ≡ P[a/x] (ICL)

slide-35
SLIDE 35

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

Second: identify and derive equational judgments of HoTT corresponding to axioms and theorems of ICL: [One-Point]: (∀x:T | x=a · P) ≡ P[a/x] (∃x:T | x=a · P) ≡ P[a/x] (ICL)

  • x:A
  • p:x=a P(x, p) ≃ P(a, refla)<:
  • x:A
  • p:x=a P(x, p) ≃ P(a, refla)<:

(HoTT)

slide-36
SLIDE 36

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

Second: identify and derive equational judgments of HoTT corresponding to axioms and theorems of ICL: [One-Point]: (∀x:T | x=a · P) ≡ P[a/x] (∃x:T | x=a · P) ≡ P[a/x] (ICL)

  • x:A
  • p:x=a P(x, p) ≃ P(a, refla)<:
  • x:A
  • p:x=a P(x, p) ≃ P(a, refla)<:

(HoTT) [Equality]: (∀x, y:T | x=y · P) ≡ (∀x:T · P[x/y]) (∃x, y:T | x=y · P) ≡ (∃x:T · P[x/y]) (ICL)

slide-37
SLIDE 37

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

Second: identify and derive equational judgments of HoTT corresponding to axioms and theorems of ICL: [One-Point]: (∀x:T | x=a · P) ≡ P[a/x] (∃x:T | x=a · P) ≡ P[a/x] (ICL)

  • x:A
  • p:x=a P(x, p) ≃ P(a, refla)<:
  • x:A
  • p:x=a P(x, p) ≃ P(a, refla)<:

(HoTT) [Equality]: (∀x, y:T | x=y · P) ≡ (∀x:T · P[x/y]) (∃x, y:T | x=y · P) ≡ (∃x:T · P[x/y]) (ICL)

  • x,y:A
  • p:x=y P(x, y, p) ≃

x:A P(x, x, reflx)<:

  • x,y:A
  • p:x=y P(x, y, p) ≃

x:A P(x, x, reflx)<:

(HoTT)

slide-38
SLIDE 38

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

[Range Split]: (∀x:T | P ∨ Q · R) ≡ (∀x:T | P · R) ∧ (∀x:T | Q · R) (∃x:T | P ∨ Q · R) ≡ (∃x:T | P · R) ∨ (∃x:T | Q · R)

slide-39
SLIDE 39

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

[Range Split]: (∀x:T | P ∨ Q · R) ≡ (∀x:T | P · R) ∧ (∀x:T | Q · R) (∃x:T | P ∨ Q · R) ≡ (∃x:T | P · R) ∨ (∃x:T | Q · R)

  • x:A+B P(x) ≃

x:A P(inl(x)) × x:B P(inr(x))<:

  • x:A+B P(x) ≃

x:A P(inl(x)) + x:B P(inr(x))<:

slide-40
SLIDE 40

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

[Range Split]: (∀x:T | P ∨ Q · R) ≡ (∀x:T | P · R) ∧ (∀x:T | Q · R) (∃x:T | P ∨ Q · R) ≡ (∃x:T | P · R) ∨ (∃x:T | Q · R)

  • x:A+B P(x) ≃

x:A P(inl(x)) × x:B P(inr(x))<:

  • x:A+B P(x) ≃

x:A P(inl(x)) + x:B P(inr(x))<:

[Term Split]: (∀x:T | P · Q ∧ R) ≡ (∀x:T | P · Q) ∧ (∀x:T | P · R) (∃x:T | P · Q ∨ R) ≡ (∃x:T | P · Q) ∨ (∃x:T | P · R)

slide-41
SLIDE 41

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quantified axioms and theorems

[Range Split]: (∀x:T | P ∨ Q · R) ≡ (∀x:T | P · R) ∧ (∀x:T | Q · R) (∃x:T | P ∨ Q · R) ≡ (∃x:T | P · R) ∨ (∃x:T | Q · R)

  • x:A+B P(x) ≃

x:A P(inl(x)) × x:B P(inr(x))<:

  • x:A+B P(x) ≃

x:A P(inl(x)) + x:B P(inr(x))<:

[Term Split]: (∀x:T | P · Q ∧ R) ≡ (∀x:T | P · Q) ∧ (∀x:T | P · R) (∃x:T | P · Q ∨ R) ≡ (∃x:T | P · Q) ∨ (∃x:T | P · R)

  • x:A(P(x) × Q(x)) ≃

x:A P(x) × x:A Q(x)<:

  • x:A(P(x) + Q(x)) ≃

x:A P(x) + x:A Q(x)<:

slide-42
SLIDE 42

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quatified axioms and theorems

[Translation] (∀x:J | P · Q) ≡ (∀y:K | P[f(y)/x] · Q[f(y)/x]) (∃x:J | P · Q) ≡ (∃y:K | P[f(y)/x] · Q[f(y)/x]), where f is a bijection that maps values of type K to values of type J.

slide-43
SLIDE 43

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quatified axioms and theorems

[Translation] (∀x:J | P · Q) ≡ (∀y:K | P[f(y)/x] · Q[f(y)/x]) (∃x:J | P · Q) ≡ (∃y:K | P[f(y)/x] · Q[f(y)/x]), where f is a bijection that maps values of type K to values of type J. [Congruence] (∀x:T | P · Q ≡ R) ⇒ ((∀x:T | P · Q) ≡ (∀x:T | P · R)) (∀x:T | P · Q ≡ R) ⇒ ((∃x:T | P · Q) ≡ (∃x:T | P · R))

slide-44
SLIDE 44

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quatified axioms and theorems

[Translation] (∀x:J | P · Q) ≡ (∀y:K | P[f(y)/x] · Q[f(y)/x]) (∃x:J | P · Q) ≡ (∃y:K | P[f(y)/x] · Q[f(y)/x]), where f is a bijection that maps values of type K to values of type J. [Congruence] (∀x:T | P · Q ≡ R) ⇒ ((∀x:T | P · Q) ≡ (∀x:T | P · R)) (∀x:T | P · Q ≡ R) ⇒ ((∃x:T | P · Q) ≡ (∃x:T | P · R)) [Antecedent] R ⇒ (∀x:T | P · Q) ≡ (∀x:T | P · R ⇒ Q) R ⇒ (∃x:T | P · Q) ≡ (∃x:T | P · R ⇒ Q) when there are not free occurrences of x in R.

slide-45
SLIDE 45

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

ICL quatified axioms and theorems

[Translation] (∀x:J | P · Q) ≡ (∀y:K | P[f(y)/x] · Q[f(y)/x]) (∃x:J | P · Q) ≡ (∃y:K | P[f(y)/x] · Q[f(y)/x]), where f is a bijection that maps values of type K to values of type J. [Congruence] (∀x:T | P · Q ≡ R) ⇒ ((∀x:T | P · Q) ≡ (∀x:T | P · R)) (∀x:T | P · Q ≡ R) ⇒ ((∃x:T | P · Q) ≡ (∃x:T | P · R)) [Antecedent] R ⇒ (∀x:T | P · Q) ≡ (∀x:T | P · R ⇒ Q) R ⇒ (∃x:T | P · Q) ≡ (∃x:T | P · R ⇒ Q) when there are not free occurrences of x in R. [Leibniz principles] (∀x, y:T | x = y · f(x) = f(y)) (∃x, y:T | x = y · P(x) ≡ P(y)) where f is a function that maps values of type T to values of any other type and P is a predicate.

slide-46
SLIDE 46

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Equational judgments in HoTT

[Translation]

  • x:A P(x) ≃

y:B P(g(y))<:

  • x:A P(x) ≃

y:B P(g(y))<:

where g is an inhabitant of B ≃ A.

slide-47
SLIDE 47

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Equational judgments in HoTT

[Translation]

  • x:A P(x) ≃

y:B P(g(y))<:

  • x:A P(x) ≃

y:B P(g(y))<:

where g is an inhabitant of B ≃ A. [Congruence]

  • x:A(P(x) ≃ Q(x)) → (

x:A P(x) ≃ x:A Q(x))<:

  • x:A(P(x) ≃ Q(x)) → (

x:A P(x) ≃ x:A Q(x))<:

slide-48
SLIDE 48

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Equational judgments in HoTT

[Translation]

  • x:A P(x) ≃

y:B P(g(y))<:

  • x:A P(x) ≃

y:B P(g(y))<:

where g is an inhabitant of B ≃ A. [Congruence]

  • x:A(P(x) ≃ Q(x)) → (

x:A P(x) ≃ x:A Q(x))<:

  • x:A(P(x) ≃ Q(x)) → (

x:A P(x) ≃ x:A Q(x))<:

[Antecedent] (R →

x:A Q(x)) ≃ x:A(R → Q(x))<:

  • x:A(R → Q(x)) → (R →

x:A Q(x))<:

when R does not depend on x.

slide-49
SLIDE 49

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Equational judgments in HoTT

[Translation]

  • x:A P(x) ≃

y:B P(g(y))<:

  • x:A P(x) ≃

y:B P(g(y))<:

where g is an inhabitant of B ≃ A. [Congruence]

  • x:A(P(x) ≃ Q(x)) → (

x:A P(x) ≃ x:A Q(x))<:

  • x:A(P(x) ≃ Q(x)) → (

x:A P(x) ≃ x:A Q(x))<:

[Antecedent] (R →

x:A Q(x)) ≃ x:A(R → Q(x))<:

  • x:A(R → Q(x)) → (R →

x:A Q(x))<:

when R does not depend on x. [Leibniz principles]

  • x,y:A

x=y → f(x)=f(y)<:

  • x,y:A

x=y → P(x)≃P(y)<: where f :A → B and P :A → U is a type family.

slide-50
SLIDE 50

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

I will derive the judgment (

  • x:A
  • y:B(x)

P((x, y))) ≃

  • g:

x:A B(x)

P(g) <: (1) which corresponds to the homotopic equivalence version of the Σ induction

  • perator.
slide-51
SLIDE 51

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

I will derive the judgment (

  • x:A
  • y:B(x)

P((x, y))) ≃

  • g:

x:A B(x)

P(g) <: (1) which corresponds to the homotopic equivalence version of the Σ induction

  • perator.
  • Note. The ICL theorem corresponding to (1), when P is a non-dependent

type, is (∀x:T | B · P) ≡ (∃x:T · B) ⇒ P where x does not occur free in P. This motivate us to call the equivalence Σ-[Consequent] rule.

slide-52
SLIDE 52

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Recall that the Σ-induction operator σ : (

  • x:A
  • y:B(x)

P((x, y))) →

  • g:

x:A B(x)

P(g) is defined by σ(u)((x, y)) :≡ u(x)(y).

slide-53
SLIDE 53

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Recall that the Σ-induction operator σ : (

  • x:A
  • y:B(x)

P((x, y))) →

  • g:

x:A B(x)

P(g) is defined by σ(u)((x, y)) :≡ u(x)(y). Let Φ : (

  • g:

x:A B(x)

P(g)) →

  • x:A
  • y:B(x)

P((x, y)) be defined by Φ(v)(x)(y) :≡ v((x, y)).

slide-54
SLIDE 54

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Let u be an inhabitant of

x:A

  • y:B(x)

P((x, y)),

slide-55
SLIDE 55

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Let u be an inhabitant of

x:A

  • y:B(x)

P((x, y)), then Φ(σ(u)) = u

slide-56
SLIDE 56

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Let u be an inhabitant of

x:A

  • y:B(x)

P((x, y)), then Φ(σ(u)) = u ≃ : ;Function extensionality

  • x:A
  • y:B(x)

Φ(σ(u))(x)(y) = u(x)(y)

slide-57
SLIDE 57

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Let u be an inhabitant of

x:A

  • y:B(x)

P((x, y)), then Φ(σ(u)) = u ≃ : ;Function extensionality

  • x:A
  • y:B(x)

Φ(σ(u))(x)(y) = u(x)(y) ≡ Φ(σ(u)) ≡ σ(u)((x, y)) ≡ u(x)(y)

  • x:A
  • y:B(x)

u(x)(y) = u(x)(y)

slide-58
SLIDE 58

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Let u be an inhabitant of

x:A

  • y:B(x)

P((x, y)), then Φ(σ(u)) = u ≃ : ;Function extensionality

  • x:A
  • y:B(x)

Φ(σ(u))(x)(y) = u(x)(y) ≡ Φ(σ(u)) ≡ σ(u)((x, y)) ≡ u(x)(y)

  • x:A
  • y:B(x)

u(x)(y) = u(x)(y)

∧ :

hu(x)(y) :≡ reflu(x)(y) hu

slide-59
SLIDE 59

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Let u be an inhabitant of

x:A

  • y:B(x)

P((x, y)), then Φ(σ(u)) = u ≃ : ;Function extensionality

  • x:A
  • y:B(x)

Φ(σ(u))(x)(y) = u(x)(y) ≡ Φ(σ(u)) ≡ σ(u)((x, y)) ≡ u(x)(y)

  • x:A
  • y:B(x)

u(x)(y) = u(x)(y)

∧ :

hu(x)(y) :≡ reflu(x)(y) hu Then Φ ◦ σ is homotopic to the identity function of

x:A

  • y:B(x)

P((x, y)).

slide-60
SLIDE 60

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Conversely, let v be an inhabitant of

g:

x:A B(x) P(g),

slide-61
SLIDE 61

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Conversely, let v be an inhabitant of

g:

x:A B(x) P(g), then

σ(Φ(v)) = v

slide-62
SLIDE 62

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Conversely, let v be an inhabitant of

g:

x:A B(x) P(g), then

σ(Φ(v)) = v ≃ : ;Function extensionality

  • g:

x:A B(x)

σ(Φ(v))(g) = v(g)

slide-63
SLIDE 63

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Conversely, let v be an inhabitant of

g:

x:A B(x) P(g), then

σ(Φ(v)) = v ≃ : ;Function extensionality

  • g:

x:A B(x)

σ(Φ(v))(g) = v(g) ← : σ′

  • x:A
  • y:B(x)

σ(Φ(v))(x, y) = v((x, y))

slide-64
SLIDE 64

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Conversely, let v be an inhabitant of

g:

x:A B(x) P(g), then

σ(Φ(v)) = v ≃ : ;Function extensionality

  • g:

x:A B(x)

σ(Φ(v))(g) = v(g) ← : σ′

  • x:A
  • y:B(x)

σ(Φ(v))(x, y) = v((x, y)) ≡ σ(Φ(v))((x, y)) ≡ Φ(v)(x)(y) ≡ v((x, y))

  • x:A
  • y:B(x)

v((x, y)) = v((x, y))

slide-65
SLIDE 65

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Conversely, let v be an inhabitant of

g:

x:A B(x) P(g), then

σ(Φ(v)) = v ≃ : ;Function extensionality

  • g:

x:A B(x)

σ(Φ(v))(g) = v(g) ← : σ′

  • x:A
  • y:B(x)

σ(Φ(v))(x, y) = v((x, y)) ≡ σ(Φ(v))((x, y)) ≡ Φ(v)(x)(y) ≡ v((x, y))

  • x:A
  • y:B(x)

v((x, y)) = v((x, y))

∧ :

hv(x, y) :≡ reflv(x,y) hv

slide-66
SLIDE 66

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

A deduction

Conversely, let v be an inhabitant of

g:

x:A B(x) P(g), then

σ(Φ(v)) = v ≃ : ;Function extensionality

  • g:

x:A B(x)

σ(Φ(v))(g) = v(g) ← : σ′

  • x:A
  • y:B(x)

σ(Φ(v))(x, y) = v((x, y)) ≡ σ(Φ(v))((x, y)) ≡ Φ(v)(x)(y) ≡ v((x, y))

  • x:A
  • y:B(x)

v((x, y)) = v((x, y))

∧ :

hv(x, y) :≡ reflv(x,y) hv So, σ ◦ Φ is homotopic to the identity function of

g:

x:A B(x) P(g).

This proves the Σ-[Consequent] rule.

slide-67
SLIDE 67

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Example

Application of Π-translation rule (to prove isSet(N) <:). We can use the translation rule to prove isSet(N) <: In fact, let Φ : m = n → code(m, n) be defined by Φ :≡ encode(m, n) and let Ψ : code(m, n) → m = n be defined by Ψ :≡ decode(m, n). Then, isSet(N) ≡ Definition of isSet

  • m,n:N
  • p,q:m=n

p = q ≃ Π-translation rule ; m = n ≃ code(m, n)

  • m,n:N
  • s,t:code(m,n)

Ψ(s) = Ψ(t)

∧ :

See definition of h below h

slide-68
SLIDE 68

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Conclusions

Conclusions:

slide-69
SLIDE 69

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Conclusions

Conclusions:

1 Deductive chains are really formal linear tools to prove theorems in

HoTT.

slide-70
SLIDE 70

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Conclusions

Conclusions:

1 Deductive chains are really formal linear tools to prove theorems in

HoTT.

2 There is an embedding of ICL in HOTT. In particular we found that

the Eindhoven quantifiers correspond to the main dependent types in HoTT.

slide-71
SLIDE 71

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

Conclusions

Conclusions:

1 Deductive chains are really formal linear tools to prove theorems in

HoTT.

2 There is an embedding of ICL in HOTT. In particular we found that

the Eindhoven quantifiers correspond to the main dependent types in HoTT.

3 We found strong evidence that it is possible to restate the whole of

HoTT giving equality and homotopic equivalence a preeminent role, both, axiomatically and proof-theoretically.

slide-72
SLIDE 72

A few initial words Brief description of CL The problem Deductive chains Calculational HoTT A deduction Conclusions

  • T. Univalent Foundations Program.

Homotopy Type Theory: Univalent Foundations of Mathematics URL https://homotopytypetheory.org/book. Institute for Advanced Study, 2013.