Documentation

HexRootsMathlib.Geometry

@[simp]

The zero Gaussian dyadic embeds as complex zero.

@[simp]

The real value of the executable lower modulus bound.

@[simp]

The real value of the executable upper modulus bound.

The executable lo bound is below the complex modulus.

The complex modulus is at most √2 times the executable lo bound.

The complex modulus is below the executable hi bound.

The executable hi bound is at most √2 times the complex modulus.

The executable lower approximation 181/128 is strictly below √2.

The executable upper approximation 1449/1024 is strictly above √2.

A computed bounding box contains the full coordinate extent of a square.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    A square's own bounds contain it.

    Merging another square into a bounding box keeps everything it already contained.

    A merged bounding box contains the newly merged square.

    Extending an optional bounding box keeps every previously contained square.

    Extending an optional bounding box contains the newly added square.

    Every input square is contained in the exact bounding box returned by the executable fold.

    The sup norm on , used to view an axis-aligned square as a ball.

    Equations
    Instances For

      The complex sup norm satisfies the triangle inequality.

      The distance associated to supNorm.

      Equations
      Instances For

        A closed sup-norm ball in .

        Equations
        Instances For

          An open sup-norm ball in .

          Equations
          Instances For

            The Euclidean radius of the square's circumscribed disc.

            Equations
            Instances For

              The closed square is the sup-norm closed ball of half-width radius about the centre. Characterising lemma recording what is otherwise a definitional equality, so consumers need not unfold closedSquare.

              Membership in a closed dyadic square is exactly the pair of coordinate bounds around its centre.

              @[simp]

              The exact executable squared centre distance casts to the square of the Euclidean distance.

              The exact executable point-in-disc test is membership in the represented closed circumscribed disc.

              A negative executable disc-intersection test certifies disjoint closed circumscribed discs.

              A positive executable disc-intersection test is the corresponding centre distance bound.

              The executable array test gives semantic disjointness for every ordered pair of stored squares.

              The exact executable disc-containment check implies containment of the represented closed circumscribed discs.

              The exact executable square-containment check implies containment of the represented closed sup-norm squares.

              Every input square is contained in the power-of-two square constructed from its array's exact bounding box.

              The square is contained in its closed circumscribed Euclidean disc.

              The closed square lies in the open disc obtained from the executable strict upper radius bound.