S1 hygiene: Lake package, Lean CI, and non-trivial lemmas - #1
Merged
Conversation
Turn the orphan Lean axiom sketch into a reproducible CausalIntegrity Lake library with GitHub Actions CI, derived lemmas (theft/homestead, liability without ownership transfer, agent-filter, consent hygiene), and honest status docs. Axiom 5 (UPB) and forward simulation remain explicitly out of S1 scope. Co-authored-by: Wan Waoh <NetworkYum@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Advances Causal Integrity from an orphan Lean axiom sketch toward S1 hygiene: a reproducible Lake package, CI that runs
lake build, and derived lemmas that combine axioms rather than only projecting them. Status docs stay honest — this is still a skeleton / hypothesis, not a finished ethical OS.Framing preserved: coherent causality preferred by action remains the foundation; property is a proof instrument.
What builds
lean-toolchainCausalIntegrity(lakefile.toml,srcDir = formalizations)lake buildsucceeds locally.github/workflows/lean.yml(leanprover/lean-action)Library layout
formalizations/CausalIntegrity.leanformalizations/CausalIntegrity/Axioms.leanConsentformalizations/CausalIntegrity/Lemmas.leanLemmas added (non-trivial / multi-axiom)
ConsentMoralAgentUnowned+ exclusivity for distinct agentsCoherentclass every agent prefers (Axioms 3–4)Encoding note
FOL Axiom 1 uses timeless
¬∃ Owns, which collapses under capture without a state index. Lean uses a primitiveUnownedNull marker with the same intended meaning (documented inaxioms.md/ formalizations README).Explicitly out of scope for this S1 slice
Capable/Coerced/DirectthresholdsDocs
Updated
formalizations/README.md,docs/definition-of-done.md, root README status table, abstract/llms/citation/overview/open-problems so S1 is described as hygiene in progress, not “S1 complete.”Follow-up (repo metadata, not in this PR)
GitHub topics currently include typos that hurt discoverability:
alighment→alignment,deontogical-ethics→deontological-ethics,univerally-preferable-behavior→universally-preferable-behavior. These need a repo-settings edit (not available via this PR).How to verify
CI should report green on this PR.