Whisk the flour, salt, and sugar. Cut in the butter until pea-sized, then add ice water a spoonful at a time until the dough holds together.
Divide the dough in half, shape into two disks, wrap, and chill for at least 1 hour.
Peel, core, and slice the apples 1/4 inch thick. Toss with the lemon juice, both sugars, spices, and salt.
Melt the butter in a large skillet over medium heat. Add the apples and juices and cook 5 to 7 minutes. Stir in the cornstarch mixture and cook 1 minute until thick and glossy. Spread on a sheet and cool completely.
Roll one disk into a 12-inch circle and fit it into a 9-inch deep-dish pie plate.
Add the cooled filling. Roll out the second disk, place it on top, trim, crimp, and cut 4 or 5 vents.
Chill the pie 20 minutes while the oven heats to 425°F. Brush with egg wash and sprinkle with coarse sugar.
Bake on a rimmed baking sheet for 20 minutes. Reduce the heat to 375°F, shield the edges, and bake 40 to 50 minutes more, until the juices bubble thickly through the vents.
Cool on a wire rack for at least 3 hours before slicing.