Then, the simulation program summarizes information such as the exposure conditions, the layout of the photomask, and the aperture image, and predicts and displays a photoresist pattern that would be implemented on a wafer. [0036] In step S4, a simulated, or virtual, photoresist pattern obtained in step S3 is compared with the circuit pattern of the photomask, and an initial difference in area or