Issue: Primary stone and soil types are affected by z-level changes, where Secondary stone types are not. In this thread Primary refers to stone types visible at the "Choose Fortress Location" screen. Secondary refers to the other stone types that are present in the form of veins and clusters within the Primary layer and trigger the "You have struck X!" message.
Behavior: When a natural "Rough-hewn [Primary Stone Type] Wall" falls one or more z-levels it is transformed into the primary stone type for that level. When a "[Soil Type] Wall" falls one or more z-levels it is transformed into the current level's soil type, or the lowest z-level occurring soil type for that square. When a natural "Rough-hewn [Secondary Stone Type] Wall" falls one or more z-levels it remains unchanged. Likewise, a natural "Rough-hewn [Secondary Stone Type] Cluster" will remain unaffected.
I originally came across this phenomenon when trying to drop a section of Rough Black Sand Wall several z-levels so that it would be closer to the Magma Glass Furnaces. The following images illustrate what happened. Note that the images are a profile cross-section.
1) The legend explaining what the different colors represent. Note that light gray isn't included, but represents Subterranean Open Space.
2) First I dug an open shaft below the section I want to drop.
3) Then I dug everything away from around and above the area so that it would be unattached and Cave-In.
4) What I expected to find after the dust had settled.
5) What actually existed after the Cave-In.
I then tried dropping more than one z-level worth of soil:
1) The space below is cleared.
2) All attached area around and above are cleared.
3) What existed after the Cave-In. When viewing from the Yellow Sand layer, the floor shows as a Yellow Sand floor.
4) What I had expected to find.
I then decided to try a larger sample area on a completely unmodded install of DF 40d11:
1) Legend
2) Layers as they were before any digging.
3) Areas mined out to cause the Cave-In.
4) The result of the Cave-in.
5) What logically should have been the result of the Cave-In.
I decided to report this behavior as a bug, as two different outcomes occur depending on if the section was Primary or Secondary, and that objects are having their material composition changed. Bugs have been recorded (#000993) and fixed (#000540) that also involved squares changing material after certain activities, so I thought that perhaps this was not the intended behavior. If this is the intended behavior of stone and soil to have different reactions then obviously this is only my opinion and is not a bug.