Documentation

Algorithm.Data.Forest

inductive Forest (α : Type u_1) :
Type u_1
Instances For
    instance instReprForest :
    {α : Type u_1} → [inst : Repr α] → Repr (Forest α)
    Equations
    • instReprForest = { reprPrec := reprForest✝ }
    def Forest.roots {α : Type u_1} (f : Forest α) :
    Set α
    Equations
    Instances For
      def Forest.support {α : Type u_1} (f : Forest α) :
      Set α
      Equations
      Instances For
        theorem Forest.roots_subset_support {α : Type u_1} (f : Forest α) :
        f.roots f.support
        def Forest.pre {α : Type u_1} (f : Forest α) :
        List α
        Equations
        Instances For
          def Forest.post {α : Type u_1} (f : Forest α) :
          List α
          Equations
          Instances For
            def Forest.append {α : Type u_1} (f : Forest α) (g : Forest α) :
            Equations
            Instances For
              instance Forest.instAppend {α : Type u_1} :
              Equations
              • Forest.instAppend = { append := Forest.append }