624 research outputs found

    Combining Static and Dynamic Contract Checking for Curry

    Full text link
    Static type systems are usually not sufficient to express all requirements on function calls. Hence, contracts with pre- and postconditions can be used to express more complex constraints on operations. Contracts can be checked at run time to ensure that operations are only invoked with reasonable arguments and return intended results. Although such dynamic contract checking provides more reliable program execution, it requires execution time and could lead to program crashes that might be detected with more advanced methods at compile time. To improve this situation for declarative languages, we present an approach to combine static and dynamic contract checking for the functional logic language Curry. Based on a formal model of contract checking for functional logic programming, we propose an automatic method to verify contracts at compile time. If a contract is successfully verified, dynamic checking of it can be omitted. This method decreases execution time without degrading reliable program execution. In the best case, when all contracts are statically verified, it provides trust in the software since crashes due to contract violations cannot occur during program execution.Comment: Pre-proceedings paper presented at the 27th International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR 2017), Namur, Belgium, 10-12 October 2017 (arXiv:1708.07854

    On the selective deposition of tin and tin oxide on various glasses using a high power diode laser

    Get PDF
    The deposition of SnO2 using a 120 W high power diode laser (HPDL) on both fused silica and soda-lime-silica glass has been successfully demonstrated. Deposition on both glass substrates was carried out with laser power densities of 650-1600 W cm-2 and at rates of 420-1550 mm min-1. The thickness of the deposited layers was typically around 250 m. The maximum theoretical coverage rate that it may be possible to achieve using the HPDL was calculated as being 3.72 m2 h-1. Owing to the wettability characteristics of Sn, it proved impossible to deposit the metal on either glass substrate. Evidence of solidified microstructures was observed, with the microstructures differing considerably across the same deposited track. These differences were attributed to variations in the solidification rate, R, and the thermal gradient, G. Adhesion of the SnO2 with the soda-lime-silica glass was found to be due to mechanical bonding. The adhesion of the SnO2 with the fused silica was seen to the result of a chemical bond arising from an interface region between the SnO2 and the fused silica glass substrate. This interface region was found to be comprised of mainly Si and rich with Sn3O4

    Near-Earth asteroid (3200) Phaethon. Characterization of its orbit, spin state, and thermophysical parameters

    Full text link
    The near-Earth asteroid (3200) Phaethon is an intriguing object: its perihelion is at only 0.14 au and is associated with the Geminid meteor stream. We aim to use all available disk-integrated optical data to derive a reliable convex shape model of Phaethon. By interpreting the available space- and ground-based thermal infrared data and Spitzer spectra using a thermophysical model, we also aim to further constrain its size, thermal inertia, and visible geometric albedo. We applied the convex inversion method to the new optical data obtained by six instruments and to previous observations. The convex shape model was then used as input for the thermophysical modeling. We also studied the long-term stability of Phaethon's orbit and spin axis with a numerical orbital and rotation-state integrator. We present a new convex shape model and rotational state of Phaethon: a sidereal rotation period of 3.603958(2) h and ecliptic coordinates of the preferred pole orientation of (319^{\circ}, -39^{\circ}) with a 5^{\circ} uncertainty. Moreover, we derive its size (DD=5.1±\pm0.2 km), thermal inertia (Γ\Gamma=600±\pm200 J m2^{-2} s1/2^{-1/2} K1^{-1}), geometric visible albedo (pVp_{\mathrm{V}}=0.122±\pm0.008), and estimate the macroscopic surface roughness. We also find that the Sun illumination at the perihelion passage during the past several thousand years is not connected to a specific area on the surface, which implies non-preferential heating.Comment: Astronomy and Astrophysics. In pres

    ISOCAM OBSERVATIONS OF M31

    Get PDF
    Abstract We present ISOCAM images of the Andromeda galaxy center. They display an elliptical stellar bulge and a more complexe dust distribution. The spatial dust distribution follows a mini-spiral structure identical to the distribution of absorption in optical wavelengths. A discussion on the nature of the dust from CVF observations is also presented. The central part and the molecular ring of M31 are excellent targets for FIRST
    corecore