{"id":"lsp-mutable-subtype-of-immutable-violates-history","text":"A mutable subtype of an immutable supertype violates the LSP history constraint, but adding a new mutable field not observable through the supertype's interface does not violate it.","truth_value":"IN","source":"entries/2026/06/17/liskov-substitution-principle.md","source_url":"https://en.wikipedia.org/wiki/Liskov_substitution_principle","source_hash":"","justifications":[],"dependents":["lsp-violation-patterns-reveal-history-constraint"],"metadata":{"last_premise_reviewed":"2026-06-17T18:19:22","premise_review_result":"pass"},"created_at":"2026-06-17T17:04:08+00:00","updated_at":"2026-06-17T17:04:08+00:00","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"lsp-mutable-subtype-of-immutable-violates-history","truth_value":"IN","reason":"premise"}]}}