I am not
I did not suggest that a 24 degree deadrise has an optimum trim of 9 - 12 degrees. I am suggesting you read Savitsky's paper "Hydrodynamic Design of Planing
Hulls", a few pages prior to Figure 16 which he states that this is the case. Unfortunately, this paper was not the one that I was looking for as it only deals with
a deadrise of up to 20 degrees. My recollection is that a 25-28 degree deadrise gets you close to 8 degrees.
I am curious that you would seem surprised at this. The vertical lift forces becomes less due the weakening vertical lift vector due to deadrise so it is presumable that the optimum angle would not be fixed at your 4 degrees at any deadrise. Also at significant higher speeds, trimming up to reduce skin friction can increase boat speed reducing wetted surface. This paper is pretty thorough and Savitsky is recognized as an expert in his field. I was merely regurgitating information that I had read that was a hydrodynamic analysis of various deadrise hulls.
Also, the optimum trim angle is speed dependent for a given deadrise
View attachment 151452 View attachment 151452
The lower left hand diagram is the one that shows the relationship.