In the SAUTE mode, Add Oil.Add Onions,green Chilli,ginger and garlic and cook till the onions become golden- about 5-8 minutes.
Add the tomatoes and continue to cook till the tomatoes become mushy and shapeless- around 3 more minutes.
Add the dal,turmeric and salt in the inner pot of the instant pot.
To this, add 4 Cups of water.Close the lid,Deglaze and scrape the bottom and choose the "PRESSURE COOK" option for 20 minutes on "HIGH PRESSURE" in the "SEALED" position.Open when the pressure releases naturally.
Switch to SAUTE mode. Add the 3 cups of shredded spinach,mix and bring to boil.
Pressure Cooker Method
Add the dal,turmeric and salt to the pressure cooker.
To this, add 4 Cups of water.Close the lid and pressure cook on medium flame for 20 minutes.Open when the pressure releases naturally.
Add the 3 cups of shredded spinach,mix and bring to boil.
Masala
While the dal is boiling, Heat the oil in a pan/Kadhai or a wok.Add Onions,green Chilli,ginger and garlic and cook till the onions become golden.
Add the tomatoes and continue to cook till the tomatoes become mushy and shapeless.Add 1 teaspoon water if the masala is burning.
Ghee Tempering(Optional/Check notes)
Add Ghee to a small pan.HEat to smoking point.Turn off.
Working quikly, add the cumin,asafetida & red Chilli powder.
Pour over the dal and give it a mix.
Notes
Ghee Tempering- This additional step can be avoided by tempering the oil/ghee at the masala step with same ingredients. This way you would, heat the ghee/oil- add the spices then add the onions, garlic,ginger and tomato.