Introduction to the sheaf-theoretic approach to contextuality - - PowerPoint PPT Presentation

introduction to the sheaf theoretic approach to
SMART_READER_LITE
LIVE PREVIEW

Introduction to the sheaf-theoretic approach to contextuality - - PowerPoint PPT Presentation

Introduction to the sheaf-theoretic approach to contextuality Samson Abramsky Department of Computer Science, University of Oxford Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic


slide-1
SLIDE 1

Introduction to the sheaf-theoretic approach to contextuality

Samson Abramsky

Department of Computer Science, University of Oxford

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 1 / 35

slide-2
SLIDE 2

Why sheaves?

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 2 / 35

slide-3
SLIDE 3

Why sheaves?

Sounds intimidating – it isn’t!

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 2 / 35

slide-4
SLIDE 4

Why sheaves?

Sounds intimidating – it isn’t! Connects to beautiful and powerful mathematical ideas

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 2 / 35

slide-5
SLIDE 5

Why sheaves?

Sounds intimidating – it isn’t! Connects to beautiful and powerful mathematical ideas One of now several approaches which develop a general theory of contextuality, rather than a collection of examples:

◮ Spekkens, ◮ Contextuality by Default (Dzhakfarov and Kujala), ◮ graph-theoretic (Cabello, Severini, Winter), ◮ hypergraphs (Acin, Fritz, Leverrier, Sainz). Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 2 / 35

slide-6
SLIDE 6

Why sheaves?

Sounds intimidating – it isn’t! Connects to beautiful and powerful mathematical ideas One of now several approaches which develop a general theory of contextuality, rather than a collection of examples:

◮ Spekkens, ◮ Contextuality by Default (Dzhakfarov and Kujala), ◮ graph-theoretic (Cabello, Severini, Winter), ◮ hypergraphs (Acin, Fritz, Leverrier, Sainz).

See recent exposition of some of this by Marcelo Terra Cunha and Barbara Amaral

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 2 / 35

slide-7
SLIDE 7

Why sheaves?

Sounds intimidating – it isn’t! Connects to beautiful and powerful mathematical ideas One of now several approaches which develop a general theory of contextuality, rather than a collection of examples:

◮ Spekkens, ◮ Contextuality by Default (Dzhakfarov and Kujala), ◮ graph-theoretic (Cabello, Severini, Winter), ◮ hypergraphs (Acin, Fritz, Leverrier, Sainz).

See recent exposition of some of this by Marcelo Terra Cunha and Barbara Amaral Comparison with other approaches, e.g. the CSW graph-theoretic approach: both have useful features, the “sheaf” approach exposes some additional mathematical structure, which plays a crucial role in gaining a wider perspective on contextuality

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 2 / 35

slide-8
SLIDE 8

What is Contextuality?

What, then, is the essence of contextuality? In broad terms, we propose to describe it as follows: Contextuality arises where we have a family of data which is locally consistent, but globally inconsistent

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 3 / 35

slide-9
SLIDE 9

Contextuality Analogy: Local Consistency

a a′ b b′

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 4 / 35

slide-10
SLIDE 10

Contextuality Analogy: Local Consistency

a a′ b b′

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 4 / 35

slide-11
SLIDE 11

Contextuality Analogy: Global Inconsistency

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 5 / 35

slide-12
SLIDE 12

Empirical Data

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 6 / 35

slide-13
SLIDE 13

Empirical Data

(0, 0) (0, 1) (1, 0) (1, 1) (a, b)

1/2 1/2

(a, b′)

3/8 1/8 1/8 3/8

(a′, b)

3/8 1/8 1/8 3/8

(a′, b′)

1/8 3/8 3/8 1/8

measurement device mA ∈ {a, a′}

  • A ∈ {0, 1}

measurement device mB ∈ {b, b′}

  • B ∈ {0, 1}

preparation p Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 6 / 35

slide-14
SLIDE 14

Formalizing Contextuality: Measurement scenarios

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 7 / 35

slide-15
SLIDE 15

Formalizing Contextuality: Measurement scenarios

These are types in logical/CS terms. Types of experimental set-up.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 7 / 35

slide-16
SLIDE 16

Formalizing Contextuality: Measurement scenarios

These are types in logical/CS terms. Types of experimental set-up. A scenario is (X, M, O), where

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 7 / 35

slide-17
SLIDE 17

Formalizing Contextuality: Measurement scenarios

These are types in logical/CS terms. Types of experimental set-up. A scenario is (X, M, O), where X is a set of variables or measurement labels

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 7 / 35

slide-18
SLIDE 18

Formalizing Contextuality: Measurement scenarios

These are types in logical/CS terms. Types of experimental set-up. A scenario is (X, M, O), where X is a set of variables or measurement labels M is a family of subsets of X – the contexts, or compatible subsets

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 7 / 35

slide-19
SLIDE 19

Formalizing Contextuality: Measurement scenarios

These are types in logical/CS terms. Types of experimental set-up. A scenario is (X, M, O), where X is a set of variables or measurement labels M is a family of subsets of X – the contexts, or compatible subsets O is a set of outcomes or values for the variables. Can be refined to Ox, x ∈ X.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 7 / 35

slide-20
SLIDE 20

Formalizing Contextuality: Measurement scenarios

These are types in logical/CS terms. Types of experimental set-up. A scenario is (X, M, O), where X is a set of variables or measurement labels M is a family of subsets of X – the contexts, or compatible subsets O is a set of outcomes or values for the variables. Can be refined to Ox, x ∈ X. Two variants of M, which is a hypergraph: either the maximal contexts (no inclusions), or closure under subsets.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 7 / 35

slide-21
SLIDE 21

Formalizing Contextuality: Measurement scenarios

These are types in logical/CS terms. Types of experimental set-up. A scenario is (X, M, O), where X is a set of variables or measurement labels M is a family of subsets of X – the contexts, or compatible subsets O is a set of outcomes or values for the variables. Can be refined to Ox, x ∈ X. Two variants of M, which is a hypergraph: either the maximal contexts (no inclusions), or closure under subsets. In the latter case, we have an abstract simplicial complex.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 7 / 35

slide-22
SLIDE 22

Example

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 8 / 35

slide-23
SLIDE 23

Example

(0, 0) (0, 1) (1, 0) (1, 1) (a, b)

1/2 1/2

(a, b′)

3/8 1/8 1/8 3/8

(a′, b)

3/8 1/8 1/8 3/8

(a′, b′)

1/8 3/8 3/8 1/8

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 8 / 35

slide-24
SLIDE 24

Example

(0, 0) (0, 1) (1, 0) (1, 1) (a, b)

1/2 1/2

(a, b′)

3/8 1/8 1/8 3/8

(a′, b)

3/8 1/8 1/8 3/8

(a′, b′)

1/8 3/8 3/8 1/8

In this table, the set of variables is X = {a, a′, b, b′}.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 8 / 35

slide-25
SLIDE 25

Example

(0, 0) (0, 1) (1, 0) (1, 1) (a, b)

1/2 1/2

(a, b′)

3/8 1/8 1/8 3/8

(a′, b)

3/8 1/8 1/8 3/8

(a′, b′)

1/8 3/8 3/8 1/8

In this table, the set of variables is X = {a, a′, b, b′}. The measurement contexts are: {{a1, b1}, {a2, b1}, {a1, b2}, {a2, b2}}

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 8 / 35

slide-26
SLIDE 26

Example

(0, 0) (0, 1) (1, 0) (1, 1) (a, b)

1/2 1/2

(a, b′)

3/8 1/8 1/8 3/8

(a′, b)

3/8 1/8 1/8 3/8

(a′, b′)

1/8 3/8 3/8 1/8

In this table, the set of variables is X = {a, a′, b, b′}. The measurement contexts are: {{a1, b1}, {a2, b1}, {a1, b2}, {a2, b2}} The outcomes are O = {0, 1}

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 8 / 35

slide-27
SLIDE 27

The 18-vector Kochen-Specker construction (Cabello et al)

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 9 / 35

slide-28
SLIDE 28

The 18-vector Kochen-Specker construction (Cabello et al)

This uses

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 9 / 35

slide-29
SLIDE 29

The 18-vector Kochen-Specker construction (Cabello et al)

This uses A set X of 18 variables, {A, . . . , O}

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 9 / 35

slide-30
SLIDE 30

The 18-vector Kochen-Specker construction (Cabello et al)

This uses A set X of 18 variables, {A, . . . , O} A measurement cover U = {U1, . . . , U9}, where the columns Ui are the sets in the cover:

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 9 / 35

slide-31
SLIDE 31

The 18-vector Kochen-Specker construction (Cabello et al)

This uses A set X of 18 variables, {A, . . . , O} A measurement cover U = {U1, . . . , U9}, where the columns Ui are the sets in the cover: U1 U2 U3 U4 U5 U6 U7 U8 U9 A A H H B I P P Q B E I K E K Q R R C F C G M N D F M D G J L N O J L O

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 9 / 35

slide-32
SLIDE 32

The 18-vector Kochen-Specker construction (Cabello et al)

This uses A set X of 18 variables, {A, . . . , O} A measurement cover U = {U1, . . . , U9}, where the columns Ui are the sets in the cover: U1 U2 U3 U4 U5 U6 U7 U8 U9 A A H H B I P P Q B E I K E K Q R R C F C G M N D F M D G J L N O J L O The original K-S construction used 117 variables!

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 9 / 35

slide-33
SLIDE 33

Basic events are local sections

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 10 / 35

slide-34
SLIDE 34

Basic events are local sections

A basic event is to measure all the variables in a context C ∈ M, and observe the

  • utcomes.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 10 / 35

slide-35
SLIDE 35

Basic events are local sections

A basic event is to measure all the variables in a context C ∈ M, and observe the

  • utcomes.

This is represented by a function s : C → O, i.e. s ∈ OC, or more generally s ∈

x∈C Ox.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 10 / 35

slide-36
SLIDE 36

Basic events are local sections

A basic event is to measure all the variables in a context C ∈ M, and observe the

  • utcomes.

This is represented by a function s : C → O, i.e. s ∈ OC, or more generally s ∈

x∈C Ox.

Example: if C = {a, b}, O = {0, 1}, such an outcome might be s = {a → 0, b → 1}

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 10 / 35

slide-37
SLIDE 37

Basic events are local sections

A basic event is to measure all the variables in a context C ∈ M, and observe the

  • utcomes.

This is represented by a function s : C → O, i.e. s ∈ OC, or more generally s ∈

x∈C Ox.

Example: if C = {a, b}, O = {0, 1}, such an outcome might be s = {a → 0, b → 1} This is a local section, since it is defined only on C, not on the whole of X!

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 10 / 35

slide-38
SLIDE 38

Basic events are local sections

A basic event is to measure all the variables in a context C ∈ M, and observe the

  • utcomes.

This is represented by a function s : C → O, i.e. s ∈ OC, or more generally s ∈

x∈C Ox.

Example: if C = {a, b}, O = {0, 1}, such an outcome might be s = {a → 0, b → 1} This is a local section, since it is defined only on C, not on the whole of X! Basic operation of restriction: if C ⊆ C ′, s ∈ OC ′, then s|C ∈ OC.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 10 / 35

slide-39
SLIDE 39

Basic events are local sections

A basic event is to measure all the variables in a context C ∈ M, and observe the

  • utcomes.

This is represented by a function s : C → O, i.e. s ∈ OC, or more generally s ∈

x∈C Ox.

Example: if C = {a, b}, O = {0, 1}, such an outcome might be s = {a → 0, b → 1} This is a local section, since it is defined only on C, not on the whole of X! Basic operation of restriction: if C ⊆ C ′, s ∈ OC ′, then s|C ∈ OC. E.g. s|{a} = {a → 0}.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 10 / 35

slide-40
SLIDE 40

Formalizing Contextuality: Empirical models

Empirical model e : (X, M, O): e = {eC ∈ Prob(OC) | C ∈ M}

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 11 / 35

slide-41
SLIDE 41

Formalizing Contextuality: Empirical models

Empirical model e : (X, M, O): e = {eC ∈ Prob(OC) | C ∈ M} In other words, the empirical model specifies a probability distribution over the events in each context.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 11 / 35

slide-42
SLIDE 42

Formalizing Contextuality: Empirical models

Empirical model e : (X, M, O): e = {eC ∈ Prob(OC) | C ∈ M} In other words, the empirical model specifies a probability distribution over the events in each context. These distributions are the rows of our probability tables.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 11 / 35

slide-43
SLIDE 43

Formalizing Contextuality: Empirical models

Empirical model e : (X, M, O): e = {eC ∈ Prob(OC) | C ∈ M} In other words, the empirical model specifies a probability distribution over the events in each context. These distributions are the rows of our probability tables. Thus we have a family of probability distributions over different, but coherently related, sample spaces.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 11 / 35

slide-44
SLIDE 44

Formalizing Contextuality: Empirical models

Empirical model e : (X, M, O): e = {eC ∈ Prob(OC) | C ∈ M} In other words, the empirical model specifies a probability distribution over the events in each context. These distributions are the rows of our probability tables. Thus we have a family of probability distributions over different, but coherently related, sample spaces. (The coherent relationship is functoriality!)

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 11 / 35

slide-45
SLIDE 45

Restriction and Compatibility

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 12 / 35

slide-46
SLIDE 46

Restriction and Compatibility

We would like to express the condition that an empirical model is compatible, i.e. “locally consistent”.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 12 / 35

slide-47
SLIDE 47

Restriction and Compatibility

We would like to express the condition that an empirical model is compatible, i.e. “locally consistent”. We want to do this by saying that the distributions “agree on overlaps”. For all C, C ′ ∈ M: eC|C∩C ′ = eC ′|C∩C ′.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 12 / 35

slide-48
SLIDE 48

Restriction and Compatibility

We would like to express the condition that an empirical model is compatible, i.e. “locally consistent”. We want to do this by saying that the distributions “agree on overlaps”. For all C, C ′ ∈ M: eC|C∩C ′ = eC ′|C∩C ′.

  • Cf. the usual notion of compatibility of a family of functions defined on subsets.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 12 / 35

slide-49
SLIDE 49

Restriction and Compatibility

We would like to express the condition that an empirical model is compatible, i.e. “locally consistent”. We want to do this by saying that the distributions “agree on overlaps”. For all C, C ′ ∈ M: eC|C∩C ′ = eC ′|C∩C ′.

  • Cf. the usual notion of compatibility of a family of functions defined on subsets.

Marginalization of distributions: if C ⊆ C ′, d ∈ Prob(OC ′), d|C(s) :=

  • t∈OC′, t|C =s

d(t)

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 12 / 35

slide-50
SLIDE 50

Restriction and Compatibility

We would like to express the condition that an empirical model is compatible, i.e. “locally consistent”. We want to do this by saying that the distributions “agree on overlaps”. For all C, C ′ ∈ M: eC|C∩C ′ = eC ′|C∩C ′.

  • Cf. the usual notion of compatibility of a family of functions defined on subsets.

Marginalization of distributions: if C ⊆ C ′, d ∈ Prob(OC ′), d|C(s) :=

  • t∈OC′, t|C =s

d(t) Compatibility is a general form of the important physical principle of No-Signalling; this general form is also known as No Disturbance.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 12 / 35

slide-51
SLIDE 51

Contextuality defined

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 13 / 35

slide-52
SLIDE 52

Contextuality defined

An empirical model {eC}C∈M on a measurement scenario (X, M, O) is non-contextual if there is a distribution d ∈ Prob(OX) such that, for all C ∈ M: d|C = eC.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 13 / 35

slide-53
SLIDE 53

Contextuality defined

An empirical model {eC}C∈M on a measurement scenario (X, M, O) is non-contextual if there is a distribution d ∈ Prob(OX) such that, for all C ∈ M: d|C = eC. That is, we can glue all the local information together into a global consistent description from which the local information can be recovered.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 13 / 35

slide-54
SLIDE 54

Contextuality defined

An empirical model {eC}C∈M on a measurement scenario (X, M, O) is non-contextual if there is a distribution d ∈ Prob(OX) such that, for all C ∈ M: d|C = eC. That is, we can glue all the local information together into a global consistent description from which the local information can be recovered. We call such a d a global section.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 13 / 35

slide-55
SLIDE 55

Contextuality defined

An empirical model {eC}C∈M on a measurement scenario (X, M, O) is non-contextual if there is a distribution d ∈ Prob(OX) such that, for all C ∈ M: d|C = eC. That is, we can glue all the local information together into a global consistent description from which the local information can be recovered. We call such a d a global section. If no such global section exists, the empirical model is contextual.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 13 / 35

slide-56
SLIDE 56

Contextuality defined

An empirical model {eC}C∈M on a measurement scenario (X, M, O) is non-contextual if there is a distribution d ∈ Prob(OX) such that, for all C ∈ M: d|C = eC. That is, we can glue all the local information together into a global consistent description from which the local information can be recovered. We call such a d a global section. If no such global section exists, the empirical model is contextual. Thus contextuality arises where we have a family of data which is locally consistent but globally inconsistent.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 13 / 35

slide-57
SLIDE 57

Contextuality defined

An empirical model {eC}C∈M on a measurement scenario (X, M, O) is non-contextual if there is a distribution d ∈ Prob(OX) such that, for all C ∈ M: d|C = eC. That is, we can glue all the local information together into a global consistent description from which the local information can be recovered. We call such a d a global section. If no such global section exists, the empirical model is contextual. Thus contextuality arises where we have a family of data which is locally consistent but globally inconsistent. The import of Bell’s theorem and similar results is that there are empirical models arising from quantum mechanics which are contextual.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 13 / 35

slide-58
SLIDE 58

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-59
SLIDE 59

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-60
SLIDE 60

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-61
SLIDE 61

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Samson Abramsky

(Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-62
SLIDE 62

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Samson Abramsky

(Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-63
SLIDE 63

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Samson Abramsky

(Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-64
SLIDE 64

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Samson Abramsky

(Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-65
SLIDE 65

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Samson Abramsky

(Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-66
SLIDE 66

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-67
SLIDE 67

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-68
SLIDE 68

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-69
SLIDE 69

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-70
SLIDE 70

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-71
SLIDE 71

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-72
SLIDE 72

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-73
SLIDE 73

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-74
SLIDE 74

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-75
SLIDE 75

Bundle Pictures

Logical Contextuality Ignore precise probabilities Events are possible or not E.g. the Hardy model: 00 01 10 11 ab

  • ab′

×

  • a′b

×

  • a′b′
  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Local consistency: We may extend from one context to the next

Global inconsistency: Not all events extend to global valuations

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 14 / 35

slide-76
SLIDE 76

Strong Contextuality

A B (0, 0) (1, 0) (0, 1) (1, 1) a1 b1 1 1 a1 b2 1 1 a2 b1 1 1 a2 b2 1 1 The PR Box

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 15 / 35

slide-77
SLIDE 77

Bundle Pictures

Strong Contextuality E.g. the PR box: 00 01 10 11 ab

  • ×

×

  • ab′
  • ×

×

  • a′b
  • ×

×

  • a′b′

×

  • ×
  • a
  • b
  • a′
  • b′
  • 1
  • 1
  • 1
  • Samson Abramsky

(Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 16 / 35

slide-78
SLIDE 78

Visualizing Contextuality

  • a1
  • b1
  • a2
  • b2
  • 1
  • 1
  • 1
  • a1
  • b1
  • a2
  • b2
  • 1
  • 1
  • 1
  • The Hardy table and the PR box as bundles

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 17 / 35

slide-79
SLIDE 79

Comparison with the graph-theoretic CSW approach

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 18 / 35

slide-80
SLIDE 80

Comparison with the graph-theoretic CSW approach

Deriving an orthogonality graph Ge = (V , E) from an empirical model e V = {(C, s) | C ∈ M, s ∈ OC} (C, s) ⌢ (C ′, s′) ⇐ ⇒ ∃x ∈ C ∩ C ′. s(x) = s′(x)

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 18 / 35

slide-81
SLIDE 81

Comparison with the graph-theoretic CSW approach

Deriving an orthogonality graph Ge = (V , E) from an empirical model e V = {(C, s) | C ∈ M, s ∈ OC} (C, s) ⌢ (C ′, s′) ⇐ ⇒ ∃x ∈ C ∩ C ′. s(x) = s′(x) (de Silva 2016): e is strongly contextual iff the independence number of Ge is less than |M|.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 18 / 35

slide-82
SLIDE 82

Comparison with the graph-theoretic CSW approach

Deriving an orthogonality graph Ge = (V , E) from an empirical model e V = {(C, s) | C ∈ M, s ∈ OC} (C, s) ⌢ (C ′, s′) ⇐ ⇒ ∃x ∈ C ∩ C ′. s(x) = s′(x) (de Silva 2016): e is strongly contextual iff the independence number of Ge is less than |M|. There is more structure in an empirical model e than in Ge.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 18 / 35

slide-83
SLIDE 83

Contextuality, Logic and Paradoxes

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 19 / 35

slide-84
SLIDE 84

Contextuality, Logic and Paradoxes

Liar cycles. A Liar cycle of length N is a sequence of statements S1 : S2 is true, S2 : S3 is true, . . . SN−1 : SN is true, SN : S1 is false. For N = 1, this is the classic Liar sentence S : S is false.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 19 / 35

slide-85
SLIDE 85

Contextuality, Logic and Paradoxes

Liar cycles. A Liar cycle of length N is a sequence of statements S1 : S2 is true, S2 : S3 is true, . . . SN−1 : SN is true, SN : S1 is false. For N = 1, this is the classic Liar sentence S : S is false. Following Cook, Walicki et al. we can model the situation by boolean equations: x1 = x2, . . . , xn−1 = xn, xn = ¬x1

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 19 / 35

slide-86
SLIDE 86

Contextuality, Logic and Paradoxes

Liar cycles. A Liar cycle of length N is a sequence of statements S1 : S2 is true, S2 : S3 is true, . . . SN−1 : SN is true, SN : S1 is false. For N = 1, this is the classic Liar sentence S : S is false. Following Cook, Walicki et al. we can model the situation by boolean equations: x1 = x2, . . . , xn−1 = xn, xn = ¬x1 The “paradoxical” nature of the original statements is now captured by the inconsistency of these equations.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 19 / 35

slide-87
SLIDE 87

Contextuality in the Liar; Liar cycles in the PR Box

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 20 / 35

slide-88
SLIDE 88

Contextuality in the Liar; Liar cycles in the PR Box

We can regard each of these equations as fibered over the set of variables which

  • ccur in it:

{x1, x2} : x1 = x2 {x2, x3} : x2 = x3 . . . {xn−1, xn} : xn−1 = xn {xn, x1} : xn = ¬x1

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 20 / 35

slide-89
SLIDE 89

Contextuality in the Liar; Liar cycles in the PR Box

We can regard each of these equations as fibered over the set of variables which

  • ccur in it:

{x1, x2} : x1 = x2 {x2, x3} : x2 = x3 . . . {xn−1, xn} : xn−1 = xn {xn, x1} : xn = ¬x1 Any subset of up to n − 1 of these equations is consistent; while the whole set is inconsistent.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 20 / 35

slide-90
SLIDE 90

Contextuality in the Liar; Liar cycles in the PR Box

We can regard each of these equations as fibered over the set of variables which

  • ccur in it:

{x1, x2} : x1 = x2 {x2, x3} : x2 = x3 . . . {xn−1, xn} : xn−1 = xn {xn, x1} : xn = ¬x1 Any subset of up to n − 1 of these equations is consistent; while the whole set is inconsistent. Up to rearrangement, the Liar cycle of length 4 corresponds exactly to the PR box.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 20 / 35

slide-91
SLIDE 91

Contextuality in the Liar; Liar cycles in the PR Box

We can regard each of these equations as fibered over the set of variables which

  • ccur in it:

{x1, x2} : x1 = x2 {x2, x3} : x2 = x3 . . . {xn−1, xn} : xn−1 = xn {xn, x1} : xn = ¬x1 Any subset of up to n − 1 of these equations is consistent; while the whole set is inconsistent. Up to rearrangement, the Liar cycle of length 4 corresponds exactly to the PR box. The usual reasoning to derive a contradiction from the Liar cycle corresponds precisely to the attempt to find a univocal path in the bundle diagram.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 20 / 35

slide-92
SLIDE 92

Paths to contradiction

  • a1
  • b1
  • a2
  • b2
  • 1
  • 1
  • 1
  • Samson Abramsky

(Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 21 / 35

slide-93
SLIDE 93

Paths to contradiction

  • a1
  • b1
  • a2
  • b2
  • 1
  • 1
  • 1
  • Suppose that we try to set a2 to 1. Following the path on the right leads to the

following local propagation of values: a2 = 1 b1 = 1 a1 = 1 b2 = 1 a2 = 0 a2 = 0 b1 = 0 a1 = 0 b2 = 0 a2 = 1

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 21 / 35

slide-94
SLIDE 94

Paths to contradiction

  • a1
  • b1
  • a2
  • b2
  • 1
  • 1
  • 1
  • Suppose that we try to set a2 to 1. Following the path on the right leads to the

following local propagation of values: a2 = 1 b1 = 1 a1 = 1 b2 = 1 a2 = 0 a2 = 0 b1 = 0 a1 = 0 b2 = 0 a2 = 1 We have discussed a specific case here, but the analysis can be generalised to a large class of examples.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 21 / 35

slide-95
SLIDE 95

Constraint Satisfaction

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 22 / 35

slide-96
SLIDE 96

Constraint Satisfaction

Constraint satisfaction is an important paradigm in AI, algorithms and complexity.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 22 / 35

slide-97
SLIDE 97

Constraint Satisfaction

Constraint satisfaction is an important paradigm in AI, algorithms and complexity. A (possibilistic) empirical model is a constraint satisfaction problem!

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 22 / 35

slide-98
SLIDE 98

Constraint Satisfaction

Constraint satisfaction is an important paradigm in AI, algorithms and complexity. A (possibilistic) empirical model is a constraint satisfaction problem! Represent eC ⊆ OC as a formula.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 22 / 35

slide-99
SLIDE 99

Constraint Satisfaction

Constraint satisfaction is an important paradigm in AI, algorithms and complexity. A (possibilistic) empirical model is a constraint satisfaction problem! Represent eC ⊆ OC as a formula. Example: the PR Box 00 01 10 11 ab

  • ×

×

  • a ↔ b

ab′

  • ×

×

  • a ↔ b′

a′b

  • ×

×

  • a′ ↔ b

a′b′ ×

  • ×

a′ ⊕ b′

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 22 / 35

slide-100
SLIDE 100

Constraint Satisfaction

Constraint satisfaction is an important paradigm in AI, algorithms and complexity. A (possibilistic) empirical model is a constraint satisfaction problem! Represent eC ⊆ OC as a formula. Example: the PR Box 00 01 10 11 ab

  • ×

×

  • a ↔ b

ab′

  • ×

×

  • a ↔ b′

a′b

  • ×

×

  • a′ ↔ b

a′b′ ×

  • ×

a′ ⊕ b′ Local consistency is well-studied in (classical) CSP.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 22 / 35

slide-101
SLIDE 101

Topological Characterization

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 23 / 35

slide-102
SLIDE 102

Topological Characterization

Local consistency — global inconsistency

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 23 / 35

slide-103
SLIDE 103

Topological Characterization

Local consistency — global inconsistency Contextuality is pervasive (e.g. physics, computation, logic, . . . )

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 23 / 35

slide-104
SLIDE 104

Topological Characterization

Local consistency — global inconsistency Contextuality is pervasive (e.g. physics, computation, logic, . . . ) Goal: find the common mathematical structure in these diverse manifestations, and develop a widely applicable theory

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 23 / 35

slide-105
SLIDE 105

Topological Characterization

Local consistency — global inconsistency Contextuality is pervasive (e.g. physics, computation, logic, . . . ) Goal: find the common mathematical structure in these diverse manifestations, and develop a widely applicable theory Can be effectively visualised in topological terms

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 23 / 35

slide-106
SLIDE 106

Topological Characterization

Local consistency — global inconsistency Contextuality is pervasive (e.g. physics, computation, logic, . . . ) Goal: find the common mathematical structure in these diverse manifestations, and develop a widely applicable theory Can be effectively visualised in topological terms “Twisting” in bundle space gives rise to an obstruction to global consistency

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 23 / 35

slide-107
SLIDE 107

Topological Characterization

Local consistency — global inconsistency Contextuality is pervasive (e.g. physics, computation, logic, . . . ) Goal: find the common mathematical structure in these diverse manifestations, and develop a widely applicable theory Can be effectively visualised in topological terms “Twisting” in bundle space gives rise to an obstruction to global consistency Idea: use cohomology to characterize contextuality

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 23 / 35

slide-108
SLIDE 108

Why Cohomology?

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 24 / 35

slide-109
SLIDE 109

Why Cohomology?

A major theme of 20/21st century mathematics

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 24 / 35

slide-110
SLIDE 110

Why Cohomology?

A major theme of 20/21st century mathematics Constructive witnesses for non-existence, instead of proofs by contradiction

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 24 / 35

slide-111
SLIDE 111

Why Cohomology?

A major theme of 20/21st century mathematics Constructive witnesses for non-existence, instead of proofs by contradiction Often computable

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 24 / 35

slide-112
SLIDE 112

Why Cohomology?

A major theme of 20/21st century mathematics Constructive witnesses for non-existence, instead of proofs by contradiction Often computable Increasingly coming into applications (e.g. persistent homology, TDA)

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 24 / 35

slide-113
SLIDE 113

Why Cohomology?

A major theme of 20/21st century mathematics Constructive witnesses for non-existence, instead of proofs by contradiction Often computable Increasingly coming into applications (e.g. persistent homology, TDA) Part of the program of developing a widely applicable mathematical theory of contextuality

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 24 / 35

slide-114
SLIDE 114

Summary of Cohomological Characterization

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 25 / 35

slide-115
SLIDE 115

Summary of Cohomological Characterization

We have a cover U = {C1, . . . , Cn}

  • f measurement contexts.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 25 / 35

slide-116
SLIDE 116

Summary of Cohomological Characterization

We have a cover U = {C1, . . . , Cn}

  • f measurement contexts.

Given s = s1 ∈ Se(C1), we define z = δ0(s1, . . . , sn), where s1|C1∩Ci = si|C1∩Ci, i = 1, . . . , n.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 25 / 35

slide-117
SLIDE 117

Summary of Cohomological Characterization

We have a cover U = {C1, . . . , Cn}

  • f measurement contexts.

Given s = s1 ∈ Se(C1), we define z = δ0(s1, . . . , sn), where s1|C1∩Ci = si|C1∩Ci, i = 1, . . . , n. This is a cocycle in the relative ˘ Cech cohomology with respect to C1.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 25 / 35

slide-118
SLIDE 118

Summary of Cohomological Characterization

We have a cover U = {C1, . . . , Cn}

  • f measurement contexts.

Given s = s1 ∈ Se(C1), we define z = δ0(s1, . . . , sn), where s1|C1∩Ci = si|C1∩Ci, i = 1, . . . , n. This is a cocycle in the relative ˘ Cech cohomology with respect to C1. We define γ(s) = [z] ∈ ˇ H1(U, F ¯

C1)

where F is the AbGrp-valued presheaf Z[Se].

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 25 / 35

slide-119
SLIDE 119

Summary of Cohomological Characterization

We have a cover U = {C1, . . . , Cn}

  • f measurement contexts.

Given s = s1 ∈ Se(C1), we define z = δ0(s1, . . . , sn), where s1|C1∩Ci = si|C1∩Ci, i = 1, . . . , n. This is a cocycle in the relative ˘ Cech cohomology with respect to C1. We define γ(s) = [z] ∈ ˇ H1(U, F ¯

C1)

where F is the AbGrp-valued presheaf Z[Se]. Here γ is in fact the connecting homomorphism of the long exact sequence.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 25 / 35

slide-120
SLIDE 120

Basic Results

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 26 / 35

slide-121
SLIDE 121

Basic Results

Proposition

The following are equivalent:

1

The cohomology obstruction vanishes: γ(s1) = 0.

2

There is a family {ri ∈ F(Ci)} with s1 = r1, and for all i, j: ri|Ci ∩ Cj = rj|Ci ∩ Cj.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 26 / 35

slide-122
SLIDE 122

Basic Results

Proposition

The following are equivalent:

1

The cohomology obstruction vanishes: γ(s1) = 0.

2

There is a family {ri ∈ F(Ci)} with s1 = r1, and for all i, j: ri|Ci ∩ Cj = rj|Ci ∩ Cj.

Proposition

If the model e is possibilistically extendable, then the obstruction vanishes for every section in the support of the model. If e is not strongly contextual, then the

  • bstruction vanishes for some section in the support.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 26 / 35

slide-123
SLIDE 123

Basic Results

Proposition

The following are equivalent:

1

The cohomology obstruction vanishes: γ(s1) = 0.

2

There is a family {ri ∈ F(Ci)} with s1 = r1, and for all i, j: ri|Ci ∩ Cj = rj|Ci ∩ Cj.

Proposition

If the model e is possibilistically extendable, then the obstruction vanishes for every section in the support of the model. If e is not strongly contextual, then the

  • bstruction vanishes for some section in the support.

Thus non-vanishing of the obstruction provides a cohomological witness for contextuality.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 26 / 35

slide-124
SLIDE 124

Notes on Cohomology

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 27 / 35

slide-125
SLIDE 125

Notes on Cohomology

There are false positives because of negative coefficients in cochains.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 27 / 35

slide-126
SLIDE 126

Notes on Cohomology

There are false positives because of negative coefficients in cochains. We can effectively compute (mod 2) witnesses in many cases of interest: GHZ, Kylachko, Peres-Mermin, large class of Kochen-Specker models, . . .

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 27 / 35

slide-127
SLIDE 127

Notes on Cohomology

There are false positives because of negative coefficients in cochains. We can effectively compute (mod 2) witnesses in many cases of interest: GHZ, Kylachko, Peres-Mermin, large class of Kochen-Specker models, . . . In Contextuality, Cohomology and Paradox (ABKLM 2015), we obtain very general results in cases where the outcomes themselves have a module structure (over the same ring as the cohomology coefficients).

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 27 / 35

slide-128
SLIDE 128

Notes on Cohomology

There are false positives because of negative coefficients in cochains. We can effectively compute (mod 2) witnesses in many cases of interest: GHZ, Kylachko, Peres-Mermin, large class of Kochen-Specker models, . . . In Contextuality, Cohomology and Paradox (ABKLM 2015), we obtain very general results in cases where the outcomes themselves have a module structure (over the same ring as the cohomology coefficients). This yields cohomological characterisations of All-vs.-Nothing proofs (Mermin). These account for most of the contextuality arguments in the quantum literature. In particular, we can find large classes of concrete examples in stabiliser QM.

Theorem

Let S be an empirical model on X, M, R. Then: AvNR(S) ⇒ SC(Aff S) ⇒ CSCR(S) ⇒ CSCZ(S) ⇒ SC(S) .

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 27 / 35

slide-129
SLIDE 129

Relational databases

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 28 / 35

slide-130
SLIDE 130

Relational databases

This geometric picture and the associated methods can be applied to a wide range

  • f situations in classical computer science.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 28 / 35

slide-131
SLIDE 131

Relational databases

This geometric picture and the associated methods can be applied to a wide range

  • f situations in classical computer science.

In particular, as we shall now see, there is an isomorphism between the formal description we have given for the quantum notions of non-locality and contextuality, and basic definitions and concepts in relational database theory.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 28 / 35

slide-132
SLIDE 132

Relational databases

This geometric picture and the associated methods can be applied to a wide range

  • f situations in classical computer science.

In particular, as we shall now see, there is an isomorphism between the formal description we have given for the quantum notions of non-locality and contextuality, and basic definitions and concepts in relational database theory. Samson Abramsky, ‘Relational databases and Bell’s theorem’, In In Search of Elegance in the Theory and Practice of Computation: Essays Dedicated to Peter Buneman, Springer 2013.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 28 / 35

slide-133
SLIDE 133

Relational databases

This geometric picture and the associated methods can be applied to a wide range

  • f situations in classical computer science.

In particular, as we shall now see, there is an isomorphism between the formal description we have given for the quantum notions of non-locality and contextuality, and basic definitions and concepts in relational database theory. Samson Abramsky, ‘Relational databases and Bell’s theorem’, In In Search of Elegance in the Theory and Practice of Computation: Essays Dedicated to Peter Buneman, Springer 2013. branch-name account-no customer-name balance Cambridge 10991-06284 Newton £2,567.53 Hanover 10992-35671 Leibniz e11,245.75 . . . . . . . . . . . .

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 28 / 35

slide-134
SLIDE 134

From possibility models to databases

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 29 / 35

slide-135
SLIDE 135

From possibility models to databases

Consider again the Hardy model: (0, 0) (0, 1) (1, 0) (1, 1) (a1, b1) 1 1 1 1 (a1, b2) 1 1 1 (a2, b1) 1 1 1 (a2, b2) 1 1 1

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 29 / 35

slide-136
SLIDE 136

From possibility models to databases

Consider again the Hardy model: (0, 0) (0, 1) (1, 0) (1, 1) (a1, b1) 1 1 1 1 (a1, b2) 1 1 1 (a2, b1) 1 1 1 (a2, b2) 1 1 1 Change of perspective: a1, a2, b1, b2 attributes 0, 1 data values joint outcomes of measurements tuples

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 29 / 35

slide-137
SLIDE 137

The Hardy model as a relational database

The four rows of the model turn into four relation tables: a1 b1 1 1 1 1 a1 b2 1 1 1 1 a2 b1 1 1 1 1 a2 b2 1 1

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 30 / 35

slide-138
SLIDE 138

The Hardy model as a relational database

The four rows of the model turn into four relation tables: a1 b1 1 1 1 1 a1 b2 1 1 1 1 a2 b1 1 1 1 1 a2 b2 1 1 What is the DB property corresponding to the presence of non-locality/contextuality in the Hardy table?

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 30 / 35

slide-139
SLIDE 139

The Hardy model as a relational database

The four rows of the model turn into four relation tables: a1 b1 1 1 1 1 a1 b2 1 1 1 1 a2 b1 1 1 1 1 a2 b2 1 1 What is the DB property corresponding to the presence of non-locality/contextuality in the Hardy table? There is no universal relation: no table a1 a2 b1 b2 . . . . . . . . . . . . whose projections onto {ai, bi}, i = 1, 2, yield the above four tables.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 30 / 35

slide-140
SLIDE 140

A dictionary

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 31 / 35

slide-141
SLIDE 141

A dictionary

Relational databases measurement scenarios attribute measurement set of attributes defining a relation table compatible set of measurements database schema measurement cover tuple local section (joint outcome) relation/set of tuples boolean distribution on joint outcomes universal relation instance global section/hidden variable model acyclicity Vorob’ev condition

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 31 / 35

slide-142
SLIDE 142

A dictionary

Relational databases measurement scenarios attribute measurement set of attributes defining a relation table compatible set of measurements database schema measurement cover tuple local section (joint outcome) relation/set of tuples boolean distribution on joint outcomes universal relation instance global section/hidden variable model acyclicity Vorob’ev condition We can also consider probabilistic databases and other generalisations;

  • cf. provenance semirings.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 31 / 35

slide-143
SLIDE 143

Contextual Semantics

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 32 / 35

slide-144
SLIDE 144

Contextual Semantics

Why do such similar structures arise in such apparently different settings?

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 32 / 35

slide-145
SLIDE 145

Contextual Semantics

Why do such similar structures arise in such apparently different settings? The phenomenon of contextuality is pervasive. Once we start looking for it, we can find it everywhere! Physics, computation, logic, natural language, . . . biology, economics, . . .

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 32 / 35

slide-146
SLIDE 146

Contextual Semantics

Why do such similar structures arise in such apparently different settings? The phenomenon of contextuality is pervasive. Once we start looking for it, we can find it everywhere! Physics, computation, logic, natural language, . . . biology, economics, . . . The Contextual semantics hypothesis: we can find common mathematical structure in all these diverse manifestations, and develop a widely applicable theory.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 32 / 35

slide-147
SLIDE 147

Contextual Semantics

Why do such similar structures arise in such apparently different settings? The phenomenon of contextuality is pervasive. Once we start looking for it, we can find it everywhere! Physics, computation, logic, natural language, . . . biology, economics, . . . The Contextual semantics hypothesis: we can find common mathematical structure in all these diverse manifestations, and develop a widely applicable theory. More than a hypothesis! Already extensive results in

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 32 / 35

slide-148
SLIDE 148

Contextual Semantics

Why do such similar structures arise in such apparently different settings? The phenomenon of contextuality is pervasive. Once we start looking for it, we can find it everywhere! Physics, computation, logic, natural language, . . . biology, economics, . . . The Contextual semantics hypothesis: we can find common mathematical structure in all these diverse manifestations, and develop a widely applicable theory. More than a hypothesis! Already extensive results in Quantum information and foundations: hierarchy of contextuality, logical characterisation of Bell inequalities, classification of multipartite entangled states, cohomological characterisation of contextuality, contextual fraction as a measure of contextuality, resource theorty for contextuality, applications to quantum advantage, quantum homomorphisms and the the quantum monad, developments towards quantum finite model theory . . .

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 32 / 35

slide-149
SLIDE 149

Contextual Semantics

Why do such similar structures arise in such apparently different settings? The phenomenon of contextuality is pervasive. Once we start looking for it, we can find it everywhere! Physics, computation, logic, natural language, . . . biology, economics, . . . The Contextual semantics hypothesis: we can find common mathematical structure in all these diverse manifestations, and develop a widely applicable theory. More than a hypothesis! Already extensive results in Quantum information and foundations: hierarchy of contextuality, logical characterisation of Bell inequalities, classification of multipartite entangled states, cohomological characterisation of contextuality, contextual fraction as a measure of contextuality, resource theorty for contextuality, applications to quantum advantage, quantum homomorphisms and the the quantum monad, developments towards quantum finite model theory . . . And beyond: connections with databases, robust refinement of the constraint satisfaction paradigm, application of contextual semantics to natural language semantics, connections with team semantics in Dependence logics, . . .

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 32 / 35

slide-150
SLIDE 150

People

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 33 / 35

slide-151
SLIDE 151

People

Adam Brandenburger, Lucien Hardy, Shane Mansfield, Rui Soares Barbosa, Ray Lal, Mehrnoosh Sadrzadeh, Phokion Kolaitis, Georg Gottlob, Carmen Constantin, Kohei Kishida. Giovanni Caru, Linde Wester, Nadish de Silva

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 33 / 35

slide-152
SLIDE 152

References

Papers (available on arXiv):

  • S. Abramsky and A. Brandenburger. The sheaf-theoretic structure of

non-locality and contextuality. New Journal of Physics, 13(2011):113036, 2011.

  • S. Abramsky, Contextual Semantics: From Quantum Mechanics to Logic,

Databases, Constraints, and Complexity, in Bulletin of the European Association for Theoretical Computer Science, Number 113, pages 137–163, June 2014.

  • S. Abramsky and L. Hardy. Logical Bell Inequalities. Phys. Rev. A 85,

062114 (2012).

  • S. Abramsky, Relational Databases and Bell’s Theorem, In In Search of

Elegance in the Theory and Practice of Computation: Essays Dedicated to Peter Buneman, Springer 2013.

  • S. Abramsky, G. Gottlob and P. Kolaitis, Robust Constraint Satisfaction and

Local Hidden Variables in Quantum Mechanics, Proceedings IJCAI 2013.

  • S. Abramsky, Rui Soares Barbosa, Kohei Kishida, Ray Lal and Shane

Mansfield, Contextuality, Cohomology and Paradox. Proceedings CSL 2015.

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 34 / 35

slide-153
SLIDE 153

The Penrose Tribar

Samson Abramsky (Department of Computer Science, University of Oxford) Introduction to the sheaf-theoretic approach to contextuality 35 / 35