A heavy-fermion superconductor UPt3 is a unique spin-triplet superconductor with multiple superconducting phases. Here we provide the first report on the first-principles analysis of the microscopic superconducting gap structure. We find that the promising gap structure is an unprecedented E2u state, which is completely different from the previous phenomenological E2u models. Our obtained E2u state has in-plane twofold vertical line nodes on small Fermi surfaces and point nodes with linear dispersion on a large Fermi surface. These peculiar features cannot be explained in the conventional spin 1/2 representation, but is described by the group-theoretical representation of the Cooper pairs in the total angular momentum j = 5/2 space. Our findings shed new light on the long-standing problems in the superconductivity of UPt3.PACS numbers: 74.20.Mn, 74.20.Pq, 74.20.Rp,74.70.Tx Identifying the pairing state and the pairing mechanism is one of the most interesting and important issues in the field of unconventional superconductivity. In particular, a spin-triplet type of pairing state attracts much attention, since there are few examples except for the superfluid helium 3. In the strongly correlated electron systems, the heavy-fermion superconductor UPt 3 is one of the rare candidates for spin-triplet superconductors [1,2]. The most impressive feature of this material is the multiple superconducting phase diagram. At zero magnetic field, there appears the superconducting double transition into the A phase at the upper critical temperature T + c ∼ 540mK, and then into the B phase at the lower T − c ∼ 490mK [3]. Moreover, the C phase appears at high field and low temperature in the H − T phase diagram [4,5]. In each phase, nodal quasiparticle excitations have been observed [6][7][8][9], and also the time-reversal symmetry breaking has been reported in B phase [10][11][12]. In spite of these prominent features, the superconducting gap structure still remains to be solved. Many scenarios have been proposed based on the phenomenological approach so far [13][14][15][16]. Among them, the most promising gap symmetry has been widely believed to be E 2u models [1,[17][18][19]. However, recent measurement of the fieldangle resolved thermal transport has detected in-plane twofold oscillations in the C phase [20]. This result is inconsistent with the proposed E 2u models, because in the group-theoretical argument, it is believed that the E 2u models do not have such in-plane twofold symmetry. Such twofold symmetry seems to be rather compatible with the E 1u models proposed in Refs. [21][22][23]. This is also supported by the following observations. A small residual thermal conductivity [24] suggests the presence of point nodes with linear dispersion in the E 1u models. The Josephson effect [25] with s-wave superconductor is compatible with E 1u planar states. Thus, recently, the * nomoto.takuya@scphys.kyoto-u.ac.jp E 1u models [21][22][23] have been revisited. This strongly promoted the field-angle resolved specific heat measur...