Subcube isoperimetry and power of coalitions Petr Gregor Charles - - PowerPoint PPT Presentation

subcube isoperimetry and power of coalitions
SMART_READER_LITE
LIVE PREVIEW

Subcube isoperimetry and power of coalitions Petr Gregor Charles - - PowerPoint PPT Presentation

Subcube isoperimetry and power of coalitions Petr Gregor Charles University in Prague Ljubjana-Leoben 2012 Isoperimetric problems The notion of isoperimetry For the area A of the planar region enclosed by a curve of length L it holds 4 A


slide-1
SLIDE 1

Subcube isoperimetry and power of coalitions

Petr Gregor

Charles University in Prague

Ljubjana-Leoben 2012

slide-2
SLIDE 2

Isoperimetric problems

The notion of isoperimetry

For the area A of the planar region enclosed by a curve of length L it holds 4πA ≤ L2, with equality if and only if the curve is a circle.

slide-3
SLIDE 3

Isoperimetric problems

The notion of isoperimetry

For the area A of the planar region enclosed by a curve of length L it holds 4πA ≤ L2, with equality if and only if the curve is a circle.

The edge isoperimetric parameter

ΦE(G, k) = min

S⊂V {|E(S, S)|; |S| = k}

slide-4
SLIDE 4

Isoperimetric problems

The notion of isoperimetry

For the area A of the planar region enclosed by a curve of length L it holds 4πA ≤ L2, with equality if and only if the curve is a circle.

The edge isoperimetric parameter

ΦE(G, k) = min

S⊂V {|E(S, S)|; |S| = k}

The expansion

h(G) = min

k≤|V|/2

ΦE(G, k) k

slide-5
SLIDE 5

Isoperimetric problems

The notion of isoperimetry

For the area A of the planar region enclosed by a curve of length L it holds 4πA ≤ L2, with equality if and only if the curve is a circle.

The edge isoperimetric parameter

ΦE(G, k) = min

S⊂V {|E(S, S)|; |S| = k}

The expansion

h(G) = min

k≤|V|/2

ΦE(G, k) k The problems of determining these parameters for general G are co-NP hard.

slide-6
SLIDE 6

Isoperimetric problems

The notion of isoperimetry

For the area A of the planar region enclosed by a curve of length L it holds 4πA ≤ L2, with equality if and only if the curve is a circle.

The edge isoperimetric parameter

ΦE(G, k) = min

S⊂V {|E(S, S)|; |S| = k}

The expansion

h(G) = min

k≤|V|/2

ΦE(G, k) k The problems of determining these parameters for general G are co-NP hard.

Spectral methods

For a d-regular G with the second eigenvalue λ2 of its adjacency matrix, d − λ2 2 ≤ h(G) ≤

  • 2d(d − λ2)
slide-7
SLIDE 7

The edge isoperimetric problem in the hypercube

Let fn(k) = maxS⊂V{|E(Qn[S])|; |S| = k}. That is, ΦE(Qn, k) = nk − 2fn(k).

slide-8
SLIDE 8

The edge isoperimetric problem in the hypercube

Let fn(k) = maxS⊂V{|E(Qn[S])|; |S| = k}. That is, ΦE(Qn, k) = nk − 2fn(k).

Theorem [Harper; Bernstein; Hart]

fn(k) =

k−1

  • i=0

h(i) where h(i) is the number of 1’s in the binary representation of i.

slide-9
SLIDE 9

The edge isoperimetric problem in the hypercube

Let fn(k) = maxS⊂V{|E(Qn[S])|; |S| = k}. That is, ΦE(Qn, k) = nk − 2fn(k).

Theorem [Harper; Bernstein; Hart]

fn(k) =

k−1

  • i=0

h(i) where h(i) is the number of 1’s in the binary representation of i.

Extremal sets

A set S ⊂ {0, 1}n is good if |S| = 1 or there are Cm ≃ Qm, Cm+1 ≃ Qm+1, 2m < |S| ≤ 2m+1 s.t. V(Cm) ⊂ S ⊆ V(Cm+1) and S \ V(Cm) is good.

slide-10
SLIDE 10

The edge isoperimetric problem in the hypercube

Let fn(k) = maxS⊂V{|E(Qn[S])|; |S| = k}. That is, ΦE(Qn, k) = nk − 2fn(k).

Theorem [Harper; Bernstein; Hart]

fn(k) =

k−1

  • i=0

h(i) where h(i) is the number of 1’s in the binary representation of i.

Extremal sets

A set S ⊂ {0, 1}n is good if |S| = 1 or there are Cm ≃ Qm, Cm+1 ≃ Qm+1, 2m < |S| ≤ 2m+1 s.t. V(Cm) ⊂ S ⊆ V(Cm+1) and S \ V(Cm) is good. good sets (up to isomorphism) ≈ initial segments in co-lexicographical order

slide-11
SLIDE 11

The edge isoperimetric problem in the hypercube

Let fn(k) = maxS⊂V{|E(Qn[S])|; |S| = k}. That is, ΦE(Qn, k) = nk − 2fn(k).

Theorem [Harper; Bernstein; Hart]

fn(k) =

k−1

  • i=0

h(i) where h(i) is the number of 1’s in the binary representation of i.

Extremal sets

A set S ⊂ {0, 1}n is good if |S| = 1 or there are Cm ≃ Qm, Cm+1 ≃ Qm+1, 2m < |S| ≤ 2m+1 s.t. V(Cm) ⊂ S ⊆ V(Cm+1) and S \ V(Cm) is good. good sets (up to isomorphism) ≈ initial segments in co-lexicographical order A useful estimate [Chung, F˝

uredi, Graham, Seymour]

ΦE(Qn, k) ≥ k(n − log2 k) with equality for k = 2d attained by a d-dimensional subcube.

slide-12
SLIDE 12

Subcube isoperimetric problem in the hypercube

Let fn(k, d) = maxS⊂V{#d(S); |S| = k} where #d(S) denotes the number of (induced) subcubes of dimension d in Qn[S]. (inner subcubes)

slide-13
SLIDE 13

Subcube isoperimetric problem in the hypercube

Let fn(k, d) = maxS⊂V{#d(S); |S| = k} where #d(S) denotes the number of (induced) subcubes of dimension d in Qn[S]. (inner subcubes)

Theorem

fn(k, d) =

k−1

  • i=0
  • h(i)

d

  • for every k > 0, d ≥ 0 and the maximum is attained by all good sets of size k.
slide-14
SLIDE 14

Subcube isoperimetric problem in the hypercube

Let fn(k, d) = maxS⊂V{#d(S); |S| = k} where #d(S) denotes the number of (induced) subcubes of dimension d in Qn[S]. (inner subcubes)

Theorem

fn(k, d) =

k−1

  • i=0
  • h(i)

d

  • for every k > 0, d ≥ 0 and the maximum is attained by all good sets of size k.

Remark: good sets are optimal for every d ≥ 0.

slide-15
SLIDE 15

Subcube isoperimetric problem in the hypercube

Let fn(k, d) = maxS⊂V{#d(S); |S| = k} where #d(S) denotes the number of (induced) subcubes of dimension d in Qn[S]. (inner subcubes)

Theorem

fn(k, d) =

k−1

  • i=0
  • h(i)

d

  • for every k > 0, d ≥ 0 and the maximum is attained by all good sets of size k.

Remark: good sets are optimal for every d ≥ 0. Let gn(k, d) = minS⊂V{σd(S); |S| = k} where σd(S) denotes the number of (induced) Qd’s with a vertex in S and a vertex in S. (border subcubes)

slide-16
SLIDE 16

Subcube isoperimetric problem in the hypercube

Let fn(k, d) = maxS⊂V{#d(S); |S| = k} where #d(S) denotes the number of (induced) subcubes of dimension d in Qn[S]. (inner subcubes)

Theorem

fn(k, d) =

k−1

  • i=0
  • h(i)

d

  • for every k > 0, d ≥ 0 and the maximum is attained by all good sets of size k.

Remark: good sets are optimal for every d ≥ 0. Let gn(k, d) = minS⊂V{σd(S); |S| = k} where σd(S) denotes the number of (induced) Qd’s with a vertex in S and a vertex in S. (border subcubes)

Corollary

gn(k, d) =

  • n

d

  • 2n−d − fn(k, d) − fn(2n − k, d)

for every n ≥ 1, 0 < k < 2n, d ≥ 0.

slide-17
SLIDE 17

Labeling of the hypercube

For a bijection c : {0, 1}n → [0, 2n − 1], a set S ⊆ {0, 1}n, and d ≥ 1 let δc(S) = |S| max

u∈S c(u) −

  • u∈S

c(u) (the maximal deviation of c on S), ∆d

n(c) =

  • Qd ≃C⊆Qn

δc(V(C)) (the total maximal deviation of c on Qd’s).

slide-18
SLIDE 18

Labeling of the hypercube

For a bijection c : {0, 1}n → [0, 2n − 1], a set S ⊆ {0, 1}n, and d ≥ 1 let δc(S) = |S| max

u∈S c(u) −

  • u∈S

c(u) (the maximal deviation of c on S), ∆d

n(c) =

  • Qd ≃C⊆Qn

δc(V(C)) (the total maximal deviation of c on Qd’s).

Question: Which labeling c of V(Qn) minimizes ∆d

n(c) for given n ≥ d ≥ 1?

slide-19
SLIDE 19

Labeling of the hypercube

For a bijection c : {0, 1}n → [0, 2n − 1], a set S ⊆ {0, 1}n, and d ≥ 1 let δc(S) = |S| max

u∈S c(u) −

  • u∈S

c(u) (the maximal deviation of c on S), ∆d

n(c) =

  • Qd ≃C⊆Qn

δc(V(C)) (the total maximal deviation of c on Qd’s).

Question: Which labeling c of V(Qn) minimizes ∆d

n(c) for given n ≥ d ≥ 1?

Integer coding scenario

  • 1. encode (uniformly) chosen 0 ≤ l < 2n by u = c−1(l) ∈ {0, 1}n,
  • 2. (at most) d coordinates D are chosen uniformly in random,
  • 3. an adversary with knowledge of c may flip any bit from D in u => u′,
  • 4. decode l′ = c(u′).
slide-20
SLIDE 20

Labeling of the hypercube

For a bijection c : {0, 1}n → [0, 2n − 1], a set S ⊆ {0, 1}n, and d ≥ 1 let δc(S) = |S| max

u∈S c(u) −

  • u∈S

c(u) (the maximal deviation of c on S), ∆d

n(c) =

  • Qd ≃C⊆Qn

δc(V(C)) (the total maximal deviation of c on Qd’s).

Question: Which labeling c of V(Qn) minimizes ∆d

n(c) for given n ≥ d ≥ 1?

Integer coding scenario

  • 1. encode (uniformly) chosen 0 ≤ l < 2n by u = c−1(l) ∈ {0, 1}n,
  • 2. (at most) d coordinates D are chosen uniformly in random,
  • 3. an adversary with knowledge of c may flip any bit from D in u => u′,
  • 4. decode l′ = c(u′).

Problem: Find coding c that minimizes expected error l′ − l.

slide-21
SLIDE 21

Subcube isoperimetry and total max. deviation

σd(S) counts each border subcube once. How much border subcubes hit S?

slide-22
SLIDE 22

Subcube isoperimetry and total max. deviation

σd(S) counts each border subcube once. How much border subcubes hit S? The relevance of a set S ⊆ {0, 1}n in border subcubes of dimension d is ρd(S) =

  • Qd ≃CQn[S]

|V(C) ∩ S| =

  • n

d

  • |S| − 2d#d(S).
slide-23
SLIDE 23

Subcube isoperimetry and total max. deviation

σd(S) counts each border subcube once. How much border subcubes hit S? The relevance of a set S ⊆ {0, 1}n in border subcubes of dimension d is ρd(S) =

  • Qd ≃CQn[S]

|V(C) ∩ S| =

  • n

d

  • |S| − 2d#d(S).

For a bijection c : {0, 1}n → [0, 2n − 1] and 1 ≤ l ≤ 2n let Θd

n(c, l) = ρd({c−1(0), . . . , c−1(l − 1)}).

slide-24
SLIDE 24

Subcube isoperimetry and total max. deviation

σd(S) counts each border subcube once. How much border subcubes hit S? The relevance of a set S ⊆ {0, 1}n in border subcubes of dimension d is ρd(S) =

  • Qd ≃CQn[S]

|V(C) ∩ S| =

  • n

d

  • |S| − 2d#d(S).

For a bijection c : {0, 1}n → [0, 2n − 1] and 1 ≤ l ≤ 2n let Θd

n(c, l) = ρd({c−1(0), . . . , c−1(l − 1)}).

Lemma

∆d

n(c) = 2n

  • l=1

Θd

n(c, l)

slide-25
SLIDE 25

Subcube isoperimetry and total max. deviation

σd(S) counts each border subcube once. How much border subcubes hit S? The relevance of a set S ⊆ {0, 1}n in border subcubes of dimension d is ρd(S) =

  • Qd ≃CQn[S]

|V(C) ∩ S| =

  • n

d

  • |S| − 2d#d(S).

For a bijection c : {0, 1}n → [0, 2n − 1] and 1 ≤ l ≤ 2n let Θd

n(c, l) = ρd({c−1(0), . . . , c−1(l − 1)}).

Lemma

∆d

n(c) = 2n

  • l=1

Θd

n(c, l)

Theorem

The binary coding c minimizes ∆d

n(c) for every d ≥ 1.

slide-26
SLIDE 26

Optimal labelings - open questions

1) Maximize total maximal deviation. Question: Which labelings c of V(Qn) have maximal ∆d

n(c)?

slide-27
SLIDE 27

Optimal labelings - open questions

1) Maximize total maximal deviation. Question: Which labelings c of V(Qn) have maximal ∆d

n(c)?

2) Minimize largest maximal deviation. Question: Which labelings c of V(Qn) minimize maxQd ≃C⊆Qn δc(V(C))? Both questions seem to be open even for d = 1.

slide-28
SLIDE 28

Optimal labelings - open questions

1) Maximize total maximal deviation. Question: Which labelings c of V(Qn) have maximal ∆d

n(c)?

2) Minimize largest maximal deviation. Question: Which labelings c of V(Qn) minimize maxQd ≃C⊆Qn δc(V(C))? Both questions seem to be open even for d = 1. 3) Generalization to (uniform) hypergraphs H. Question: Which labelings c of V(H) minimize ∆H(c) =

H∈E(H) δc(H)?

slide-29
SLIDE 29

Optimal labelings - open questions

1) Maximize total maximal deviation. Question: Which labelings c of V(Qn) have maximal ∆d

n(c)?

2) Minimize largest maximal deviation. Question: Which labelings c of V(Qn) minimize maxQd ≃C⊆Qn δc(V(C))? Both questions seem to be open even for d = 1. 3) Generalization to (uniform) hypergraphs H. Question: Which labelings c of V(H) minimize ∆H(c) =

H∈E(H) δc(H)?

The hyperedge isoperimetry & relevance approach requires an order on V(H) whose initial segments minimize relevance in border hyperedges. 4) Question: Which (classes of) hypergraphs have such an order?

slide-30
SLIDE 30

Influence in simple voting games

We have n players with 0/1 votes, an outcome function f : {0, 1}n → {0, 1}. What is the probability that the player i ∈ [n] can influence the result?

slide-31
SLIDE 31

Influence in simple voting games

We have n players with 0/1 votes, an outcome function f : {0, 1}n → {0, 1}. What is the probability that the player i ∈ [n] can influence the result?

Influence (Banzhaf power index)

If(i) = Prx[f(x) = f(x ⊕ ei)], If =

  • i∈[n]

If(i)

slide-32
SLIDE 32

Influence in simple voting games

We have n players with 0/1 votes, an outcome function f : {0, 1}n → {0, 1}. What is the probability that the player i ∈ [n] can influence the result?

Influence (Banzhaf power index)

If(i) = Prx[f(x) = f(x ⊕ ei)], If =

  • i∈[n]

If(i)

Smallest total influence [Hart]

min

f:p1(f)=k/2n If = ΦE(Qn, k)

2n−1 where p1(f) = Prx[f(x) = 1] (bias)

slide-33
SLIDE 33

Influence in simple voting games

We have n players with 0/1 votes, an outcome function f : {0, 1}n → {0, 1}. What is the probability that the player i ∈ [n] can influence the result?

Influence (Banzhaf power index)

If(i) = Prx[f(x) = f(x ⊕ ei)], If =

  • i∈[n]

If(i)

Smallest total influence [Hart]

min

f:p1(f)=k/2n If = ΦE(Qn, k)

2n−1 where p1(f) = Prx[f(x) = 1] (bias)

Theorem [Kahn, Kalai, Linial]

For every f : {0, 1}n → {0, 1} with p1(f) = 1

2 there exists i ∈ [n] with

If(i) ≥ c log n n where c is an absolute constant.

slide-34
SLIDE 34

Harmonic analysis of Boolean functions

A Boolean function: f : {−1, 1}n → {−1, 1}.

slide-35
SLIDE 35

Harmonic analysis of Boolean functions

A Boolean function: f : {−1, 1}n → {−1, 1}.

Fourier basis

{χS}S⊆[n] in R{−1,1}n where χS(x) =

  • i∈S

xi, χ∅(x) = 1 (characters)

slide-36
SLIDE 36

Harmonic analysis of Boolean functions

A Boolean function: f : {−1, 1}n → {−1, 1}.

Fourier basis

{χS}S⊆[n] in R{−1,1}n where χS(x) =

  • i∈S

xi, χ∅(x) = 1 (characters)

Fourier transform

f =

  • S⊆[n]
  • f(S)χS
slide-37
SLIDE 37

Harmonic analysis of Boolean functions

A Boolean function: f : {−1, 1}n → {−1, 1}.

Fourier basis

{χS}S⊆[n] in R{−1,1}n where χS(x) =

  • i∈S

xi, χ∅(x) = 1 (characters)

Fourier transform

f =

  • S⊆[n]
  • f(S)χS

Inner product and induced norm

f, g = Ex[f(x)g(x)], f2 =

  • f, f
slide-38
SLIDE 38

Harmonic analysis of Boolean functions

A Boolean function: f : {−1, 1}n → {−1, 1}.

Fourier basis

{χS}S⊆[n] in R{−1,1}n where χS(x) =

  • i∈S

xi, χ∅(x) = 1 (characters)

Fourier transform

f =

  • S⊆[n]
  • f(S)χS

Inner product and induced norm

f, g = Ex[f(x)g(x)], f2 =

  • f, f

Since {χS}S⊆[n] orthonormal,

  • f(S) = f, χS,

f, g =

  • S⊆[n]
  • f(S)

g(S), Ex[f(x)] = f, χ∅ = f(∅), 1 = f2 =

  • S⊆[n]
  • f 2(S).
slide-39
SLIDE 39

Harmonic analysis of Boolean functions

A Boolean function: f : {−1, 1}n → {−1, 1}.

Fourier basis

{χS}S⊆[n] in R{−1,1}n where χS(x) =

  • i∈S

xi, χ∅(x) = 1 (characters)

Fourier transform

f =

  • S⊆[n]
  • f(S)χS

Inner product and induced norm

f, g = Ex[f(x)g(x)], f2 =

  • f, f

Since {χS}S⊆[n] orthonormal,

  • f(S) = f, χS,

f, g =

  • S⊆[n]
  • f(S)

g(S), Ex[f(x)] = f, χ∅ = f(∅), 1 = f2 =

  • S⊆[n]
  • f 2(S).

Influence in Fourier coefficients

If(i) = Ex[Vxi [f(x)]] =

  • S:i∈S
  • f 2(S),

If =

  • S⊆[n]

|S| f 2(S)

slide-40
SLIDE 40

Influence of coalitions

If(S) = Prx\S[E2

S[f(x)] < 1],

Id

f =

  • S⊆[n]

|S|=d

If(S)

slide-41
SLIDE 41

Influence of coalitions

If(S) = Prx\S[E2

S[f(x)] < 1],

Id

f =

  • S⊆[n]

|S|=d

If(S)

Smallest total coalitional influence

min

f:p1(f)=k/2n Id f = gn(k, d)

2n−d

slide-42
SLIDE 42

Influence of coalitions

If(S) = Prx\S[E2

S[f(x)] < 1],

Id

f =

  • S⊆[n]

|S|=d

If(S)

Smallest total coalitional influence

min

f:p1(f)=k/2n Id f = gn(k, d)

2n−d

Lemma [Ben-Or, Linial]

For every Boolean function f there is a monotonous g such that p1(g) = p1(f) and Ig(S) ≤ If(S) for every S ⊆ [n].

slide-43
SLIDE 43

Influence of coalitions

If(S) = Prx\S[E2

S[f(x)] < 1],

Id

f =

  • S⊆[n]

|S|=d

If(S)

Smallest total coalitional influence

min

f:p1(f)=k/2n Id f = gn(k, d)

2n−d

Lemma [Ben-Or, Linial]

For every Boolean function f there is a monotonous g such that p1(g) = p1(f) and Ig(S) ≤ If(S) for every S ⊆ [n].

Influence for monotonous functions

If(S) =

  • T⊆S

|T| odd

  • f(T),

Id

f =

  • S⊆[n]

|S| odd

  • f(S)
  • n − |S|

n − d

slide-44
SLIDE 44

Harmonic analysis of good functions

f : {−1, 1}n → {−1, 1} s.t. f −1(1) is a good set of size k = n

i=1 bi2n−i < 2n

slide-45
SLIDE 45

Harmonic analysis of good functions

f : {−1, 1}n → {−1, 1} s.t. f −1(1) is a good set of size k = n

i=1 bi2n−i < 2n

Representation of f by formula ϕ1 from k

ϕn :

bn = 0 xn bn = 1 , ϕi :

  • xi ∨ (ϕi+1)

bi = 0 xi ∧ (ϕi+1) bi = 1

slide-46
SLIDE 46

Harmonic analysis of good functions

f : {−1, 1}n → {−1, 1} s.t. f −1(1) is a good set of size k = n

i=1 bi2n−i < 2n

Representation of f by formula ϕ1 from k

ϕn :

bn = 0 xn bn = 1 , ϕi :

  • xi ∨ (ϕi+1)

bi = 0 xi ∧ (ϕi+1) bi = 1

Fourier transform from formula

pxi = xi pϕ∧ψ = pϕpψ p¬ϕ = −pϕ pϕ∨ψ = pϕ + pψ − pϕpψ

slide-47
SLIDE 47

Harmonic analysis of good functions

f : {−1, 1}n → {−1, 1} s.t. f −1(1) is a good set of size k = n

i=1 bi2n−i < 2n

Representation of f by formula ϕ1 from k

ϕn :

bn = 0 xn bn = 1 , ϕi :

  • xi ∨ (ϕi+1)

bi = 0 xi ∧ (ϕi+1) bi = 1

Fourier transform from formula

pxi = xi pϕ∧ψ = pϕpψ p¬ϕ = −pϕ pϕ∨ψ = pϕ + pψ − pϕpψ

Fourier coefficients from k

  • f(S) =

 cj 2 − 1 2n −

n

  • l=j+1

cl 2l  

i∈S

ci where j = max(S), ci = 1 − 2bi ∈ {−1, 1} If =

  • i∈[n]
  • f({i}) = 1 − 1

2n − 1 2n

n

  • i=1

ci −

  • i<j

cicj 2j

slide-48
SLIDE 48

Open problems

1) An alternative (straightforward) proof of the (exact) subcube isoperimetry through harmonic analysis.

slide-49
SLIDE 49

Open problems

1) An alternative (straightforward) proof of the (exact) subcube isoperimetry through harmonic analysis. 2) An existence of highly influential coalitions - symmetry breaking (improvements in known results).

slide-50
SLIDE 50

Open problems

1) An alternative (straightforward) proof of the (exact) subcube isoperimetry through harmonic analysis. 2) An existence of highly influential coalitions - symmetry breaking (improvements in known results). 3) Fibonacci isoperimetry - players in coalitions cannot consecutively vote 1.

slide-51
SLIDE 51

Open problems

1) An alternative (straightforward) proof of the (exact) subcube isoperimetry through harmonic analysis. 2) An existence of highly influential coalitions - symmetry breaking (improvements in known results). 3) Fibonacci isoperimetry - players in coalitions cannot consecutively vote 1. 4) An (exact) subcube isoperimetry in Hamming graphs, ...

slide-52
SLIDE 52

Open problems

1) An alternative (straightforward) proof of the (exact) subcube isoperimetry through harmonic analysis. 2) An existence of highly influential coalitions - symmetry breaking (improvements in known results). 3) Fibonacci isoperimetry - players in coalitions cannot consecutively vote 1. 4) An (exact) subcube isoperimetry in Hamming graphs, ... 5) Connections between (minimal) representations of Boolean functions and influence of coalitions.

slide-53
SLIDE 53

The story of Dido

Dido - Queen of Carthage / Vergilius: Aeneid P .-N. Guérin: Aeneas tells Dido the misfortunes of the Trojan city.