L11: Algebraic Path Problems with applications to Internet Routing Lecture 15. Path Weight with functions on arcs?

Size: px
Start display at page:

Download "L11: Algebraic Path Problems with applications to Internet Routing Lecture 15. Path Weight with functions on arcs?"

Transcription

1 L11: Algebraic Path Problems with applications to Internet Routing Lecture 15 Timothy G. Griffin Computer Laboratory University of Cambridge, UK Michaelmas Term, 2016 tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 151 / 21 Path Weight with functions on arcs? For graph G pv, Eq, and arc path p pu 0, u 1 qpu 1, u 2 q pu k 1, u k q. Functions on arcs: two natural ways to do this... Weight function w : E Ñ ps Ñ Sq. Let f j wpu j 1, u j q. wa L ppq f 1 pf 2 p f k paq qq pf 1 f 2 f k qpaq wa R ppq f k pf k 1 p f 1 paq qq pf k f k 1 f 1 qpaq How can we make this work for path problems? tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 152 / 21

2 Algebra of Monoid Endomorphisms (AME) (See Gondran and Minoux 2008) Let ps,, 0q be a commutative monoid. ps,, F Ď S Ñ S, 0q is an algebra of monoid endomorphisms (AME) P F, f p0q P c P S, f pb cq f pbq f pcq I will declare these as g P F, f g P F (closed) Di P P S, ipsq s Dω P P N, ωpnq 0 Note: as with semirings, we may have to drop some of these axioms in order to model Internet routing... tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 153 / 21 So why do we want AMEs? Each (closed with ω and i) AME can be viewed as a semiring of functions. Suppose ps,, F, 0q is an algebra of monoid endomorphisms. We can turn it into a semiring F pf, ˆ,, ω, iq where pf ˆ gqpaq f paq gpaq and pf gqpaq f pgpaqq. But functions are hard to work with... All algorithms need to check equality over elements of a semiring f g P S, f paq gpaq S can be very large, or infinite... tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 154 / 21

3 How do we represent a set of functions F Ď S Ñ S? Assume we a set L and a function P L Ñ ps Ñ Sq. We normally write l s rather than plqpsq. We think of l P L as the index for a function f l psq l s. In this way pl, q can be used to represent the set of functions F tf l λs.pl sq l P Lu. tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 155 / 21 Indexed Algebra of Monoid Endomorphisms (IAME) Let ps,, 0q be a commutative and idempotent monoid. A (left) IAME ps, L,,, 0q P L Ñ ps Ñ P L, l 0 0 Dl P P S, l s s Dl P P S, l s P m P S, l pn mq pl nq pl mq When we need closure? Not very often! If needed, it would 1, l 2 P L, Dl 3 P P S, l 3 s l 1 pl 2 sq tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 156 / 21

4 IAME of Matrices Given a left IAME ps, L,,, 0q define the left IAME of matrices pm n psq, M n plq,,, Jq. For all i, j we have Jpi, jq 0. For A P M n plq and B, C P M n psq define pb Cqpi, jq Bpi, jq Cpi, jq pa Bqpi, jq à 1ďqďn Api, qq Bpq, jq tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 157 / 21 Solving (some) equations. Left version here... We will be interested in solving for L equations of the form L pa Lq B Let A 0 B B A k`1 B A pa k Bq and A pkq B A 0 B A 1 B A 2 B A k B A B A 0 B A 1 B A 2 B A k B tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 158 / 21

5 Key result (again) q stability If there exists a q such that for all B, A pqq B A pq`1q B, then A is q-stable. Therefore, A B A pqq B. Theorm If A is q-stable, then L A pbq solves the equation L pa Lq B. tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lecture 159 / 21 Something familiar : Lexicographic product ps, L S, S, S q ˆpT, L T, T, T q psˆt, L SˆL T, S ˆ T, Sˆ T q Theorem Where DppS, L S, S, S q ˆ pt, L T, T, T qq ðñ DpS, L S, S, S q ^DpT, L T, T, T q ^ pcps, L S, S q _KpT, L T, T qq DpS, L,, b P S, l P L, l pa bq pl aq pl bq CpS, L, b P S, l P L, l a l b ùñ a b KpS, L, b P S, l P L, l a l b tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21

6 Something new: Functional Union ps, L 1,, 1 q `m ps, L 2,, 2 q ps, L 1 Z L 2,, 1 Z 2 q Where Fact inlplq p 1 Z 2 q s l 1 s inrplq p 1 Z 2 q s l 2 s DppS, L 1,, 1 q `m ps, L 2,, 2 qq ðñ DpS, L 1,, 1 q ^DpS, L 2,, 2 q tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21 Left and Right rightps, q ps, tru,, rightq leftps, q ps, S,, leftq The following are always hold. R right s s s 1 left s 2 s 1 DprightpS, qq IPpS, q ñ DpleftpS, qq CprightpS, qq KpleftpS, qq tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21

7 Scoped Product (Think ibgp/ebgp) ps, L S, S, S q Θ pt, L T, T, T q pps, L S, S, S q ˆ leftpt, T qq `m prightps, S q ˆ pt, L T, T, T qq Between regions (λ P L S, s P S, t 1, t 2 P T) inlpλ, t 2 q ps, t 1 q pλ S s, t 2 q Within regions (λ P L T, s P S, t P T) inrpr, λq ps, tq ps, λ T tq tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21 Theorem. If IPpT, T q, then pdpps, L S, S, S q Θ pt, L T, T, T qq ðñ DpS, L S, S, S q ^DpT, L T, T, T qq DpppS, L S, S, S q ˆ leftpt, T qq `m prightps, S q ˆ pt, L T, T, T qqq ðñ DppS, L S, S, S q ˆ leftpt, T qq ^ DpprightpS, S qq ˆ pt, L T, T, T qq ðñ DpS, L S, S, S q ^DpleftpT, T qq ^ pcps, L S, S q _KpleftpT, T qqq ^ DprightpS, S qq ^DpT, L T, T, T q ^ pcprightps, S qq _KpT, L T, T qq ðñ DpS, L S, S, S q ^DpT, L T, T, T q tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21

8 Homework 3 : Shortest Paths with Gains and Losses spgl pr ˆR,, q Where ps 1, t 1 q ps 2, t 2 q $ & % ps 1, t 1 min t 2 q (if s 1 s 1 ) ps 1, t 1 q (if s 1 s 1 min s 2 s 2 ) ps 2, t 2 q (if s 1 s 1 min s 2 s 2 ) pc 1, n 1 q pc 2, n 2 q pc 1 ` n 1 c 2, n 1 n 2 q tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture 15 / 21 Homework 3 : Calculating path weights in spgl ppc 1, n 1 q pc 2, n 2 qq pc 3, n 3 q pc 1 ` n 1 c 2, n 1 n 2 q pc 3, n 3 q pc 1 ` n 1 c 2 ` n 1 n 2 c 3, n 1 n 2 n 3 q pc 1, n 1 q pc 2, n 2 q pc 3, n 3 q pc k, n k q pc 1 ` n 1 c 2 ` n 1 n 2 c 3 ` ` n 1 n 2 n 3 n k 1 c k, n 1 n 2 n 3 n k q tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21

9 Homework 3 : Shortest Paths with Discounting Assume 0 ă δ ă 1. spd pr ˆN,, q Where ps 1, t 1 q ps 2, t 2 q $ & % ps 1, t 1 min t 2 q (if s 1 s 1 ) ps 1, t 1 q (if s 1 s 1 min s 2 s 2 ) ps 2, t 2 q (if s 1 s 1 min s 2 s 2 ) pc 1, n 1 q pc 2, n 2 q pc 1 ` c 2 δ n 1, n 1 ` n 2 q tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21 Homework 3 : Calculating path weights in spd ppc 1, n 1 q pc 2, n 2 qq pc 3, n 3 q pc 1 ` c 2 δ n 1, n 1 ` n 2 q pc 3, n 3 q pc 1 ` c 2 δ n 1 ` c 3 δ pn 1`n 2 q, n 1 ` n 2 ` n 3 q pc 1 ` c 2 δ n 1 ` c 3 δ n 1δ n 2, n 1 ` n 2 ` n 3 q tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21

10 Homework 3 : Can we generalise this kind of construction? Given semigroups ps, b S q and pt, b T q, and a function Write t s instead of ptqpsq. P T Ñ ps Ñ Sq Define the semi-direct product on S ˆ T as ps 1, t 1 q ps 2, t 2 q ps 1 b S pt 1 s 2 q, t 1 b T t 2 q Homework 3 : A new construction Assume is commutative and selective. ps, S, b S q pt, T, b T q ps ˆ T,, q where T ˆ T (lexicographic product). tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21 Homework 3 : Does this work? spgl Let then n c n ˆ c spgl pr, min, `q pr, min, ˆq spd Assume 0 ă δ ă 1 and n c c ˆδ n, then spd pr, min, `q pn, min, `q tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21

11 Homework 3 : Problems Question 1 (30 marks) When is ps ˆ T, q a semigroup? Question 2 (35 marks) When is ps, S, b S q pt, T, b T q left distributive? Question 3 (35 marks) When is ps, S, b S q pt, T, b T q right distributive? tgg22 (cl.cam.ac.uk) L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routing c 2015 Lecture / 21

L11: Algebraic Path Problems with applications to Internet Routing Lecture 9

L11: Algebraic Path Problems with applications to Internet Routing Lecture 9 L11: Algebraic Path Problems with applications to Internet Routing Lecture 9 Timothy G. Griffin timothy.griffin@cl.cam.ac.uk Computer Laboratory University of Cambridge, UK Michaelmas Term, 2017 tgg22

More information

L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lectures 1, 2 / 2, 64and

L11: Algebraic Path Problems with applications to Internet T.G.Griffin Routingc 2015 Lectures 1, 2 / 2, 64and L11: Algebraic Path Problems with applications to Internet Routing Lectures 1, 2, and 3 Timothy G. Grin timothy.grin@cl.cam.ac.uk Computer Laboratory University of Cambridge, UK Michaelmas Term, 2016 L11:

More information

L11: Algebraic Path Problems with applications to Internet Routing Lectures 7 and 8

L11: Algebraic Path Problems with applications to Internet Routing Lectures 7 and 8 L: Algebraic Path Problems with applications to Internet Routing Lectures 7 and 8 Timothy G. Grifn timothy.grifn@cl.cam.ac.uk Computer Laboratory University of Cambridge, UK Michaelmas Term, 27 tgg22 (cl.cam.ac.uk)

More information

What Have We Learned from Reverse-Engineering the Internet s Inter-domain Routing Protocol?

What Have We Learned from Reverse-Engineering the Internet s Inter-domain Routing Protocol? What Have We Learned from Reverse-Engineering the Internet s Inter-domain Routing Protocol? Timothy G. Griffin Computer Laboratory University of Cambridge, UK timothy.griffin@cl.cam.ac.uk Advanced Networks

More information

Building Algebraic Structures with Combinators

Building Algebraic Structures with Combinators Building Algebraic Structures with Combinators Vilius Naudžiūnas Timothy G. Griffin Vilius.Naudziunas@cl.cam.ac.uk timothy.griffin@cl.cam.ac.uk Computer Laboratory University of Cambridge, UK Model-Based

More information

MTH 505: Number Theory Spring 2017

MTH 505: Number Theory Spring 2017 MTH 505: Number Theory Spring 2017 Homework 1 Drew Armstrong 1.1. From pn, σ, 0q to pn, `,, 0, 1q. Recall Peano s four axioms for the natural numbers: (P1) There exists a special element called 0 P N.

More information

q-de Rham cohomology via Λ-rings

q-de Rham cohomology via Λ-rings q-de Rham cohomology via Λ-rings J.P.Pridham arxiv:1608.07142 1 / 21 q-analogues (Gauss) rns q : qn 1 q 1 1 q... qn 1 rns q! : rns q... r2s q r1s q, ¹ n 1 i 0 n 1 ¹ i 0 p1 p1 n k q : rns q! rn ksq!rksq!

More information

CS 173 Lecture 7: Arithmetic (II)

CS 173 Lecture 7: Arithmetic (II) CS 173 Lecture 7: Arithmetic (II) José Meseguer University of Illinois at Urbana-Champaign 1 The Fundamental Theorem of Arithmetic (Part II) Fundamental Theorem of Arithmetic (Part II). Every natural number

More information

DS-GA 3001: PROBLEM SESSION 2 SOLUTIONS VLADIMIR KOBZAR

DS-GA 3001: PROBLEM SESSION 2 SOLUTIONS VLADIMIR KOBZAR DS-GA 3: PROBLEM SESSION SOLUTIONS VLADIMIR KOBZAR Note: In this discussion we allude to the fact the dimension of a vector space is given by the number of basis vectors. We will shortly establish this

More information

RELATIVE THEORY IN SUBCATEGORIES. Introduction

RELATIVE THEORY IN SUBCATEGORIES. Introduction RELATIVE THEORY IN SUBCATEGORIES SOUD KHALIFA MOHAMMED Abstract. We generalize the relative (co)tilting theory of Auslander- Solberg [9, 1] in the category mod Λ of finitely generated left modules over

More information

A TASTE OF COMBINATORIAL REPRESENTATION THEORY. MATH B4900 5/02/2018

A TASTE OF COMBINATORIAL REPRESENTATION THEORY. MATH B4900 5/02/2018 A TASTE OF COMBINATORIAL REPRESENTATION THEORY. MATH B4900 5/02/2018 Young s Lattice is an infinite leveled labeled graph with vertices and edges as follows. Vertices: Label vertices in label vertices

More information

STAT111 - Homework 3 - Solutions

STAT111 - Homework 3 - Solutions STAT111 - Homework 3 - Solutions 30 points in total Problem 1 (IPS 4.39), 3 points Let A at least one of them is universal donor, then A c = all of them are not universal donor. By complement rule. P paq

More information

Local behaviour of Galois representations

Local behaviour of Galois representations Local behaviour of Galois representations Devika Sharma Weizmann Institute of Science, Israel 23rd June, 2017 Devika Sharma (Weizmann) 23rd June, 2017 1 / 14 The question Let p be a prime. Let f ř 8 ně1

More information

Exam 1 Solutions. Solution: The 16 contributes 5 to the total and contributes 2. All totaled, there are 5 ˆ 2 10 abelian groups.

Exam 1 Solutions. Solution: The 16 contributes 5 to the total and contributes 2. All totaled, there are 5 ˆ 2 10 abelian groups. Math 5372 Spring 2014 Exam 1 Solutions 1. (15 points) How many abelian groups are there of order: (a) 16 For any prime p, there are as many groups of order p k as there are partitions of k. The number

More information

arxiv: v1 [math.nt] 23 May 2017

arxiv: v1 [math.nt] 23 May 2017 arxiv:1705.08232v1 [math.nt] 23 May 2017 An equation about sum of primes with digital sum constraints Haifeng Xu February 12, 2018 Abstract We know that any prime number of form 4s ` 1 can be written as

More information

Very quick introduction to the conformal group and cft

Very quick introduction to the conformal group and cft CHAPTER 1 Very quick introduction to the conformal group and cft The world of Conformal field theory is big and, like many theories in physics, it can be studied in many ways which may seem very confusing

More information

On Borel maps, calibrated σ-ideals and homogeneity

On Borel maps, calibrated σ-ideals and homogeneity On Borel maps, calibrated σ-ideals and homogeneity Institute of Mathematics University of Warsaw Ideals and exceptional sets in Polish spaces, Lausanne, 4-8 June 2018 The results come from a joint paper

More information

The exam is closed book, closed calculator, and closed notes except your one-page crib sheet.

The exam is closed book, closed calculator, and closed notes except your one-page crib sheet. CS 88 Spring 207 Introduction to Artificial Intelligence Final v0 You have approximately 65 minutes (2 hours 45 minutes). The exam is closed book, closed calculator, and closed notes except your one-page

More information

NOTES WEEK 15 DAY 1 SCOT ADAMS

NOTES WEEK 15 DAY 1 SCOT ADAMS NOTES WEEK 15 DAY 1 SCOT ADAMS We fix some notation for the entire class today: Let n P N, W : R n, : 2 P N pw q, W : LpW, W q, I : id W P W, z : 0 W 0 n. Note that W LpR n, R n q. Recall, for all T P

More information

PRINCIPLES OF ANALYSIS - LECTURE NOTES

PRINCIPLES OF ANALYSIS - LECTURE NOTES PRINCIPLES OF ANALYSIS - LECTURE NOTES PETER A. PERRY 1. Constructions of Z, Q, R Beginning with the natural numbers N t1, 2, 3,...u we can use set theory to construct, successively, Z, Q, and R. We ll

More information

The Emptiness Problem for Valence Automata or: Another Decidable Extension of Petri Nets

The Emptiness Problem for Valence Automata or: Another Decidable Extension of Petri Nets The Emptiness Problem for Valence Automata or: Another Decidable Extension of Petri Nets Georg Zetzsche Technische Universität Kaiserslautern Reachability Problems 2015 Georg Zetzsche (TU KL) Emptiness

More information

t-deformations of Grothendieck rings as quantum cluster algebras

t-deformations of Grothendieck rings as quantum cluster algebras as quantum cluster algebras Universite Paris-Diderot June 7, 2018 Motivation U q pĝq : untwisted quantum Kac-Moody affine algebra of simply laced type, where q P C is not a root of unity, C : the category

More information

Review++ of linear algebra continues

Review++ of linear algebra continues Review++ of linear algebra continues Recall a matrix A P M m,n pf q is an array 1 1 2 1 1 n A p j i q 1 2 2 2 2 n...... 1 m n m This encodes a map ' P HompF n,f m q via the images of basis vectors of F

More information

1. Examples. We did most of the following in class in passing. Now compile all that data.

1. Examples. We did most of the following in class in passing. Now compile all that data. SOLUTIONS Math A4900 Homework 12 11/22/2017 1. Examples. We did most of the following in class in passing. Now compile all that data. (a) Favorite examples: Let R tr, Z, Z{3Z, Z{6Z, M 2 prq, Rrxs, Zrxs,

More information

SFWR ENG 3S03: Software Testing

SFWR ENG 3S03: Software Testing (Slide 1 of 64) Dr. Ridha Khedri Department of Computing and Software, McMaster University Canada L8S 4L7, Hamilton, Ontario and Acknowledgments: Material based on [FP97, Chapter 2] and [Zus97, Chapter

More information

For example, p12q p2x 1 x 2 ` 5x 2 x 2 3 q 2x 2 x 1 ` 5x 1 x 2 3. (a) Let p 12x 5 1x 7 2x 4 18x 6 2x 3 ` 11x 1 x 2 x 3 x 4,

For example, p12q p2x 1 x 2 ` 5x 2 x 2 3 q 2x 2 x 1 ` 5x 1 x 2 3. (a) Let p 12x 5 1x 7 2x 4 18x 6 2x 3 ` 11x 1 x 2 x 3 x 4, SOLUTIONS Math A4900 Homework 5 10/4/2017 1. (DF 2.2.12(a)-(d)+) Symmetric polynomials. The group S n acts on the set tx 1, x 2,..., x n u by σ x i x σpiq. That action extends to a function S n ˆ A Ñ A,

More information

MATH 387 ASSIGNMENT 2

MATH 387 ASSIGNMENT 2 MATH 387 ASSIGMET 2 SAMPLE SOLUTIOS BY IBRAHIM AL BALUSHI Problem 4 A matrix A ra ik s P R nˆn is called symmetric if a ik a ki for all i, k, and is called positive definite if x T Ax ě 0 for all x P R

More information

RAMSEY PARTIAL ORDERS FROM ACYCLIC GRAPHS

RAMSEY PARTIAL ORDERS FROM ACYCLIC GRAPHS RAMSEY PARTIAL ORDERS FROM ACYCLIC GRAPHS JAROSLAV NEŠETŘIL AND VOJTĚCH RÖDL Abstract. We prove that finite partial orders with a linear extension form a Ramsey class. Our proof is based on the fact that

More information

HOPF ALGEBRAS AND LIE ALGEBRAS UCHICAGO PRO-SEMINAR - JANUARY 9, 2014

HOPF ALGEBRAS AND LIE ALGEBRAS UCHICAGO PRO-SEMINAR - JANUARY 9, 2014 HOPF ALGEBRAS AND LIE ALGEBRAS UCHICAGO PRO-SEMINAR - JANUARY 9, 2014 Hopf Algebras Lie Algebras Restricted Lie Algebras Poincaré-Birkhoff-Witt Theorem Milnor-Moore Theorem Cohomology of Lie Algebras Remark

More information

Lecture 20 FUNDAMENTAL Theorem of Finitely Generated Abelian Groups (FTFGAG)

Lecture 20 FUNDAMENTAL Theorem of Finitely Generated Abelian Groups (FTFGAG) Lecture 20 FUNDAMENTAL Theorem of Finitely Generated Abelian Groups (FTFGAG) Warm up: 1. Let n 1500. Find all sequences n 1 n 2... n s 2 satisfying n i 1 and n 1 n s n (where s can vary from sequence to

More information

HOMEWORK 4 MATH B4900 DUE: 2/28/ Annihilators. Let R be a ring with 1, and let M be an R-module. The annihilator of M in R is

HOMEWORK 4 MATH B4900 DUE: 2/28/ Annihilators. Let R be a ring with 1, and let M be an R-module. The annihilator of M in R is HOMEWORK 4 MATH B4900 DUE: 2/28/2018 SOLUTIONS Math B4900 Homework 4 2/28/2018 1. Annihilators. Let R be a ring with 1, and let M be an R-module. The annihilator of M in R is (a) Show that AnnpMq is an

More information

Sobolev-Type Extremal Polynomials

Sobolev-Type Extremal Polynomials Soolev-Type Extremal Polyomials (case of the sigular measures) Ael Díaz-Gozález Joi with Héctor Pijeira-Carera ULL 2016 Soolev-Type Extremal Polyomials adiazgo@math.uc3m.es 1 / 18 Moic extremal polyomials

More information

The simple essence of automatic differentiation

The simple essence of automatic differentiation The simple essence of automatic differentiation Conal Elliott Target January/June 2018 Conal Elliott January/June 2018 1 / 51 Differentiable programming made easy Current AI revolution runs on large data,

More information

DS-GA 1002: PREREQUISITES REVIEW SOLUTIONS VLADIMIR KOBZAR

DS-GA 1002: PREREQUISITES REVIEW SOLUTIONS VLADIMIR KOBZAR DS-GA 2: PEEQUISIES EVIEW SOLUIONS VLADIMI KOBZA he following is a selection of questions (drawn from Mr. Bernstein s notes) for reviewing the prerequisites for DS-GA 2. Questions from Ch, 8, 9 and 2 of

More information

Flag Varieties. Matthew Goroff November 2, 2016

Flag Varieties. Matthew Goroff November 2, 2016 Flag Varieties Matthew Goroff November 2, 2016 1. Grassmannian Variety Definition 1.1: Let V be a k-vector space of dimension n. The Grassmannian Grpr, V q is the set of r-dimensional subspaces of V. It

More information

Regularizing decompositions for matrix pencils and a topological classification of pairs of linear mappings

Regularizing decompositions for matrix pencils and a topological classification of pairs of linear mappings arxiv:403.2645v2 [math.rt] 3 May 204 Regularizing decompositions for matrix pencils and a topological classification of pairs of linear mappings Vyacheslav Futorny University of São Paulo, Brazil futorny@ime.usp.br

More information

arxiv: v1 [math.nt] 3 May 2017

arxiv: v1 [math.nt] 3 May 2017 arxiv:1705.01363v1 [math.nt] 3 May 2017 Expansions of arithmetic functions of several variables with respect to certain modified unitary Ramanujan sums László Tóth Department of Mathematics, University

More information

Existence of weak adiabatic limit in almost all models of perturbative QFT

Existence of weak adiabatic limit in almost all models of perturbative QFT Existence of weak adiabatic limit in almost all models of perturbative QFT Paweł Duch Jagiellonian University, Cracow, Poland LQP 40 Foundations and Constructive Aspects of Quantum Field Theory, 23.06.2017

More information

Random Variables. Andreas Klappenecker. Texas A&M University

Random Variables. Andreas Klappenecker. Texas A&M University Random Variables Andreas Klappenecker Texas A&M University 1 / 29 What is a Random Variable? Random variables are functions that associate a numerical value to each outcome of an experiment. For instance,

More information

Traces of rationality of Darmon points

Traces of rationality of Darmon points Traces of rationality of Darmon points [BD09] Bertolini Darmon, The rationality of Stark Heegner points over genus fields of real quadratic fields Seminari de Teoria de Nombres de Barcelona Barcelona,

More information

Approximation Algorithms using Allegories and Coq

Approximation Algorithms using Allegories and Coq Approximation Algorithms using Allegories and Coq Durjay Chowdhury Supervisor: Dr. Michael Winter Submitted in partial fulfilment of the requirements for the degree of Master of Science Department of Computer

More information

Solutions of exercise sheet 3

Solutions of exercise sheet 3 Topology D-MATH, FS 2013 Damen Calaque Solutons o exercse sheet 3 1. (a) Let U Ă Y be open. Snce s contnuous, 1 puq s open n X. Then p A q 1 puq 1 puq X A s open n the subspace topology on A. (b) I s contnuous,

More information

A Full RNS Implementation of Fan and Vercauteren Somewhat Homomorphic Encryption Scheme

A Full RNS Implementation of Fan and Vercauteren Somewhat Homomorphic Encryption Scheme A Full RNS Implementation of Fan and Vercauteren Somewhat Homomorphic Encryption Scheme Presented by: Vincent Zucca 1 Joint work with: Jean-Claude Bajard 1, Julien Eynard 2 and Anwar Hasan 2 1 Sorbonne

More information

Introduction to computability Tutorial 7

Introduction to computability Tutorial 7 Introduction to computability Tutorial 7 Context free languages and Turing machines November 6 th 2014 Context-free languages 1. Show that the following languages are not context-free: a) L ta i b j a

More information

INTERPLAY BETWEEN C AND VON NEUMANN

INTERPLAY BETWEEN C AND VON NEUMANN INTERPLAY BETWEEN C AND VON NEUMANN ALGEBRAS Stuart White University of Glasgow 26 March 2013, British Mathematical Colloquium, University of Sheffield. C AND VON NEUMANN ALGEBRAS C -algebras Banach algebra

More information

Bott periodicity and almost commuting matrices

Bott periodicity and almost commuting matrices Bott periodicity and almost commuting matrices Rufus Willett January 7, 2019 Abstract We give a proof of the Bott periodicity theorem for topological K-theory of C -algebras based on Loring s treatment

More information

MATH N1, Fall 2017 First midterm

MATH N1, Fall 2017 First midterm MATH 3670 - N1, Fall 2017 First midterm September 18th NAME: Instructions Only non-graphing calculator is allowed. Simple fraction expressions need not be converted to decimal expression. Notes, books,

More information

LTCS Report. On Confident GCIs of Finite Interpretations. Daniel Borchmann. LTCS-Report 12-06

LTCS Report. On Confident GCIs of Finite Interpretations. Daniel Borchmann. LTCS-Report 12-06 Technische Universität Dresden Institute for Theoretical Computer Science Chair for Automata Theory LTCS Report On Confident GCIs of Finite Interpretations Daniel Borchmann LTCS-Report 12-06 Postal Address:

More information

for Boolean coherent toposes

for Boolean coherent toposes for McMaster University McGill logic, category theory, and computation seminar 5 December 2017 What is first-order logic? A statement for a logical doctrine is an assertion that a theory in this logical

More information

An Intuitionistic Epistemic Logic for Sequential Consistency on Shared Memory

An Intuitionistic Epistemic Logic for Sequential Consistency on Shared Memory An Intuitionistic Epistemic Logic for Sequential Consistency on Shared Memory Yoichi Hirai 2010-04-27, Dakar Motivation Ÿ Ÿ Treating asynchronous communication using an epistemic logic. Shared memory consistency

More information

Math Treibergs. Solutions to Fourth Homework February 13, 2009

Math Treibergs. Solutions to Fourth Homework February 13, 2009 Math 5010 1. Treibergs Solutions to Fourth Homework February 13, 2009 76[12] Two roads join Ayton to Beaton, and two further roads join Beaton to the City. Ayton is directly connected to the City by railway.

More information

The simple essence of automatic differentiation

The simple essence of automatic differentiation The simple essence of automatic differentiation Conal Elliott Target January/June 2018 Conal Elliott January/June 2018 1 / 52 Machine learning: promise and problems Current AI revolution runs on large

More information

3. Signatures Problem 27. Show that if K` and K differ by a crossing change, then σpk`q

3. Signatures Problem 27. Show that if K` and K differ by a crossing change, then σpk`q 1. Introduction Problem 1. Prove that H 1 ps 3 zk; Zq Z and H 2 ps 3 zk; Zq 0 without using the Alexander duality. Problem 2. Compute the knot group of the trefoil. Show that it is not trivial. Problem

More information

Introduction to Finite-State Automata

Introduction to Finite-State Automata Introduction to Finite-State Automata John McDonough Language Technologies Institute, Machine Learning for Signal Processing Group, Carnegie Mellon University March 26, 2012 Introduction In this lecture,

More information

Some multilinear algebra

Some multilinear algebra Some multilinear algera Multilinear forms Let V e a finite dimensional R-vector space, dim V n. For k P N 0, we denote y T k V the vector space of k-linear forms Then T 1 V V and, y convention, T 0 V R.

More information

Absorbing Lexicographic Products in Metarouting

Absorbing Lexicographic Products in Metarouting Absorbing Lexicographic Products in Metarouting Eric Parsonage, Hung X. Nguyen, Matthew Roughan University of Adelaide, Australia {eric.parsonage,hung.nguyen,matthew.roughan}@adelaide.edu.au Abstract Modern

More information

Axioms of Kleene Algebra

Axioms of Kleene Algebra Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.

More information

Matricial R-circular Systems and Random Matrices

Matricial R-circular Systems and Random Matrices Instytut Matematyki i Informatyki Politechnika Wrocławska UC Berkeley, March 2014 Motivations Motivations: describe asymptotic distributions of random blocks construct new random matrix models unify concepts

More information

APPROXIMATE HOMOMORPHISMS BETWEEN THE BOOLEAN CUBE AND GROUPS OF PRIME ORDER

APPROXIMATE HOMOMORPHISMS BETWEEN THE BOOLEAN CUBE AND GROUPS OF PRIME ORDER APPROXIMATE HOMOMORPHISMS BETWEEN THE BOOLEAN CUBE AND GROUPS OF PRIME ORDER TOM SANDERS The purpose of this note is to highlight a question raised by Shachar Lovett [Lov], and to offer some motivation

More information

Lecture 19 - Covariance, Conditioning

Lecture 19 - Covariance, Conditioning THEORY OF PROBABILITY VLADIMIR KOBZAR Review. Lecture 9 - Covariance, Conditioning Proposition. (Ross, 6.3.2) If X,..., X n are independent normal RVs with respective parameters µ i, σi 2 for i,..., n,

More information

The simple essence of automatic differentiation

The simple essence of automatic differentiation The simple essence of automatic differentiation Conal Elliott Target January 2018 Conal Elliott January 2018 1 / 45 What s a derivative? Number Vector Covector Matrix Higher derivatives Chain rule for

More information

NOTES WEEK 10 DAY 2. Unassigned HW: Let V and W be finite dimensional vector spaces and let x P V. Show, for all f, g : V W, that

NOTES WEEK 10 DAY 2. Unassigned HW: Let V and W be finite dimensional vector spaces and let x P V. Show, for all f, g : V W, that NOTES WEEK 10 DAY 2 SCOT ADAMS Unassigned HW: Let V and W be finite dimensional vector spaces and let x P V. Show, for all f, g : V W, that D x pf ` gq pd x fq ` pd x gq. Also, show, for all c P R, for

More information

MATH 260 Homework 2 solutions. 7. (a) Compute the dimension of the intersection of the following two planes in R 3 : x 2y z 0, 3x 3y z 0.

MATH 260 Homework 2 solutions. 7. (a) Compute the dimension of the intersection of the following two planes in R 3 : x 2y z 0, 3x 3y z 0. MATH 6 Homework solutions Problems from Dr Kazdan s collection 7 (a) Compute the dimension of the intersection of the following two planes in R 3 : x y z, 3x 3y z (b) A map L: R 3 R is defined by the matrix

More information

Background on Metric Geometry, I. Facundo Mémoli Math and CSE Departments, OSU.

Background on Metric Geometry, I. Facundo Mémoli Math and CSE Departments, OSU. Math and CSE Departments, OSU. memoli@math.osu.edu 2014 Table of Contents 1. metric A question about nets metric metric : a first metric 2. Bibliography metric metric Burago, Burago and Ivanov s book [BBI01].

More information

NOTES WEEK 14 DAY 2 SCOT ADAMS

NOTES WEEK 14 DAY 2 SCOT ADAMS NOTES WEEK 14 DAY 2 SCOT ADAMS We igligt tat it s possible to ave two topological spaces and a continuous bijection from te one to te oter wose inverse is not continuous: Let I : r0, 2πq and let C : tpx,

More information

Jeff Connor IDEAL CONVERGENCE GENERATED BY DOUBLE SUMMABILITY METHODS

Jeff Connor IDEAL CONVERGENCE GENERATED BY DOUBLE SUMMABILITY METHODS DEMONSTRATIO MATHEMATICA Vol. 49 No 1 2016 Jeff Connor IDEAL CONVERGENCE GENERATED BY DOUBLE SUMMABILITY METHODS Communicated by J. Wesołowski Abstract. The main result of this note is that if I is an

More information

Degeneration of Bethe subalgebras in the Yangian

Degeneration of Bethe subalgebras in the Yangian Degeneration of Bethe subalgebras in the Yangian National Research University Higher School of Economics Faculty of Mathematics Moscow, Russia Washington, 2018 Yangian for gl n Let V C n, Rpuq 1 P u 1

More information

The essence and origins of FRP

The essence and origins of FRP The essence and origins of FRP Conal Elliott June 13, 2015 Conal Elliott The essence and origins of FRP June 13, 2015 1 / 31 What is FRP? Conal Elliott The essence and origins of FRP June 13, 2015 2 /

More information

Review: Review: 'pgq imgp'q th P H h 'pgq for some g P Gu H; kerp'q tg P G 'pgq 1 H u G.

Review: Review: 'pgq imgp'q th P H h 'pgq for some g P Gu H; kerp'q tg P G 'pgq 1 H u G. Review: A homomorphism is a map ' : G Ñ H between groups satisfying 'pg 1 g 2 q 'pg 1 q'pg 2 q for all g 1,g 2 P G. Anisomorphism is homomorphism that is also a bijection. We showed that for any homomorphism

More information

arxiv: v2 [math.pr] 26 Jun 2017

arxiv: v2 [math.pr] 26 Jun 2017 A COUPLE OF REMARKS ON THE CONVERGENCE OF σ-fields ON PROBABILITY SPACES MATIJA VIDMAR arxiv:06.02848v2 [math.pr] 26 Jun 2017 Abstract. The following modes of convergence of sub-σ-fields on a given probability

More information

Lexicographic products in metarouting

Lexicographic products in metarouting Lexicographic products in metarouting Alexander J. T. Gurney Computer Laboratory University of Cambridge Email: Alexander.Gurney@cl.cam.ac.uk Timothy G. Griffin Computer Laboratory University of Cambridge

More information

4.4 Solving Congruences using Inverses

4.4 Solving Congruences using Inverses 4.4 Solving Congruences using Inverses Solving linear congruences is analogous to solving linear equations in calculus. Our first goal is to solve the linear congruence ax b pmod mq for x. Unfortunately

More information

arxiv: v1 [math.ag] 10 Nov 2015

arxiv: v1 [math.ag] 10 Nov 2015 A REMARK ON A POLYNOMIAL MAPPING F : C n Ñ C n arxiv:1511.03133v1 [math.ag] 10 Nov 2015 NGUYEN THI BICH THUY Abstract. In [V-V], Guillaume and Anna Valette associate singular varieties V F to a polynomial

More information

Public-Key Encryption

Public-Key Encryption Public-Key Encryption 601.642/442: Modern Cryptography Fall 2017 601.642/442: Modern Cryptography Public-Key Encryption Fall 2017 1 / 14 The Setting Alice and Bob don t share any secret Alice wants to

More information

Exam 2 Solutions. In class questions

Exam 2 Solutions. In class questions Math 5330 Spring 2018 Exam 2 Solutions In class questions 1. (15 points) Solve the following congruences. Put your answer in the form of a congruence. I usually find it easier to go from largest to smallest

More information

Introduction to Applied Algebraic Topology

Introduction to Applied Algebraic Topology Introduction to Applied Algebraic Topology Tom Needham Last Updated: December 10, 2017 These are lecture notes for the course MATH 4570 at the Ohio State University. They are a work in progress and certainly

More information

Draft. Lecture 12 Gaussian Elimination and LU Factorization. MATH 562 Numerical Analysis II. Songting Luo

Draft. Lecture 12 Gaussian Elimination and LU Factorization. MATH 562 Numerical Analysis II. Songting Luo Lecture 12 Gaussian Elimination and LU Factorization Songting Luo Department of Mathematics Iowa State University MATH 562 Numerical Analysis II ongting Luo ( Department of Mathematics Iowa State University[0.5in]

More information

The Riemann Roch theorem for metric graphs

The Riemann Roch theorem for metric graphs The Riemann Roch theorem for metric graphs R. van Dobben de Bruyn 1 Preface These are the notes of a talk I gave at the graduate student algebraic geometry seminar at Columbia University. I present a short

More information

Fun with Semirings. A functional pearl on the abuse of linear algebra. Stephen Dolan

Fun with Semirings. A functional pearl on the abuse of linear algebra. Stephen Dolan A functional pearl on the abuse of linear algebra Computer Laboratory University of Cambridge stephen.dolan@cl.cam.ac.uk September 25, 2013 Linear algebra is magic If your problem can be expressed as vectors

More information

Focus rules for segments. Focus and defocus rules for concatenation. Mlength with a while loop. Mlength with a while loop.

Focus rules for segments. Focus and defocus rules for concatenation. Mlength with a while loop. Mlength with a while loop. The function nth-cell Separation Logic Part 2 Returns the i-th cell of a list: Arthur Charguéraud February 2015 let rec nth_cell (i:int) (p: a cell) = if i = 0 then p else nth_cell (i-1) (p.tl) Why is

More information

Mariusz Jurkiewicz, Bogdan Przeradzki EXISTENCE OF SOLUTIONS FOR HIGHER ORDER BVP WITH PARAMETERS VIA CRITICAL POINT THEORY

Mariusz Jurkiewicz, Bogdan Przeradzki EXISTENCE OF SOLUTIONS FOR HIGHER ORDER BVP WITH PARAMETERS VIA CRITICAL POINT THEORY DEMONSTRATIO MATHEMATICA Vol. XLVIII No 1 215 Mariusz Jurkiewicz, Bogdan Przeradzki EXISTENCE OF SOLUTIONS FOR HIGHER ORDER BVP WITH PARAMETERS VIA CRITICAL POINT THEORY Communicated by E. Zadrzyńska Abstract.

More information

POLYHEDRAL PRODUCTS. Alex Suciu. Northeastern University

POLYHEDRAL PRODUCTS. Alex Suciu. Northeastern University REPRESENTATION VARIETIES AND POLYHEDRAL PRODUCTS Alex Suciu Northeastern University Special Session Representation Spaces and Toric Topology AMS Spring Eastern Sectional Meeting Hunter College, New York

More information

Homework 11 Solution - AME 30315, Spring 2015

Homework 11 Solution - AME 30315, Spring 2015 1 Homework 11 Solution - AME 30315, Spring 2015 Problem 1 [10/10 pts] R + - K G(s) Y Gpsq Θpsq{Ipsq and we are interested in the closed-loop pole locations as the parameter k is varied. Θpsq Ipsq k ωn

More information

REPRESENTATIONS OF GROUP ALGEBRAS. Contents. 1. Maschke s theorem: every submodule is a direct summand. References 6

REPRESENTATIONS OF GROUP ALGEBRAS. Contents. 1. Maschke s theorem: every submodule is a direct summand. References 6 REPRESENTATIONS OF GROUP ALGEBRAS ZAJJ DAUGHERTY MARCH 27, 28 Contents. Maschke s theorem: every submodule is a direct summand References 6 See [DF, Ch. 8] for proofs and more examples. Jumping back into

More information

An Introduction to Description Logic VIII Inherent intractability of terminological reasoning

An Introduction to Description Logic VIII Inherent intractability of terminological reasoning An Introduction to Description Logic VIII Inherent intractability of terminological reasoning Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc,

More information

Linear Algebra Basics

Linear Algebra Basics Linear Algebra Basics For the next chapter, understanding matrices and how to do computations with them will be crucial. So, a good first place to start is perhaps What is a matrix? A matrix A is an array

More information

NOTES WEEK 13 DAY 2 SCOT ADAMS

NOTES WEEK 13 DAY 2 SCOT ADAMS NOTES WEEK 13 DAY 2 SCOT ADAMS Recall: Let px, dq be a metric space. Then, for all S Ď X, we have p S is sequentially compact q ñ p S is closed and bounded q. DEFINITION 0.1. Let px, dq be a metric space.

More information

REAL ANALYSIS II TAKE HOME EXAM. T. Tao s Lecture Notes Set 5

REAL ANALYSIS II TAKE HOME EXAM. T. Tao s Lecture Notes Set 5 REAL ANALYSIS II TAKE HOME EXAM CİHAN BAHRAN T. Tao s Lecture Notes Set 5 1. Suppose that te 1, e 2, e 3,... u is a countable orthonormal system in a complex Hilbert space H, and c 1, c 2,... is a sequence

More information

Where is the Cone? Drew Armstrong August 16, 2017

Where is the Cone? Drew Armstrong  August 16, 2017 Where is the Cone? Drew Armstrong www.math.miami.edu/~armstrong August 16, 2017 Introduction A real quadric curve is defined by an equation of the form ax 2 ` bxy ` cy 2 ` dx ` ey ` f 0 for some real numbers

More information

b. Induction (LfP 50 3)

b. Induction (LfP 50 3) b. Induction (LfP 50 3) b.i. The principle of mathematical induction The principle of mathematical induction is a property of natural numbers. b.i.1. Natural numbers The natural numbers are the non-negative

More information

Lattice Properties of Oriented Exchange Graphs

Lattice Properties of Oriented Exchange Graphs 1 / 31 Lattice Properties of Oriented Exchange Graphs Al Garver (joint with Thomas McConville) Positive Grassmannians: Applications to integrable systems and super Yang-Mills scattering amplitudes July

More information

MATH 260 Class notes/questions January 10, 2013

MATH 260 Class notes/questions January 10, 2013 MATH 26 Class notes/questions January, 2 Linear transformations Last semester, you studied vector spaces (linear spaces) their bases, dimension, the ideas of linear dependence and linear independence Now

More information

Approximation of Weighted Local Mean Operators

Approximation of Weighted Local Mean Operators Approximation of Weighted Local ean Operators Jianzhong Wang Department of athematics and Statistics Sam Houston State University Huntsville, TX 7734 Abstract Recently, weighted local mean operators are

More information

Extensive Form Abstract Economies and Generalized Perfect Recall

Extensive Form Abstract Economies and Generalized Perfect Recall Extensive Form Abstract Economies and Generalized Perfect Recall Nicholas Butler Princeton University July 30, 2015 Nicholas Butler (Princeton) EFAE and Generalized Perfect Recall July 30, 2015 1 / 1 Motivation

More information

Problem Set #7. Exercise 1 : In GLpn, Cq and SLpn, Cq define the subgroups of scalar matrices

Problem Set #7. Exercise 1 : In GLpn, Cq and SLpn, Cq define the subgroups of scalar matrices Dr. Marques Sophie Algebra Spring Semester 207 Office 59 marques@cims.nyu.edu Problem Set #7 In the following, denotes a isomorphism of groups. Exercise 0 : Let G be a finite abelian group with G n, we

More information

ADVANCE TOPICS IN ANALYSIS - REAL. 8 September September 2011

ADVANCE TOPICS IN ANALYSIS - REAL. 8 September September 2011 ADVANCE TOPICS IN ANALYSIS - REAL NOTES COMPILED BY KATO LA Introductions 8 September 011 15 September 011 Nested Interval Theorem: If A 1 ra 1, b 1 s, A ra, b s,, A n ra n, b n s, and A 1 Ě A Ě Ě A n

More information

arxiv: v1 [math.co] 1 Apr 2019

arxiv: v1 [math.co] 1 Apr 2019 arxiv:1904.00879v1 [math.co] 1 Apr 2019 Erdős-Pósa property of minor-models with prescribed vertex sets Dániel Marx 1 and O-joung Kwon 2 1 Institute for Computer Science and Control, Hungarian Academy

More information

Crypto math II. Alin Tomescu May 27, Abstract A quick overview on group theory from Ron Rivest s course in Spring 2015.

Crypto math II. Alin Tomescu May 27, Abstract A quick overview on group theory from Ron Rivest s course in Spring 2015. Crypto math II Alin Tomescu alinush@mit.edu May 7, 015 Abstract A quick overview on group theory from Ron Rivest s 6.857 course in Spring 015. 1 Overview Group theory review Diffie-Hellman (DH) key exchange

More information

Lecture 24 Properties of deals

Lecture 24 Properties of deals Lecture 24 Properties of deals Aside: Representation theory of finite groups Let G be a finite group, and let R C, R, or Q (any commutative ring). Aside: Representation theory of finite groups Let G be

More information

THEORY OF PROBABILITY VLADIMIR KOBZAR

THEORY OF PROBABILITY VLADIMIR KOBZAR THEORY OF PROBABILITY VLADIMIR KOBZAR Lecture 3 - Axioms of Probability I Sample Space and Events. In probability theory, an experiment is any situation which has several possible outcomes, exactly one

More information