Nope. If you mash with 3.9 gallons and sparge with 3 gallons you'll end up with 5.4 gallons of wort in the kettle.
Grain absorbs approximately .125 gallons of water per pound. For your 12.5 pounds of grain you can expect it to absorb about 1.5 gallons of your strike water. Personally I'd mash in with a full 4 gallons/16 quarts. You'll drain 2.5 gallons of first runnings into your kettle.
Once the grain has absorbed all it is going to, what you get out pretty much equals what you put in, so you can determine your sparge by how much more you need in the kettle to end up with a full five gallons in the fermentor. To do that you have to calculate the various losses that occur along the way. I tend to lose about a gallon an hour in the boil. I also leave several quarts of hop sludge and hot break in the bottom of my kettle. I like to have my wort as clean as possible, so I sacrifice getting everything out of the kettle for having cleaner wort. I build that into my recipes. You can assume, however, that you are going to lose at least a half gallon and up to a gallon of wort trapped in at the bottom of the kettle.
Assuming you'll lose a gallon to boiloff and another gallon to trub loss and shrinkage (about 4% once the wort cools), you'll want to batch sparge twice with about 2.25 gallons of 168º water. That'll give you 7 gallons in the kettle total (2.5 from the first runnings and 4.5 from the sparges). If you aren't using a kettle with a false bottom and plan on getting as much wort out as possible, just sparge with 4 gallons, though you'll probably have to do it in two batches, giving you 6.5 gallons in the kettle.
If you go with the more conservative numbers, i.e. 7 gallons in the kettle, you may end up with 5.5 gallons in the fermentor rather than 5. This is not a bad thing.
On my system, I brew 5.5 gallon batches to account for further testing & tasting losses later on. I shoot for 7.5 to 7.75 gallons in the kettle. After losing a gallon to boiloff and another gallon to trub loss and a quart to cooling losses, that gives me 5.5 gallons in the bucket or carboy.