01 - Set the oven temperature to 400°F.
02 - Heat olive oil in a large skillet over medium heat. Cook the onion, carrots, and celery for 6 to 8 minutes until softened.
03 - Incorporate garlic, thyme, rosemary, and smoked paprika, cooking for 1 minute until fragrant.
04 - Mix in tomato paste, lentils, and vegetable broth. Bring to a boil, then lower the heat and simmer for 25 to 30 minutes until lentils soften and most liquid evaporates.
05 - Stir in peas, corn, soy sauce, salt, and black pepper. Cook for 3 to 4 additional minutes; then remove from heat.
06 - While the filling simmers, boil the peeled and cubed potatoes in salted water for 15 to 18 minutes until tender.
07 - Drain potatoes and mash with milk, butter, salt, and white pepper until smooth and creamy.
08 - Transfer the lentil filling evenly into a 9x13-inch baking dish. Layer the mashed potatoes on top and smooth with a spatula.
09 - Run a fork over the mashed potato surface to create ridges that promote crispness.
10 - Bake for 20 to 25 minutes until the topping is golden and the filling bubbles.
11 - Allow the dish to rest for 10 minutes before serving.