{
    "api": "YAML JSON TOON Database",
    "version": "1.0.0",
    "format": "json",
    "dataset": {
        "id": 2891,
        "slug": "set-theory-basics",
        "title": "Set Theory Basics",
        "description": "Fundamental set operations and relations.",
        "summary": "The core vocabulary and notation of set theory: union, intersection, complement, subsets, power sets and Cartesian products, with set difference, symmetric difference, cardinality, membership, disjoint sets and De Morgan's laws.",
        "use_when": [
            "You need the notation and meaning of a set operation.",
            "You are translating between set language and logic or SQL."
        ],
        "caveats": [
            "Complement is relative to a stated universal set; without one it is undefined.",
            "Notations differ between textbooks (A^c, A', and a bar over A all denote complement)."
        ],
        "related": [
            "combinatorics-fundamentals",
            "statistics-basics",
            "sql-join-types"
        ],
        "entry_count": 14,
        "fields": [
            {
                "section": "data",
                "field": "concept",
                "type": "string",
                "example": "Union"
            },
            {
                "section": "data",
                "field": "notation",
                "type": "string",
                "example": "A \u222a B"
            },
            {
                "section": "data",
                "field": "description",
                "type": "string",
                "example": "Elements in A or B or both."
            }
        ],
        "category": "Mathematics",
        "category_slug": "mathematics",
        "tags": "math,set-theory,logic",
        "view_count": 67,
        "created_at": 1793403093,
        "updated_at": 1793403093
    },
    "data": [
        {
            "concept": "Union",
            "notation": "A \u222a B",
            "description": "Elements in A or B or both."
        },
        {
            "concept": "Intersection",
            "notation": "A \u2229 B",
            "description": "Elements common to A and B."
        },
        {
            "concept": "Complement",
            "notation": "A'",
            "description": "Elements not in A within the universal set."
        },
        {
            "concept": "Subset",
            "notation": "A \u2286 B",
            "description": "Every element of A is also in B."
        },
        {
            "concept": "Superset",
            "notation": "A \u2287 B",
            "description": "A contains all elements of B."
        },
        {
            "concept": "Power Set",
            "notation": "P(A)",
            "description": "Set of all subsets of A."
        },
        {
            "concept": "Cartesian Product",
            "notation": "A \u00d7 B",
            "description": "Set of all ordered pairs from A and B."
        },
        {
            "concept": "Set Difference",
            "notation": "A \u2216 B",
            "description": "Elements in A that are not in B."
        },
        {
            "concept": "Symmetric Difference",
            "notation": "A \u0394 B",
            "description": "Elements in exactly one of A or B."
        },
        {
            "concept": "Empty Set",
            "notation": "\u2205",
            "description": "The set with no elements; it is a subset of every set."
        },
        {
            "concept": "Cardinality",
            "notation": "|A|",
            "description": "The number of elements in A."
        },
        {
            "concept": "Element Of",
            "notation": "x \u2208 A",
            "description": "x is a member of A."
        },
        {
            "concept": "Disjoint Sets",
            "notation": "A \u2229 B = \u2205",
            "description": "Sets with no elements in common."
        },
        {
            "concept": "De Morgan's Laws",
            "notation": "(A \u222a B)\u1d9c = A\u1d9c \u2229 B\u1d9c",
            "description": "The complement of a union is the intersection of the complements, and the complement of an intersection is the union of the complements."
        }
    ]
}