Lie algebra lattices and strings on T-folds

We study the world-sheet conformal field theories for T-folds systematically based on the Lie algebra lattices representing the momenta of strings. The fixed point condition required for the T-duality twist restricts the possible Lie algebras. When the T-duality acts as a simple chiral reflection, one is left with the four cases, $A_1, D_{2r}, E_7, E_8$, among the simple simply-laced algebras. From the corresponding Englert-Neveu lattices, we construct the modular invariant partition functions for the T-fold CFTs in bosonic string theory. Similar construction is possible also by using Euclidean even self-dual lattices. We then apply our formulation to the T-folds in the $E_8 \times E_8$ heterotic string theory. Incorporating non-trivial phases for the T-duality twist, we obtain, as simple examples, a class of modular invariant partition functions parametrized by three integers. Our construction includes the cases which are not reduced to the free fermion construction.


Introduction
A salient feature of string theory is that physics on different background geometries can be equivalent due to duality symmetries. This allows us to think of geometries whose coordinate patches are glued by duality transformations, as well as by ordinary general coordinate transformations [1][2][3]. They are relevant in understanding the vacua and the symmetries of string theory, and may give clues to formulations of string theories where the duality symmetries are manifest.
When such stringy geometries involve T-duality, they are called T-folds [4]. They have been studied mainly in the framework of supergravity and Double Field They [5]. In order to go beyond and analyze their quantum aspects, one may need the world-sheet approach based on conformal field theory (CFT). The transitions in the target space by T-duality are represented on the world-sheet as the twists by the T-duality transformations. Since they are generally left-right asymmetric, the world-sheet theories fall into a particular class of asymmetric orbifold CFTs. Such T-fold CFTs have been studied e.g. in [6][7][8][9][10][11][12][13][14][15][16][17].
As is generally the case for asymmetric orbifolds, the construction of the T-fold CFTs is not automatic. In addition to the modular invariance, there is an issue of the relative phases of the action of the T-duality twist on the left-and right-movers [7,8], which may be regarded as an analog of the discrete torsions. As an interesting consequence of the explicit construction of a class of T-fold CFTs, it is found that T-folds provide a simple setting to realize non-supersymmetric string vacua with vanishing cosmological constant at least at one loop [16]. The mechanism there is extended to a more general class of asymmetric orbifolds [17]. Through T-folds and related more general non-geometric backgrounds (monodrofolds [3]), one can also explore the possibility that the world-sheet conformal interfaces [18][19][20], which may be regarded as fundamental from the world-sheet point of view, can be applied to string theory [14]. For the applications of the conformal interfaces to string theory, see e.g. [21][22][23][24].
In spite of the developments on T-fold CFTs so far, we are still lacking their general construction, which is in contrast to the quite general analysis from the target space point of view by supergravity. The purpose of this paper is to advance a step in this direction and provide a systematic construction of the modular invariant partition functions of Tfold CFTs. A point of our construction is that we formulate the problem based on the momentum lattices in order to control the modular properties of the partition functions in the twisted sectors from the asymmetric T-duality twist. This allows us to consider the cases which are not reduced to the free fermion construction as well. 1 The condition that the T-duality twist acts in a single Hilbert space requires the background moduli of the torus compactification to be invariant under the T-duality transformation, i.e. at the fixed points, as is found also in the supergravity analysis [1,25]. Imposing this condition, we first give the modular invariant partition functions for T-folds in bosonic string theory, whose momentum lattices are associated with the Lie algebra lattices called Englert-Neveu lattices. The fixed-point condition restricts the possible Lie algebras. In the case where the T-duality acts as a simple chiral reflection in the right-mover, we are left with the four cases, A 1 , D 2r , E 7 , E 8 among the simple simply-laced algebras. Similar construction is also possible by using Euclidean even self-dual lattices. We then apply our construction to the T-folds in the E 8 × E 8 heterotic string theory. Including non-trivial phases in the T-duality twists, the twisted partition functions in the originally intact leftmover are represented by the building blocks which appeared in the bosonic-string case. As simple examples, we explicitly construct a class of the modular invariant partition functions of the T-fold CFTs parametrized by three integers. The cases including the building blocks from A 1 and E 7 are not covered by the fermionization.
The rest of this paper is organized as follows: In section 2, we summarize the toroidal compactification and T-duality in bosonic string theory, which also serves as fixing our notation and conventions. In section 3, we set up our problem and analyze the fixed-point (self-duality) condition of the T-duality transformations. In section 4, we construct the modular invariant partition functions for T-folds in bosonic string theory, based on the Lie algebra lattices. In section 5, we apply our construction to the T-folds in the heterotic string theory. In section 6, we conclude with a summary and discussion. In appendix A, we summarize the characters of the affine Lie algebras and our building blocks for the modular invariant partition functions.

Toroidal compactification and T-duality
Let us consider the bosonic string theory where d coordinates are compactified on a ddimensional torus T d . We basically follow the conventions in [26,27]: The compactified coordinates X i (i = 1, ..., d) have a periodicity X i ≈ X i + 2π. The constant background 1 Based on the free fermion construction, systematic scans of of certain classes of T-fold CFTs have been performed for type II [10] and heterotic [11] superstrings. fields, the metric G ij and the anti-symmetric tensor B ij , are organized into a matrix, which forms the background moduli of the compactification. The metric and anti-symmetric tensor are its symmetric and anti-symmetric part, respectively, i.e. G = ( implying d a,b=1 δ ab e * i a e * j b = 1 2 G ij . The space-time indices i, j are converted to those of the tangent space a, b by e a i / √ 2, √ 2e * i a , and they are lowered and raised by G ij , G ij and δ ab , δ ab . The world-sheet Hamiltonian takes the form, with p 2 L/R = p L/Ra δ ab p L/Rb and n i , w j ∈ Z being the momentum and winding numbers. The dependence on the background E ij has been indicated explicitly in the momenta p L/R . The The remaining terms N,Ñ are the number operators for the oscillator modes, which take the values of non-negative integers. The partition function then takes the form where q = e 2πiτ and τ = τ 1 + iτ 2 (τ 1 ∈ R, τ 2 > 0) is the modulus of the torus. The sum over the zero-modes are regarded as that over the Lorentzian lattice Λ which is formed by the pair of the momenta (p L , p R ), and equipped with the Lorentzian inner product, Since this lattice is even self-dual, i.e. (p L , p R ) 2 ∈ 2Z and Λ = Λ * (dual lattice), the above partition function is modular invariant. The zero-mode part of H is concisely expressed as where v := (w i , n j ) t and transformation, This in turn implies the map of the metric, 12) and that for the vielbein, 13) up to orthogonal transformations in the tangent space. Here, we have defined and O ⋆ := (O t ) −1 for any invertible matrices, and used (E The canonical map acts on the oscillators as These are valid also for the zero-modes with the level m = 0, and thus (2.15) is translated intô 17) in terms of By these transformation rules, the number operators are mapped as whereas

Partition functions for T-folds
We now consider the asymmetric orbifolds by the O(d, d, Z) T-duality transformations discussed in the previous section. In particular, we start from the target space, and twist the strings on it by the operator Here T 2πR stands for the shift by 2πR in R, and g ∈ O(d, d, Z) for the T-duality twist acting on T d . M is other non-compact part. Consequently, we are considering a class of non-geometric backgrounds, i.e. T-folds, where R twisted by T 2πR provides the 'base' circle

World-sheet partition functions
In order to construct the world-sheet torus partition functions describing the strings on the above T-folds, we start with the partition function for the R × T d part with the m-fold temporal twist, Here, L 0 ,L 0 and c are the Virasoro generators and the central charge, respectively, and the trace is taken over the untwisted Hilbert space. The trace in the base part is evaluated as is the partition function for a free boson on S 1 R in the winding sector with the spatial and temporal winding number w, m ∈ Z, respectively.
These form a particular representation of the modular group. If the fiber part Z T d (0,m) satisfies the same form of the modular covariance, they give Z T d (w,m) with general winding numbers. Summing up all, the total partition function in such a case, becomes modular invariant. Here, the first factor Z M is the contribution from M in the background, which is assumed to be modular invariant itself.
In this argument, a non-trivial step for constructing the modular invariant Z(τ ) is to find the fiber partition functions with the desired covariance (3.7). We see that a formulation based on the momentum lattices is useful to control the modular properties of the fiber part for that purpose.

Fixed points of T-duality transformations
In the fiber part, the twist operator σ acts as a T-duality transformation. In general, Tduality connects different (but equivalent) world-sheet theories, and thus in order for the twist to be well-defined in a single Hilbert space, it has to be self-dual. 2 In other words, the CFTs for T-folds are defined at the fixed points of the moduli space under the Tduality transformations. This also conforms to the supergravity analysis [1,25]. Given the transformation rule (2.10), this condition is represented as for g of the form (2.11). This also implies the invariance of the metric, Denoting the momentum squared as one finds that p 2 L/R is separately invariant in the self-dual case. To read off the form of the O(d, d, Z) element implementing the self-dual transformation, we rewrite the transformation (2.17) in the form, where v = (w i , n j ) t as before, P (E) := −E I d E t I d , and Γ(E) := γ L 0 0 γ R . After the map in the above, one hasp L/R (E) instead ofp L/R (E ′ ) due to the self-duality. Comparing this to the map of the Hamiltonian (2.20), one finds that g SD in the above represents the corresponding O(d, d) element. Its explicit form is [15,28]

Fiber twist
As a simple example of (3.13), we consider in this paper the case where and hence This is a Z 2 element, g 2 that the products of B ij and matrices are rewritten as which is used for M = G −1 or G −1 B. We note that in general the above g SD does not correspond to the G ↔ G −1 (R ↔ 1/R) duality, in spite of the forms of γ L , γ R .
In this case, from the transformation (2.15), i.e. (α m ,α m ) → (α m , −α m ), it follows that the oscillator contribution to the twisted partition function in the fiber part becomes In the zero-mode part, the right momenta are projected out, p R = 0, which implies that n = −E t w and hence we are left with the Euclidean lattice sum in the left-moving sector with this constraint. Taking into account g m SD = 1 (m ∈ 2Z) and g m SD = g (m ∈ 2Z + 1) in the untwisted sector (w = 0), we have for (m ∈ 2Z + 1), where we have used θ 2 θ 3 θ 4 = 2η 3 and defined Below, we show that further choosing appropriate backgrounds yields the partition functions with the desired modular covariance (3.7), and thus the modular invariant total partition functions.

T-folds from lattices
In this section, we show that one can systematically construct the fiber partition functions with the desired modular covariance by choosing the background moduli E ij associated with the Lie algebra lattices, namely, sublattices of the weight lattice of a semi-simple Lie algebra. We first discuss the case of Englert-Neveu lattices [29] for simply-laced Lie algebras and then the case of Euclidean even self-dual lattices, both of which are straightforwardly realized by the momentum lattices of bosonic strings. For a review on the lattices in relation to string theory, see for example [30].

Lie algebra lattices and Englert-Neveu lattices
We consider the background with an affine symmetry of level one X 1 for a semi-simple simply-laced Lie algebra X which is realized by [26,31] Here, C ij is the Cartan matrix of X, and the indices are not summed in the middle equation.
The simple roots are normalized so that their norms are equal to two. In this background, e i · e j = 2G ij = C ij (for any i, j), and thus e i are the simple roots, whereas the duals e * i are the fundamental weights. Since E ij ∈ Z, the sum over the momenta in (2.4) becomes that over the weight lattice. Furthermore, since p Ra − p La = e a j w j , the weights in the left-and the right-movers belong to the same conjugacy class. Up to this constraint, one can confirm by using the inverse of P (E) in (3.12) that the summation reduces to the independent ones in each of the left-and right-movers. This gives an explicit realization of the Lorentzian even self-dual (Narain) lattice (p L , p R ) of the type called the Englert-Neveu lattice [29].
Thus, without twists, the relevant partition function is given by the sum of the diagonal combinations of of the level-one affine Lie algebra characters for X, where and r is the rank of X. The summation is taken over the weights λ α belonging to a conjugacy class Λ X (α) , i.e. an element of the coset Λ * X /Λ X labeled by α, where Λ * X and Λ X are the weight and the root lattice of X, respectively. A conjugacy class Λ X (α) also corresponds to an integrable representation of the affine Lie algebras at level one X 1 .
For our purpose, a useful fact on the Lie algebra lattices is that these characters form a finite dimensional representation of the modular group, which is summarized as The modular matrices here are given by in terms of the weight vectors λ α ∈ Λ X (α) and the number of the conjugacy classes N c . Now let us return to the construction of the partition functions for T-folds. First, we note that, since E ij ∈ Z, the constraint wE ∈ Z d in (3.17) is automatically satisfied, and hence the summation becomes that over the root lattice. This enables us to utilize the above modular covariance to derive the partition functions in the twisted sectors.
Next, we note that the condition discussed in the previous section that g SD in (3.13) with γ L/R in (3.14) be integer-valued constrains the possible Englert-Neveu lattices. In particular, due to the condition that G −1 = 2C −1 is integer-valued, we are left with among the simple simply-laced Lie algebras. Since E ij is triangular and its elements are integral, E ij ∈ Z, one finds that g SD is indeed integer-valued for the algebras in (4.6) and for their products, as discussed in section 3.3. Since any background realized by (4.1)  as in [15]. However, the corresponding twists are more involved than (3.14).
By starting from the twisted partition functions Z T d (0,m) given in (3.17) and using the modular properties (4.4), we can now uniquely determine the whole building blocks Z T d (w,m) for the cases (4.6) including the suitable phase factors to achieve the modular covariance (3.7). We concisely call this prescription and the resultant blocks as the 'modular completions' 3 in the arguments below. Combining these Z T d (w,m) with other parts, we obtain the modular invariant partition functions of the form (3.8) for the T-fold CFTs. One can also utilize products where each factor corresponds to any of the algebras in (4.6).
We list the result of Z T d (w,m) in each case below. The corresponding Lie algebras are explicitly denoted there. Among the list, the cases for D 2 and D 4 appeared e.g. in [16,17].
The appearance of A 1 and E 7 may also be of interest, since such a case is not covered by the ordinary fermionization. We note that the action of g SD in the partition functions below is Z 2 in the untwisted Hilbert space with a = 0, which is in accord with the supergravity picture. In the twisted Hilbert spaces with a = 0, this is however not the case, except for D r (r ∈ 8Z) and E 8 . A related discussion on the modular covariance in the A 1 case is found in [34]. In the following, we denote the fiber torus corresponding to X by T d [X].
Partition functions for E 8 : There is only one conjugacy class including the vacuum representation, which we label by α = 0. The norms of the weights is λ 2 0 = 0 (mod 2). This is an even self-dual lattice and hence the modular property is trivial up to the phases coming from the eta functions for the oscillator part, satisfying the modular covariance (3.7). The explicit form of the character χ E 8 0 (τ ) is given in (A.12).

Euclidean even self-dual lattices
Another class of the lattices for which the modular properties of the Euclidean lattice sum in (3.17) are well controlled is those associated with Euclidean even self-dual lattices. Precisely, we start from a Lorentzian lattice (p L , p R ) which is specified by the basis e * i of a Euclidean even self-dual lattice. The vielbein e i and the metric G ij are determined by (2.2). The matrix corresponding to the Cartan matrix is defined in this case by C ij = 2G ij , which fixes the background moduli E ij by adopting the relations (4.1). With this setting, after the T-duality twist we are left with the sum over the Euclidean even self-dual lattice in (3.17). 4 The Euclidean even self-dual lattices are allowed only for dimensions d ∈ 8Z. At d = 8, the unique lattice is the E 8 lattice, which is already discussed in the previous subsection. At For an even-self dual lattice, e * i and e i span the same lattice since it is self-dual. Moreover e * i · e * j , e i · e j ∈ Z (i = j) and they are even for i = j, since it is even. Thus, G ij /2, E ij ∈ Z and the integer-valuedness of g SD for (3.14) is satisfied.
The even self-duality also means that the modular property of the lattice sum is trivial, as in the E 8 case. Thus, denoting the corresponding character by χ ESD , the fiber partition 4 A typical example of Euclidean odd self-dual lattices is Z n , which is also unique for dimensions n ≤ 8 (see e.g. [35]). It is also realized as the D n lattice with the conjugacy classes (0) and (1). However, the partition function is not compatible with the modular covariance of the form (3.6): Starting with Z T n (0,1) = ϑ n/2 34 θ n 3 /η n , and assuming the covariance (3.6), successive transformations ST ST S( = 1) would give Z T n (0,1) = ϑ n/2 34 θ n 4 /η n , in contradiction. Choosing the basis so that e i · e j = C ij = δ ij , the integer-valuedness of g SD is not satisfied either if we adopt (4.1) and (3.14).
function for a d-dimensional even self-dual lattice reads satisfying the modular covariance (3.7). The explicit forms of χ ESD 's are found by using the relation of these even-self dual lattices and Lie algebra lattices [30]. For example for d = 16, the Spin(32)/Z 2 lattice is realized as the D 16 sublattices with the vacuum and the spinor conjugacy class, and thus in this case. Furthermore, by the identity of the Eisenstein series E 8 (τ ) = E 4 (τ ) 2 , one has As in the case of the Englert-Neveu lattices, combining these with other parts, we obtain the modular invariant partition functions of the form (3.8) for the T-fold CFTs. The action in this case is Z 2 both in the untwisted and twisted Hilbert spaces.

Twists with phases
In acting with the T-duality transformation, the relative phase between the left and the right mover are not unique. Such a phase is strongly constrained when one requires that the full operator product expansion, not only the chiral one, of the vertex operators respects the invariance under the twist [7,15]. For the A 1 lattice, the phase in this case becomes (−1) nw , with which the T-duality acts as an inner automorphism of su(2) L ⊕ su(2) R [7,8].
In section 5, the possibility of including such phases is explicitly discussed, when we apply our construction to the T-fold CFTs for the heterotic string. In the partition function, the above phase is implemented by the shift τ → τ + 1/2 since p 2 L − p 2 R ∈ 2Z. It would be an interesting problem if the phases in higher dimensional cases [15] are also interpreted from the current algebra or the lattice point of view.

Application to heterotic string theory
So far, we have discussed T-folds in bosonic string theory. Our construction can be applied straightforwardly to the case of superstrings. In particular, applying the results of the Englert-Neveu lattices for D 2 , D 4 to type II superstrings reduces to the analysis in [16].
Its generalization has also been discussed [17]. A notable point in these analyses is that, combined with further twists, our T-fold CFTs simply realize the non-supersymmetric vacua with vanishing cosmological constant at least at one loop.
In this section, we apply our construction to the heterotic string theory. In our set up, the left-mover is the bosonic string with the E 8 × E 8 -lattice, while the right-mover is the superstring including the fermionic one. We focus on the supersymmetric models preserving 8 space-time supercharges. Namely, we assume that the chiral reflection acts on the rightmovers along a four dimensional fiber torus, which we choose to be T

Orbifold action for heterotic T-folds
Let us elaborate on a concrete construction of the models of heterotic T-folds. We start with the E 8 × E 8 heterotic string compactified on T 4 [D 4 ] (X 6,...,9 -directions). As in the previous section, we consider the orbifolding by σ ≡ T 2πR ⊗ g. Here, g acts along the T 4 -direction as the chiral reflection, 7,8,9), (5.1) which preserves 1/2-SUSY, while T 2πR denotes the shift operator acting on the 'base' X 5direction, We use the notation Z R,(w,m) (τ ) defined in (3.5) to write down the partition function for the We further allow g to act non-trivially on the left-mover as the 'chiral shifts' along various compact directions characterized by three integers (r 1 , r 2 , r 3 ), where r 1 (≤ 4), r 2 , r 3 (≤ 8) are associated with T 4 [D 4 ] and the two E 8 -directions. Requiring the modular covariance, it turns out that this orbifold action provides extra phases mentioned in section 4.3. We now separately specify the orbifold action g on these sectors.

Action on left-mover of T 4 [D 4 ]-direction :
As mentioned above, g acts as the chiral reflection (−1 R ) ⊗4 for the right-mover.
To specify the left-moving action, we consider the decomposition of the conjugacy classes of D 4 for a fixed integer r 1 (0 ≤ r 1 ≤ 4), where α = 0, v, s, c for D 4 , and α = 0, 1 for A 1 as in section 4.1. We also denote by α = 0 the conjugacy class for the basic representation (the root lattice itself) for any algebra X, i.e. Λ X (0) ≡ Λ X . We can uniquely determine the (semi-simple) Lie algebra X 4−r 1 of rank 4 − r 1 on the R.H.S. by imposing the following conditions; (i) X 4−r 1 is composed only of the irreducible components given in (4.6), that is, A 1 , D r (r: even), E 7 , E 8 .
This operator is actually interpreted as the chiral half-shift along the direction of lattice Λ A 1 ( * ) (up to some phase factor), when the A 1 -currents J a are bosonized in the standard fashion.
We next consider the relevant partition sum with the orbifold twist g inserted. To this end, we recall that g acts on the right-mover as the chiral reflection (−1 R ) ⊗4 , which leaves the sum over the root lattice in the left-mover as in (3.17). Together with the condition (ii) given above as well as the definition of ρ A 1 , it is then obvious that only the basic Here, the building blocks χ Xr (0,1) (τ ) ≡ χ Xr 0 (τ ) from the lattice andχ A 1 (0,1) (τ ) ≡ ϑ 34 (τ ) 1/2 for the ρ A 1 -twist already appeared in (4.8), (4.10), (4.12), and are summarized in appendix A.1 explicitly. For later convenience, we have also rewritten ϑ 34 1/2 in the right-mover asχ A 1 (0,1) , although it does not necessarily originate from theÂ 1 -symmetry.
For example, in the case of r 1 = 1, the relevant decomposition is (5.6) and the trace (5.5) becomes

7)
5 ρ A1 is explicitly written as on the integrable representation of spin ℓ/2 (ℓ = 0, 1). The phase factor e −iπ ℓ 2 is necessary to make ρ A1 involutive. Note that the simpler inner-automorphismρ A1 ≡ e iπJ 3 0 is not involutive; which would play the role of the 'Z 4 -chiral reflection' appearing in [16,17]. It is presumably an interesting possibility to extend the heterotic vacua given in this section so as to include the Z 4 -actionρ A1 , and we would like to discuss it elsewhere.
Action on two E 8 -directions : Let us first focus on one of the E 8 -factors. There, we have a unique conjugacy class, that is, the root lattice itself. We fix an integer r 2 (0 ≤ r 2 ≤ 8), and consider the decomposition of the root lattice Λ E 8 as . We then define the g-action in this sector by [ρ A 1 ] ⊗r 2 associated with the lattice compo- Since the relevant trace has contribution only from the basic representation of X 8−r 2 , we have The g-action for another E 8 -factor is defined in the same way with an integer r 3 (0 ≤ r 3 ≤ 8).

Construction of heterotic T-folds
Now, let us discuss how to construct the full building blocks characterized by the three integers (r 1 , r 2 , r 3 ), which are modular covariant. In other words, we would like to construct the modular completions of (5.5) and (5.9). For this purpose we recall the modular covariant blocks (4.8), (4.10), (4.12), and consider their extensions to the r-dim. torus T r [X r ] composed of their products. For the 'odd sector' with a ∈ 2Z + 1 or b ∈ 2Z + 1, they are organized into the form, The uniqueness of the decomposition (5.8) would be slightly non-trivial, even though it is almost trivial for the D 4 -case (5.3). For instance, in the case of r 2 = 1, one might think that another decomposition would be allowed. However, Λ rem here includes the conjugacy class such as Λ A1 (0) ⊕ Λ A1 (1) ⊕ Λ D6 (s) . Thus, this possibility is excluded by the condition (ii), and we obtain the unique decomposition with X 7 = E 7 .
Furthermore, it is useful to note the following observations: satisfies the modular covariance of the form (3.6).
Based on these facts, one can construct the building blocks with the expected modular properties as follows: (1) T 4 [D 4 ]-sector : Fix an integer r (0 ≤ r ≤ 4), and set By construction, F [r] (a,b) (τ ) is obviously modular covariant as (b,−a) (τ ). (5.14) (2) E 8 × E 8 -sector : For a single E 8 -factor, fix an integer s (0 ≤ s ≤ 8), and define a chiral building block as To describe the total modular invariant, we still need to describe the free fermion chiral block in the right-mover, which is twisted by (−1 R ) ⊗4 . This has been presented e.g. in [16,17], and can be concisely expressed as • In the cases when all r i are even, only the D 2r -lattices (or the E 8 -lattice itself) come into the above construction. For these cases, our heterotic T-fold vacua can be reproduced by the free fermion construction. However, when at least one of r i is odd, our construction does not reduce to the free fermion construction.

Unitarity in each winding sector
In the heterotic string vacua we constructed above, the action of the orbifold twist σ = T 2πR ⊗ g is simple in the untwisted sector, namely, the unwound sector along S 1 R , because g is involutive on the untwisted Hilbert space, g 2 = 1. However, the situation gets much more complicated in the twisted sectors, especially in the winding sectors with odd winding w ∈ 2Z + 1 due to the existence of the non-trivial phase factor ǫ (w,m) given in (5.11). It is thus not so obvious whether or not the string spectrum is unitary in each winding sector, which is read off by the standard technique of the Poisson resummation with respect to the temporal winding m. Namely, after summing over m and rewriting the total partition function in the form, (w,m) , we can perform the Poisson resummation analysis in a manner following [14,16,17]. After that, we can confirm that the above heterotic vacua are indeed unitary for an arbitrary choice of (r 1 , r 2 , r 3 ). We here briefly sketch how it works as follows: • For the sectors with w ∈ 2Z, it is easy to see the spectrum is unitary. Indeed, since the fermion chiral block f (a,b) (τ ) given in ( • For the sectors with w ∈ 2Z + 1, we have The equality in the second line follows just because of the covariance of total building blocks under the modular T -transformation. • Nextly, we evaluate Z (NS) w (τ )| even m , (w ∈ 2Z + 1) by using the Poisson resummation.
The relevant computation is now straightforward, since the phase factor ǫ As pointed out in [14], this is Poisson resummed into almost the same form as Z but with an extra minus sign in each term with the level mismatch h −h ∈ 1 2 + Z. In the end, we conclude that the total partition sum for the odd winding sector (5.25) is indeed q-expanded only with the coefficients belonging to Z ≥0 .

Conclusions
We demonstrated that one can systematically construct the modular invariant partition functions for the T-fold CFTs by using the Lie algebra lattices. We first discussed the case of bosonic strings. By the condition that the background moduli is at a fixed point for a simple T-duality transformation realized as a chiral reflection, the possible Lie algebras for the Englert-Neveu lattices are restricted to the four cases listed in (4.6) among simple simply-laced ones. Based on the fact that the characters of the level-one affine Lie algebras form a finite dimensional representation of the modular group, the partition functions for the fiber torus part are found to satisfy the modular covariance of the form (3.7). The results are listed in (4.8), (4.10), (4.12) and (4.14). Together with the base part, summing up these gives the desired modular invariants for T-folds. Similar constructions are possible also by using the Euclidean even self-dual lattices.
We then applied the above construction to the T-folds in the E 8 × E 8 heterotic string theory. As an example, we took a fiber torus representing the D 4 Englert-Neveu lattice.
Incorporating the non-trivial twists/phases in the left-moving sector, we obtained a class of modular invariant partition functions of the T-fold CFTs which are labeled by three integers. In the twisted sectors, the partition functions in the left-mover are given by the building blocks obtained in the bosonic-string case, which are composed of the characters of the affine Lie algebras at level one. After the Poisson resummation, one can also check the unitarity of the spectrum. The case of the D 2 × D 2 torus was briefly discussed.
Our construction in the bosonic-string case formally resembles the truncation of the bosonic-string spectrum to the heterotic-string spectrum, which is used to study the Tduality of the latter [26,32]. Indeed, one can start with a (d + d ′ )-dimensional torus whose background moduli takes the same form as in the truncation, and proceed as in section 3 and 4. An interesting possibility in this case is that the additional moduli A µk may be incorporated in the T-fold CFTs. For this to be the case, one needs to check the fixed-point condition of the T-duality and also to confirm that the twisted partition functions with non-trivial A µi indeed satisfy the modular covariance of the form (3.7). We leave these as future problems.
It is worthwhile to remark that the heterotic T-folds we constructed include novel cases which contain rather non-trivial phase factors and are not reduced to the free fermion construction. It would thus be interesting to apply our construction to building the 'realistic' heterotic vacua of asymmetric orbifolds, since recent attempts so far are mainly based on the free fermion construction e.g. as in [11] for the SUSY vacua and in [36][37][38][39][40] for the SUSY-breaking ones. Especially, it is indeed possible to extend the present construction to a variety of the non-SUSY heterotic T-folds by following [16,17]. It would also be interesting to figure out the moduli space of such a class of vacua. We would like to return to these issues in a future work.

Acknowledgments
We would like to thank C. Ahn and Z. Bajnok for useful comments. This work is supported in part by JSPS Grant-in-Aid for Scientific Research 24540248 and Japan-Hungary Research Cooperative Program from Japan Society for the Promotion of Science (JSPS).

A Summary of building blocks
In this appendix we summarize the definitions of the building blocks that are repeatedly used in the main text.

A.1 Building blocks associated with Lie algebra lattices
As preparation, we summarize our conventions of theta functions and the character formulas of affine Lie algebras relevant to our analysis.

A.2 Free fermion chiral blocks
In the last line, each term corresponds to the NS, NS, R sectors with keeping this order.
These trivially vanish, as is consistent with the space-time SUSY. They satisfy the modular covariance of the form, Since (A.19) vanishes, the relations (A.20) may appear to be ambiguous. See, however, [16] for more precise arguments.