Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
f4ec5e5
COE-01: chromatic observer theorem and Lean finite certificates
patrickdugan Nov 15, 2026
a9afd3e
fix(COE-01): use Nat.mul_comm for nonlinear width identity
patrickdugan Nov 15, 2026
778dc5b
COE-03: metric quotient theorem and Lean forced-identification certif…
patrickdugan Nov 15, 2026
c55e66d
fix(COE-03): prove Boolean short-edge collapse by cases in Init
patrickdugan Nov 15, 2026
62a857a
COE-04: prove critical Lipschitz threshold and chromatic staircase
patrickdugan Nov 15, 2026
d3c3cd0
COE-02: Lean finite cut witnesses and unbounded integral-relaxation gap
patrickdugan Nov 15, 2026
5b93583
COE-03: proof of sharp soft precision and temporal capacity with fini…
patrickdugan Nov 15, 2026
ace80b3
COE-04: temporal cut-capacity theorems and Lean finite witnesses
patrickdugan Nov 15, 2026
6ead5c6
COE-05: phase-gauge capacity, error-correcting temporal code, Lean ce…
patrickdugan Nov 15, 2026
e347ad8
ci(COE-05): validate Lean on isolated research branch despite base di…
patrickdugan Nov 15, 2026
2cec718
Merge current main into COE research branch, retain all research imports
patrickdugan Nov 15, 2026
78d6ce8
COE-06: phase-blind cyclic code capacity proof and Lean finite certif…
patrickdugan Nov 15, 2026
9649a16
COE-07: phase-gauge pair-collision theorem, Lean merge identity and e…
patrickdugan Nov 15, 2026
c4707f4
fix(COE-07): preserve induction hypothesis across pair-count recursion
patrickdugan Nov 15, 2026
274cf59
COE-07: certify visit-budget phase-gauge ledgers at T=4 and T=16
patrickdugan Nov 15, 2026
e50ab2f
COE-07R: prove dihedral observer collision and majority ledgers
patrickdugan Nov 15, 2026
bec0192
Merge current main into COE research branch; retain intervening resea…
patrickdugan Nov 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/coe01-chromatic-observers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: COE-01 chromatic observer Lean certificates

on:
pull_request:
paths:
- 'MathCan/ChromaticObservers.lean'
- 'MathCan.lean'
- 'research/compactification/CHROMATIC_OBSERVER_THEOREM.md'
- '.github/workflows/coe01-chromatic-observers.yml'
push:
branches: [main]
paths:
- 'MathCan/ChromaticObservers.lean'
- 'MathCan.lean'
- '.github/workflows/coe01-chromatic-observers.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
kernel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Independently check COE-01 target and axiom inventory
shell: bash
run: |
set -euo pipefail
lake env lean MathCan/ChromaticObservers.lean | tee coe01-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool' coe01-axioms.txt; then
echo 'Unexpected admitted or native-reduction axiom'
exit 1
fi
42 changes: 42 additions & 0 deletions .github/workflows/coe02-cut-observers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: COE-02 cut observer Lean and exact checks

on:
pull_request:
paths:
- 'MathCan/ChromaticCutCodes.lean'
- 'MathCan.lean'
- 'research/compactification/CHROMATIC_CUT_CAPACITY.md'
- '.github/workflows/coe02-cut-observers.yml'
push:
branches: [main]
paths:
- 'MathCan/ChromaticCutCodes.lean'
- 'MathCan.lean'
- '.github/workflows/coe02-cut-observers.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
cut-certificate-kernel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Check finite cut certificates and transitive axioms
shell: bash
run: |
set -euo pipefail
lake env lean MathCan/ChromaticCutCodes.lean | tee coe02-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool' coe02-axioms.txt; then
echo 'Rejected: sorry or native reduction axiom in Lean proof.'
exit 1
fi
42 changes: 42 additions & 0 deletions .github/workflows/coe03-soft-observers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: COE-03 soft probe finite Lean certificates

on:
pull_request:
paths:
- 'MathCan/SoftObserverPrecision.lean'
- 'MathCan.lean'
- 'research/compactification/SOFT_PRECISION_DEPTH.md'
- '.github/workflows/coe03-soft-observers.yml'
push:
branches: [main]
paths:
- 'MathCan/SoftObserverPrecision.lean'
- 'MathCan.lean'
- '.github/workflows/coe03-soft-observers.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
lean-kernel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Kernel and axiom inventory for COE-03
shell: bash
run: |
set -euo pipefail
lake env lean MathCan/SoftObserverPrecision.lean | tee coe03-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool' coe03-axioms.txt; then
echo 'Unexpected admitted proof or reduction axiom'
exit 1
fi
42 changes: 42 additions & 0 deletions .github/workflows/coe04-temporal-capacity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: COE-04 tied temporal observer Lean certificates

on:
pull_request:
paths:
- 'MathCan/TemporalCutCapacity.lean'
- 'MathCan.lean'
- 'research/compactification/TEMPORAL_OBSERVER_CAPACITY.md'
- '.github/workflows/coe04-temporal-capacity.yml'
push:
branches: [main]
paths:
- 'MathCan/TemporalCutCapacity.lean'
- 'MathCan.lean'
- '.github/workflows/coe04-temporal-capacity.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
lean-kernel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Kernel-check COE-04 finite witnesses and transitive axioms
shell: bash
run: |
set -euo pipefail
lake env lean MathCan/TemporalCutCapacity.lean | tee coe04-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool' coe04-axioms.txt; then
echo 'Untrusted Lean proof primitive detected.'
exit 1
fi
42 changes: 42 additions & 0 deletions .github/workflows/coe05-phase-gauge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: COE-05 finite phase-gauge Lean certificates

on:
pull_request:
paths:
- 'MathCan/PhaseGaugeCapacity.lean'
- 'MathCan.lean'
- 'research/compactification/PHASE_GAUGE_CAPACITY.md'
- '.github/workflows/coe05-phase-gauge.yml'
push:
branches: [main, feat/coe01-chromatic-observer-20261115]
paths:
- 'MathCan/PhaseGaugeCapacity.lean'
- 'MathCan.lean'
- '.github/workflows/coe05-phase-gauge.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
kernel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Kernel-check named COE-05 finite statements and transitive axioms
shell: bash
run: |
set -euo pipefail
lake env lean MathCan/PhaseGaugeCapacity.lean | tee coe05-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool' coe05-axioms.txt; then
echo 'Unexpected admission or native code-evaluation axiom'
exit 1
fi
42 changes: 42 additions & 0 deletions .github/workflows/coe06-phase-blind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: COE-06 phase-blind observer Lean and resource certificates

on:
pull_request:
paths:
- 'MathCan/PhaseBlindObservers.lean'
- 'MathCan.lean'
- 'research/compactification/PHASE_BLIND_OBSERVER_CAPACITY.md'
- '.github/workflows/coe06-phase-blind.yml'
push:
branches: [main]
paths:
- 'MathCan/PhaseBlindObservers.lean'
- 'MathCan.lean'
- '.github/workflows/coe06-phase-blind.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
kernel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Check explicit cyclic code and exact arithmetic assumptions
shell: bash
run: |
set -euo pipefail
lake env lean MathCan/PhaseBlindObservers.lean | tee coe06-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool' coe06-axioms.txt; then
echo 'Unexpected native-reduction axiom or admission'
exit 1
fi
30 changes: 30 additions & 0 deletions .github/workflows/coe07-phase-gauge-ledger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: COE-07 phase-gauge pair ledger proofs
on:
pull_request:
paths:
- 'MathCan/PhaseGaugePairLedger.lean'
- 'MathCan.lean'
- 'research/compactification/PHASE_GAUGE_PAIR_LEDGER.md'
- '.github/workflows/coe07-phase-gauge-ledger.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
lean-phase-ledger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Kernel check and transitive-axiom report
shell: bash
run: |
set -euo pipefail
lake env lean MathCan/PhaseGaugePairLedger.lean | tee coe07-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool' coe07-axioms.txt; then exit 1; fi
38 changes: 38 additions & 0 deletions .github/workflows/coe07r-dihedral-gauge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: COE-07R dihedral observer finite and Lean audit
on:
pull_request:
paths:
- 'MathCan/DihedralPhaseGauge.lean'
- 'MathCan.lean'
- 'research/compactification/DIHEDRAL_GAUGE_OBSERVER_LEDGER.md'
- 'tests/test_dihedral_phase_gauge.py'
- '.github/workflows/coe07r-dihedral-gauge.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
finite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python -m unittest discover -s tests -p 'test_dihedral_phase_gauge.py' -v
lean:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
with:
auto-config: false
build: true
build-args: MathCan
test: false
lint: false
use-mathlib-cache: false
- name: Check finite theorems and transitive axiom inventory
run: |
set -euo pipefail
lake env lean MathCan/DihedralPhaseGauge.lean | tee coe07r-axioms.txt
if grep -Eq 'sorryAx|ofReduceBool' coe07r-axioms.txt; then exit 1; fi
8 changes: 8 additions & 0 deletions MathCan.lean
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,11 @@ import MathCan.BasinCapture
import MathCan.MultiBasin
import MathCan.NOR07Volterra
import MathCan.BasinCodes
import MathCan.ChromaticObservers
import MathCan.ChromaticCutCodes
import MathCan.SoftObserverPrecision
import MathCan.TemporalCutCapacity
import MathCan.PhaseGaugeCapacity
import MathCan.PhaseBlindObservers
import MathCan.PhaseGaugePairLedger
import MathCan.DihedralPhaseGauge
Loading
Loading