D. [. Agrachev, U. Barilari, and . Boscain, On the Hausdorff volume in sub-Riemannian geometry, Calc, Var. Partial Differential Equations, vol.43, pp.3-4, 2012.

D. [. Agrachev, L. Barilari, and . Rizzi, Curvature, Memoirs of the AMS, pp.1306-5318, 2013.
DOI : 10.1007/978-3-662-06404-7_23

URL : https://hal.archives-ouvertes.fr/hal-00838195

A. A. Agrachev, A. Gentile, and A. Lerario, Geodesics and horizontal-path spaces in Carnot groups, Geometry & Topology, vol.19, issue.3, pp.1569-1630, 2015.
DOI : 10.2140/gt.2015.19.1569

A. A. Agrachev, Any sub-Riemannian metric has points of smoothness, Doklady Mathematics, vol.79, issue.1, pp.295-298, 2009.
DOI : 10.1134/S106456240901013X

C. Autenried and I. Markina, Sub-Riemannian Geometry of Stiefel Manifolds, SIAM Journal on Control and Optimization, vol.52, issue.2, pp.939-959, 2014.
DOI : 10.1137/130922537

C. Autenried and M. G. Molina, -type groups, Mathematische Nachrichten, vol.162, issue.2, pp.4-12, 2016.
DOI : 10.1002/mana.201400368

A. A. Ardentov and Y. L. Sachkov, Cut time in sub-riemannian problem on engel group, ESAIM: Control, Optimisation and Calculus of Variations, vol.21, issue.4, pp.958-988, 2015.
DOI : 10.1051/cocv/2015027

D. Barilari, U. Boscain, G. Charlot, and R. W. Neel, On the Heat Diffusion for Generic Riemannian and Sub-Riemannian Structures, International Mathematics Research Notices, 2016.
DOI : 10.1093/imrn/rnw141

URL : https://hal.archives-ouvertes.fr/hal-00879444

D. Barilari, U. Boscain, and J. Gauthier, On 2-Step, Corank 2, Nilpotent Sub-Riemannian Metrics, SIAM Journal on Control and Optimization, vol.50, issue.1, pp.559-582, 2012.
DOI : 10.1137/110835700

URL : https://hal.archives-ouvertes.fr/hal-00596665

D. Barilari, U. Boscain, and R. W. Neel, Small-time heat kernel asymptotics at the sub-Riemannian cut locus, Journal of Differential Geometry, vol.92, issue.3, pp.373-416, 2012.
DOI : 10.4310/jdg/1354110195

URL : https://hal.archives-ouvertes.fr/hal-00687651

J. Bochnak, M. Coste, and M. Roy, Real algebraic geometry, Ergebnisse der Mathematik und ihrer Grenzgebiete (3) [Results in Mathematics and Related Areas, 1998.
DOI : 10.1007/978-3-662-03718-8

R. Beals, B. Gaveau, and P. Greiner, The Green Function of Model Step Two Hypoelliptic Operators and the Analysis of Certain Tangential Cauchy Riemann Complexes, Advances in Mathematics, vol.121, issue.2, pp.288-345, 1996.
DOI : 10.1006/aima.1996.0054

U. Boscain and F. Rossi, Invariant Carnot???Caratheodory Metrics on $S^3$, $SO(3)$, $SL(2)$, and Lens Spaces, SL(2), and lens spaces, pp.1851-1878, 2008.
DOI : 10.1137/070703727

R. W. Brockett, Control theory and singular Riemannian geometry, New directions in applied mathematics, pp.11-27, 1980.

Y. A. Butt, Y. L. Sachkov, and A. I. Bhatti, Cut Locus and Optimal Synthesis in Sub-Riemannian Problem on the Lie Group SH(2), Journal of Dynamical and Control Systems, vol.2, issue.3, pp.1-41, 2016.
DOI : 10.1007/s10883-016-9337-4

P. Cannarsa and L. Rifford, Semiconcavity results for optimal control problems admitting no singular minimizing controls??????This research was completed, in part, while the first author was visiting the Universit?? de Lyon 1 and, in part, while the second author was visiting the Universit?? di Roma Tor Vergata on an INdAM grant. The authors are grateful to the above institutions for their support., Annales de l'Institut Henri Poincare (C) Non Linear Analysis, vol.25, issue.4, pp.773-802, 2008.
DOI : 10.1016/j.anihpc.2007.07.005

. L. Dmo-+-15-]-e, R. Donne, A. Montgomery, P. Ottazzi, D. Pansu et al., Sard property for the endpoint map on some carnot groups, Annales de l'Institut Henri Poincare (C) Non Linear Analysis, 2015.

]. B. Gav77 and . Gaveau, Principe de moindre action, propagation de la chaleur et estimées sous elliptiques sur certains groupes nilpotents, Acta Math, vol.139, issue.12, pp.95-153, 1977.

J. Gauthier, B. Jakubczyk, and V. Zakalyukin, Motion Planning and Fastly Oscillating Controls, SIAM Journal on Control and Optimization, vol.48, issue.5, pp.3433-3448, 2009.
DOI : 10.1137/090761884

F. Jean, Control of nonholonomic systems: from sub-Riemannian geometry to motion planning
DOI : 10.1007/978-3-319-08690-3

URL : https://hal.archives-ouvertes.fr/hal-01137580

T. Kato, Perturbation theory for linear operators, Classics in Mathematics, 1995.
DOI : 10.1007/978-3-662-12678-3

R. Léandre, Majoration en temps petit de la densité d'une diffusion dégénérée, pp.289-294, 1987.

A. Lerario and L. Rizzi, How many geodesics join two points on a contact sub-Riemannian manifold?, Journal of Symplectic Geometry, pp.1405-4294, 2014.
URL : https://hal.archives-ouvertes.fr/hal-01096718

W. Liu and H. J. Sussman, Shortest paths for sub-Riemannian metrics on rank-two distributions , Mem. Amer, Math. Soc, vol.118, issue.564, p.104, 1995.
DOI : 10.1090/memo/0564

URL : http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.52.2139

A. Montanari and D. Morbidelli, On the subRiemannian cut locus in a model of free two-step Carnot group, ArXiv e-prints, 2016.

A. Montanari and D. Morbidelli, On the lack of semiconcavity of the subRiemannian distance in a class of Carnot groups, Journal of Mathematical Analysis and Applications, vol.444, issue.2, pp.1652-1674, 2016.
DOI : 10.1016/j.jmaa.2016.07.032

R. Montgomery, A tour of subriemannian geometries, their geodesics and applications, Mathematical Surveys and Monographs, vol.91, 2002.
DOI : 10.1090/surv/091

F. Monroy-pérez and A. Anzaldo-meneses, The Step-2 Nilpotent (n, n(n + 1)/2) Sub-Riemannian Geometry, Journal of Dynamical and Control Systems, vol.8, issue.4, pp.185-216, 2006.
DOI : 10.1007/s10450-006-0380-4

O. Myasnichenko, Nilpotent (3, 6) sub-Riemannian problem, Journal of Dynamical and Control Systems, vol.8, issue.4, pp.573-597, 2002.
DOI : 10.1023/A:1020719503741

L. Rifford, Sub-Riemannian geometry and optimal transport, Briefs in Mathematics
DOI : 10.1007/978-3-319-04804-8

URL : https://hal.archives-ouvertes.fr/hal-01131787

L. Rizzi, Measure contraction properties of Carnot groups, Calculus of Variations and Partial Differential Equations, vol.19, issue.1, 1920.
DOI : 10.1007/978-3-319-04804-8

URL : https://hal.archives-ouvertes.fr/hal-01218376

L. Rifford and E. Trélat, On the stabilization problem for nonholonomic distributions, Journal of the European Mathematical Society, vol.11, issue.2, pp.223-255, 2009.
DOI : 10.4171/JEMS/148

URL : https://hal.archives-ouvertes.fr/hal-00105488

Y. L. Sachkov, Cut locus and optimal synthesis in the sub-Riemannian problem on the group of motions of a plane, ESAIM: Control, Optimisation and Calculus of Variations, vol.17, issue.2, pp.293-321, 2011.
DOI : 10.1051/cocv/2010005

R. S. Strichartz, Sub-Riemannian geometry, Journal of Differential Geometry, vol.24, issue.2, pp.221-263, 1986.
DOI : 10.4310/jdg/1214440436

. G. Univ, . Alpes, F. If, . Grenoble, C. France et al., France E-mail address: luca.rizzi@univ-grenoble-alpes.fr Univ, pp.43-54