<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Decomposition of Intervals in the Space of Anti-Monotonic Functions</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Patrick De Causmaecker</string-name>
          <email>Patrick.DeCausmaecker@kuleuven-kulak.be</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefan De Wannemacker</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>CODeS &amp; iMinds-ITEC-KU Leuven Department of Computerscience KULAK, Katholieke Universiteit Leuven</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Intervals of Anti-Monotonic Functions</institution>
        </aff>
      </contrib-group>
      <fpage>57</fpage>
      <lpage>67</lpage>
      <abstract>
        <p>With the term 'anti-monotonic function', we designate specific boolean functions on subsets of a finite set of positive integers which we call the universe. Through the well-known bijective relationship between the set of monotonic functions and the set of anti-monotonic functions, the study of the anti-monotonic functions is equivalent to the study of monotonic functions. The true-set of an anti-monotonic function is an antichain. If the universe is denoted by N , the set of anti-monotonic functions is denoted by AM F (N ). This set can be partially ordered in a natural way. This paper studies enumeration in the resulting lattice of anti-monotonic functions. We define intervals of anti-monotonic functions according to this order and present four properties of such intervals, Finally we give a formula for the size of a general interval and a recursion formula for the n-th number of Dedekind.</p>
      </abstract>
      <kwd-group>
        <kwd>Dedekind numbers</kwd>
        <kwd>anti-monotonic functions</kwd>
        <kwd>antichains</kwd>
        <kwd>complete distributive lattices</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>c paper author(s), 2013. Published in Manuel Ojeda-Aciego, Jan Outrata (Eds.): CLA
2013, pp. 57{67, ISBN 978{2{7466{6566{8, Laboratory L3i, University of La
Rochelle, 2013. Copying permitted only for private and academic purposes.
case we will occasionally use the notation AM F (n) ≡ AM F (N ). The size of</p>
    </sec>
    <sec id="sec-2">
      <title>AM F (N ) or AF M (n) is the n-th number of Dedekind [8]. This size is known for values of n up to n = 8 [4]. Asymptotic expansions have been developed building on the size of the middle layer [6, 5].</title>
      <p>Example 1. For N = {1, 2}, the Boolean function 2N → B, {∅ → f alse, {∅} →
f alse, {1} → true, {2} → true, {1, 2} → f alse} is anti-monotonic. The antichain
of true sets is given by {{1}, {2}}. This antichain will be used to denote the
antimonotonic function.</p>
      <p>
        For finite N , anti-monotonic functions form a finite distributive lattice with the
join, meet and partial order given by
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
(
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
α ∨ β = max(α ∪ β)
α ∧ β = max{A ∩ B|A ∈ α, B ∈ β}
α ≤ β ⇔ ∀A ∈ α : ∃B ∈ β : A ⊆ B
      </p>
      <p>(⇔ α ∨ β = β ⇔ α ∧ β = α),
where for a general set S of subsets of N , max(S) is the set containing only
the largest sets in S according to ⊆. A comprehensive textbook on Boolean
functions is [2]. A recent study on counting non-equivalent monotone Boolean
functions is found in [1]. Our antichains correspond to the notion of minimal
sets playing an important role in the latter paper. A first analysis of intervals
and decomposition is in [9]. We will make extensive use of the intervals in this
lattice. For two antichains α, β ∈ AM F (N ), the closed interval with bounds α
and β is given by</p>
      <p>[α, β] = {χ ∈ AM F (N )|α ≤ χ ≤ β}.</p>
    </sec>
    <sec id="sec-3">
      <title>Analogous definitions hold for (half)open intervals. Note that these intervals are</title>
      <p>empty in case α 6≤ β, in particular in case of non comparable α and β.
2</p>
      <sec id="sec-3-1">
        <title>Disconnected Intervals</title>
        <sec id="sec-3-1-1">
          <title>Given two intervals [ρ1, ρ2] and [ρ01, ρ02] in AM F (N ), we have</title>
          <p>{χ ∨ χ0|χ ∈ [ρ1, ρ2], χ0 ∈ [ρ01, ρ02]} = [ρ1 ∨ ρ01, ρ2 ∨ ρ02].</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>We will use the notation</title>
      <p>[ρ1, ρ2] ∨ [ρ01, ρ02] ≡ [ρ1 ∨ ρ01, ρ2 ∨ ρ02].</p>
    </sec>
    <sec id="sec-5">
      <title>A fundamental property in the decomposition of intervals is related to the con</title>
      <p>cept of (dis)-connectedness. Two intervals are said to be disconnected if the
decomposition in equation 6 is unique. Two intervals are connected if they are
not disconnected. If two intervals are disconnected, we will call the join of these
intervals direct:
Definition 1. The interval [ρ1 ∨ ρ01, ρ2 ∨ ρ02] is the direct join of two intervals
[ρ1, ρ2] and [ρ01, ρ02] in AM F (N ) if the intervals are disconnected. The direct join
is denoted by [ρ1, ρ2] 6 [ρ01, ρ02].</p>
      <p>Example 2. For N = {1, 2, 3}, we have [{{1}}, {{1, 3}}] ∨ [{{2}}, {{2, 3}}] =
[{{1}, {2}}, {{1, 3}, {2, 3}}]. The element {{1}, {2}, {3}} = {{1}} ∨ {{2}, {3}} =
{{1}, {3}}∨{{2}} shows that the two intervals on the lefthand side are connected.
In the case of [{{1}, {3}}, {{1, 3}}]∨[{{2}, {3}}, {{2, 3}}] = [{{1}, {2}, {3}}, {{1, 3}, {2, 3}}],
we see that the underlying intervals are disconnected and [{{1}, {2}, {3}}, {{1, 3}, {2, 3}}] =
[{{1}, {3}}, {{1, 3}}] 6 [{{2}, {3}}, {{2, 3}}].
3</p>
      <sec id="sec-5-1">
        <title>Decomposition Theorem</title>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>The decomposition of intervals is based on the following Theorem 1, which is actually valid in a general distributive lattice.</title>
      <p>
        Lemma 1. For two anti-monotonic functions α, β ∈ AM F (N ) we have
(
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
(
        <xref ref-type="bibr" rid="ref8">8</xref>
        )
(
        <xref ref-type="bibr" rid="ref9">9</xref>
        )
(10)
[α ∧ β, α ∨ β] = [α ∧ β, α] 6 [α ∧ β, β].
      </p>
      <p>Proof. It is clear that for χα ∈ [α ∧ β, α] and χβ ∈ [α ∧ β, β], we have χα ∨ χβ ∈
[α ∧ β, α ∨ β]. Moreover, since χβ ∧ α ≤ β ∧ α, we have χα = (χα ∨ χβ) ∧ α
and similarly χβ = (χα ∨ χβ) ∧ β. For χ ∈ [α ∧ β, α ∨ β] we have χ ∧ α ∈
[α ∧ β, α], χ ∧ β ∈ [α ∧ β, β] and</p>
      <p>(χ ∧ α ∨ χ ∧ β) = χ ∧ (α ∨ β) = χ.</p>
    </sec>
    <sec id="sec-7">
      <title>More generally we have</title>
      <p>Theorem 1. For three anti-monotonic functions α, β, ρ ∈ AM F (N ) such that
ρ ∈ [α ∧ β, α ∨ β] we have</p>
      <p>[ρ, α ∨ β] = [ρ, α ∨ ρ] 6 [ρ, β ∨ ρ].</p>
      <p>Proof. Note that (α ∨ρ)∧(β ∨ρ) = (α ∧β)∨ρ = ρ so that the interval [ρ, α ∨β] =
[ρ, (α ∨ ρ) ∨ (β ∨ ρ)] satisfies the conditions of Lemma 1. Any χ ∈ [ρ, α ∨ β] has
the unique decomposition χ = (χ ∧ (α ∨ ρ)) ∨ (χ ∧ (β ∨ ρ)).</p>
    </sec>
    <sec id="sec-8">
      <title>Theorem 1 can be strengthened as</title>
      <p>Theorem 2. For three anti-monotonic functions α, β, ρ ∈ AM F (N ) such that
ρ ∈ [α ∧ β, α ∨ β] we have</p>
      <p>[ρ, α ∨ β] = [ρ ∧ α, α] 6 [ρ ∧ β, β].</p>
      <p>Proof. Any χ ∈ [ρ, α∨β] satisfies χ = (χ∧α)∨(χ∧β), with χ∧α ∈ [ρ∧α, α], χ∧
β ∈ [ρ ∧ β, β]. Any χ = χα ∨ χβ with χα ∈ [ρ ∧ α, α], χβ ∈ [ρ ∧ β, β] is in [ρ, α ∨ β].
Furthermore χ∧α = (χα ∧α)∨(χβ ∧α) where χα ∧α = χα (since χα ∈ [ρ∧α, α])
and χβ ∧ α ≤ β ∧ α (since χβ ∈ [ρ ∧ β, β]) so that χβ ∧ α ≤ ρ ∧ α ≤ χα , and we
conclude χα = χ ∧ α. Equivalently, we obtain χβ = χ ∧ β proving the uniqueness
of decomposition.
Corollary 1. For any two anti-monotonic functions α, ρ, the intervals [ρ, ρ ∨ α]
and [ρ ∧ α, α] are isomorphic lattices.</p>
      <p>Proof. Since ρ∧α ≤ ρ, we can apply Theorem 2 to find [ρ, ρ∨α] = [ρ, ρ]6[ρ∧α, α].
This implies that [ρ ∧ α, α] → [ρ, ρ ∨ α] : χ → ρ ∨ χ defines an isomorphism with
inverse [ρ, ρ ∨ α] → [ρ ∧ α, α] : χ → α ∧ χ.</p>
      <p>Corollary 2. For two anti-monotonic functions ρ1, ρ2 = ∨i∈I αi with ∀i, j ∈ I :
αi ∧ αj ≤ ρ1, we have
[ρ1, ρ2] = 6i∈I [ρ1, ρ1 ∨ αi]</p>
      <p>= 6i∈I [ρ1 ∧ αi, αi].</p>
      <p>Proof. The proof follows from a simple iteration over the indices i ∈ I, applying
Theorems 1 and 2 for each component αi, i ∈ I.</p>
      <sec id="sec-8-1">
        <title>In the following, we will use the notation oρ,γ for any two anti-monotonic</title>
        <p>functions ρ ≥ γ to denote the largest χ for which χ ∧ ρ = γ. A general partition
of an interval is given by Theorem 3.</p>
        <p>Theorem 3. For anti-monotonic functions ρ1 ≤ ρ ≤ ρ2</p>
        <p>[ρ1, ρ2] = ∪γ∈[ρ1,ρ][γ, oρ,γ ∧ ρ2].</p>
        <p>The intervals [γ, oρ,γ ∧ ρ2] for γ ≤ ρ are disjoint and nonempty.
Proof. For each γ ∈ [ρ1, ρ] consider the set Sγ = {χ ∈ [ρ1, ρ2]|χ ∧ ρ = γ}.
These sets are disjoint. Since for each χ ∈ [ρ1, ρ2], we have χ ∧ ρ ∈ [ρ1, ρ],
the union of these sets is the whole interval. γ is a lower bound on Sγ . Since
(χ1 ∧ ρ = γ and χ2 ∧ ρ = γ) ⇒ (χ1 ∨ χ2) ∧ ρ = γ, the set has exactly one
maximal element. We denote this element in the case of ρ2 = {N } by oρ,γ .
Since, in addition, χ1 ∧ ρ = γ, χ2 ∧ ρ = γ ⇒ (χ1 ∧ χ2) ∧ ρ = γ, the set of all
solutions to the equation in the lattice is closed under ∧ and ∨ and hence equals
the full interval [γ, oρ,γ ]. For general ρ2, Sγ is the intersection with [ρ1, ρ2] which
is given by [γ, oρ,γ ∧ ρ2].</p>
        <p>The function oρ,γ defined for any ρ ≥ γ ∈ AM F (N ) is the top of the interval
[γ, oρ,γ ] = {χ|χ ∧ ρ = γ}. It is given by
(13)
(14)
oρ,γ = γ˜g\ρ˜
where˜denotes the dual in the lattice AM F (N ).</p>
      </sec>
    </sec>
    <sec id="sec-9">
      <title>Note 1. Note that the theorems so far, including the proofs, did not refer explic</title>
      <p>itly to anti-monotonic functions. In fact, they only relied on the properties of the
operators ∧ and ∨ and are seen to be valid in any complete distributive lattice.</p>
    </sec>
    <sec id="sec-10">
      <title>The following sections specifically refer to the definition of an anti-monotonic function as a function on subsets of a superset. Although we believe, the following properties, especially Theorem 4, can be generalized as well, we for now restrict the discussion to the space AM F (N ).</title>
    </sec>
    <sec id="sec-11">
      <title>In what follows, disconnectedness of intervals turns out to be related to a corresponding property of the top of the interval.</title>
      <p>Definition 2. Given two anti-monotonic functions ρ, α ∈ AM F (N ) with ρ ≤
α. Two sets A, B ∈ α are said to be connected with respect to ρ if and only if
{A ∩ B} 6≤ ρ. Connectedness of such sets is denoted by Cρ(A, B). Cρ(., .) defines
a graph with the sets of α as vertices. The vertices of each connected component
of this graph correspond to a subset of α and thus to an anti-monotonic function.
We will refer to these anti-monotonic functions as the connected components of
α with respect to ρ and denote the set of such components by Cρ,α.</p>
    </sec>
    <sec id="sec-12">
      <title>We now have</title>
      <p>Corollary 3. For anti-monotonic functions ρ1, ρ2 ∈ AM F (N ) with ρ1 ≤ ρ2
[ρ1, ρ2] = 6χ∈Cρ1,ρ2 [ρ1 ∧ χ, χ].
(15)
Proof. The proof follows immediately from Corollary 2.</p>
    </sec>
    <sec id="sec-13">
      <title>Corollary 3 leads to Algorithm 1 for the total decomposition of an interval.</title>
    </sec>
    <sec id="sec-14">
      <title>Examples 3, 4 and 5 illustrate how the algorithm works.</title>
      <p>Example 3. Consider the interval [{∅}, {{1, 2}, {3}}]. Since we have {{1, 2} ∩
{3}} = {∅} ≤ {∅} so that C{∅},{{1,2},{3}} = {{{1, 2}}, {{3}}}, and
[{∅}, {{1, 2}, {3}}] = [{∅}, {{1, 2}}] 6 [{∅}, {{3}}].</p>
      <p>Example 4. Consider the interval [{{4}}, {{1, 2, 4}, {3, 4}}]. Since we have {{1, 2, 4}∩
{3, 4}} = {{4}} ≤ {{4}} so that C{{4}},{{1,2,4},{3,4}} = {{{1, 2, 4}}, {{3, 4}}},
and
[{{4}}, {{1, 2, 4}, {3, 4}}] = [{{4}}, {{1, 2, 4}}] 6 [{{4}}, {{3, 4}}].</p>
      <p>Example 5. Consider the interval [{{4}, {6}}, {{1, 2, 4}, {3, 4}, {3, 5, 6}}]. Since
we have
{{1, 2, 4}∩{3, 4}} = {{4}} ≤ {{4}, {6}}, {{1, 2, 4}∩{3, 5, 6}} = {∅} ≤ {{4}, {6}},
{{3, 4} ∩ {3, 5, 6}} = {{3}} 6≤ {{4}, {6}},
so that C{{4},{6}},{{1,2,4},{3,4},{3,5,6}} = {{{1, 2, 4}}, {{3, 4}, {3, 5, 6}}}, and
[{{4}, {6}}, {{1, 2, 4}, {3, 4}, {3, 5, 6}}] = [{{4}}, {{1, 2, 4}}]6[{{4}, {6}}, {{3, 4}, {3, 5, 6}}].</p>
      <sec id="sec-14-1">
        <title>Algorithm 1 Decompose the interval [ρ1, ρ2]</title>
        <p>Require: ρ1 ≤ ρ2
Ensure: Result is a set of intervals, {I1, I2, . . . , Ik}, such that [ρ1, ρ2] = 6i=1...kIi
function decomposeInterval(ρ1, ρ2)</p>
        <p>Compute the set Cρ1,ρ2 of connected components according to Definition 2.
return {[ρ1 ∧ γ, γ]|γ ∈ Cρ1,ρ2 }
end function</p>
      </sec>
    </sec>
    <sec id="sec-15">
      <title>In what follows, we will use the following notations</title>
      <p>Definition 3. Let ρ1, ρ2 ∈ AM F (N ), ρ1 ≤ ρ2. We use the notion of level λl
in the interval [ρ1, ρ2] to denote maximal anti-monotonic functions consisting
of elements of a specific size l, and we introduce the (.)+ and (.)− operators to
transform functions from one level to a neighboring level, as follows:
λl = {A ⊆ N |ρ1 ∨ {A} ∈]ρ1, ρ2], |A| = l}(∀l ≥ 0),
α− = {X ∈ λl−1|∃A ∈ α : X ⊆ A}, (∀α ⊆ λl, ∀l &gt; 0).
α+ = {X ∈ λl+1|∀x ∈ X : X\{x} ∈ λl ⇒ X\{x} ∈ α}, (∀α ⊆ λl, ∀l ≥ 0),(17)
(18)
(16)
Note that in Definition 3, in (17) α+ ⊆ λl+1 and in (18) α− ⊆ λl−1,
4</p>
      <p>Decomposition of a General Interval into</p>
      <p>Computationally Easy Intervals</p>
    </sec>
    <sec id="sec-16">
      <title>We will now use decomposition to compute the size of any interval. Theorem 4 builds on the following Lemma.</title>
      <p>Lemma 2. Let ρ1, ρ2 ∈ AM F (N ), ρ1 ≤ ρ2 and χ ∈ [ρ1, ρ2]. Then χ has the
following unique decomposition:
χ = ρ1 ∨ χ0 ∨ χ1 ∨ χ2 ∨ . . . ,
(19)
where ∀l ≥ 0 : χl ⊆ λl,
χl−+1 ≤ χl,
χl+1 ≤ χl+.</p>
      <p>Proof. We start from the decomposition in sets of specific levels:
χ = (χ ∩ ρ1) ∨ (χ ∩ λ0) ∨ (χ ∩ λ1) ∨ (χ ∩ λ2) ∨ . . . (χ ∩ λs−1) ∨ (χ ∩ λs) (20)
where s is the size of the largest set in χ. We now set χl = ∅ for l &gt; s. Further,
let χs = χ ∩ λs and note that the decomposition does not change if we add χs−
to the sets of level s − 1.</p>
      <p>χ = (χ ∩ ρ1) ∨ (χ ∩ λ0) ∨ (χ ∩ λ1) ∨ (χ ∩ λ2) ∨ . . . (χ ∩ λs−1 ∨ χs−) ∨ χs. (21)
This suggests the recursive definition
leading to
and since χ ≥ ρ1:</p>
      <p>∀l ∈ {0, . . . , s − 1} : χl = (χ ∩ λl) ∨ χl−+1
χ = (χ ∩ ρ1) ∨ χ0 ∨ χ1 ∨ χ2 ∨ . . . χs−1 ∨ χs</p>
      <p>χ = ρ1 ∨ χ0 ∨ χ1 ∨ χ2 ∨ . . . χs−1 ∨ χs.</p>
      <p>The inequalities in (19) now follow immediately from (22) and Definition 3.
Given the decomposition (19), it follows immediately that χs = χ∩λs. χs−1 ≥ χs−
(22)
(23)
(24)
implies χs− ⊆ χs−1. Furthermore, necessarily χ ∩ λs−1 ⊆ χs−1 so that we find
χs−1 ≥ χs− ∨ (χ ∩ λs−1). Since any set in χs−1 not dominated by a set in χs is
necessarily in χ, we have χs−1 ≤ χs− ∨ (χ ∩ λs−1) and equality follows. Recursive
application of this reasoning proves uniqueness.</p>
      <p>Theorem 4. For ρ1, ρ2 ∈ AM F (N ) with ρ1 ≤ ρ2, we have
Proof. Note that the number of non trivial summations in (25) and ( 26 ) is
always finite: there is a maximal level for any finite interval, above this level
α++ will be empty and the contribution in the power of 2 will be zero. Given the
decomposition in Lemma 2, and a list of specific levels l1 &lt; l2 &lt; . . . &lt; lk where
σli ⊆ λli are given such that</p>
      <p>∀li, li+1 : σl−i+d1i ≤ σli
and ∀li−1, li : σli ≤ σl+i−d1i−1
where di = li+1 − li and α+/−d = (. . . ((α+/−)+/−) . . . )+/− (d operators (.)+/−),
one can ask for the set of χ decomposing according to (19) such that ∀i : χli = σli .
This set has a lower bound χb = ρ1 ∨ σl−0l0 ∨ σl−0(l0−1) . . . ∨ σl0 ∨ σl−1d0 ∨ σl−1(d0−1) . . .
and an upper bound χt = ρ1 ∨ λ0 ∨ λ1 . . . ∨ λl0−1 ∨ σl0 ∨ σl+0 ∨ σl+02 . . . ∨ σl+0(l1−l0−1) ∨
σl1 ∨ σl+1 . . .. In fact, all elements in the interval [χb, χt] satisfy this requirement.
In the case of all odd, respectively all even, levels given, summing the sizes of
all such intervals over all possible specifications σ2l+1, respectively σ2l, results in
the expansions of the Theorem.</p>
      <p>Theorem 4 allows to compute intervals in AM F (N ) for |N | = 7, and
computes all intervals for |N | = 6 in milliseconds.</p>
    </sec>
    <sec id="sec-17">
      <title>Example 6. As a simple application of Theorem 4, consider intervals of the form</title>
      <p>IN = [{∅}, N2 ] where, for convenience, we use the notation Nk to denote the
set of subsets of size k of a set N = {1, 2, ..., n}. IN is seen to have only two
nonempty levels. Indeed, λ0 = {}, λ1 is the set of all singletons of elements of
N and λ2 = N2 . Since λ0 = {}, for each α1 ⊆ λ1 we have α1− = {}, while
α1+ = span(α1) 1. We find
2
1 Here the span of an anti-monotonic function is the set of elements occurring in true
sets of the function, i.e. span(α) = SX∈α X
which is the well known formula for the number of labeled graphs with at most n
nodes (Sloane series A006896 [7]). This identity becomes obvious when we apply
the alternative expression:
graphs g on n vertices
= Xn |graphs covering {1, 2, ..., i}| ni 2n−i.
(28)
(29)
(31)
(32)
(33)
5</p>
      <p>A Recursion Formula for the Size of the Complete
Space</p>
    </sec>
    <sec id="sec-18">
      <title>The previous sections were concerned with the structure of arbitrary intervals.</title>
      <p>In this section, we present a formula for the size of AM F (n + k), k ≥ 0 summing
over the space AM F (n). The formula is used to generate an efficient algorithm
to compute the size of AM F (n + 2) from AM F (n). We start from the following
observation, using the operator × defined as 2
∀χ ∈ AM F (N ), S ⊂ N, S ∩ N = ∅ : χ × {S} = {X ∪ S|X ∈ χ}.
(30)
Example 7. For χ = {{1}, {2, 3}, {3, 4}} and S = {5, 6, 7} we have according to
this definition χ × {S} = {{1, 5, 6, 7}, {2, 3, 5, 6, 7}, {3, 4, 5, 6, 7}}.</p>
    </sec>
    <sec id="sec-19">
      <title>We can now prove</title>
      <p>Lemma 3. Given n, k &gt; 0, N = {1, . . . , n} and Kn = {n + 1, . . . , n + k}, for
each χ ∈ AM F (N ∪ K) there exists exactly one sequence {χ{S}|S ⊆ Kn} of
functions in AM F (N ) such that
χ =
_</p>
      <p>χS × {S},</p>
      <p>S⊆Kn
∀S ⊆ Kn : χS ∈ AM F (N ),
∀S, S0 ⊆ Kn : S ⊆ S0 ⇒ χS ≥ χS0 .</p>
      <p>Proof. For each S ⊆ Kn define χS = {X\Kn|X ∈ χ, S ⊆ X}
Corollary 4. For finite N, K ⊆ N, N ∩ K = ∅ as in Lemma 3, the size of
AM F (N ∪K) is equal to the number of homomorphisms (2K , ⊆) → (AM F (N ), ≥
).
2 This is a restricted definition of the × operator discussed extensively in [9]. This
paper introduces an effective enumeration technique which can be used in to sum
over the space AM F (N ).
Now consider the restricted homomorphisms (2K \{∅, K}, ⊆) → (AM F (N ), ≥
), i.e fix χS for any S 6∈ {∅, N }. Any such restricted homomorphism can be
completed by components χ0 ≥ Wk∈K χ{k} and χN ≤ Vk∈K χN\{k}. We define
coefficients PN,K,ρ0,ρN as follows
Definition 4. For finite N, K ⊆ N, N ∩K = ∅, and for ρ0, ρN ∈ AM F (N ), ρ0 ≥
ρN , PN,K,ρ0,ρN is the number of homomorphisms f : (2K \{∅, K}, ⊆) → ([ρN , ρ0], ≥
) such that Wk∈K f ({k}) = ρ0 and Vk∈K f (N \{k}) = ρN
and we find
Theorem 5. For finite N, K ⊆ N, N ∩ K = ∅,
|AM F (N ∪ K)| =
|[∅, ρN ]|PN,K,ρ0,ρN |[ρ0, {N }]|.</p>
      <p>(34)</p>
      <p>X
ρ0≥ρN ∈AMF (N)
Proof. Any restricted homomorphism f can be extended by elements of the
intervals [∅, ρN ] and [ρ0, {N }], and any extension results in a different function in
AM F (N ∪ K).</p>
      <p>The P-coefficients are in general hard to compute. In the special case of |K| = 2
however, the following property leads to a simple algorithm.</p>
      <p>Property 1. For finite N, K ⊆ N, N ∩ K = ∅, |K| = 2, we have</p>
      <p>PN,K,ρ0,ρN = 2|CρN \ρ0,ρ0\ρN |.</p>
      <p>Proof. Let K = {k1, k2}. The coefficient is the number of solutions to the
simultaneous equations
χ{k1} ∨ χ{k2} = ρ0,
χ{k1} ∧ χ{k2} = ρN .</p>
      <p>Let A, B ⊆ ρ0\ρN such that CρN (A, B), i.e. {A ∩ B} 6≤ (ρN \ρ0). Then A and B
must be in at least one of χ{k1} or χ{k2} due to (36) and in at most one due to
(37). On the other hand, any set A in ρ0\ρN must be in either χ{k1} or χ{k2}
and can not be in both.</p>
    </sec>
    <sec id="sec-20">
      <title>We thus obtain the formula</title>
      <p>X
ρ0≥ρn∈AMF (n)
|AM F (n + 2)| =
|[∅, ρn]||[ρ0, {N }]|2Cρn\ρ0,ρ0\ρn .
(38)</p>
    </sec>
    <sec id="sec-21">
      <title>A Java implementation of Algorithm 2 , summing over non equivalent func</title>
      <p>
        tions only for ρN in AM F (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ), allowed to compute AM F (
        <xref ref-type="bibr" rid="ref8">8</xref>
        ) in 40 hours on a
Macbook Pro. Note that the order of summation can be chosen such as to
minimize the number of evaluations of the interval sizes |[ρ0, {N }]|. Indeed, although
the sizes of these intervals could be computed through the mapping Size of
the representative of the class of the dual of ρ0, these transformations still are
computationally intensive.
(35)
(36)
(37)
Algorithm 2 Recursion formula using P-coefficients to compute |AM F (n + 2)|
by enumeration of AM F (n)
      </p>
    </sec>
    <sec id="sec-22">
      <title>In this paper, we analyzed intervals in the space of anti-monotonic functions.</title>
      <p>Some structural properties were derived which allowed decomposition. We used
the properties of intervals to derive a formula allowing efficiently computing the
size of any interval in spaces with values of n up to 7. Finally, we derived an
expansion of the size of the (n + k)th space based on an enumeration of the space
n. The terms in this expansion are products of sizes of intervals multiplied by
coefficients which we termed ’P-coefficients of order k’. P-coefficients of order 2
turn out to be efficiently computable, and the resulting formula, combined with
a reduction to nonequivalent anti-monotonic functions, allowed computing the</p>
    </sec>
    <sec id="sec-23">
      <title>8th number of Dedekind on a very standard laptop in less than two days.</title>
      <p>The results in sections 1 − 3 were obtained using the operators ∧ and ∨
only and are thus valid for any distributive lattice. The proofs of the results in
sections 4, 5 explicitly relied on properties of sets. It is not hard to see that there
are more general equivalents of these formulae. We plan to extend the analysis
of intervals and derive the more general equivalents in a forthcoming paper.</p>
      <p>
        The success in computing |AM F (
        <xref ref-type="bibr" rid="ref8">8</xref>
        )| on a basic laptop naturally leads to the
question how far a more sophisticated hardware could take us towards computing
|AM F (
        <xref ref-type="bibr" rid="ref9">9</xref>
        )|. We are presently undertaking such an attempt, but new idea’s will be
needed to succeed. Computing |AM F (
        <xref ref-type="bibr" rid="ref9">9</xref>
        )| using P-coefficients of order 2
according to Algorithm 2 involves enumerating AM F (
        <xref ref-type="bibr" rid="ref7">7</xref>
        ) × nonequivalent AM F (
        <xref ref-type="bibr" rid="ref7">7</xref>
        )
which is exactly 2414682040998 × 490013148 = 1183225948328495041704 terms.
      </p>
    </sec>
    <sec id="sec-24">
      <title>Each term would require computing a second order P-coefficient and multiplying two interval sizes of intervals in AM F (7). There would be 490013148 such interval sizes to compute.</title>
    </sec>
    <sec id="sec-25">
      <title>More promising is the study of the P-coefficients of higher order. Algorithm 2</title>
      <p>
        for n = 6 equipped with a fast evaluator for order 3 P-coefficients could produce
|AM F (
        <xref ref-type="bibr" rid="ref9">9</xref>
        )|. Study of these higher order P-coefficients hence is on our research
agenda.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Tamon</given-names>
            <surname>Stephen</surname>
          </string-name>
          and
          <string-name>
            <given-names>Timothy</given-names>
            <surname>Yusun</surname>
          </string-name>
          ,
          <article-title>Counting inequivalent monotone Boolean functions</article-title>
          ,
          <source>arXiv preprint arXiv:1209.4623</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Y.</given-names>
            <surname>Crama</surname>
          </string-name>
          and
          <string-name>
            <given-names>P.L.</given-names>
            <surname>Hammer</surname>
          </string-name>
          ,
          <article-title>Boolean functions: Theory, algorithms</article-title>
          , and applications,
          <source>Encyclopedia of Mathematics and Its Applications</source>
          , Cambridge University Press,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Kahn</surname>
          </string-name>
          ,
          <string-name>
            <surname>Jeff</surname>
          </string-name>
          (
          <year>2002</year>
          ),
          <article-title>Entropy, independent sets and antichains: a new approach to Dedekind's problem</article-title>
          ,
          <source>Proc. Amer. Math. Soc</source>
          .
          <volume>130</volume>
          (
          <issue>2</issue>
          ), pp.
          <fpage>371</fpage>
          -
          <lpage>378</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Wiedemann</surname>
          </string-name>
          ,
          <string-name>
            <surname>Doug</surname>
          </string-name>
          (
          <year>1991</year>
          ),
          <article-title>A computation of the eighth Dedekind number</article-title>
          ,
          <source>Order</source>
          <volume>8</volume>
          (
          <issue>1</issue>
          ):
          <fpage>56</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Korshunov</surname>
          </string-name>
          , Aleksej
          <string-name>
            <surname>Dmitrievich</surname>
          </string-name>
          (
          <year>1981</year>
          ),
          <article-title>The number of monotone boolean functions (Russian)</article-title>
          ,
          <source>Problemy Kibernet. 38</source>
          , pp.
          <fpage>5</fpage>
          -
          <lpage>108</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6. Kleitman, Daniel and Markowsky,
          <string-name>
            <surname>George</surname>
          </string-name>
          (
          <year>1975</year>
          ),
          <article-title>On Dedekind's problem: the number of isotone Boolean functions. II, Trans</article-title>
          .
          <source>Amer. Math. Soc. 213</source>
          , pp.
          <fpage>373</fpage>
          -
          <lpage>390</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Sloane</surname>
            ,
            <given-names>N. J. A.</given-names>
          </string-name>
          ,
          <source>The On-Line Encyclopedia of Integer Sequences. (OEIS)</source>
          , http://www.research.att.com/ njas/sequences/.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8. Dedekind, Richard (
          <year>1897</year>
          ),
          <article-title>U¨ber Zerlegungen von Zahlen durch ihre gro¨ßten gemeinsamen Teiler</article-title>
          ,
          <source>Gesammelte Werke</source>
          ,
          <volume>2</volume>
          , pp.
          <fpage>103</fpage>
          -
          <lpage>148</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>P. De Causmaecker</surname>
          </string-name>
          , S. De Wannemacker,
          <article-title>Partitioning in the space of anti-monotonic functions</article-title>
          .
          <source>arXiv:1103.2877 [math.NT]</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>