APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_3.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: Google DeepMind published the AlphaProof Nexus proof artifacts. The pinned repository identifies the mathematical sources and collaborators, including OEIS, Erdős Problems, Gergely Bérczi, and Mario Krenn; those source records remain the authority for individual credit.

Project sources: Pinned AlphaProof Nexus results documentation, AlphaProof Nexus paper, Pinned human-written natural-language proof companions

89 declarations, 0 contain sorry, 0 declared as axioms

Imports (1)
  1. abbrev Monomial A monomial as its vector of natural-number exponents line 39 source

    Source documentation

    Monomials in r variables as finitely supported exponent vectors on Fin r.

    L4DEL explanation

    the exponent vector m = (m(0), m(1), m(2)) ∈ N3

    The Lean type Monomial(r) is the finitely supported exponent vector for a monomial in r variables. For the manuscript's three-variable theorem, a monomial such as x₀^a x₁^b x₂^c is therefore represented by the vector (a,b,c) in ℕ³.

    1. A coordinate records the exponent of one variable, so comparing two values pointwise is the same divisibility order used throughout the proof.
    2. The Lean definition works for any finite number r of variables; the companion specializes this representation to r = 3.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: Finsupp, Fin

    2 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:39 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:39 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:39 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:39 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:39 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:39 (same declaration text).

    abbrev Monomial (r : ℕ) := Fin r →₀ ℕ
  2. def totalDeg Total degree is the sum of a monomial's exponents line 42 source

    Source documentation

    Total degree of a monomial (sum of all exponents).

    L4DEL explanation

    |m| = m(0) + m(1) + m(2) for total degree.

    totalDeg(m)—written totalDeg m in Lean—adds every coordinate of the exponent vector. In three variables this is m(0)+m(1)+m(2), the usual total degree of the represented monomial.

    1. The finitely supported sum makes the definition uniform in the number of variables.
    2. Degree is the grading used both to group the order ideal into its O-sequence and to state that all maximal monomials of a pure ideal lie in one degree.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, Monomial

    Proof uses: Finsupp.sum, Fin

    3 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:42 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:42 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:42 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:42 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:42 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:42 (same declaration text).

    def totalDeg {r : ℕ} (m : Monomial r) : ℕ :=
    …

    Mentions: Monomial

  3. structure OrderIdeal A finite set of monomials closed downward under divisibility line 47 source

    Source documentation

    A finite order ideal of monomials, closed downward under divisibility. Divisibility of monomials uses the standard pointwise ≤ on Finsupp.

    L4DEL explanation

    A finite order ideal Γ ⊂ N3 is a finite set closed downward under this order

    is said to be an O-sequence if there exists an order ideal M of monomials

    An OrderIdeal(r) (Lean: OrderIdeal r) stores a finite collection of monomials together with the guarantee that every divisor of a stored monomial is stored too. In exponent-vector form, divisibility is coordinatewise ≤.

    1. carrier is the finite set itself.
    2. downward_closed is the proof that if n is in the carrier and m ≤ n, then m is also in it.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion, Richard P. Stanley, Hilbert functions of graded algebras (1978)

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:47 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:47 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:47 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:47 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:47 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:47 (same declaration text).

    structure OrderIdeal (r : ℕ) where
    …
  4. lemma OrderIdeal.mem_of_dvd line 51 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, OrderIdeal, Monomial, Membership.mem, Finset, OrderIdeal.carrier, LE.le, Fin

    Proof uses: OrderIdeal.downward_closed

    10 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:51 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:51 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:51 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:51 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:51 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:51 (same declaration text).

  5. def divisorsFinset All monomial divisors of one generator as a finite set line 56 source

    Source documentation

    The finite set of divisors of a monomial, i.e. the principal lower set {m | m ≤ g}.

    L4DEL explanation

    Div(g) = {u : u ≤ g}.

    divisorsFinset(g) (Lean: divisorsFinset g) is the principal lower set of g: it contains exactly the monomials u whose exponent vector is coordinatewise at most that of g. Equivalently, these are the monomial divisors of g.

    1. In the type-two proof, every element of the pure order ideal lies below one of its two maximal monomials.
    2. This lets the carrier be rewritten as the union of two such divisor sets, the first combinatorial reduction in the manuscript proof.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Monomial, Finset

    Proof uses: Finset.Iic, Fin

    13 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:56 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:56 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:56 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:56 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:56 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:56 (same declaration text).

    noncomputable def divisorsFinset {r : ℕ} (g : Monomial r) : Finset (Monomial r) :=
    …

    Mentions: Monomial

  6. lemma mem_divisorsFinset_iff line 59 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Monomial, Iff, Membership.mem, Finset, divisorsFinset, LE.le, Fin

    Proof uses: Finset.mem_Iic

    18 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:59 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:59 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:59 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:59 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:59 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:59 (same declaration text).

  7. def generatedOrderIdeal The finite order ideal generated by a finite set of monomials line 64 source

    Source documentation

    The finite order ideal generated by a finite set of monomials.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Finset, Monomial, OrderIdeal

    Proof uses: OrderIdeal.mk, Finset.biUnion, Fin, divisorsFinset

    6 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:64 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:64 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:64 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:64 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:64 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:64 (same declaration text).

    Tactic trace: 3 steps

    Open to load the checked before-and-after goal states.

    noncomputable def generatedOrderIdeal {r : ℕ} (G : Finset (Monomial r)) : OrderIdeal r where
    …

    Mentions: Monomial, OrderIdeal

  8. lemma mem_generatedOrderIdeal_iff line 72 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Finset, Monomial, Iff, Membership.mem, OrderIdeal.carrier, generatedOrderIdeal, Exists, And, LE.le, Fin

    Proof uses: Iff.intro, divisorsFinset, Iff.mp, Finset.biUnion, Finset.mem_biUnion, Exists.intro, And.intro, mem_divisorsFinset_iff, Iff.mpr

    15 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:72 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:72 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:72 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:72 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:72 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:72 (same declaration text).

    Tactic trace: 8 steps

    Open to load the checked before-and-after goal states.

  9. def IsMaximalIn Maximality inside an order ideal under monomial divisibility line 82 source

    Source documentation

    Maximality with respect to divisibility inside an order ideal.

    L4DEL explanation

    A monomial m ∈ Γ is maximal if every n ∈ Γ with m ≤ n also satisfies n ≤ m.

    IsMaximalIn(I,m) (Lean: IsMaximalIn I m) says first that m belongs to I, and then that no strictly larger monomial of I is divisible by m. Any member n above m must also lie below m, hence equals it in the partial order.

    1. The condition is relative to the selected order ideal, not maximality among all monomials.
    2. These maximal elements are the generators whose shared degree and number determine purity, socle degree, and type.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, OrderIdeal, Monomial

    Proof uses: And, Membership.mem, Finset, OrderIdeal.carrier, LE.le, Fin

    5 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:82 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:82 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:82 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:82 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:82 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:82 (same declaration text).

    def IsMaximalIn {r : ℕ} (I : OrderIdeal r) (m : Monomial r) : Prop :=
    …

    Mentions: OrderIdeal, Monomial

  10. def maximalMonomials The finite set of maximal monomials of an order ideal line 87 source

    Source documentation

    The finite set of maximal monomials of an order ideal.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, OrderIdeal, Finset, Monomial

    Proof uses: Finset.filter, IsMaximalIn, OrderIdeal.carrier

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:87 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:87 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:87 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:87 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:87 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:87 (same declaration text).

    noncomputable def maximalMonomials {r : ℕ} (I : OrderIdeal r) : Finset (Monomial r) :=
    …

    Mentions: OrderIdeal, Monomial

  11. def IsPure Purity means every maximal monomial has the same total degree line 91 source

    Source documentation

    Purity: all maximal monomials have the same total degree.

    L4DEL explanation

    The ideal is pure if all maximal monomials have the same total degree

    IsPure(I) (Lean: IsPure I) requires any two maximal monomials of I to have equal total degree. It does not itself assert that a maximal monomial exists; that nonemptiness is added by PureOrderIdeal.

    1. The equal-degree condition supplies one common top grading for the ideal.
    2. That common degree becomes the socle degree used as the endpoint of the finite O-sequence.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, OrderIdeal

    Proof uses: Monomial, Membership.mem, Finset, maximalMonomials, Eq, totalDeg

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:91 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:91 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:91 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:91 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:91 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:91 (same declaration text).

    def IsPure {r : ℕ} (I : OrderIdeal r) : Prop :=
    …

    Mentions: OrderIdeal

  12. structure PureOrderIdeal An order ideal packaged with purity and a maximal monomial line 95 source

    Source documentation

    A pure order ideal packages an order ideal with purity and a nonempty maximal set.

    L4DEL explanation

    The ideal is pure if all maximal monomials have the same total degree

    PureOrderIdeal(r) (Lean: PureOrderIdeal r) is the structure used when later statements need a pure finite order ideal as data. It contains the ideal, a proof that its maximal monomials share one degree, and a proof that the maximal set is nonempty.

    1. The nonempty field makes the subsequent choice of a maximal monomial—and therefore the definition of socle degree—total rather than conditional.
    2. This is a formal packaging choice around the manuscript's mathematical notion of a pure order ideal, not a stronger log-concavity assertion.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:95 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:95 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:95 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:95 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:95 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:95 (same declaration text).

    structure PureOrderIdeal (r : ℕ) where
    …
  13. def typePO The type is the number of maximal monomials line 101 source

    Source documentation

    Type of a pure order ideal: the number of maximal monomials.

    L4DEL explanation

    The type is the number of maximal monomials.

    typePO(P) is the cardinality of maximalMonomials(P.ideal). In Lean these are written typePO P and maximalMonomials P.ideal. Thus “type 2” in the theorem means that the pure order ideal has exactly two maximal monomial generators.

    1. The definition counts maximal monomials; it does not count variables, degrees, or all elements of the ideal.
    2. The main proof uses type two to name two distinct maxima and express the carrier as the union of their divisor sets.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, PureOrderIdeal

    Proof uses: Finset.card, Monomial, maximalMonomials, PureOrderIdeal.ideal

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:101 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:101 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:101 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:101 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:101 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:101 (same declaration text).

    noncomputable def typePO {r : ℕ} (P : PureOrderIdeal r) : ℕ :=
    …

    Mentions: PureOrderIdeal

  14. def socleDegree The shared total degree of a pure ideal's maximal monomials line 106 source

    Source documentation

    Socle degree of a pure order ideal (the common degree of maximal monomials).

    L4DEL explanation

    this common degree is the socle degree.

    socleDegree(P) (Lean: socleDegree P) chooses one maximal monomial and returns its total degree. Purity proves that every other maximal monomial has the same degree, so the result is independent of which witness is chosen.

    1. Nonemptiness of the maximal set supplies the chosen witness.
    2. The socle degree is the top index through which unimodality or log-concavity is asserted.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, PureOrderIdeal

    Proof uses: totalDeg, Classical.choose, Monomial, Membership.mem, Finset, maximalMonomials, PureOrderIdeal.ideal, PureOrderIdeal.maximal_nonempty

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:106 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:106 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:106 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:106 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:106 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:106 (same declaration text).

    noncomputable def socleDegree {r : ℕ} (P : PureOrderIdeal r) : ℕ :=
    …

    Mentions: PureOrderIdeal

  15. def pureOSequence Degree-by-degree counts of monomials in an order ideal line 110 source

    Source documentation

    The pure O-sequence: number of monomials of total degree d in an order ideal.

    L4DEL explanation

    The pure O-sequence of Γ is hΓ (d) = #{m ∈ Γ : |m| = d}.

    is said to be an O-sequence if there exists an order ideal M of monomials

    pureOSequence(I,d) (Lean: pureOSequence I d) counts the monomials in I whose total degree is exactly d. Varying d produces the Hilbert-function sequence studied by the theorem.

    1. The carrier is filtered by the equation totalDeg m = d.
    2. The cardinality of that filtered finite set is the value of the sequence at degree d.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion, Richard P. Stanley, Hilbert functions of graded algebras (1978)

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, OrderIdeal

    Proof uses: Finset.card, Monomial, Finset.filter, Eq, totalDeg, OrderIdeal.carrier

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:110 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:110 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:110 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:110 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:110 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:110 (same declaration text).

    def pureOSequence {r : ℕ} (I : OrderIdeal r) (d : ℕ) : ℕ :=
    …

    Mentions: OrderIdeal

  16. def IsUnimodal Unimodality of a finite sequence h up to index e: there exists a peak j ≤ e such that h is weakly increasing on [0, j] and weakly decreasing on [j, e] line 116 source

    Source documentation

    Unimodality of a finite sequence h up to index e: there exists a peak j ≤ e such that h is weakly increasing on [0, j] and weakly decreasing on [j, e].

    no axioms what this means

    Statement uses: Nat

    Proof uses: Exists, And, LE.le, LT.lt, HAdd.hAdd, OfNat.ofNat

    5 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:116 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:116 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:116 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:116 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:116 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:116 (same declaration text).

    def IsUnimodal (e : ℕ) (h : ℕ → ℕ) : Prop :=
    …
  17. def IsLogConcaveUpTo Log-concavity at every internal degree through a chosen endpoint line 122 source

    Source documentation

    Log-concavity up to degree e: h_i² ≥ h_{i-1} h_{i+1} for i ∈ (0, e).

    L4DEL explanation

    hΓ (i − 1)hΓ (i + 1) ≤ hΓ (i)2 (0 < i < e).

    IsLogConcaveUpTo(e,h) (Lean: IsLogConcaveUpTo e h) requires h(i-1)·h(i+1) ≤ h(i)² for every integer index strictly between 0 and e. Each middle term must therefore dominate the geometric mean of its two neighbours.

    1. Finset.Ioo 0 e makes both boundary exclusions explicit: neither 0 nor e is tested.
    2. For the pure O-sequence theorem, e is instantiated with the socle degree.

    Sources and attribution: Pinned Lean source (0647711a7118), Human-written Hilbert-functions proof companion

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: Membership.mem, Finset, Finset.Ioo, OfNat.ofNat, LE.le, HMul.hMul, HSub.hSub, HAdd.hAdd, HPow.hPow

    14 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:122 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:122 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:122 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:122 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:122 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:122 (same declaration text).

    def IsLogConcaveUpTo (e : ℕ) (h : ℕ → ℕ) : Prop :=
    …
  18. def mXYZ The monomial xyz encoded as an exponent vector in 3 variables line 127 source

    Source documentation

    The monomial xyz encoded as an exponent vector in 3 variables.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Monomial, OfNat.ofNat, Nat

    Proof uses: HAdd.hAdd, Finsupp, Fin, Finsupp.single

    10 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:127 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:127 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:127 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:127 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:127 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:127 (same declaration text).

    noncomputable def mXYZ : Monomial 3 :=
    …

    Mentions: Monomial

  19. def mXZ2 The monomial xz^2 encoded as an exponent vector in 3 variables line 131 source

    Source documentation

    The monomial xz^2 encoded as an exponent vector in 3 variables.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Monomial, OfNat.ofNat, Nat

    Proof uses: HAdd.hAdd, Finsupp, Fin, Finsupp.single

    10 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:131 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:131 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:131 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:131 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:131 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:131 (same declaration text).

    noncomputable def mXZ2 : Monomial 3 :=
    …

    Mentions: Monomial

  20. def GammaP1 The order ideal generated by the two monomials from P1 line 135 source

    Source documentation

    The order ideal generated by the two monomials from P1.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: OrderIdeal, OfNat.ofNat, Nat

    Proof uses: generatedOrderIdeal, Insert.insert, Monomial, Finset, Fin, mXYZ, Singleton.singleton, mXZ2

    9 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:135 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:135 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:135 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:135 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:135 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:135 (same declaration text).

    noncomputable def GammaP1 : OrderIdeal 3 :=
    …

    Mentions: OrderIdeal

  21. def ProblemP1 P1 statement: the degree-counting values for the generated order ideal are (1, 3, 4, 2) line 139 source

    Source documentation

    P1 statement: the degree-counting values for the generated order ideal are (1, 3, 4, 2).

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Proof uses: And, Eq, Nat, pureOSequence, OfNat.ofNat, GammaP1

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:139 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:139 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:139 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:139 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:139 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:139 (same declaration text).

    def ProblemP1 : Prop :=
    …
  22. def ProblemP2CoeffFormula P2 (coefficient-level): one-generator degree counts match the product-formula coefficients line 149 source

    Source documentation

    P2 (coefficient-level): one-generator degree counts match the product-formula coefficients.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Proof uses: Nat, Monomial, Eq, pureOSequence, generatedOrderIdeal, Singleton.singleton, Finset, Finset.card, Finset.filter, totalDeg, divisorsFinset

    2 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:149 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:149 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:149 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:149 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:149 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:149 (same declaration text).

    def ProblemP2CoeffFormula : Prop :=
    …
  23. def ProblemP2Type1Unimodal P2 consequence: every type-1 pure O-sequence is unimodal line 155 source

    Source documentation

    P2 consequence: every type-1 pure O-sequence is unimodal.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Proof uses: Nat, PureOrderIdeal, Eq, typePO, OfNat.ofNat, IsUnimodal, socleDegree, pureOSequence, PureOrderIdeal.ideal

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:155 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:155 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:155 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:155 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:155 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:155 (same declaration text).

    def ProblemP2Type1Unimodal : Prop :=
    …
  24. def ProblemP2Type1LogConcave P2 consequence: every type-1 pure O-sequence is log-concave line 160 source

    Source documentation

    P2 consequence: every type-1 pure O-sequence is log-concave.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Proof uses: Nat, PureOrderIdeal, Eq, typePO, OfNat.ofNat, IsLogConcaveUpTo, socleDegree, pureOSequence, PureOrderIdeal.ideal

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:160 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:160 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:160 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:160 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:160 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:160 (same declaration text).

    def ProblemP2Type1LogConcave : Prop :=
    …
  25. def ProblemP2 P2 statement, split into a coefficient-level formula plus two sequence consequences line 165 source

    Source documentation

    P2 statement, split into a coefficient-level formula plus two sequence consequences.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Proof uses: And, ProblemP2CoeffFormula, ProblemP2Type1Unimodal, ProblemP2Type1LogConcave

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:165 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:165 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:165 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:165 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:165 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:165 (same declaration text).

    def ProblemP2 : Prop :=
    …
  26. def ProblemP3 P3 statement: in codimension 3, first-half log-concavity up to e / 2 line 170 source

    Source documentation

    P3 statement: in codimension 3, first-half log-concavity up to e / 2. Here e is the socle degree of the pure order ideal.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Proof uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, LE.le, HDiv.hDiv, socleDegree, HMul.hMul, pureOSequence, PureOrderIdeal.ideal, HSub.hSub, HAdd.hAdd, HPow.hPow

    14 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:170 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:170 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:170 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:170 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:170 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:170 (same declaration text).

    def ProblemP3 : Prop :=
    …
  27. def ProblemP4 P4 statement: codimension 3 and type 2 imply unimodality line 178 source

    Source documentation

    P4 statement: codimension 3 and type 2 imply unimodality.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Proof uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, typePO, IsUnimodal, socleDegree, pureOSequence, PureOrderIdeal.ideal

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:178 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:178 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:178 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:178 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:178 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:178 (same declaration text).

    def ProblemP4 : Prop :=
    …
  28. def ExistsNonLogConcavePureOSeq Helper predicate for open problems about non-log-concavity at fixed codimension/type line 184 source

    Source documentation

    Helper predicate for open problems about non-log-concavity at fixed codimension/type.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: Exists, PureOrderIdeal, And, Eq, typePO, Not, IsLogConcaveUpTo, socleDegree, pureOSequence, PureOrderIdeal.ideal

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:184 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:184 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:184 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:184 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:184 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:184 (same declaration text).

    def ExistsNonLogConcavePureOSeq (r t : ℕ) : Prop :=
    …
  29. def ProblemP5 P5: in codimension 3, every type-2 pure O-sequence is log-concave line 189 source

    Source documentation

    P5: in codimension 3, every type-2 pure O-sequence is log-concave.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Proof uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, typePO, IsLogConcaveUpTo, socleDegree, pureOSequence, PureOrderIdeal.ideal

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:189 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:189 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:189 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:189 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:189 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:189 (same declaration text).

    def ProblemP5 : Prop :=
    …
  30. def ProblemP6 P6: for fixed r ≥ 5, every type-2 pure O-sequence in codimension r is unimodal line 195 source

    Source documentation

    P6: for fixed r ≥ 5, every type-2 pure O-sequence in codimension r is unimodal.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: LE.le, OfNat.ofNat, PureOrderIdeal, Eq, typePO, IsUnimodal, socleDegree, pureOSequence, PureOrderIdeal.ideal

    2 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:195 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:195 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:195 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:195 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:195 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:195 (same declaration text).

    def ProblemP6 (r : ℕ) : Prop :=
    …
  31. def ProblemP7 P7: threshold existence for eventual log-concavity failure in codimension r line 202 source

    Source documentation

    P7: threshold existence for eventual log-concavity failure in codimension r.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: LE.le, OfNat.ofNat, Exists, And, ExistsNonLogConcavePureOSeq

    2 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:202 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:202 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:202 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:202 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:202 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:202 (same declaration text).

    def ProblemP7 (r : ℕ) : Prop :=
    …
  32. def LCFailureThreshold Helper: t0 is a threshold after which all types admit a non-log-concave example line 207 source

    Source documentation

    Helper: t0 is a threshold after which all types admit a non-log-concave example.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: LE.le, ExistsNonLogConcavePureOSeq

    1 instances, coercions and auxiliary constants left out.

    Also declared: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:207 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:207 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:207 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:207 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:207 (same declaration text), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:207 (same declaration text).

    def LCFailureThreshold (r t0 : ℕ) : Prop :=
    …
  33. def ProblemP8 P8: least threshold for eventual log-concavity failure in codimension r line 211 source

    Source documentation

    P8: least threshold for eventual log-concavity failure in codimension r.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: LE.le, OfNat.ofNat, Exists, IsLeast, setOf, LCFailureThreshold

    2 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_1.lean:211 (same statement text; different proof or body), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_2.lean:211 (same statement text; different proof or body), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_4.lean:211 (same statement text; different proof or body), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_5.lean:211 (same statement text; different proof or body), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_7.lean:211 (same statement text; different proof or body), APNOutputs/AICollaborator/AlgebraicGeometry/hilbert_functions_8.lean:211 (same statement text; different proof or body). Qualify references as ProblemP8@path.

    def ProblemP8 (r : ℕ) : Prop :=
    …
  34. lemma pureOSequence_eq_card_degree line 218 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Nat, OrderIdeal, Eq, pureOSequence, Finset.card, Monomial, Finset.filter, totalDeg, OrderIdeal.carrier

    Proof uses: Eq.refl

    1 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

  35. lemma macaulay_2_vars line 222 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Finset, Membership.mem, HAdd.hAdd, OfNat.ofNat, And, LT.lt, GT.gt, HSub.hSub, LE.le, Or, Finset.card, Eq

    Proof uses: HasSubset.Subset, Finset.range, Eq.mpr, id, congrArg, propext, Finset.mem_range, Decidable.byContradiction, Not, Finset.card_le_card, Eq.mp, Finset.card_range, Or.inr, Or.inl, Exists, Eq.trans, binderNameHint, forall_congr, Mathlib.Tactic.Push.not_and_eq, implies_congr and 12 more

    46 instances, coercions and auxiliary constants left out.

    Tactic trace: 79 steps

    Open to load the checked before-and-after goal states.

  36. def degXY line 287 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Monomial, OfNat.ofNat, Nat

    Proof uses: HAdd.hAdd, Fin

    10 instances, coercions and auxiliary constants left out.

  37. def degZ line 288 source

    standard axioms: Quot.sound, propext what this means

    Statement uses: Monomial, OfNat.ofNat, Nat

    Proof uses: Fin

    8 instances, coercions and auxiliary constants left out.

  38. lemma deg_eq_degXY_plus_degZ line 290 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Monomial, OfNat.ofNat, Nat, Eq, totalDeg, HAdd.hAdd, degXY, degZ

    Proof uses: Finsupp.sum, Fin, Eq.trans, Finset.sum, Finset.univ, Finsupp, Finsupp.sum_fintype, of_eq_true, True, implies_congr, Eq.refl, eq_self, implies_true, Fin.sum_univ_three, id

    15 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  39. def slice_size line 296 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat

    Proof uses: Finset.card, Monomial, Finset.filter, And, Eq, degZ, degXY, OrderIdeal.carrier, PureOrderIdeal.ideal

    4 instances, coercions and auxiliary constants left out.

  40. lemma slice_downward_x line 299 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LE.le, Exists, Monomial, And, Membership.mem, Finset, OrderIdeal.carrier, PureOrderIdeal.ideal, Eq, degZ, Fin, degXY, HAdd.hAdd

    Proof uses: id, Eq.mpr, Set, setOf, Multiset, Finset.val, Eq.trans, implies_congr, congrArg, funext, OrderIdeal, IsPure, Finset.Nonempty, maximalMonomials, PureOrderIdeal.mk, Finsupp, OrderIdeal.mk, Finset.filter, IsMaximalIn, totalDeg and 90 more

    135 instances, coercions and auxiliary constants left out.

    Tactic trace: 15 steps

    Open to load the checked before-and-after goal states.

  41. lemma slice_downward_y line 313 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, And, LE.le, HAdd.hAdd, Exists, Monomial, Membership.mem, Finset, OrderIdeal.carrier, PureOrderIdeal.ideal, Eq, degZ, Fin, degXY, HSub.hSub

    Proof uses: id, Set, setOf, Multiset, Finset.val, Eq.mpr, congrArg, funext, Eq.trans, congr, OrderIdeal, IsPure, Finset.Nonempty, maximalMonomials, PureOrderIdeal.mk, OrderIdeal.mk, IsMaximalIn, Finsupp.sum, Nat.exists_eq_add_of_le', And.left and 35 more

    89 instances, coercions and auxiliary constants left out.

    Tactic trace: 16 steps

    Open to load the checked before-and-after goal states.

  42. lemma card_le_of_down_x_y line 329 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Finset, Nat, Membership.mem, LE.le, HAdd.hAdd, OfNat.ofNat, HSub.hSub, Or, Finset.card, Eq

    Proof uses: by_contra, Not, Or.inr, Function.comp, Finset.Iic, le_antisymm, LE.le.trans, Finset.card_mono, Iff.mpr, Finset.mem_Iic, of_eq_true, Eq.trans, True, congrArg, Nat.card_Iic, eq_true, True.intro, dite, HasSubset.Subset, Union.union and 32 more

    74 instances, coercions and auxiliary constants left out.

    Tactic trace: 11 steps

    Open to load the checked before-and-after goal states.

  43. lemma pureOSeq_eq_sum_slice line 340 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, pureOSequence, PureOrderIdeal.ideal, Finset.sum, Finset.range, HAdd.hAdd, slice_size, HSub.hSub

    Proof uses: id, Eq.mpr, Star.star, Quot.lift, List, Monomial, List.length, List.Perm.length_eq, Finset.val, Finset.filter, And, degZ, degXY, OrderIdeal.carrier, Finset.card, totalDeg, Multiset.filter, Fin, congrArg, Finset.sum_congr and 52 more

    94 instances, coercions and auxiliary constants left out.

    Tactic trace: 8 steps

    Open to load the checked before-and-after goal states.

  44. lemma pureOSeq_bound_slice line 348 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LE.le, slice_size, HAdd.hAdd

    Proof uses: Iff.mpr, Quot.lift, List, Monomial, List.length, List.Perm.length_eq, Finset.val, Finset.filter, And, Eq, degZ, degXY, OrderIdeal.carrier, PureOrderIdeal.ideal, Add.add, Nat.cast_le, id, PureOrderIdeal.rec, Multiset.filter, Fin and 73 more

    60 instances, coercions and auxiliary constants left out.

    Tactic trace: 17 steps

    Open to load the checked before-and-after goal states.

  45. lemma pureOSequence_le_max line 363 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LE.le, pureOSequence, PureOrderIdeal.ideal, HDiv.hDiv, HMul.hMul, HAdd.hAdd

    Proof uses: Eq.mpr, id, Eq, congrArg, Nat.succ, Nat.succ_mul_succ, Finset.card, Monomial, Finset.filter, totalDeg, OrderIdeal.carrier, pureOSequence.eq_1, PureOrderIdeal.rec, OrderIdeal, IsPure, Finset.Nonempty, maximalMonomials, PureOrderIdeal.mk, OrderIdeal.rec, Membership.mem and 111 more

    131 instances, coercions and auxiliary constants left out.

    Tactic trace: 43 steps

    Open to load the checked before-and-after goal states.

  46. lemma nat_AMGM line 391 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, LE.le, HMul.hMul, OfNat.ofNat, HAdd.hAdd

    Proof uses: GE.ge, Int, HSub.hSub, Eq, Mathlib.Tactic.Ring.of_eq, HPow.hPow, Nat.rawCast, Mathlib.Tactic.Ring.instCommSemiringNat, Int.rawCast, Int.negOfNat, Mathlib.Tactic.Ring.add_congr, Mathlib.Tactic.Ring.sub_congr, Mathlib.Tactic.Ring.mul_congr, Mathlib.Tactic.Ring.atom_pf, Mathlib.Tactic.Ring.add_mul, Mathlib.Tactic.Ring.mul_add, Mathlib.Tactic.Ring.mul_pp_pf_overlap, Mathlib.Meta.NormNum.IsNat.to_raw_eq, Mathlib.Meta.NormNum.isNat_add, Eq.refl and 51 more

    88 instances, coercions and auxiliary constants left out.

    Tactic trace: 7 steps

    Open to load the checked before-and-after goal states.

  47. def FirstDiffZ line 399 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Int

    Proof uses: ite, Eq, HSub.hSub, pureOSequence, PureOrderIdeal.ideal

    9 instances, coercions and auxiliary constants left out.

  48. lemma exists_maximal_super line 402 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, OrderIdeal, Monomial, Membership.mem, Finset, OrderIdeal.carrier, Exists, And, maximalMonomials, LE.le, Fin

    Proof uses: id, Eq.mpr, Finset.filter, IsMaximalIn, Eq, congrArg, funext, Eq.trans, OrderIdeal.rec, OrderIdeal.mk, Exists.imp, Set.ncard, setOf, exists_maximal_super.match_1, And.imp_right, And.intro, And.right, Eq.ge, Set, Set.eq_of_subset_of_ncard_le and 18 more

    36 instances, coercions and auxiliary constants left out.

    Tactic trace: 11 steps

    Open to load the checked before-and-after goal states.

  49. lemma pure_degree_eq line 411 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Monomial, Membership.mem, Finset, maximalMonomials, PureOrderIdeal.ideal, Eq, totalDeg, socleDegree

    Proof uses: PureOrderIdeal.rec, OrderIdeal, IsPure, Finset.Nonempty, PureOrderIdeal.mk, id, Classical.choose, Finset.filter, IsMaximalIn, OrderIdeal.carrier, PureOrderIdeal.maximal_nonempty, Classical.choose_spec

    5 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

    Open to load the checked before-and-after goal states.

  50. lemma pure_extension line 417 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Monomial, Membership.mem, Finset, OrderIdeal.carrier, PureOrderIdeal.ideal, LT.lt, totalDeg, socleDegree, Exists, Fin, HAdd.hAdd, Finsupp, Finsupp.single

    Proof uses: maximalMonomials, Subtype, Eq, Classical.indefiniteDescription, PureOrderIdeal.maximal_nonempty, Finsupp.sum, Subtype.mk, OrderIdeal, IsPure, Finset.Nonempty, PureOrderIdeal.mk, OrderIdeal.rec, LE.le, OrderIdeal.mk, Eq.mpr, Finset.sum, Finset.univ, id, implies_congr, Top.top and 45 more

    53 instances, coercions and auxiliary constants left out.

    Tactic trace: 17 steps

    Open to load the checked before-and-after goal states.

  51. lemma pureOSequence_zero_of_pure line 434 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, PureOrderIdeal, Eq, pureOSequence, PureOrderIdeal.ideal, OfNat.ofNat

    Proof uses: Finset.Nonempty, Monomial, maximalMonomials, PureOrderIdeal.maximal_nonempty, Membership.mem, Finset, LE.le, Fin, OrderBot.bot_le, OrderIdeal.carrier, And.left, IsMaximalIn, Iff.mp, Finset.filter, And, Finset.mem_filter, OrderIdeal.mem_of_dvd, totalDeg, Singleton.singleton, Finset.ext and 31 more

    43 instances, coercions and auxiliary constants left out.

    Tactic trace: 23 steps

    Open to load the checked before-and-after goal states.

  52. lemma pureOSeq_eq_sum_FirstDiffZ line 455 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, Int, pureOSequence, PureOrderIdeal.ideal, Finset.sum, Finset.range, HAdd.hAdd, FirstDiffZ

    Proof uses: Nat.recAux, id, Eq.mpr, ite, HSub.hSub, Eq.trans, congrArg, Singleton.singleton, Finset, Finset.sum_congr, zero_add, Membership.mem, Eq.refl, Finset.sum_singleton, ite_cond_eq_true, eq_self, pureOSequence_zero_of_pure, Finset.sum_range_succ, Eq.symm, of_eq_true and 7 more

    54 instances, coercions and auxiliary constants left out.

    Tactic trace: 9 steps

    Open to load the checked before-and-after goal states.

  53. lemma binomial_of_FirstDiffZ line 469 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, LE.le, HAdd.hAdd, Eq, Int, FirstDiffZ, And, HMul.hMul, pureOSequence, PureOrderIdeal.ideal, HSub.hSub

    Proof uses: id, PureOrderIdeal.rec, ite, Finset.card, Monomial, Finset.filter, totalDeg, OrderIdeal.carrier, OrderIdeal, IsPure, Finset.Nonempty, maximalMonomials, PureOrderIdeal.mk, Membership.mem, Finset, IsMaximalIn, Finsupp.sum, Fin, binomial_of_FirstDiffZ.match_3, Exists.intro and 131 more

    169 instances, coercions and auxiliary constants left out.

    Tactic trace: 24 steps

    Open to load the checked before-and-after goal states.

  54. def setD line 489 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Finset, Monomial

    Proof uses: Finset.filter, And, Eq, totalDeg, Fin, OrderIdeal.carrier, PureOrderIdeal.ideal

    10 instances, coercions and auxiliary constants left out.

  55. def setE line 492 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Finset, Monomial

    Proof uses: Finset.filter, And, Eq, totalDeg, Membership.mem, OrderIdeal.carrier, PureOrderIdeal.ideal, Fin, HAdd.hAdd, False

    16 instances, coercions and auxiliary constants left out.

  56. lemma totalDeg_add_single_z line 496 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Monomial, OfNat.ofNat, Nat, Eq, totalDeg, HAdd.hAdd, Finsupp, Fin, Finsupp.single

    Proof uses: degXY, degZ, deg_eq_degXY_plus_degZ, id, of_eq_true, Eq.trans, True, congrArg, Finsupp.single_eq_of_ne, Not, False, eq_false_of_decide, Eq.refl, Bool, Bool.false, not_false_eq_true, add_zero, eq_self, Finsupp.single_eq_same, Decidable.byContradiction

    27 instances, coercions and auxiliary constants left out.

    Tactic trace: 13 steps

    Open to load the checked before-and-after goal states.

  57. lemma totalDeg_sub_single_z line 508 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Monomial, OfNat.ofNat, Nat, GT.gt, Fin, Eq, totalDeg, HSub.hSub, Finsupp, Finsupp.single

    Proof uses: HAdd.hAdd, degXY, degZ, deg_eq_degXY_plus_degZ, id, of_eq_true, Eq.trans, True, congrArg, Finsupp.single_eq_of_ne, Not, False, eq_false_of_decide, Eq.refl, Bool, Bool.false, not_false_eq_true, tsub_zero, eq_self, Finsupp.single_eq_same and 1 more

    36 instances, coercions and auxiliary constants left out.

    Tactic trace: 13 steps

    Open to load the checked before-and-after goal states.

  58. lemma pureOSeq_eq_D_E line 520 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, Eq, Int, FirstDiffZ, HSub.hSub, Finset.card, Monomial, setD, setE

    Proof uses: Finset, Finset.filter, And, totalDeg, Not, Membership.mem, OrderIdeal.carrier, PureOrderIdeal.ideal, Fin, HAdd.hAdd, False, GT.gt, Disjoint, Eq.mpr, Ne, id, congrArg, propext, Finset.disjoint_iff_ne, And.right and 86 more

    107 instances, coercions and auxiliary constants left out.

    Tactic trace: 215 steps (first 200 of 215)

    Open to load the checked before-and-after goal states.

  59. def setD_X line 684 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Finset

    Proof uses: Finset.image, Monomial, Fin, setD

    9 instances, coercions and auxiliary constants left out.

  60. lemma card_setD_eq_card_setD_X line 687 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, Finset.card, Monomial, setD, setD_X

    Proof uses: id, Eq.mpr, Finset.filter, And, totalDeg, Fin, OrderIdeal.carrier, PureOrderIdeal.ideal, Finset.image, congrArg, Finset.card_image_of_injOn, Membership.mem, Set, Finset, Finsupp, HAdd.hAdd, Eq.trans, propext, Finsupp.ext_iff, Fin.succ and 29 more

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  61. lemma setD_X_down line 695 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Membership.mem, Finset, setD_X, HAdd.hAdd, And, LT.lt, GT.gt, HSub.hSub

    Proof uses: Eq.mpr, LE.le, id, Eq, congrArg, Nat.succ, implies_congr, propext, Nat.lt_succ_iff, Eq.refl, Finset.image, Monomial, Fin, setD, Finsupp, Finset.filter, totalDeg, OrderIdeal.carrier, PureOrderIdeal.ideal, Exists and 117 more

    164 instances, coercions and auxiliary constants left out.

    Tactic trace: 29 steps

    Open to load the checked before-and-after goal states.

  62. lemma setD_X_bound line 712 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Membership.mem, Finset, setD_X, LE.le

    Proof uses: Eq, OrderIdeal, IsPure, Finset.Nonempty, Monomial, maximalMonomials, PureOrderIdeal.mk, Exists, And, OrderIdeal.carrier, PureOrderIdeal.ideal, totalDeg, Fin, Finsupp.sum, Eq.mpr, HAdd.hAdd, Finsupp, id, congrArg, Eq.trans and 27 more

    40 instances, coercions and auxiliary constants left out.

    Tactic trace: 7 steps

    Open to load the checked before-and-after goal states.

  63. lemma card_setD_le line 722 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Or, LE.le, Finset.card, Monomial, setD, HAdd.hAdd, And, Eq

    Proof uses: Eq.mpr, setD_X, id, congrArg, card_setD_eq_card_setD_X, macaulay_2_vars, Membership.mem, Finset, setD_X_down, setD_X_bound, Or.inl, HasSubset.Subset, Finset.range, LT.lt, propext, Finset.mem_range, Decidable.byContradiction, Not, Finset.card_le_card, Eq.mp and 3 more

    20 instances, coercions and auxiliary constants left out.

    Tactic trace: 40 steps

    Open to load the checked before-and-after goal states.

  64. lemma slice_size_Z_le line 758 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LE.le, slice_size, HAdd.hAdd

    Proof uses: Monomial, HSub.hSub, Finsupp, Fin, Finsupp.single, Membership.mem, Finset, Finset.filter, And, Eq, degZ, degXY, OrderIdeal.carrier, PureOrderIdeal.ideal, Eq.mpr, id, congrArg, propext, Finset.mem_filter, Eq.mp and 24 more

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 67 steps

    Open to load the checked before-and-after goal states.

  65. lemma FirstDiffZ_le_slice0 line 812 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, LE.le, Int, HSub.hSub, pureOSequence, PureOrderIdeal.ideal, slice_size

    Proof uses: Eq, Finset.sum, Finset.range, HAdd.hAdd, pureOSeq_eq_sum_slice, Eq.mpr, id, congrArg, Finset.sum_range_succ', Decidable.byContradiction, Not, Eq.refl, Finset.sum_congr, rfl, Finset, Membership.mem, Mathlib.Tactic.Ring.of_eq, HMul.hMul, HPow.hPow, Nat.rawCast and 48 more

    99 instances, coercions and auxiliary constants left out.

    Tactic trace: 34 steps

    Open to load the checked before-and-after goal states.

  66. lemma FirstDiffZ_le_max line 848 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LE.le, Int, FirstDiffZ, HAdd.hAdd

    Proof uses: id, Nat.casesAuxOn, Eq, ite, HSub.hSub, pureOSequence, PureOrderIdeal.ideal, of_eq_true, Eq.trans, True, congr, congrArg, ite_cond_eq_true, eq_self, CharP.cast_eq_zero, zero_add, Eq.symm, Eq.mpr, ite_cond_eq_false, And and 58 more

    118 instances, coercions and auxiliary constants left out.

    Tactic trace: 12 steps

    Open to load the checked before-and-after goal states.

  67. lemma slice_diff_eq_card line 863 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, HSub.hSub, slice_size, HAdd.hAdd, Finset.card, Monomial, Finset.filter, And, degZ, degXY, Not, Membership.mem, Finset, OrderIdeal.carrier, PureOrderIdeal.ideal, Finsupp, Fin and 1 more

    Proof uses: Eq.symm, id, PureOrderIdeal.rec, OrderIdeal, IsPure, Finset.Nonempty, maximalMonomials, Eq.mpr, PureOrderIdeal.mk, Inter.inter, SDiff.sdiff, congr, congrArg, Eq.trans, Finset.filter_and, Finset.filter_not, DecidableEq, Finset.inter_sdiff_assoc, HasSubset.Subset, Iff.mpr and 49 more

    115 instances, coercions and auxiliary constants left out.

    Tactic trace: 17 steps

    Open to load the checked before-and-after goal states.

  68. lemma card_setE_eq_sum line 882 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, Finset.card, Monomial, setE, Finset.sum, Finset.range, HAdd.hAdd, Finset.filter, And, degZ, degXY, HSub.hSub, Not, Membership.mem, Finset, OrderIdeal.carrier, PureOrderIdeal.ideal and 3 more

    Proof uses: id, Eq.mpr, totalDeg, False, ite, Finsupp.sum, congr, congrArg, Finset.card_filter, Finset.sum_congr, Eq.refl, OrderIdeal, IsPure, Finset.Nonempty, maximalMonomials, PureOrderIdeal.mk, LE.le, OrderIdeal.mk, Eq.trans, ite_congr and 51 more

    85 instances, coercions and auxiliary constants left out.

    Tactic trace: 15 steps

    Open to load the checked before-and-after goal states.

  69. lemma card_setE_eq_sum_slice_diff line 895 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, Finset.card, Monomial, setE, Finset.sum, Finset.range, HAdd.hAdd, HSub.hSub, slice_size

    Proof uses: Eq.mpr, Finset.filter, And, degZ, degXY, Not, Membership.mem, Finset, OrderIdeal.carrier, PureOrderIdeal.ideal, Finsupp, Fin, Finsupp.single, id, congrArg, card_setE_eq_sum, Finset.sum_congr, rfl, Eq.symm, slice_diff_eq_card

    26 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

    Open to load the checked before-and-after goal states.

  70. def slice_X line 902 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Finset

    Proof uses: Finset.image, Monomial, Fin, Finset.filter, And, Eq, degZ, degXY, OrderIdeal.carrier, PureOrderIdeal.ideal

    10 instances, coercions and auxiliary constants left out.

  71. lemma card_slice_eq_card_X line 905 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, slice_size, Finset.card, slice_X

    Proof uses: id, Finset.image, Monomial, Fin, Finset.filter, And, degZ, degXY, OrderIdeal.carrier, PureOrderIdeal.ideal, OrderIdeal, IsPure, Finset.Nonempty, maximalMonomials, PureOrderIdeal.mk, OrderIdeal.rec, Membership.mem, Finset, IsMaximalIn, totalDeg and 18 more

    25 instances, coercions and auxiliary constants left out.

    Tactic trace: 14 steps

    Open to load the checked before-and-after goal states.

  72. lemma slice_X_down line 915 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Membership.mem, Finset, slice_X, HAdd.hAdd, And, LT.lt, GT.gt, HSub.hSub

    Proof uses: id, Set, setOf, Multiset, Finset.val, Eq.mpr, LE.le, Exists, Monomial, OrderIdeal.carrier, PureOrderIdeal.ideal, Eq, degZ, degXY, Fin, congr, Nat.succ, Finset.image, Finset.filter, congrArg and 59 more

    109 instances, coercions and auxiliary constants left out.

    Tactic trace: 38 steps

    Open to load the checked before-and-after goal states.

  73. lemma slice_X_bound line 937 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Membership.mem, Finset, slice_X, LE.le

    Proof uses: id, Set, setOf, Multiset, Finset.val, Decidable.byContradiction, Not, Eq.mp, Exists, Monomial, And, OrderIdeal.carrier, PureOrderIdeal.ideal, Eq, degZ, degXY, Fin, congrArg, Multiset.dedup, Multiset.map and 3 more

    21 instances, coercions and auxiliary constants left out.

    Tactic trace: 4 steps

    Open to load the checked before-and-after goal states.

  74. lemma card_slice_le line 943 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Or, LE.le, slice_size, HAdd.hAdd, And, Eq

    Proof uses: Eq.mpr, Finset.card, slice_X, id, congrArg, card_slice_eq_card_X, macaulay_2_vars, Membership.mem, Finset, slice_X_down, slice_X_bound, Or.inl, HasSubset.Subset, Finset.range, LT.lt, propext, Finset.mem_range, Decidable.byContradiction, Not, Finset.card_le_card and 4 more

    20 instances, coercions and auxiliary constants left out.

    Tactic trace: 40 steps

    Open to load the checked before-and-after goal states.

  75. lemma slice_X_subset line 977 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, HasSubset.Subset, Finset, slice_X, HAdd.hAdd

    Proof uses: Membership.mem, id, Eq.mpr, Finset.image, Monomial, Fin, Finset.filter, And, Eq, degZ, degXY, OrderIdeal.carrier, PureOrderIdeal.ideal, Exists, Eq.trans, congrArg, funext, Eq.mp, Exists.intro, HSub.hSub and 21 more

    38 instances, coercions and auxiliary constants left out.

    Tactic trace: 19 steps

    Open to load the checked before-and-after goal states.

  76. lemma slice_diff_le_slice_diff_next line 990 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, HAdd.hAdd, HDiv.hDiv, socleDegree, LE.le, HSub.hSub, slice_size

    Proof uses: Finset, SDiff.sdiff, slice_X, Eq, Finset.card, Eq.mpr, id, congrArg, card_slice_eq_card_X, HasSubset.Subset, slice_X_subset, Inter.inter, Iff.mpr, Finset.inter_eq_left, Eq.symm, Finset.card_sdiff, Or, Exists, And, Membership.mem and 75 more

    114 instances, coercions and auxiliary constants left out.

    Tactic trace: 333 steps (first 200 of 333)

    Open to load the checked before-and-after goal states.

  77. lemma min_not_full_slice line 1200 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, slice_size, HAdd.hAdd, Exists, And, LE.le, LT.lt, HSub.hSub

    Proof uses: Finset, Finset.filter, Finset.range, Finset.Nonempty, Exists.intro, Membership.mem, Eq.mpr, id, congrArg, propext, Finset.mem_filter, Finset.mem_range, And.intro, Decidable.byContradiction, Not, Finset.min', Finset.min'_mem, Eq.mp, And.right, Ne and 57 more

    104 instances, coercions and auxiliary constants left out.

    Tactic trace: 49 steps

    Open to load the checked before-and-after goal states.

  78. lemma slice_diff_strict_increase line 1244 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, Eq, slice_size, HAdd.hAdd, LE.le, HSub.hSub

    Proof uses: pureOSeq_bound_slice, Or, And, card_slice_le, Decidable.byContradiction, Not, Eq.mp, congrArg

    21 instances, coercions and auxiliary constants left out.

    Tactic trace: 10 steps

    Open to load the checked before-and-after goal states.

  79. lemma card_setE_le line 1255 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, HDiv.hDiv, socleDegree, LE.le, Finset.card, Monomial, setE, HAdd.hAdd

    Proof uses: Eq.mpr, Finset.sum, Finset.range, HSub.hSub, slice_size, id, Eq, congrArg, card_setE_eq_sum_slice_diff, Membership.mem, Finset, Decidable.byContradiction, Not, Eq.mp, propext, Finset.mem_range, slice_diff_le_slice_diff_next, Finset.sum_le_sum, Finset.sum_range_succ, Eq.refl

    35 instances, coercions and auxiliary constants left out.

    Tactic trace: 22 steps

    Open to load the checked before-and-after goal states.

  80. lemma setD_card_eq_slice_size_zero line 1278 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, Eq, Finset.card, Monomial, setD, slice_size

    Proof uses: id, Finset.filter, And, totalDeg, Fin, OrderIdeal.carrier, PureOrderIdeal.ideal, Finset, degZ, degXY, Finset.ext, Eq.mpr, Iff, Membership.mem, congrArg, propext, Finset.mem_filter, HAdd.hAdd, deg_eq_degXY_plus_degZ, Iff.intro and 4 more

    17 instances, coercions and auxiliary constants left out.

    Tactic trace: 31 steps

    Open to load the checked before-and-after goal states.

  81. lemma sum_strict_mono line 1302 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Membership.mem, Finset, Finset.range, HAdd.hAdd, OfNat.ofNat, LE.le, Exists, And, Finset.sum

    Proof uses: Finset.sum_lt_sum

    14 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

    Open to load the checked before-and-after goal states.

  82. lemma setE_empty_of_full_simplex line 1308 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LE.le, HAdd.hAdd, Eq, slice_size, HSub.hSub, Finset.card, Monomial, setE

    Proof uses: Finset.sum, Finset.range, card_setE_eq_sum_slice_diff, Eq.mpr, id, congrArg, Membership.mem, Finset, Decidable.byContradiction, Not, Eq.mp, LT.lt, propext, Finset.mem_range, pureOSeq_bound_slice, Finset.sum_eq_zero

    21 instances, coercions and auxiliary constants left out.

    Tactic trace: 17 steps

    Open to load the checked before-and-after goal states.

  83. lemma card_setE_strict_mono_helper line 1325 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, Membership.mem, Finset, Finset.range, LE.le, HSub.hSub, slice_size, HAdd.hAdd, Or, Exists, And, Finset.sum

    Proof uses: Eq, Eq.mpr, id, congrArg, Finset.sum_range_succ, Decidable.byContradiction, Not, Eq.refl, sum_strict_mono, Eq.mp, slice_size_Z_le, Finset.sum_le_sum

    35 instances, coercions and auxiliary constants left out.

    Tactic trace: 20 steps

    Open to load the checked before-and-after goal states.

  84. lemma card_setE_strict_mono line 1352 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, LE.le, HDiv.hDiv, socleDegree, Eq, Finset.card, Monomial, setD, HAdd.hAdd, Or, setE, HSub.hSub

    Proof uses: slice_size, Eq.mpr, id, congrArg, Eq.symm, setD_card_eq_slice_size_zero, Exists, And, dite, Or.inr, Not, Or.inl, pureOSeq_bound_slice, Eq.mp, Eq.trans, binderNameHint, forall_congr, Mathlib.Tactic.Push.not_and_eq, implies_congr, Eq.refl and 71 more

    128 instances, coercions and auxiliary constants left out.

    Tactic trace: 131 steps

    Open to load the checked before-and-after goal states.

  85. lemma pure_O_seq_Macaulay_diff_Z line 1450 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LE.le, HDiv.hDiv, socleDegree, Or, Int, FirstDiffZ, HAdd.hAdd, And, Eq

    Proof uses: LT.lt, Decidable.byContradiction, Not, HSub.hSub, Finset.card, Monomial, setD, setE, pureOSeq_eq_D_E, card_setD_le, dite, Eq.mpr, id, congrArg, Eq.refl, FirstDiffZ_le_max, Or.inl, Or.inr, And.intro, Mathlib.Meta.NormNum.isNat_eq_true and 62 more

    119 instances, coercions and auxiliary constants left out.

    Tactic trace: 71 steps

    Open to load the checked before-and-after goal states.

  86. lemma pure_O_seq_Macaulay_diff_max_Z line 1495 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LE.le, HAdd.hAdd, HDiv.hDiv, socleDegree, Eq, Int, FirstDiffZ

    Proof uses: Nat.recAux, Decidable.byContradiction, Not, Eq.mpr, id, congrArg, Eq.refl, ite, HSub.hSub, pureOSequence, PureOrderIdeal.ideal, Or, And, pure_O_seq_Macaulay_diff_Z, FirstDiffZ_le_max, Mathlib.Tactic.Linarith.eq_of_not_lt_of_not_gt, Not.intro, LT.lt, Mathlib.Tactic.Linarith.lt_irrefl, Eq.mp and 46 more

    95 instances, coercions and auxiliary constants left out.

    Tactic trace: 27 steps

    Open to load the checked before-and-after goal states.

  87. lemma FirstDiffZ_OSeq_property line 1518 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, LE.le, HDiv.hDiv, socleDegree, Or, Int, FirstDiffZ, HAdd.hAdd, Eq

    Proof uses: And, pure_O_seq_Macaulay_diff_Z, Or.inl, Or.inr, Decidable.byContradiction, Not, pure_O_seq_Macaulay_diff_max_Z

    28 instances, coercions and auxiliary constants left out.

    Tactic trace: 10 steps

    Open to load the checked before-and-after goal states.

  88. lemma P3_dichotomy line 1529 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, LE.le, HDiv.hDiv, socleDegree, Or, Int, HAdd.hAdd, pureOSequence, PureOrderIdeal.ideal, HSub.hSub, HMul.hMul, And, Eq

    Proof uses: FirstDiffZ, FirstDiffZ_OSeq_property, Or.inl, id, of_eq_true, ite, Eq.trans, True, congrArg, ite_cond_eq_false, False, and_false, add_tsub_cancel_right, eq_self, Ne, eq_false, le_of_not_gt, Mathlib.Tactic.Linarith.lt_irrefl, Eq.mp, Neg.neg and 55 more

    115 instances, coercions and auxiliary constants left out.

    Tactic trace: 16 steps

    Open to load the checked before-and-after goal states.

  89. theorem P3 line 1549 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: ProblemP3

    Proof uses: PureOrderIdeal, OfNat.ofNat, Nat, LT.lt, LE.le, HDiv.hDiv, socleDegree, Or, Int, HAdd.hAdd, pureOSequence, PureOrderIdeal.ideal, HSub.hSub, HMul.hMul, And, Eq, P3_dichotomy, HPow.hPow, nat_AMGM, Mathlib.Tactic.Ring.of_eq and 84 more

    115 instances, coercions and auxiliary constants left out.

    Distinct definitions of this name: APNOutputs/OEIS/oeis_51293_conjecture_0.lean:125 (different declaration text). Qualify references as P3@path.

    Tactic trace: 38 steps

    Open to load the checked before-and-after goal states.