DNAD, a Simple Tool for Automatic Differentiation of Fortran Codes

Total Page:16

File Type:pdf, Size:1020Kb

DNAD, a Simple Tool for Automatic Differentiation of Fortran Codes View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by DigitalCommons@USU DNAD, a Simple Tool for Automatic Differentiation of Fortran Codes Using Dual Numbers Wenbin Yu a and Maxwell Blair b aUtah State University, Logan, Utah 80322-4130 bAir Force Research Laboratory, Wright-Patterson AFB, Ohio 45433-7542 Abstract DNAD (dual number automatic differentiation) is a simple, general-purpose tool to automatically differentiate Fortran codes written in modern Fortran (F90/95/2003) or legacy codes written in previous version of the Fortran language. It implements the forward mode of automatic differentiation using the arithmetic of dual numbers and the operator overloading feature of F90/95/2003. Very minimum changes of the source codes are needed to compute the first derivatives of Fortran programs. The advantages of DNAD in comparison to other existing similar computer codes are its programming simplicity, extensibility, and computational efficiency. Specifically, DNAD is more accurate and efficient than the popular complex-step approximation. Several examples are used to demonstrate its applications and advantages. PROGRAM SUMMARY Program Title: DNAD Journal Reference: Catalogue identifier: Licensing provisions: none Programming language: F90/95/2003 Computer: all computers with a modern FORTRAN compiler Operating system: all platforms with a modern FORTRAN compiler Keywords: Automatic differentiation, Fortran, Sensitivity analysis Classification: 4.12, 6.2 Nature of problem: Derivatives of outputs with respect to inputs of a Fortran code are often needed in physics, chemistry, and engineering. The author of the analy- sis code may no longer available and the user may not have deep knowledge of the Email address: [email protected] (Wenbin Yu). URL: http://www.mae.usu.edu/faculty/wenbin/ (Wenbin Yu). Preprint submitted to Computer Physics Communications 5 February 2013 code. Thus a simple tool is necessary to automatically differentiate the code through very minimum change of the source codes. This can be achieved using dual number arithmetic and operator overloading. Solution method: A new data type is defined with the first scalar component holding the function value and the second array component holding the first derivatives. All the basic operations and functions are overloaded with the new definitions accord- ing to dual number arithmetic. To differentiate an existing code, all real numbers should be replaced with this new data type and the input/output of the code should also be modified accordingly. Restrictions: None imposed by the program. Unusual features: None. Running time: For each additional independent variable, DNAD takes less time than than the running time of the original analysis code. However the actual running time depends on the compiler, the computer, and the operations involved in the code to be differentiated. 1 Introduction In this age, most problems in physics, chemistry, and engineering are solved using computer codes. It is a frequent occurrence that we need to compute the derivatives of the outputs of the computer codes with respect to the in- put parameters. A very typical example is the gradient-based optimization commonly used in engineering design. Gradient-based methods use not only the value of the objective and constraint functions but also their derivatives. The success of these methods hinges on accurate and efficient evaluation of the derivatives, commonly called sensitivity analysis in the literature of en- gineering design. Sensitivity analysis is usually the most costly step in the optimization cycle, and the optimization process often fails due to inaccurate derivative calculations [1]. There are several methods proposed for evaluating derivatives [2] of outputs of a computer code with respect to its inputs. Traditionally, finite differences are used to evaluate the derivatives if the source codes are not accessible. Basically, one perturbs each input and evaluates the difference of the outputs. The \step-size dilemma" forces a choice between a step size small enough to minimize the truncation error and a step size large enough to avoid significant subtractive cancelation errors [3]. If the source codes are accessible, then one can use so-called automatic differen- tiation (AD) [2] or complex-step approximation [4] to provide a more accurate and robust evaluation of the derivatives. AD, also known as computational dif- ferentiation or algorithmic differentiation, is a well-established method based 2 on a systematic application of the chain rule of differentiation to each opera- tion in the program flow [2], which can be carried out in a forward mode or a reverse mode. The forward mode can be easily implemented by a nonstandard interpretation of the program in which the real numbers are replaced by so- called dual numbers, the details of which are given in the next section. As far as programming concerned, the forward mode is usually implemented using two strategies: Source Code Transformation (SCT) and Operator Overloading (OO) [5]. A complete list of SCT or OO tools for automatic differentiation of Fortran codes can be found at www.autodiff.org. Using SCT, more source codes are generated automatically based on the original source for evaluating the derivatives. Although SCT can be implemented for all programming lan- guage and it is easier for an optimized compilation of the code, the original source code is greatly enlarged which makes it difficult to debug the extended code. Furthermore, it is very difficult to develop the AD tool for automatic generation of the additional source codes [6]. There are more than a dozen tools that use SCT for Fortran codes, with ADIFOR [7] being the most known one. OO is a more elegant approach if the source code is written in a language supporting it. In OO, one defines a new structure containing dual numbers [5] and overloads elementary mathematical operations to this new data structure. The main changes to the source codes will be re-declaring real numbers with the new data structure. It is noted that OO is not only applicable to source codes written in a supporting language such as F90/95/2003 and C++ but also applicable for the codes written in a language compatible with a support- ing language, for example, codes written in F77. One just needs to compile the operator overloaded source codes using an F90/95/2003 compiler. There are several automatic differentiation tools for Fortran codes using OO, includ- ing HSL AD02 [8], AUTO DERIV [9,10], and ADF95 [11]. There are certain limitations with these tools. For example, HSL AD02 does not support the array features of F90/95/2003. AUTO DERIV [9] was very slow, and even the most recent release in [10] is still about ten times slower than analytic derivative calculation. Analytic derivative calculation means that a Fortran code containing the analytic expressions for the derivatives is used for compu- tation. ADF95, although it is much faster than AUTO DERIV for the cases tested in [11], is about six times slower than analytic derivative calculation. Another limitation of these OO AD tools is that the independent variables and dependent variables are specified inside the code, which implies that the end user needs to modify the code and recompile the differentiated version of the analysis code when the derivatives of different outputs are needed or the independent variables are different. This requires the end user to know the meaning of variables inside the code and to know how to compile the dif- ferentiated codes. Furthermore, the fact that oftentimes the developer of the differentiated version of the analysis code is not the end user who is going to use the code discourages the use of such AD tools. For this very reason, it is better to develop AD tools that can minimize and simplify the changes needed by the end user to the source codes of the analysis codes. 3 The complex-step approximation method, publicized by Martins [1], was orig- inally proposed as a better alternative to replace finite difference as it can avoid the step-size dependency and the subtractive cancelation errors inher- ent in finite difference techniques. An extremely small number can be assigned to get a second-order approximation of the derivatives. Later, the complex- step approximation was found to be similar to the automatic differentiation [6], and it can be considered as an approximate implementation of automatic differentiation using the existing complex data structure in some computer languages. Because of its clear advantages over the finite difference method, its easy implementation, and the fact that the end use of the differentiated version of the code is independent of the source codes, the complex-step ap- proximation method is popular in the aerospace design community. However, some issues of complex-step approximation can only be resolved using auto- matic differentiation [6]. SCOOT [12] is an experimental variant of OO that is specialized to sup- port differentiation of vector calculus and derivatives of geometric variables in C++. With SCOOT, any number of derivatives are computed in parallel with machine accuracy. The method is validated to support the derivatives of geometric variables in a linear aerodynamic application. We have developed a simple general-purpose module, namely dual number automatic differentiation (DNAD), using the arithmetic of dual numbers and the OO feature of F90/95/2003 for automatic differentiation of Fortran codes. In comparison to existing Fortran AD tools using OO, DNAD only requires the end user to specify the number of independent variables. It is simple and can be easily extended as needed. For the examples we have tested, it is much more efficient than other tools. In comparison to the complex-step approximation method popular in the aerospace design community, DNAD is more efficient and accurate, and it avoids the pitfalls associated with the complex-step approximation method as pointed out in [6].
Recommended publications
  • Hyper-Dual Numbers for Exact Second-Derivative Calculations
    49th AIAA Aerospace Sciences Meeting including the New Horizons Forum and Aerospace Exposition AIAA 2011-886 4 - 7 January 2011, Orlando, Florida The Development of Hyper-Dual Numbers for Exact Second-Derivative Calculations Jeffrey A. Fike∗ andJuanJ.Alonso† Department of Aeronautics and Astronautics Stanford University, Stanford, CA 94305 The complex-step approximation for the calculation of derivative information has two significant advantages: the formulation does not suffer from subtractive cancellation er- rors and it can provide exact derivatives without the need to search for an optimal step size. However, when used for the calculation of second derivatives that may be required for approximation and optimization methods, these advantages vanish. In this work, we develop a novel calculation method that can be used to obtain first (gradient) and sec- ond (Hessian) derivatives and that retains all the advantages of the complex-step method (accuracy and step-size independence). In order to accomplish this task, a new number system which we have named hyper-dual numbers and the corresponding arithmetic have been developed. The properties of this number system are derived and explored, and the formulation for derivative calculations is presented. Hyper-dual number arithmetic can be applied to arbitrarily complex software and allows the derivative calculations to be free from both truncation and subtractive cancellation errors. A numerical implementation on an unstructured, parallel, unsteady Reynolds-Averaged Navier Stokes (URANS) solver,
    [Show full text]
  • A Nestable Vectorized Templated Dual Number Library for C++11
    cppduals: a nestable vectorized templated dual number library for C++11 Michael Tesch1 1 Department of Chemistry, Technische Universität München, 85747 Garching, Germany DOI: 10.21105/joss.01487 Software • Review Summary • Repository • Archive Mathematical algorithms in the field of optimization often require the simultaneous com- Submitted: 13 May 2019 putation of a function and its derivative. The derivative of many functions can be found Published: 05 November 2019 automatically, a process referred to as automatic differentiation. Dual numbers, close rela- License tives of the complex numbers, are of particular use in automatic differentiation. This library Authors of papers retain provides an extremely fast implementation of dual numbers for C++, duals::dual<>, which, copyright and release the work when replacing scalar types, can be used to automatically calculate a derivative. under a Creative Commons A real function’s value can be made to carry the derivative of the function with respect to Attribution 4.0 International License (CC-BY). a real argument by replacing the real argument with a dual number having a unit dual part. This property is recursive: replacing the real part of a dual number with more dual numbers results in the dual part’s dual part holding the function’s second derivative. The dual<> type in this library allows this nesting (although we note here that it may not be the fastest solution for calculating higher order derivatives.) There are a large number of automatic differentiation libraries and classes for C++: adolc (Walther, 2012), FAD (Aubert & Di Césaré, 2002), autodiff (Leal, 2019), ceres (Agarwal, Mierle, & others, n.d.), AuDi (Izzo, Biscani, Sánchez, Müller, & Heddes, 2019), to name a few, with another 30-some listed at (autodiff.org Bücker & Hovland, 2019).
    [Show full text]
  • Application of Dual Quaternions on Selected Problems
    APPLICATION OF DUAL QUATERNIONS ON SELECTED PROBLEMS Jitka Prošková Dissertation thesis Supervisor: Doc. RNDr. Miroslav Láviˇcka, Ph.D. Plze ˇn, 2017 APLIKACE DUÁLNÍCH KVATERNIONU˚ NA VYBRANÉ PROBLÉMY Jitka Prošková Dizertaˇcní práce Školitel: Doc. RNDr. Miroslav Láviˇcka, Ph.D. Plze ˇn, 2017 Acknowledgement I would like to thank all the people who have supported me during my studies. Especially many thanks belong to my family for their moral and material support and my advisor doc. RNDr. Miroslav Láviˇcka, Ph.D. for his guidance. I hereby declare that this Ph.D. thesis is completely my own work and that I used only the cited sources. Plzeˇn, July 20, 2017, ........................... i Annotation In recent years, the study of quaternions has become an active research area of applied geometry, mainly due to an elegant and efficient possibility to represent using them ro- tations in three dimensional space. Thanks to their distinguished properties, quaternions are often used in computer graphics, inverse kinematics robotics or physics. Furthermore, dual quaternions are ordered pairs of quaternions. They are especially suitable for de- scribing rigid transformations, i.e., compositions of rotations and translations. It means that this structure can be considered as a very efficient tool for solving mathematical problems originated for instance in kinematics, bioinformatics or geodesy, i.e., whenever the motion of a rigid body defined as a continuous set of displacements is investigated. The main goal of this thesis is to provide a theoretical analysis and practical applications of the dual quaternions on the selected problems originated in geometric modelling and other sciences or various branches of technical practise.
    [Show full text]
  • Vector Bundles and Brill–Noether Theory
    MSRI Series Volume 28, 1995 Vector Bundles and Brill{Noether Theory SHIGERU MUKAI Abstract. After a quick review of the Picard variety and Brill–Noether theory, we generalize them to holomorphic rank-two vector bundles of canonical determinant over a compact Riemann surface. We propose sev- eral problems of Brill–Noether type for such bundles and announce some of our results concerning the Brill–Noether loci and Fano threefolds. For example, the locus of rank-two bundles of canonical determinant with five linearly independent global sections on a non-tetragonal curve of genus 7 is a smooth Fano threefold of genus 7. As a natural generalization of line bundles, vector bundles have two important roles in algebraic geometry. One is the moduli space. The moduli of vector bun- dles gives connections among different types of varieties, and sometimes yields new varieties that are difficult to describe by other means. The other is the linear system. In the same way as the classical construction of a map to a pro- jective space, a vector bundle gives rise to a rational map to a Grassmannian if it is generically generated by its global sections. In this article, we shall de- scribe some results for which vector bundles play such roles. They are obtained from an attempt to generalize Brill–Noether theory of special divisors, reviewed in Section 2, to vector bundles. Our main subject is rank-two vector bundles with canonical determinant on a curve C with as many global sections as pos- sible: especially their moduli and the Grassmannian embeddings of C by them (Section 4).
    [Show full text]
  • Exploring Mathematical Objects from Custom-Tailored Mathematical Universes
    Exploring mathematical objects from custom-tailored mathematical universes Ingo Blechschmidt Abstract Toposes can be pictured as mathematical universes. Besides the standard topos, in which most of mathematics unfolds, there is a colorful host of alternate toposes in which mathematics plays out slightly differently. For instance, there are toposes in which the axiom of choice and the intermediate value theorem from undergraduate calculus fail. The purpose of this contribution is to give a glimpse of the toposophic landscape, presenting several specific toposes and exploring their peculiar properties, and to explicate how toposes provide distinct lenses through which the usual mathematical objects of the standard topos can be viewed. Key words: topos theory, realism debate, well-adapted language, constructive mathematics Toposes can be pictured as mathematical universes in which we can do mathematics. Most mathematicians spend all their professional life in just a single topos, the so-called standard topos. However, besides the standard topos, there is a colorful host of alternate toposes which are just as worthy of mathematical study and in which mathematics plays out slightly differently (Figure 1). For instance, there are toposes in which the axiom of choice and the intermediate value theorem from undergraduate calculus fail, toposes in which any function R ! R is continuous and toposes in which infinitesimal numbers exist. The purpose of this contribution is twofold. 1. We give a glimpse of the toposophic landscape, presenting several specific toposes and exploring their peculiar properties. 2. We explicate how toposes provide distinct lenses through which the usual mathe- matical objects of the standard topos can be viewed.
    [Show full text]
  • Math Book from Wikipedia
    Math book From Wikipedia PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information. PDF generated at: Mon, 25 Jul 2011 10:39:12 UTC Contents Articles 0.999... 1 1 (number) 20 Portal:Mathematics 24 Signed zero 29 Integer 32 Real number 36 References Article Sources and Contributors 44 Image Sources, Licenses and Contributors 46 Article Licenses License 48 0.999... 1 0.999... In mathematics, the repeating decimal 0.999... (which may also be written as 0.9, , 0.(9), or as 0. followed by any number of 9s in the repeating decimal) denotes a real number that can be shown to be the number one. In other words, the symbols 0.999... and 1 represent the same number. Proofs of this equality have been formulated with varying degrees of mathematical rigour, taking into account preferred development of the real numbers, background assumptions, historical context, and target audience. That certain real numbers can be represented by more than one digit string is not limited to the decimal system. The same phenomenon occurs in all integer bases, and mathematicians have also quantified the ways of writing 1 in non-integer bases. Nor is this phenomenon unique to 1: every nonzero, terminating decimal has a twin with trailing 9s, such as 8.32 and 8.31999... The terminating decimal is simpler and is almost always the preferred representation, contributing to a misconception that it is the only representation. The non-terminating form is more convenient for understanding the decimal expansions of certain fractions and, in base three, for the structure of the ternary Cantor set, a simple fractal.
    [Show full text]
  • Generalisations of Singular Value Decomposition to Dual-Numbered
    Generalisations of Singular Value Decomposition to dual-numbered matrices Ran Gutin Department of Computer Science Imperial College London June 10, 2021 Abstract We present two generalisations of Singular Value Decomposition from real-numbered matrices to dual-numbered matrices. We prove that every dual-numbered matrix has both types of SVD. Both of our generalisations are motivated by applications, either to geometry or to mechanics. Keywords: singular value decomposition; linear algebra; dual num- bers 1 Introduction In this paper, we consider two possible generalisations of Singular Value Decom- position (T -SVD and -SVD) to matrices over the ring of dual numbers. We prove that both generalisations∗ always exist. Both types of SVD are motivated by applications. A dual number is a number of the form a + bǫ where a,b R and ǫ2 = 0. The dual numbers form a commutative, assocative and unital∈ algebra over the real numbers. Let D denote the dual numbers, and Mn(D) denote the ring of n n dual-numbered matrices. × arXiv:2007.09693v7 [math.RA] 9 Jun 2021 Dual numbers have applications in automatic differentiation [4], mechanics (via screw theory, see [1]), computer graphics (via the dual quaternion algebra [5]), and geometry [10]. Our paper is motivated by the applications in geometry described in Section 1.1 and in mechanics given in Section 1.2. Our main results are the existence of the T -SVD and the existence of the -SVD. T -SVD is a generalisation of Singular Value Decomposition that resembles∗ that over real numbers, while -SVD is a generalisation of SVD that resembles that over complex numbers.
    [Show full text]
  • Dual Quaternion Sample Reduction for SE(2) Estimation
    Dual Quaternion Sample Reduction for SE(2) Estimation Kailai Li, Florian Pfaff, and Uwe D. Hanebeck Intelligent Sensor-Actuator-Systems Laboratory (ISAS) Institute for Anthropomatics and Robotics Karlsruhe Institute of Technology (KIT), Germany [email protected], fl[email protected], [email protected] Abstract—We present a novel sample reduction scheme for random variables belonging to the SE(2) group by means of Dirac mixture approximation. For this, dual quaternions are employed to represent uncertain planar transformations. The Cramer–von´ Mises distance is modified as a smooth metric to measure the statistical distance between Dirac mixtures on the manifold of planar dual quaternions. Samples of reduced size are then ob- tained by minimizing the probability divergence via Riemannian optimization while interpreting the correlation between rotation and translation. We further deploy the proposed scheme for non- parametric modeling of estimates for nonlinear SE(2) estimation. Simulations show superior tracking performance of the sample reduction-based filter compared with Monte Carlo-based as well as parametric model-based planar dual quaternion filters. Figure 1: Examples of the proposed sample reduction tech- I. INTRODUCTION nique for planar rigid motions. Here, 2000 random samples Estimation of planar motions is ubiquitous and play a (yellow) drawn from different underlying distributions are fundamental role in many application scenarios, such as optimally approximated by 20 samples (blue) on the manifold odometry and scene reconstruction, object tracking as well of planar dual quaternions. as remote sensing, etc [1]–[5]. Planar motions, incorporating both rotations and translations on a plane, are mathematically described by elements belonging to the two-dimensional spe- which can be easily violated under large noise levels (e.g., cial Euclidean group SE(2).
    [Show full text]
  • Design of a Customized Multi-Directional Layered Deposition System Based on Part Geometry
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by UT Digital Repository Design of a customized multi-directional layered deposition system based on part geometry. Prabhjot Singh, Yong-Mo Moon, Debasish Dutta, Sridhar Kota Abstract Multi-Direction Layered Deposition (MDLD) reduces the need for supports by depositing on a part along multiple directions. This requires the design of a new mechanism to re- orient the part, such that the deposition head can approach from different orientations. We present a customized compliant parallel kinematic machine design configured to deposit a set of part geometries. Relationships between the process planning for the MDLD of a part geometry and considerations in the design of the customized machine mechanism are illustrated. MDLD process planning is based on progressive part decomposition and kinematic machine design uses dual number algebra and screw theory. 1. Introduction The past decade has seen the development of numerous Layered Manufacturing (LM) techniques. The main advantage afforded by LM is its ability to produce geometrically complex parts without specialized tooling in a relatively short period of time. LM processes are characterized by the need for sacrificial structures to support overhanging regions of the part. This necessitates time consuming post- processing and degrades part quality. Multi-Direction Layered Deposition (MDLD) Systems such as [3][4][5][7] build parts without supports by depositing a part along multiple directions. Depending on the process, either the deposition nozzle or the base table has multi-axis kinematics (refer Figure 1). (b) (a) Figure 1: (a) Deposition Table with rotational and translational actuation (b) Deposition nozzle mounted on a multi-axis robotic arm.
    [Show full text]
  • Dual Quaternions in Spatial Kinematics in an Algebraic Sense
    Turk J Math 32 (2008) , 373 – 391. c TUB¨ ITAK˙ Dual Quaternions in Spatial Kinematics in an Algebraic Sense Bedia Akyar Abstract This paper presents the finite spatial displacements and spatial screw motions by using dual quaternions and Hamilton operators. The representations are considered as 4 × 4 matrices and the relative motion for three dual spheres is considered in terms of Hamilton operators for a dual quaternion. The relation between Hamilton operators and the transformation matrix has been given in a different way. By considering operations on screw motions, representation of spatial displacements is also given. Key Words: Dual quaternions, Hamilton operators, Lie algebras. 1. Introduction The matrix representation of spatial displacements of rigid bodies has an important role in kinematics and the mathematical description of displacements. Veldkamp and Yang-Freudenstein investigated the use of dual numbers, dual numbers matrix and dual quaternions in instantaneous spatial kinematics in [9] and [10], respectively. In [10], an application of dual quaternion algebra to the analysis of spatial mechanisms was given. A comparison of representations of general spatial motion was given by Rooney in [8]. Hiller- Woernle worked on a unified representation of spatial displacements. In their paper [7], the representation is based on the screw displacement pair, i.e., the dual number extension of the rotational displacement pair, and consists of the dual unit vector of the screw axis AMS Mathematics Subject Classification: 53A17, 53A25, 70B10. 373 AKYAR and the associate dual angle of the amplitude. Chevallier gave a unified algebraic approach to mathematical methods in kinematics in [4]. This approach requires screw theory, dual numbers and Lie groups.
    [Show full text]
  • LIE ALGEBRAS ARE INFINITESIMAL GROUPS Throughout K Is a Field
    LIE ALGEBRAS ARE INFINITESIMAL GROUPS RUDOLF TANGE Throughout k is a field and δ is a “dual number” satisfying δ2 = 0. Furthermore g is a Lie algebra over k which is the Lie algebra of a group G. We denote the identity of G by I. Whenever X ∈ g = TI (G), the tangent space of G at I, we consider the corresponding group element I + δX of which you should think as “I with an infinitesimal bit added in the direction X”. You should think of δ as being a very small number of k = R and calculate upto the first order. 2 More formally, δ is the image of δ0 in R = R(δ) := k[δ0]/(δ0), the quotient 2 of the polynomial ring k[δ0] by the ideal (δ0), and I + δX is an element of G(R), the points of G over R.1 The commutator Now we embed G into some GLn. Our computations below will take place in Matn(R). The inverse of I + δX is I − δX: (I + δX)(I − δX) = I − δX + δX − δ2X2 = I. Note that the elements I + δX form a commutative subgroup of G(R). To capture something of the noncommutativity we need to look at second order terms. To do this we add another dual number η to our ring R, that 2 2 is, we work with the ring R = R(δ, η) := k[δ0, η0]/(δ0, η0), where we denote the images of δ0 and η0 by δ and η. Let X, Y ∈ g. We compute the group commutator of I + δX and I + δY : (I + δX)(I + ηY )(I − δX)(I − ηY ) = (I + ηY + δX + δηXY )(I − ηY − δX + δηXY ) = I − ηY − δX + δηXY + ηY − δηY X + δX − δηXY + δηXY = I + δη(XY − YX) = I + δη[X, Y ].
    [Show full text]
  • Symmetry, Geometry, and Quantization with Hypercomplex
    SYMMETRY, GEOMETRY, AND QUANTIZATION WITH HYPERCOMPLEX NUMBERS VLADIMIR V. KISIL Abstract. These notes describe some links between the group SL2(R), the Heisenberg group and hypercomplex numbers – complex, dual and double num- bers. Relations between quantum and classical mechanics are clarified in this framework. In particular, classical mechanics can be obtained as a theory with noncommutative observables and a non-zero Planck constant if we replace complex numbers in quantum mechanics by dual numbers. Our considera- tion is based on induced representations which are build from complex-/dual- /double-valued characters. Dynamic equations, rules of additions of proba- bilities, ladder operators and uncertainty relations are discussed. Finally, we prove a Calder´on–Vaillancourt-type norm estimation for relative convolutions. Contents Introduction 2 1. Preview: Quantum and Classical Mechanics 3 1.1. Axioms of Mechanics 3 1.2. “Algebra” of Observables 3 1.3. Non-Essential Noncommutativity 4 1.4. Quantum Mechanics from the Heisenberg Group 5 1.5. Classical Noncommutativity 6 1.6. Summary 8 2. Groups, Homogeneous Spaces and Hypercomplex Numbers 9 2.1. The Group SL2(R) and Its Subgroups 9 2.2. Action of SL2(R) as a Source of Hypercomplex Numbers 9 2.3. Orbits of the Subgroup Actions 11 2.4. The Heisenberg Group and Symplectomorphisms 13 3. Linear Representations and Hypercomplex Numbers 15 3.1. Hypercomplex Characters 15 3.2. Induced Representations 16 3.3. Similarity and Correspondence: Ladder Operators 18 3.4. Ladder Operators 19 arXiv:1611.05650v1 [math-ph] 17 Nov 2016 3.5. Induced Representations of the Heisenberg Group 21 4.
    [Show full text]