Documentation

FormalConjecturesForMathlib.NumberTheory.Primitive

Primitive elements of a set with respect to divisibility #

An element n is primitive in a set S ⊆ ℕ if n ∈ S and no proper divisor of n is in S.

This concept appears naturally when studying sequences closed under "divisor inheritance" - if every member n of a sequence has the property that m * n is also in the sequence for coprime m, then the primitive elements generate the entire sequence.

Main definitions #

Main results #

def Set.IsPrimitive (S : Set ) (n : ) :

An element n is primitive in a set S ⊆ ℕ if n ∈ S and no proper divisor of n is in S.

Equations
Instances For

    The set of primitive elements of S.

    Equations
    Instances For
      theorem Set.IsPrimitive.mem {S : Set } {n : } (h : S.IsPrimitive n) :
      n S
      theorem Set.IsPrimitive.not_mem_of_properDivisor {S : Set } {n d : } (h : S.IsPrimitive n) (hd : d n.properDivisors) :
      dS
      theorem Set.IsPrimitive.not_mem_of_dvd_of_lt {S : Set } {n d : } (h : S.IsPrimitive n) (hdvd : d n) (hlt : d < n) :
      dS
      theorem Set.isPrimitive_iff {S : Set } {n : } :
      S.IsPrimitive n n S dn.properDivisors, dS
      theorem Set.isPrimitive_iff' {S : Set } {n : } (_hn : 0 < n) :
      S.IsPrimitive n n S ∀ (d : ), d nd < ndS
      @[simp]
      theorem Set.prime_isPrimitive_iff {S : Set } {p : } (hp : Nat.Prime p) :
      S.IsPrimitive p p S 1S