Skip to content

Set Theory

Giggy edited this page Apr 7, 2022 · 4 revisions

Set Theory

Set theory functions deal with sets, and basic things such as equality and numerals.

List:

  1. eqnumeral()
  2. eqsingle()
  3. Eq()
  4. Ne()
  5. Setnum()
  6. Number()
  7. NumberI()
  8. Set()
  9. Pairnum()
  10. Pair()
  11. Sub()
  12. Generate()
  13. GenerateLength()
  14. Elementnum()
  15. Element()
  16. GenerateCheckerboard()
  17. Repeat()

eqnumeral(n,m)

Returns true if n and m are equal.

eqsingle(N,M)

Returns true if N and M are equal.

Eq(α,β)

Returns true if the two sets are equal.

Ne(α,β)

Returns false if the two sets are equal.

Setnum(n)

Returns a set with the number form of n.

Number(n)

Returns the number form of n.

NumberI(n)

Returns i times the number form of n.

Set(N)

Returns a set with N in it.

Pairnum(n,m)

Returns a set with n and m in it.

Pair(N,M)

Returns a set with N and M in it.

Sub(α,B)

Uses a substring slicer to slice a set.

Generate(n,m,o)

Generates a substring slicer. The first numeral is the length, the second is the first point, and the third numeral is the ending point.

GenerateLength(n,m,o)

Same as above but the third numeral is the length of the sliced portion.

Elementnum(n,α)

Finds what index n is of α.

Element(N,α)

Finds what index N is of α.

GenerateCheckerboard(n,P)

Generates an on-off repeating pattern substring slicer. The numeral is the length and the boolean is whether the first number is 1 or 0.

Repeat(α,n)

Returns α repeated n times.