wellordered.xyz

First Order Logic

Connectives

A socket holds a formula, and that formula may itself be a connective.

Negation
Conjunction
Disjunction
Implication
Biconditional

Quantifiers

A quantifier binds a variable, then holds one formula. Snap an element block inside its socket, or snap a quantifier into the left side of an element block below.

Universal
x
Existential
y

Membership

Each side holds an element—or snap a quantifier into the left side (like ∀x ∈ A) or snap this block inside a quantifier above.

Element of
Subset

Shortcuts

A predicate names a property of one element, and a relation symbol compares two elements. Snap either into the left side of ≔ to define it as a formula.

Predicate
P
Relation
R
Definition

Proof

In a Hilbert-style proof, statements are numbered lines (1., 2., …) and Modus Ponens derives the next line with its justification on the right. Click the lines block, then click the top socket of Modus Ponens to snap it in.

Statements
Modus Ponens
Layer 2 · Stacked on First-Order Logic

Set Theory (ZFC)

Set Relations & Definitions

Set equality (x = y) and standard ZFC definitions lower directly into Layer 1 formulas and Definition (≔) blocks without adding any new logical primitives to the First-Order Logic kernel. Click Unfold on Set Equality to inspect its Layer 1 expansion.

Set Equality
Subset Definition
x ⊆ y ≔ (∀z (z ∈ y)) ∈ x
Set Equality Shortcut
x R y ≔ (x ⊆ y ∧ y ⊆ x)
Empty Set Predicate
P(x) ≔ ∀z ¬(z ∈ x)

ZFC Axioms

Each ZFC axiom is a closed rounded formula pill that snaps into any statement line (1., 2., …) and unfolds into pure Layer 1 quantifiers, connectives, and membership blocks.

Extensionality
ExtExtensionality
Empty Set
∅Empty Set
Pairing
{x, y}Pairing
Union
⋃AUnion
Power Set
𝒫(A)Power Set
Regularity
RegRegularity
Infinity
∞Infinity
Choice
ACChoice

ZFC Axiom Schemas

Separation and Replacement are formula-parameterized schemas: snap any Layer 1 formula φ into their rounded formula socket to construct a new ZFC set specification.

Separation Schema
{z ∈ A : φ}(∀z ((z ∈ B ↔ (z ∈ A ∧ □))))
Replacement Schema
Rep(A, ψ)(∀y ((y ∈ B ↔ (∃x □) ∈ A)))
Layer 3 · Stacked on Set Theory (ZFC)

Abstract Algebra

Algebraic Operations & Definitions

Binary operations (x · y = z), unary inverses (x⁻¹ = y), and preset algebraic definitions unfold one step down into Layer 2 ZFC Set Equality blocks (and a second step down into pure Layer 1 First-Order Logic blocks).

Binary Operation
Unary Inverse
Identity Element
P(x) ≔ ∀y (x · y = y)
Commuting Elements
x R y ≔ (x ⊆ y ∧ y ⊆ x)
Subalgebra Inclusion
x ⊆ y ≔ (∀z (z ∈ y)) ∈ x

Algebraic Structure & Equational Axioms

Birkhoff equational congruence and the group, monoid, ring, and cancellation laws over a carrier set A. Each axiom unfolds first into Layer 2 ZFC Set Equality blocks and then into Layer 1 quantifiers, connectives, and membership blocks.

Closure
ClosClosure
Congruence
CongCongruence
Associativity
AssocAssociativity
Identity
IdIdentity
Inverses
InvInverses
Commutativity
CommCommutativity
Cancellation
CancCancellation
Distributivity
DistDistributivity

Subalgebra & Homomorphism Schemas

Birkhoff Subalgebra and Homomorphism / Quotient schemas close the algebraic universe under substructures and structure-preserving maps: snap any formula φ into their rounded formula socket.

Subalgebra Schema
Sub(B ≤ A : φ)(∀z ((z ∈ B ↔ (z ∈ A ∧ ((z ⊆ z ∧ z ⊆ z) ∧ □)))))
Homomorphism Schema
Hom(A → B, ψ)(∀y ((y ∈ B ↔ (∃x ((x ⊆ x ∧ x ⊆ x) ∧ □)) ∈ A)))
2026-11-27 04:37 UTC