Documentation

LeanPool.FriezePatterns.Chapter3

LeanPool.FriezePatterns.Chapter3 #

Imported Lean Pool material for LeanPool.FriezePatterns.Chapter3.

class arith_fp (f : × ) (n : ) :

An arithmetic frieze pattern of height n: a rational-valued frieze pattern with all denominators equal to one and positive interior entries.

Instances
    def fluteF (f : × ) (n m i : ) :

    The flute underlying sequence extracted from an arithmetic frieze pattern.

    Equations
    Instances For
      def friezeToFlute (f : × ) (n m : ) (hn : 2 n) [arith_fp f n] :

      The flute associated to an arithmetic frieze pattern of height n ≥ 2.

      Equations
      Instances For
        @[irreducible]
        def friezeF {n : } (g : flute n) :

        The arithmetic frieze pattern associated to a flute, defined recursively over the second coordinate m (and as a tie-breaker the first coordinate i).

        Equations
        Instances For
          theorem fluteToFrieze {n : } (g : flute n) (hn : n 0) :

          The frieze pattern built from a flute is in fact an arithmetic frieze pattern.

          def arithFriezePatSet (n : ) :
          Set ( × )

          The set of arithmetic frieze patterns of height n.

          Equations
          Instances For
            theorem main1 (n : ) (h : n 0) (f : × ) :
            arith_fp f n∀ (a : × ), f a (Nat.fib n)
            theorem main2 (n : ) (hn : n 0) :
            ∃ (f : × ) (_ : arith_fp f n) (a : × ), f a = (Nat.fib n)
            theorem main3 (n : ) (hn : n 0) :
            ∃ (g : × ) (_ : arith_fp g n) (b : × ), (∀ (f : × ), arith_fp f n∀ (a : × ), f a g bf a = g b) g b = (Nat.fib n)