Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ imports/hardening_ebedb780/P02-LM-005/proof.md.export.txt -text
imports/hardening_ebedb780/P02-LM-007/proof.md.export.txt -text
imports/hardening_ebedb780/P02-LM-008/proof.md.export.txt -text
imports/hardening_ebedb780/P15-B/P15-B_PALETTE_SEPARATED_LOCALIZATION.md -text

# Preserve the retrieved decoded historical log text, including trailing whitespace.
cbz/lifetime_pair_law/evidence/original-job.log whitespace=-blank-at-eol,-blank-at-eof
81 changes: 81 additions & 0 deletions .github/workflows/cbz-lifetime-pair-law-countermodel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Scoped pair-law countermodel
'on':
pull_request:
paths:
- 'cbz/lifetime_pair_law/**'
- 'specifications/lean_statements_20261010/**'
- '.github/workflows/cbz-lifetime-pair-law-countermodel.yml'
push:
branches: [main]
paths:
- 'cbz/lifetime_pair_law/**'
- 'specifications/lean_statements_20261010/**'
- '.github/workflows/cbz-lifetime-pair-law-countermodel.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
scoped-countermodel:
runs-on: ubuntu-latest
timeout-minutes: 45
env:
LEAN_NUM_THREADS: '2'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0
with:
python-version: '3.11.16'
- name: Check original statement packet inventory
run: python3 -B -S specifications/lean_statements_20261010/check.py
- uses: leanprover/lean-action@24581d74d674803a25a81b10b059c5c0cdd344c6
with:
lake-package-directory: specifications/lean_statements_20261010
auto-config: 'false'
build: 'false'
test: 'false'
lint: 'false'
use-mathlib-cache: 'true'
use-github-cache: 'false'
- name: Build, check axiom reports and recheck exact proof
shell: bash
run: |
set -euo pipefail
source="$GITHUB_WORKSPACE/cbz/lifetime_pair_law/CounterexampleE4.lean"
expected_source=812ba30d02f16a69abdcb8b23d28fa4a8fe68e3a016911d7f08e98ebe04cdfc7
printf '%s %s\n' "$expected_source" "$source" | sha256sum --check
test "$(git hash-object "$source")" = 3b7712e41e8a6b0569c31c549a83857d9fe2ada6
test "$(git rev-parse HEAD)" = "$GITHUB_SHA"
cd specifications/lean_statements_20261010
test "$(git hash-object Specifications/Lifetime.lean)" = f2508f7f2e3fd42f22f5aa52bc5ead5ff9e73b9a
test ! -e CounterexampleE4.lean && test ! -L CounterexampleE4.lean
trap 'rm -f CounterexampleE4.lean' EXIT
cp "$source" CounterexampleE4.lean
cmp "$source" CounterexampleE4.lean
lake build Specifications.Lifetime
mkdir -p .lake/build/lib/lean
lake env lean -o .lake/build/lib/lean/CounterexampleE4.olean CounterexampleE4.lean 2>&1 | tee "$RUNNER_TEMP/pair-law-lean.log"
cat > "$RUNNER_TEMP/pair-law-expected.log" <<'EXPECTED'
'CBZ.LifetimePairLawCountermodel.oneLaw_upper' depends on axioms: [propext, Classical.choice, Quot.sound]
'CBZ.LifetimePairLawCountermodel.oneLaw_refutes_twoSided' depends on axioms: [propext, Classical.choice, Quot.sound]
EXPECTED
cmp "$RUNNER_TEMP/pair-law-expected.log" "$RUNNER_TEMP/pair-law-lean.log"
lake env leanchecker CounterexampleE4 2>&1 | tee "$RUNNER_TEMP/pair-law-kernel.log"
test ! -s "$RUNNER_TEMP/pair-law-kernel.log"
cmp "$source" CounterexampleE4.lean
printf '%s %s\n' "$expected_source" "$source" | sha256sum --check
rm CounterexampleE4.lean
trap - EXIT
test -z "$(git status --porcelain --untracked-files=all)"
sha256sum "$source" "$RUNNER_TEMP"/pair-law-*.log
- name: Retain outputs even on failure
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9
with:
name: scoped-pair-law-${{ github.run_id }}-${{ github.run_attempt }}
path: |
cbz/lifetime_pair_law/CounterexampleE4.lean
${{ runner.temp }}/pair-law-*.log
if-no-files-found: error
4 changes: 4 additions & 0 deletions PROOF_INDEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,7 @@ A reviewed/closed theorem or lemma must have its full proof or immutable byte-bo
## Later frontier proof paths

[Frontier proof reachability and the post-C126 supplement](docs/integration/2026-10-02-proof-reachability.md) retain the original 2 October inventory and add a separately pinned 3 October cut, including routes to the nested soft-layer and A4 records. These are dated availability inventories, not new verdicts or a count of distinct theorems.

## Literal conditional pair-law countermodel

The [source and reproduction boundary](cbz/lifetime_pair_law/README.md) preserve two conditional declarations from the historical Lean-checked run at `5a470bfd739aba22e32b91587d5dfc031a7de3fc`: `oneLaw_upper` and `oneLaw_refutes_twoSided`. The upper predicate retains its antecedents and can be vacuous for invalid inputs; neither proof constructs an elder interface or identifies the artificial probability with the intended event. The relocated integration candidate requires its own fresh hosted check; no parent theorem or informal-model counterexample is inferred.
45 changes: 45 additions & 0 deletions cbz/lifetime_pair_law/CounterexampleE4.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import Specifications.Lifetime

/-!
A source-scoped countermodel for the abstract pair-law interface.
The field, elder interface and frame are parameters; no existence of them is
claimed here. The constant law is permitted by the existing interface but is
not asserted to be the geometric elder probability of any Gaussian field.
-/

namespace CBZ.LifetimePairLawCountermodel
open UniversalLaw.Spec.Lifetime

def oneLaw (L : ℝ) (G : GaussianFieldInterface 2 L)
(I : SuperlevelBarInterface 2 L) : PairLawInterface 2 L G I where
p := fun _ _ _ _ => 1
p_nonneg := by intros; norm_num
p_le_one := by intros; norm_num

theorem oneLaw_upper (L : ℝ) (G : GaussianFieldInterface 2 L)
(I : SuperlevelBarInterface 2 L) (bLo bHi kLo kHi : ℝ) :
ParentUniformSelectionA 2 L G I (oneLaw L G I) bLo bHi kLo kHi := by
intro _ _ _ _ _
refine ⟨1, by norm_num, 0, ?_⟩
intro r hr hrs b hb k hk R
simp [oneLaw]

theorem oneLaw_refutes_twoSided (L : ℝ) (G : GaussianFieldInterface 2 L)
(I : SuperlevelBarInterface 2 L) (hL : 0 < L)
(R : OrthonormalBasis (Fin 2) ℝ (E 2)) :
¬ PlanarTwoSidedRateE4 L G I (oneLaw L G I) 0 0 1 1 := by
intro hypothetical
have upper := oneLaw_upper L G I 0 0 1 1
obtain ⟨c, hc, C, rStar, hrs, bound⟩ :=
hypothetical upper hL (by norm_num) (by norm_num) (by norm_num)
have hr : 0 < rStar / 2 := by linarith
have hle : rStar / 2 ≤ rStar := by linarith
have hbound : c * (rStar / 2) ^ 3 ≤ 0 := by
simpa [oneLaw] using (bound (rStar / 2) hr hle 0 (by simp) 1 (by simp) R).1
have hpositive : 0 < c * (rStar / 2) ^ 3 := mul_pos hc (pow_pos hr 3)
linarith

#print axioms oneLaw_upper
#print axioms oneLaw_refutes_twoSided

end CBZ.LifetimePairLawCountermodel
9 changes: 9 additions & 0 deletions cbz/lifetime_pair_law/DECISIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Pair-law integration decisions

- 2026-10-29: Preserve the previously Lean-checked proof bytes, original hosted
decoded job-log text and original workflow in a separate proof/evidence directory. The
statement-only packet's exact inventory rejects an added Lean file, so the
scoped workflow creates a temporary copy for compilation and removes only
that copy afterward. The existing statement package, mathematical bounds and
hypotheses are unchanged. Fresh current-base execution and final federation
gates are pending.
41 changes: 41 additions & 0 deletions cbz/lifetime_pair_law/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Scoped pair-law countermodel

This preserves two literal Lean declarations about the existing
`PairLawInterface` in `Specifications/Lifetime.lean`. The proof source is
byte-identical to the historically executed source (Git blob
`3b7712e41e8a6b0569c31c549a83857d9fe2ada6`, SHA-256
`812ba30d02f16a69abdcb8b23d28fa4a8fe68e3a016911d7f08e98ebe04cdfc7`).
The source was moved outside the statement-only package because its checker
requires an exact packet file inventory; the original branch and job log remain
preserved.

For any supplied field and elder interfaces, the artificial probability
`p = 1` satisfies the upper predicate. For supplied positive `L`, the two
interfaces and an orthonormal frame, the same law violates the E4 two-sided
predicate on the singleton windows `[0,0]` and `[1,1]`. The upper
predicate's original positive-`L` and window antecedents are retained; it can
hold vacuously on invalid inputs. Existence of the supplied elder interface is
not established. The artificial law is not identified with the intended
geometric elder event, and no parent model theorem is disproved or closed.

Historical [run 40957238766](https://github.com/d6g8k5htny-coder/Math-/actions/runs/40957238766),
job `123740377857`, at exact commit
`5a470bfd739aba22e32b91587d5dfc031a7de3fc` compiled the proof and
completed `leanchecker`; both declarations printed only `propext`,
`Classical.choice` and `Quot.sound`. The connector's decoded GitHub job log is retained under
`evidence/original-job.log`; byte identity of the original log download has not
independently been verified. GitHub artifact `12936365078`
reports ZIP SHA-256
`d2cebfee006c1fdb924c49dec0d9a80c745579335953b989a3225eae5b9a166d`;
its ZIP bytes have not independently been downloaded here.

The new integration candidate uses the same Lean source bytes with a moved
path and the then-current main tree. It adds a scoped workflow, whose exact
commands are in `.github/workflows/cbz-lifetime-pair-law-countermodel.yml`:
check the unmodified statement-packet inventory, build the pinned package,
compile the proof, compare both axiom report lines exactly, and execute
`leanchecker`. It creates and removes a temporary copy only after requiring
that no same-named package file exists; original tracked inputs are retained.
The workflow is an execution aid, not a federation-wide auditor, and assumes
the runner, Lean executable and pinned dependencies are trusted during the
run. No fresh candidate pass is asserted until the hosted job completes.
24 changes: 24 additions & 0 deletions cbz/lifetime_pair_law/evidence/observation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"schema": "cbz.pair-law.history.v1",
"historical_commit": "5a470bfd739aba22e32b91587d5dfc031a7de3fc",
"historical_run": 40957238766,
"historical_job": 123740377857,
"historical_job_conclusion": "success",
"source_blob": "3b7712e41e8a6b0569c31c549a83857d9fe2ada6",
"source_sha256": "812ba30d02f16a69abdcb8b23d28fa4a8fe68e3a016911d7f08e98ebe04cdfc7",
"mathlib_commit": "d13f23b723b8a846827a245b89c10fc7d3f11612",
"lean_commit": "5045d0056413266e57c625dcd7c365b10e377c52",
"historical_axioms": [
"propext",
"Classical.choice",
"Quot.sound"
],
"artifact_id": 12936365078,
"artifact_native_zip_sha256": "d2cebfee006c1fdb924c49dec0d9a80c745579335953b989a3225eae5b9a166d",
"limitations": [
"The artifact ZIP was not independently downloaded or verified here.",
"The new source location and current-base integration require a fresh execution.",
"The formal conclusions retain their explicit interfaces and do not construct the geometric law.",
"The retained job log is the connector-decoded text; the original downloaded log bytes were not independently verified."
]
}
Loading
Loading