Skip to main content

Showing 1–18 of 18 results for author: Abi, C

.
  1. arXiv:2506.14606  [pdf, ps, other

    cs.CL cs.AR cs.LG cs.PL cs.SE

    Guaranteed Guess: A Language Modeling Approach for CISC-to-RISC Transpilation with Testing Guarantees

    Authors: Ahmed Heakl, Sarim Hashmi, Chaimaa Abi, Celine Lee, Abdulrahman Mahmoud

    Abstract: The hardware ecosystem is rapidly evolving, with increasing interest in translating low-level programs across different instruction set architectures (ISAs) in a quick, flexible, and correct way to enhance the portability and longevity of existing code. A particularly challenging class of this transpilation problem is translating between complex- (CISC) and reduced- (RISC) hardware architectures,… ▽ More

    Submitted 17 June, 2025; originally announced June 2025.

    Comments: Project page: https://ahmedheakl.github.io/Guaranteed-Guess/

  2. arXiv:2411.16341  [pdf, other

    cs.PL cs.AR

    From CISC to RISC: language-model guided assembly transpilation

    Authors: Ahmed Heakl, Chaimaa Abi, Rania Hossam, Abdulrahman Mahmoud

    Abstract: The transition from x86 to ARM architecture is becoming increasingly common across various domains, primarily driven by ARM's energy efficiency and improved performance across traditional sectors. However, this ISA shift poses significant challenges, mainly due to the extensive legacy ecosystem of x86 software and lack of portability across proprietary ecosystems and software stacks. This paper in… ▽ More

    Submitted 25 November, 2024; originally announced November 2024.

  3. arXiv:2401.08827  [pdf, ps, other

    math.CO

    Equable Parallelograms on the Eisenstein Lattice

    Authors: Christian Aebi, Grant Cairns

    Abstract: This paper studies equable parallelograms whose vertices lie on the Eisenstein lattice. Using Rosenberger's Theorem on generalised Markov equations, we show that the set of these parallelograms forms naturally an infinite tree, all of whose vertices have degree 4, bar the root which has degree 3. This study naturally complements the authors' previous study of equable parallelograms whose vertices… ▽ More

    Submitted 16 January, 2024; originally announced January 2024.

    MSC Class: 52C05; 11D25; 11H06

  4. arXiv:2312.10866  [pdf, ps, other

    math.CO math.MG

    Less than Equable Triangles on the Eisenstein lattice

    Authors: Christian Aebi, Grant Cairns

    Abstract: We classify perimeter dominant triangles whose side lengths are in $\sqrt3\mathbb N$ and whose area is in $\frac{\sqrt3}4\mathbb N$. There is one exceptional example, which is equilateral, and three infinite families determined by certain Pell, or Pell-like, equations.

    Submitted 17 December, 2023; originally announced December 2023.

    MSC Class: 52C05

  5. arXiv:2309.13551  [pdf, ps, other

    math.CO math.MG math.NT

    Following in Yiu's Footsteps but on the Eisenstein Lattice

    Authors: Christian Aebi, Grant Cairns

    Abstract: Paul Yiu proved that all Heron triangles are realizable on the integer lattice. We give an analogous result for triangles with vertices on the Eisenstein lattice.

    Submitted 24 September, 2023; originally announced September 2023.

    MSC Class: 51M05; 11H06

  6. arXiv:2309.04476  [pdf, ps, other

    math.GM math.MG

    Equable Triangles on the Eisenstein Lattice

    Authors: Christian Aebi, Grant Cairns

    Abstract: We show that there are only two equable triangles having vertices on the Eisenstein lattice, up to Euclidean motions.

    Submitted 31 July, 2023; originally announced September 2023.

    MSC Class: 51M04; 52B20

  7. arXiv:2202.05156  [pdf, other

    math.GM

    A simple sum for simplices

    Authors: Christian Aebi, Grant Cairns

    Abstract: We give a vector identity for $n+2$ points in $\mathbb R^n$. It follows as a corollary that when $n$ is odd the sum of the signed volumes of the $n$-simplices is zero, and when $n$ is even, the alternating sum of the signed volumes is zero.

    Submitted 9 February, 2022; originally announced February 2022.

    MSC Class: 51M04

  8. arXiv:2111.06453  [pdf, ps, other

    math.MG

    Lattice Equable Quadrilaterals III: tangential and extangential cases

    Authors: Christian Aebi, Grant Cairns

    Abstract: A lattice equable quadrilateral is a quadrilateral in the plane whose vertices lie on the integer lattice and which is equable in the sense that its area equals its perimeter. This paper treats the tangential and extangential cases. We show that up to Euclidean motions, there are only 6 convex tangential lattice equable quadrilaterals, while the concave ones are arranged in 7 infinite families, ea… ▽ More

    Submitted 11 November, 2021; originally announced November 2021.

    MSC Class: 51M25; 11D09; 97G40

  9. arXiv:2106.11860  [pdf, ps, other

    math.MG math.CO

    A vector identity for quadrilaterals

    Authors: Christian Aebi, Grant Cairns

    Abstract: A surprising simple result about quadrilaterals is given as an application of the vector triple product identity.

    Submitted 24 May, 2021; originally announced June 2021.

    MSC Class: 51M04; 15A15

  10. arXiv:2105.00919  [pdf, ps, other

    math.GM

    Lattice equable quadrilaterals II -- kites, trapezoids and cyclic quadrilaterals

    Authors: Christian Aebi, Grant Cairns

    Abstract: We show that there are 4 infinite families of lattice equable kites, given by corresponding Pell or Pell-like equations, but up to Euclidean motions, there are exactly 5 lattice equable trapezoids (2 isosceles, 2 right, 1 singular) and 4 lattice equable cyclic quadrilaterals. We also show that, with one exception, the interior diagonals of lattice equable quadrilaterals are irrational.

    Submitted 30 April, 2021; originally announced May 2021.

  11. arXiv:2006.07566  [pdf, ps, other

    math.NT

    Lattice Equable Quadrilaterals I -- Parallelograms

    Authors: Christian Aebi, Grant Cairns

    Abstract: This paper studies equable parallelograms whose vertices lie on the integer lattice. Using Rosenberger's Theorem on generalised Markov equations, we show that the g.c.d. of the side lengths of such parallelograms can only be 3, 4 or 5, and in each of these cases the set of parallelograms naturally forms an infinite tree all of whose vertices have degree 4, bar the root. The paper then focuses on w… ▽ More

    Submitted 30 April, 2021; v1 submitted 13 June, 2020; originally announced June 2020.

    Comments: Revised to incorporate changes suggested by referee

    MSC Class: 51M25 (Primary) 11D25; 97G40 (Secondary)

  12. arXiv:1701.00839  [pdf, ps, other

    math.NT

    The Quartic Residues Latin Square

    Authors: Christian Aebi, Grant Cairns

    Abstract: We establish an elementary, but rather striking pattern concerning the quartic residues of primes $p$ that are congruent to 5 modulo 8. Let $g$ be a generator of the multiplicative group of $\mathbb Z_p$ and let $M$ be the $4\times 4$ matrix whose $(i+1),(j+1)-$th entry is the number of elements $x$ of $\mathbb Z_p$ of the form $x\equiv g^k \pmod p$ where $k\equiv i \pmod 4$ and… ▽ More

    Submitted 3 January, 2017; originally announced January 2017.

    MSC Class: 11A15

  13. arXiv:1512.00896  [pdf, ps, other

    math.NT

    Sums of Quadratic residues and nonresidues

    Authors: Christian Aebi, Grant Cairns

    Abstract: It is well known that when a prime $p$ is congruent to 1 modulo 4, the sum of the quadratic residues equals the sum of the quadratic nonresidues. In this note we give analogous results for the case where $p$ is congruent to 3 modulo 4.

    Submitted 2 December, 2015; originally announced December 2015.

    MSC Class: 11A15

  14. arXiv:1502.05750  [pdf, ps, other

    math.NT

    Wolstenholme again

    Authors: Christian Aebi, Grant Cairns

    Abstract: We give an elementary and self-contained proof of the equivalence of a collection of Wolstenholme-type congruences due to Helou and Terjanian.

    Submitted 19 February, 2015; originally announced February 2015.

    MSC Class: 11A07

  15. arXiv:1306.2005   

    math.NT

    Wolstenholme and Morley, Primes and Pseudoprimes

    Authors: Christian Aebi

    Abstract: In this note, we prove $p^2$ is a Morley pseudoprime (of order 2) iff $p^2$ is a Wolstenholme pseudoprime (of order 2) iff $p$ is a Wolstenholme prime iff $p$ is a Morley prime. Concerning pseudoprimes of order 1 that are not powers of primes, only 3 are known of Wolstenholme's type and absolutely none have yet been identified of Morley's type.

    Submitted 26 September, 2022; v1 submitted 9 June, 2013; originally announced June 2013.

    Comments: Unfinished and containing mistakes

  16. arXiv:1302.3678  [pdf, ps, other

    math.NT

    Morley's other miracle: $\displaystyle 4^{p-1}\equiv\pm (\smallmatrix p-1 \frac{p-1}{2} \endsmallmatrix) \pmod {p^3} $

    Authors: Christian Aebi, Grant Cairns

    Abstract: Frank Morley is famous for his theorem concerning the angle trisectors of a triangle. This note gives an elementary proof of another result of Morley's, which relates the middle binomial coefficient to a certain power of two. The striking thing about Morley's congruence is that it is valid modulo the third power of the prime being considered.

    Submitted 15 February, 2013; originally announced February 2013.

    MSC Class: 11B65

    Journal ref: Math. Mag. 85 (2012), no. 3, 205 -- 211

  17. arXiv:1302.3676  [pdf, ps, other

    math.NT

    Wilson Theorems for Double-, Hyper-, Sub- and Super-factorials

    Authors: Christian Aebi, Grant Cairns

    Abstract: We present generalisations of Wilson's theorem for double factorials, hyperfactorials, subfactorials and superfactorials.

    Submitted 15 February, 2013; originally announced February 2013.

    MSC Class: 11A25

  18. arXiv:1201.6559  [pdf, ps, other

    math.HO math.NT

    Sylvester's, Wolstenholme's, Morley's and Lehmer's Congruence Theorems Revisited

    Authors: Christian Aebi, Grant Cairns

    Abstract: Elementary proofs of Sylvester's, Wolstenholme's, Morley's and Lehmer's congruence theorems

    Submitted 2 July, 2012; v1 submitted 29 January, 2012; originally announced January 2012.