Heat a small amount of oil in a frying pan. Once the oil is hot, add the garlic, celery, onion, carrot, rosemary and thyme. Cover with a lid and cook for 15 minutes.
Add the mushrooms and fry for a further 5 minutes.
Add the red wine, tomatoes, lentils, bay leaves, tomato puree and salt and pepper. Cover with a lid and simmer for a further 30 minutes.
Meanwhile, cook the pasta as per packet instructions.
Combine the cooked pasta with the bolognese sauce, along with most of the grated cheese.
Serve with the remaining cheese.