mfe-foundations

$npx mdskill add Tibsfox/gsd-skill-creator/mfe-foundations

Defines pure mathematical structures like sets, groups, rings, fields, and topological spaces using ZFC axioms.

  • Solves problems by defining mathematical objects and their properties.
  • Depends on tools for set manipulation and logical operations.
  • Decides based on ZFC axioms to ensure consistency and well-definedness of structures.
  • Delivers results through automated theorem proving and validation processes.

SKILL.md

.github/skills/mfe-foundationsView on GitHub ↗
---
name: mfe-foundations
description: "Pure mathematical structure. Sets, groups, rings, fields, topology — the formal bedrock everything else rests on."
user-invocable: false
allowed-tools: Read Grep Glob
metadata:
  extensions:
    gsd-skill-creator:
      version: 1
      createdAt: "2026-02-26"
      triggers:
        intents:
          - "set"
          - "logic"
          - "proof"
          - "group"
          - "ring"
          - "field"
          - "topology"
          - "axiom"
          - "formal"
          - "abstract"
        contexts:
          - "mathematical problem solving"
          - "math reasoning"
---

# Foundations

## Summary

**Foundations** (Part VI: Defining)
Chapters: 18, 19, 20, 21
Plane Position: (-0.6, 0.6) radius 0.35
Primitives: 55

Pure mathematical structure. Sets, groups, rings, fields, topology — the formal bedrock everything else rests on.

**Key Concepts:** Set Definition (ZFC), Topological Space, Group Definition and Axioms, Propositional Logic (Boolean Operations), Predicate Logic (Quantifiers)

## Key Primitives



**Set Definition (ZFC)** (axiom): A set is a well-defined collection of distinct objects (elements). Membership is denoted x in S. Two sets are equal iff they have exactly the same elements (Axiom of Extensionality). Sets are the foundational objects of mathematics under ZFC.
  - Define a collection of mathematical objects
  - Establish the foundational objects for building mathematical structures
  - Work with membership, inclusion, and equality of collections

**Topological Space** (axiom): A topological space (X, tau) is a set X with a collection tau of subsets (called open sets) satisfying: (1) emptyset and X are in tau. (2) Any union of sets in tau is in tau. (3) Any finite intersection of sets in tau is in tau.
  - Define the concept of 'nearness' or 'openness' without a metric
  - Study properties preserved under continuous deformation
  - Generalize analysis to abstract settings

**Group Definition and Axioms** (axiom): A group (G, *) is a set G with a binary operation * satisfying: (1) Closure: a*b in G for all a,b in G. (2) Associativity: (a*b)*c = a*(b*c). (3) Identity: exists e in G such that e*a = a*e = a. (4) Inverses: for each a, exists a^{-1} with a*a^{-1} = a^{-1}*a = e.
  - Verify if a set with an operation forms a group
  - Identify symmetries of objects as group elements
  - Study algebraic structures with a single binary operation

**Propositional Logic (Boolean Operations)** (definition): Propositional logic deals with propositions (true/false statements) combined by logical connectives: AND (conjunction, p ^ q), OR (disjunction, p v q), NOT (negation, ~p), IMPLIES (conditional, p -> q), IFF (biconditional, p <-> q).
  - Combine simple statements into complex logical expressions
  - Determine the truth value of a compound proposition
  - Formalize arguments and reasoning

**Predicate Logic (Quantifiers)** (definition): Predicate logic extends propositional logic with variables, predicates P(x), and quantifiers: universal (forall x, P(x)) meaning P holds for all x, and existential (exists x, P(x)) meaning P holds for some x. Negation: ~(forall x, P(x)) iff (exists x, ~P(x)).
  - Express mathematical statements involving 'for all' or 'there exists'
  - Negate quantified statements correctly
  - Formalize mathematical definitions and theorems

**Homomorphism** (definition): A group homomorphism f: G -> H is a function satisfying f(a *_G b) = f(a) *_H f(b) for all a, b in G. It preserves the group operation. The kernel ker(f) = {a in G : f(a) = e_H} is a normal subgroup of G. The image im(f) is a subgroup of H.
  - Define a structure-preserving map between groups
  - Identify the kernel and image of a group map
  - Classify groups up to homomorphic relationships

**Open Set and Closed Set** (definition): In a topological space (X, tau), a set U is open if U in tau. A set C is closed if X \ C is open. The closure cl(A) is the smallest closed set containing A. The interior int(A) is the largest open set contained in A. A set can be both open and closed (clopen).
  - Determine if a set is open, closed, or neither in a given topology
  - Compute the closure, interior, and boundary of a set
  - Work with topological properties defined via open/closed sets

**Cartesian Product** (definition): The Cartesian product of A and B is A x B = {(a,b) : a in A, b in B}. For n sets: A_1 x ... x A_n = {(a_1,...,a_n) : a_i in A_i}. |A x B| = |A| * |B|. R^n = R x R x ... x R (n times).
  - Form all possible pairs from two sets
  - Construct the domain for relations and functions
  - Build multi-dimensional spaces from one-dimensional sets

**Relation** (definition): A relation R from A to B is a subset of A x B. We write aRb or (a,b) in R. Properties: reflexive (aRa), symmetric (aRb => bRa), antisymmetric (aRb and bRa => a=b), transitive (aRb and bRc => aRc).
  - Define a relationship between elements of two sets
  - Check if a relation has special properties (reflexive, symmetric, transitive)
  - Formalize order, equivalence, or other structural relationships

**Equivalence Relation** (definition): An equivalence relation ~ on set A is a relation that is reflexive (a ~ a), symmetric (a ~ b => b ~ a), and transitive (a ~ b and b ~ c => a ~ c). It partitions A into disjoint equivalence classes [a] = {x in A : x ~ a}.
  - Classify elements into groups where they are considered equivalent
  - Partition a set into disjoint equivalence classes
  - Define modular arithmetic or congruence relations

## Composition Patterns

- Set Definition (ZFC) + foundations-propositional-logic -> Set builder notation: {x in S : P(x)} uses logical predicates to define sets (parallel)
- Empty Set + foundations-set-definition -> Basis for inductive set construction: {}, {{}}, {{},{{}}}, ... (sequential)
- Set Union + foundations-set-intersection -> Boolean algebra of sets: union and intersection with complement form a complete Boolean algebra (parallel)
- Set Intersection + foundations-set-union -> Set algebra with distributive laws: A inter (B union C) = (A inter B) union (A inter C) (parallel)
- Set Complement + foundations-set-union -> De Morgan's laws for sets: (A union B)^c = A^c inter B^c and (A inter B)^c = A^c union B^c (parallel)
- Cartesian Product + foundations-relation -> Relations as subsets of Cartesian products: R subset A x B (sequential)
- Power Set + foundations-cardinality -> Cantor's theorem: |P(A)| > |A| for any set A, proving no largest cardinal (sequential)
- Relation + foundations-set-definition -> Relations as structured subsets of Cartesian products, enabling order theory (sequential)
- Equivalence Relation + foundations-group-definition -> Quotient group: G/N uses equivalence classes (cosets) as group elements (sequential)
- Equivalence Class / Partition Theorem + foundations-equivalence-relation -> Bijection between equivalence relations on A and partitions of A (parallel)

## Cross-Domain Links

- **structure**: Compatible domain for composition and cross-referencing
- **reality**: Compatible domain for composition and cross-referencing
- **mapping**: Compatible domain for composition and cross-referencing
- **unification**: Compatible domain for composition and cross-referencing
- **synthesis**: Compatible domain for composition and cross-referencing

## Activation Patterns

- set
- logic
- proof
- group
- ring
- field
- topology
- axiom
- formal
- abstract

More from Tibsfox/gsd-skill-creator

SkillDescription
3d-interaction-designDesign heuristics for three-dimensional interaction — input modalities (6DoF controllers, gaze, gesture, voice), selection and manipulation techniques (ray-cast, virtual hand, go-go, world-in-miniature), navigation (teleport, continuous, redirected walking), and feedback loops (haptic, audio, visual). Covers Fitts' law in 3D, discoverability vs affordance, safe-zone design, and comfort/simulator sickness mitigation. Use when designing VR/AR interactions, immersive walkthroughs, or any input system where the user's body is the controller.
accessibility-patternsProvides web accessibility best practices for semantic HTML, ARIA, keyboard navigation, color contrast, and screen reader patterns. Use when building UI components, reviewing accessibility, or when user mentions 'a11y', 'accessibility', 'ARIA', 'screen reader', 'keyboard navigation', 'WCAG'.
active-listeningActive listening techniques for effective communication. Covers attending behaviors, paraphrasing, reflective listening, clarifying questions, empathic response, barriers to listening, listening in conflict, and cross-cultural listening. Use when building listening skills, improving understanding in conversation, mediating disputes, or analyzing communication breakdowns.
adversarial-pr-reviewAdversarial spec-compliance PR review — cross-references diffs against approved specs, verifies runtime claims against source, detects competing PRs, audits scope/convention compliance. Use before merging.
agile-methodsAgile and Lean software development methodologies for iterative, adaptive project execution. Covers Scrum (roles, ceremonies, artifacts), Kanban (WIP limits, flow metrics), XP (TDD, pair programming, CI), SAFe overview, Lean Software Development (Poppendieck's 7 principles), user stories (INVEST criteria), estimation via story points and velocity, and the Agile Manifesto's values and principles. Includes Cynefin framework for methodology selection and GSD's relationship to Agile as a structured Lean variant.
algebraic-reasoningSymbolic manipulation, equation solving, and algebraic structures for mathematical reasoning. Covers distributive law, factoring, completing the square, linear through polynomial equation solving, systems of equations (substitution, elimination, Gaussian elimination, matrix methods), algebraic structures (groups, rings, fields), modular arithmetic, polynomial theory, and inequalities. Use when solving equations, simplifying expressions, working with algebraic structures, or performing symbolic manipulation.
algorithmic-awarenessUnderstanding how algorithmic systems shape what users see, know, and do -- from recommendation feeds to search ranking to credit scoring to hiring software. Covers the mechanics of recommendation systems, algorithmic bias and its sources, personalization's effects on information diets, opacity and accountability, AI limitations (hallucination, confident wrongness), and the human-in-the-loop question. Use when a learner needs to think critically about why particular content reached them.
algorithms-data-structuresAlgorithms and data structures from first principles through advanced analysis. Covers sorting (bubble, insertion, selection, merge, quick, heap, radix), searching (linear, binary, BFS, DFS, Dijkstra, A*), fundamental data structures (arrays, linked lists, stacks, queues, hash tables, trees, heaps, graphs, tries), complexity analysis (Big-O, Big-Omega, Big-Theta, amortized), recurrence relations, and algorithm design paradigms (divide-and-conquer, greedy, dynamic programming, backtracking). Use when analyzing, selecting, implementing, or comparing algorithms and data structures.
aminet-browserAminet search and browse: full-text search, category tree navigation, architecture filtering, package detail, and curated collections. Use when searching, browsing, or managing package collections.
aminet-emulatorFS-UAE emulator configuration and launch: hardware profiles, ROM management, WHDLoad integration, config generation, and state snapshots. Use when configuring emulation, managing ROMs, or launching Amiga software.