{
  "map_id": "nos.identity_map",
  "version": "8.0-draft",
  "book": "book8_nos",
  "series": "AI Edition",
  "invariant": "INV-NOS-003",
  "operator_binding": "NoS-Ι (IdentityTest)",
  "session_context": "rtt=1 | coherence=declared | drift=bounded | paradox=structural",
  "qmroot_binding": {
    "dimension": "0D",
    "note": "6D absent; negative rungs absent; INV-013 = 0D only"
  },
  "phantom_entry_audit": {
    "status": "clean",
    "checked_at": "session-open",
    "entries": []
  },
  "description": "Defines the structural model of identity through change. A structure's identity is preserved across a transformation if and only if the transformation preserves the structure's invariant set. This map covers invariant-preserving transformation types, identity boundary conditions, the ship-of-theseus resolution, and cross-book application of INV-NOS-003 mechanics.",

  "identity_model": {
    "formal": "identity_preserved(S, T) ⟺ invariant_set(transform(S, T)) = invariant_set(S)",
    "components": {
      "S": "The source structure — a formal configuration S = ⟨N_S, R_S, C_S⟩",
      "T": "The transformation — a declared mapping from S's current configuration to a target configuration S'",
      "invariant_set(S)": "The complete set of invariants that S satisfies at evaluation time. Identity is determined by this set, not by node or relation count.",
      "transform(S, T)": "The result of applying T to S — the target configuration S'"
    },
    "key_asymmetry": "Identity boundary is binary, not graduated. A transformation either preserves the invariant set (identity preserved) or it does not (identity lost — new structure). There is no 'partial identity preservation.' Partial transformation of a structure's configuration is compatible with full identity preservation if invariants are untouched.",
    "prior_book_ground": "INV-NOS-003 is the meta-theoretical generalization of INV-002 (Book 1 Constraint Preservation): INV-002 says valid transformations must preserve constraints; INV-NOS-003 says identity-preserving transformations must preserve invariants. The step from constraint to invariant is the step from the operational to the ontological."
  },

  "invariant_preserving_transformation_types": [
    {
      "id": "IPT-001",
      "label": "Isomorphic Transformation",
      "description": "A bijective mapping between two structural configurations that preserves all relational profiles. Every node in S maps to exactly one node in S', and the relational profile of each node is preserved under the mapping. Isomorphic transformations are the canonical identity-preserving case.",
      "formal": "T is isomorphic ⟺ ∃f: nodes(S) → nodes(S') bijective such that ∀n ∈ nodes(S): relational_profile(n, R_S) = relational_profile(f(n), R_{S'})",
      "invariant_status": "All invariants preserved — isomorphic structures are structurally identical by definition.",
      "nos_note": "Isomorphism is the identity case. Two isomorphic structures are not 'very similar' — they are the same structure expressed with different node labels. INV-NOS-002 (Relational Primacy) licenses this: identity is relational profile, not label.",
      "cross_book_example": "Two governance regimes with identical enforcement topology and authority decay parameters are structurally isomorphic under GRL (Book 6), even if their surface descriptions differ."
    },
    {
      "id": "IPT-002",
      "label": "Homomorphic Transformation",
      "description": "A mapping that preserves relational structure in one direction only — from S to S' — without requiring bijectivity. Every relation in S has a corresponding relation in S', but S' may have additional relations. Homomorphic transformations are identity-preserving with respect to S's invariants if no invariant of S is violated in S'.",
      "formal": "T is homomorphic ⟺ ∃f: nodes(S) → nodes(S') such that ∀r ∈ R_S: ∃r' ∈ R_{S'}: r'.source = f(r.source) ∧ r'.target = f(r.target)",
      "invariant_status": "Invariants of S preserved in S'; S' may satisfy additional invariants not in invariant_set(S). This is the instantiation pattern of INV-NOS-004.",
      "nos_note": "Homomorphic transformations are the formal analog of abstraction-to-instance moves. S is the abstract type; S' the instance. INV-NOS-004 requires invariant_set(S) ⊆ invariant_set(S') for a valid instance."
    },
    {
      "id": "IPT-003",
      "label": "Constraint-Equivalent Transformation",
      "description": "A transformation that changes the node and relation sets of S but preserves constraint satisfaction for all constraints in C_S. The resulting S' may be topologically different from S while satisfying the same structural constraints.",
      "formal": "T is constraint-equivalent ⟺ ∀c ∈ C_S: satisfies(transform(S,T), c)",
      "invariant_status": "All C_S constraints preserved. Invariants grounded in C_S are preserved. Invariants grounded in relational topology (R_S) must be checked independently.",
      "nos_note": "Constraint-equivalence is weaker than isomorphism but sufficient for many identity claims. A governance regime that restructures its enforcement topology while preserving all declared constraints remains the same regime under this criterion.",
      "cross_book_example": "A TEL composition that rewrites an expression using different operator sequencing but produces an identical structural denotation (INV-TEL-002) is a constraint-equivalent transformation."
    },
    {
      "id": "IPT-004",
      "label": "Invariant-Violating Transformation",
      "description": "A transformation that alters at least one invariant in invariant_set(S). The result is a numerically distinct structure S' — not a modified version of S, but a new structural entity. The transformation crossed the identity boundary.",
      "formal": "T violates_identity(S) ⟺ ∃inv ∈ invariant_set(S): ¬satisfies(transform(S,T), inv)",
      "invariant_status": "At least one invariant violated — identity is lost. S' is a new structure.",
      "nos_note": "This is the most important category for NoS evaluation. Identifying which transformations cross the identity boundary is the core task of NoS-Ι (IdentityTest). The boundary is sharp, not fuzzy: one invariant violation = new structure.",
      "cross_book_example": "A governance regime that loses enforcement capacity entirely (α → 0, INV-GRL-001 violated) has not become a 'weak regime' — it has become a structurally distinct entity: a nominal regime. The identity boundary was crossed."
    }
  ],

  "identity_boundary_conditions": [
    {
      "id": "IBC-001",
      "label": "Minimal Change Condition",
      "description": "The smallest transformation that crosses the identity boundary is a transformation that changes exactly one relational profile in a way that violates exactly one invariant. This establishes the sharpness of the identity boundary: there is no buffer zone.",
      "formal": "∃n ∈ nodes(S): Δ(relational_profile(n)) ∧ ∃inv ∈ invariant_set(S): ¬satisfies(transform(S,T), inv)",
      "nos_consequence": "Continuous structural drift — small incremental changes — can cross the identity boundary in a single step. The AI Edition's drift bound (drift=bounded in session_context) is a practical acknowledgment of this: drift must be bounded because unbounded drift inevitably crosses identity boundaries."
    },
    {
      "id": "IBC-002",
      "label": "Maximal Retention Condition",
      "description": "A transformation may replace every node and every relation in S while preserving identity, provided every invariant in invariant_set(S) continues to be satisfied. Maximum change, identity preserved.",
      "formal": "N_{S'} ∩ N_S = ∅ ∧ R_{S'} ∩ R_S = ∅ ∧ invariant_set(S') = invariant_set(S) → identity_preserved(S, T)",
      "nos_consequence": "The Ship of Theseus paradox is resolved: if every plank is replaced but the ship's invariant structural properties are preserved (its load-bearing topology, its navigational constraint set), the ship is numerically identical to the original. If the replacement process violates one structural invariant, it is a new ship from that point."
    },
    {
      "id": "IBC-003",
      "label": "Suspension vs. Violation",
      "description": "An invariant may be temporarily suspended — not violated — during a transformation if the suspension is declared and bounded by re-entry conditions. Suspended invariants are not violated invariants. A structure undergoing a bounded suspension remains the same structure, provided the invariant is restored before the transformation completes.",
      "formal": "suspend(inv, T) is valid ⟺ T.suspension_declared = true ∧ T.re_entry_condition is_specified ∧ ¬T.terminal_state_violates(inv)",
      "nos_consequence": "Structural reconstruction — the process of deliberate, bounded modification under declared suspension — is a valid identity-preserving transformation class. This is the formal license for the AI Edition's own revisability (DC-003 in structural_realism_map)."
    }
  ],

  "ship_of_theseus_resolution": {
    "title": "Structural Resolution of the Ship of Theseus",
    "problem": "If every component of a structure is incrementally replaced, is the result the same structure?",
    "nos_resolution": {
      "answer": "Yes, if and only if every replacement preserves the invariant set. No, if any replacement violates an invariant.",
      "mechanism": "Track invariant_set(S) through each incremental transformation T_1, T_2, ..., T_n. At each step, apply NoS-Ι (IdentityTest). If identity_preserved(S, T_i) holds at every step, the final structure is numerically identical to the original. If any T_i violates an invariant, the identity boundary was crossed at step i — the resulting structure from T_i onward is a new structure.",
      "tel_encoding": "T[SOTR]: (S ⊗ T_sequence) → evaluate (∀T_i ∈ T_sequence: invariant_set(S_i) = invariant_set(S))",
      "cross_book_application": "Governance: a regime that incrementally decays in authority (INV-GRL-002) eventually crosses the identity boundary when α collapses below the enforcement threshold — it becomes a nominal regime at that precise cycle, not earlier. SARG: an argument that incrementally loses warrant coverage (INV-SARG-002) becomes a distinct, invalid argument structure at the first uncovered claim-evidence pair, not gradually."
    }
  },

  "cross_book_identity_application": [
    {
      "book": "book1_fft",
      "invariant": "INV-002 (Constraint Preservation)",
      "nos_reading": "INV-002 is INV-NOS-003 applied to the operational level: transformations must preserve constraints because constraints are the enforcement mechanism of invariants. Violating a constraint is the first step toward invariant violation.",
      "identity_claim": "A transformation that violates a declared constraint has crossed the identity boundary condition of INV-NOS-003 if that constraint is constitutive of an invariant."
    },
    {
      "book": "book4_opacity_revelation",
      "invariant": "INV-OR-003 (Opacity Persistence)",
      "nos_reading": "ω(S) is invariant under observation — it does not change when an observer with different δ views S. This is a direct application of INV-NOS-003: observation is a transformation of the observer state, not of S, and cannot change S's invariants.",
      "identity_claim": "A model that allows observation to modify ω(S) has performed an identity-violating transformation on S — it has produced a different structure S' with different invariants, then incorrectly labeled it as the original S."
    },
    {
      "book": "book5_tel",
      "invariant": "INV-TEL-004 (Transformation Integrity)",
      "nos_reading": "TEL transformation integrity — valid input must yield valid output under declared transformation rules — is INV-NOS-003 expressed in the TEL notation domain. A TEL transformation is identity-preserving iff it maps structurally valid expressions to structurally valid expressions.",
      "identity_claim": "A TEL transformation that produces an invalid structural denotation from a valid input has crossed the identity boundary: it has produced a new (invalid) structure, not preserved the original."
    },
    {
      "book": "book7_sarg",
      "invariant": "INV-SARG-001 (Argument Integrity)",
      "nos_reading": "The argument identity condition in SARG — that every node must be reachable from root(A) — is an invariant. Any modification to A that creates an orphan node violates this invariant and produces a new, distinct structure (a disjoint set of structures, not a modified A).",
      "identity_claim": "SARG-Δ (DefeatCheck) operations that sever nodes from root(A) without re-routing relations are not modifications to A — they produce a distinct structural object. Book 8 makes this explicit: defeat creates a new structure, not a damaged version of the original."
    }
  ]
}
