Subdivision: CivicAlgebraicInfrastructure.Foundations.FOL
Companion files:
This ordinance establishes the foundations of First Order Logic (FOL) within the civic algebraic infrastructure. It defines the lawful symbols, terms, and formulas that citizens (remixers) may use to construct and reason about propositions. Symbols themselves are typed citizens (Symbol records with Name, Kind, and optional Arity), ensuring lawful zoning between variables, constants, functions, and predicates.
ConnectiveKind is the zoning map for assigning lawful services.VariableKind.Decidable — there exists a terminating procedure to decide truth.SemiDecidable — some truths can be recognized, but not all falsities.Undecidable — no terminating procedure exists.Enumerable — the set of truths can be effectively listed.NonEnumerable — no such listing is possible.type FOLMetadata =
{ Decidability : Decidability option
Enumerability : Enumerability option }
┌─────────────────────┐
│ Symbol │
│ (Name, Kind, Arity)│
└─────────┬───────────┘
│
▼
┌─────────────────────┐
│ Term<'Symbol> │
│ (independent) │
└─────────┬───────────┘
│
▼
┌─────────────────────┐
│ AtomicFormula<'S> │
│ uses Term<'S> │
└─────────┬───────────┘
│
▼
┌───────────────────────────────────────────────┐
│ Formula<'S> │
│ ┌────────────────┬─────────────────────────┐ │
│ │ Atomic │ Connective │ │
│ │ (AtomicFormula)│ (PrimitiveConnective) │ │
│ │ │ Quantified │ │
│ └────────────────┴─────────────────────────┘ │
└─────────┬───────────────────────┬─────────────┘
│ │
▼ ▼
┌─────────────────────┐ ┌────────────────────┐
│ PrimitiveConnective │ │ Quantified<'S> │
│ uses Formula<'S> │ │ Bound: Quantifier │
│ (Not, And, Or, →) │ │ Body: Formula<'S> │
└─────────────────────┘ └─────────┬──────────┘
│
▼
┌────────────────────┐
│ Quantifier<'S> │
│ ∀x | ∃x │
└────────────────────┘
┌─────────────────────┐
│ ConnectiveKind │
│ (symbolic enum) │
│ independent │
└─────────────────────┘
┌─────────────────────┐
│ FOLMetadata │
│ (Decidability, │
│ Enumerability) │
└─────────────────────┘
Var { Name="x"; Kind=VariableKind; Arity=None }
│
▼
Predicate("P", [x]) Predicate("Q", [x])
│ │
└─────── Atomic ──────────┘
│
▼
Implies (P(x), Q(x))
│
▼
Connective
│
▼
Quantifier: ForAll { Name="x"; Kind=VariableKind }
│
▼
Quantified { Bound = ∀x; Body = (P(x) → Q(x)) }
│
▼
Formula.Quantified
The following terms define key civic primitives used throughout this ordinance.
Definition: A recursive civic envelope for symbolic propositions, built from atomic formulas, connectives, and quantifiers.
Signage Overlay:
Formula<'Symbol'>is the zoning charter for logical reasoning. It scaffolds remix-safe propositions, symbolic nesting, and audit overlays.
Definition: An enum of civic-native logical operators, including both primitive and derived connectives.
Variants:
- Primitive: ¬, ∧, ∨, →
- Derived: ↔, ⊕, ↑, ↓, ⊙, ⊼, ⇍, ⊭, ≢
Signage Overlay:
ConnectiveKindis the symbolic signage registry. It scaffolds civic-native reasoning, remix dialects, and onboarding clarity. Each connective is lawful, narratable, and remix-safe.
Definition: A civic signage record annotating formulas with decidability, enumerability, and system-level affordances.
Fields:
Decidability: Decidable, SemiDecidable, UndecidableEnumerability: Enumerable, NonEnumerableSignage Overlay:
FOLMetadatais the audit overlay for symbolic propositions. It scaffolds remix inspection, system-level reasoning, and ordinance guarantees. Every metadata tag is narratable and remix-worthy.
Definition: A civic wrapper for formulas with bound variables, using ∀ and ∃ quantifiers.
Signage Overlay:
Quantified<'Symbol'>scaffolds lawful binding, substitution hygiene, and symbolic zoning. It ensures civic-native clarity for remixers and preserves variable scope as a legacy artifact.
.fsx)∀x. P(x) → Q(x)P(x) ↔ Q(x) as (P(x) → Q(x)) ∧ (Q(x) → P(x)).P(x) ⊕ Q(x) as (P(x) ∨ Q(x)) ∧ ¬(P(x) ∧ Q(x)).FOLMetadata = { Decidability = Some Decidable; Enumerability = Some Enumerable }.This ordinance is designed to be remixable:
ConnectiveKind may be paired with service overlays (evaluation, rendering, LaTeX) so remixers can assign lawful functions to each connective.FOLMetadata provides a registry for meta‑properties, enabling remixers to reason not only within the system but also about the system.