Documentation

LeanPool.Rupert.Cube

LeanPool.Rupert.Cube #

Imported Lean Pool material for LeanPool.Rupert.Cube.

def Cube.cube :
Fin 8ℝ³

Vertices of the cube centered at the origin with side length 2.

Equations
Instances For
    @[reducible, inline]
    noncomputable abbrev Cube.outerRotDenorm :
    Matrix (Fin 3) (Fin 3)

    Denormalized rotation matrix used for the outer cube shadow.

    Equations
    Instances For
      @[reducible, inline]
      noncomputable abbrev Cube.outerRot :
      Matrix (Fin 3) (Fin 3)

      Normalized rotation matrix used for the outer cube shadow.

      Equations
      Instances For

        Projection of the rotated cube vertices for the outer shadow.

        Equations
        Instances For

          Projection of the denormalized rotated cube vertices for the outer shadow.

          Equations
          Instances For
            noncomputable def Cube.outerShadowPointsDenorm :
            Fin 8ℝ²

            Denormalized outer-shadow vertices of the cube.

            Equations
            Instances For
              noncomputable def Cube.rpp :

              Upper-right point of the rectangle inside the outer shadow convex hull.

              Equations
              Instances For
                noncomputable def Cube.rpn :

                Lower-right point of the rectangle inside the outer shadow convex hull.

                Equations
                Instances For
                  noncomputable def Cube.rnp :

                  Upper-left point of the rectangle inside the outer shadow convex hull.

                  Equations
                  Instances For
                    noncomputable def Cube.rnn :

                    Lower-left point of the rectangle inside the outer shadow convex hull.

                    Equations
                    Instances For

                      Converts a vector in ℝ² to its coordinate pair.

                      Equations
                      Instances For

                        Converts a coordinate pair into a vector in ℝ².

                        Equations
                        Instances For
                          def Cube.openRectangle (xmin xmax ymin ymax : ) :

                          Open axis-aligned rectangle in ℝ².

                          Equations
                          Instances For
                            def Cube.closedRectangle (xmin xmax ymin ymax : ) :

                            Closed axis-aligned rectangle in ℝ².

                            Equations
                            Instances For
                              def Cube.rectVertices (xmin xmax ymin ymax : ) :
                              Fin 4ℝ²

                              Vertices of an axis-aligned rectangle in ℝ².

                              Equations
                              Instances For
                                theorem Cube.closedRectangle_is_convex_hull (xmin xmax ymin ymax : ) (xlt : xmin < xmax) (ylt : ymin < ymax) :
                                closedRectangle xmin xmax ymin ymax = (convexHull ) (Set.range (rectVertices xmin xmax ymin ymax))

                                A closed rectangle is the convex hull of its four vertices.

                                theorem Cube.vector_ext (v : ℝ²) :
                                ![v.ofLp 0, v.ofLp 1] = v
                                theorem Cube.openRectangle_is_interior (xmin xmax ymin ymax : ) :
                                interior (closedRectangle xmin xmax ymin ymax) = openRectangle xmin xmax ymin ymax

                                The interior of a closed rectangle is the corresponding open rectangle.

                                Closed rectangle used as the intermediate shadow contained in the outer hull.

                                Equations
                                Instances For

                                  Interior rectangle used as the intermediate shadow contained in the outer hull.

                                  Equations
                                  Instances For