Suncatcher - you've not given us enough info to make a well-informed diagnosis, but I'll offer my guess:
I doubt that your halyard is stretching that much. The first thing I would do to your boat is clean and lubricate the sail slot in the mast and the sail slides. Then, make sure that the main is going all the way up when you first set it. If the luff loses tension, determine if the head is creeping down the mast. If so, concentrate your efforts toward fixing the halyard so that it does not slip under load.
If the top of the sail is not coming down, then direct you attention to the gooseneck, as mentioned by TSBB 2 in #5 and the tack, as mentioned by Joe in #6. There are a few ways to keep your gooseneck from sliding up the mast, such as downhaul, cunningham, sail track stop.