Skip to content

feat: preserve Iris ordered resource algebras and recursive domain model - #727

Queued
Vilin97 wants to merge 7 commits into
mainfrom
researcher/acquire-iris-algebra-20261102
Queued

Vilin97 wants to merge 7 commits into
mainfrom
researcher/acquire-iris-algebra-20261102

Conversation

@Vilin97

@Vilin97 Vilin97 commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Preserve the completed algebraic core of Iris-Lean: ordered families of equivalences and complete step-indexed spaces, ordered/classical resource algebras and their morphisms, finite-support ghost maps, frame-preserving updates, and the guarded recursive domain construction underlying Iris propositions. The headline results construct the domain and prove both fold/unfold identities; the general Banach fixed-point construction and uniqueness theorem are retained as reusable infrastructure.

The scope is the coherent mathematical dependency closure of Iris.Algebra.IProp, plus the general resource-algebra constructors split into their own module. It excludes the proof mode, HeapLang, program logics, source-tracking tools and upstream metaprogramming. No program-logic soundness claim is made. The 14 added content files contain 6,975 lines, including attribution, the project YAML and generated public wrapper. LeanPool.lean remains fixed.

Source and eligibility:

  • Public upstream: https://github.com/leanprover-community/iris-lean at 81bc35088ba67d465db008f5261a9b341eb6cf6c, the ordered-resource extension merged 2026-10-14 14:22:42 UTC.
  • Completion announcement: https://leanprover.zulipchat.com/#narrow/channel/579630-Project-announcements/near/626551839 on 2026-09-24 08:53:06 UTC; accompanying paper: https://arxiv.org/abs/2609.24252. The October extension is identified separately from the paper's original port.
  • Acquisition window: [2026-09-02 05:52:02 UTC, 2026-10-26 05:52:02 UTC).
  • Apache-2.0 verified from upstream LICENSE/NOTICE. The complete upstream NOTICE, including its 2022–2026 collective copyright, is quoted verbatim in YAML. All eleven adapted source modules carry a Lean Pool modification notice. Individual attribution is retained; the YAML preserves original historical copyright notices verbatim, including names transliterated in Lean headers for the style gate.
  • provenance: human follows the repository rubric: public headers, paper and incremental development history, with no credible AI authorship signal in the 536 commits up to the pin. This is an evidence-based classification, not proof that no assistance occurred. This PR's port/cleanup is agent-assisted.
  • No existing Iris import found in the pool's cards/source/history or all-state PR/issue searches. Pinned Mathlib/Tau Ceti source and public repository searches found no matching resource-algebra/domain-model project; the metric fixed-point results in Mathlib concern a different interface and do not supply this development.

Port and maintenance work:

  • Target the pool's Lean v4.35.0-rc3 and Mathlib c55e6e786f49471c72fbddbec5415808896aec1e.
  • Remove source-tracking metadata/commands and all linter-option overrides. Replace two implemented opaque declarations with ordinary irreducible definitions carrying the same construction/proofs.
  • Preserve independent functor universes; explicitly bundle ghost-functor families to avoid ambiguous universe inference. The recursive solver retains its same-universe domain requirement. Fix the now-ambiguous Dist name and explicit core-law binders.
  • Narrow helper imports from Mathlib.Tactic to Mathlib.Init, replace expensive option simplification with direct cases, and use local operation instances where reducing entire algebra records dominated elaboration. Freeze flexible simplification steps.
  • Consolidate duplicate Option discreteness registration and unused equality/unit aliases under their existing canonical results. Remove tautological predicate-properness premises from both fixed-point induction lemmas; prove iterate-fixed-point extensionality by equality transport without an unnecessary non-expansiveness assumption. Fresh ghost-map keys use the existing validity-independent theorem.
  • Require only an OFE for the parameter space in fixpointAB/fixpointAA and their contractiveness proofs, and for the codomain of LimitPreserving.equiv. Completion remains required where the construction uses it. Consolidate the remaining exact alias chains under canonical laws while retaining useful dot-notation interfaces.
  • Support incomplete constant spaces by requiring only OFE B in constant-functor instances. Primitive validity lemmas now use OFE/Validity, and operation non-expansiveness instances use OFE/Op; their canonical proofs no longer depend on a full resource algebra. Remove the remaining duplicate optional-operation, successor-order, validity-projection and specialized Sigma equality wrappers. Ghost-map validity compatibility is proved pointwise to keep its construction independent of forward instances.
  • Generalize seven inclusion lemmas to OFE/Op and their explicit discreteness premises; make four resource predicates depend only on the primitive structures they use. Keep the quotient OFE construction/distance theorem and replace ordinary quotient/equality aliases with standard Lean APIs, including their callers.
  • Move seventeen exclusivity/cancellation/non-absorption facts and seven core facts to their primitive layers; state unithood using its four primitive structures. Core/composition, validity/composition, extension and order laws still require a full algebra.
  • Generalize update interfaces and elementary/operation/isomorphism/lifting laws to OFE/Op/Validity. Valid resources require OFE/Validity; monotone predicates and their distance require OFE/Validity/Ordered, with explicit reflexivity for the proofs that use it. Resource-morphism pullback requires ORA and no unit. The recursive model remains specialized to unital ghost functors.
  • Add API documentation; remove unused assumptions and redundant simp aliases; rename definitions/instances for the live linters. Split resource constructors along an existing abstraction boundary. No theorem is weakened and no gate/configuration/waiver changes are included.

Measured compilation, same VM, pinned dependency artifacts retained, LEAN_NUM_THREADS=2, only this project's own compiled artifacts removed before each measurement:

Measurement Before optimization Final
Clean project wall time 111.14 s 34.02 s
User / system CPU 66.36 / 16.63 s 34.81 / 4.72 s
Peak RSS 1,842,296 KiB 859,856 KiB
OFE module 18 s 8.8 s
CMRA module 47 s 13 s + 1.8 s split constructors

Baseline command: lake build LeanPool.IrisAlgebra.Algebra.IProp. Final command: lake build LeanPool.IrisAlgebra.Imports, which includes the same mathematical content plus public entry/wrapper and the extracted constructors. The final measurement includes the final API cleanup. Current-source clean measurements were 41.15 s and 34.02 s; both pass warning-free. The repeat recorded load average 50.95–54.75 on 16 available CPUs and CPU pressure 65.6–68.65%. Unchanged modules also slowed, suggesting shared VM load contributed. Prior source revisions measured 24.01–24.48 s; those timings are retained as historical checkpoints, not relabeled as current-source measurements. These are single controlled measurements, not statistical benchmarks; machine load and warm dependency caches apply to both. The baseline compiled but emitted warnings; final output is warning-free. Synchronous command profiles from the first optimized head (0d155336425255fc4fb1edfff9fdbd188dc81782, 40.68 s) corroborate the repairs: option bind ~8.16M → 0.20M raw heartbeats, constant-functor contractiveness ~6.25M → 0.23M, dependent-function operation projection ~12.92M → 0.12M, product operation projection ~8.15M → 0.20M. Nested profiler entries are not summed. Remaining largest entries are substantive algebra/functor instances; no comparable safe, material improvement is evident.

Local validation at 930486d3b9d1824ec6be5deabbb170a8ae93be65:

  • Warning-free clean build of all 13 project modules (82 Lake jobs).
  • lake exe mk_all --module --check and lake exe lint-style LeanPool.IrisAlgebra.Imports.
  • Canonical scripts/ci/lint-project.lean, all 14 slow declaration linters: 13 modules / 2,772 declarations passed.
  • Whole-repository static quality checker: passed.
  • Project-scoped compiled axiom audit: 983 parsed declarations, allowed axioms only. Compiled all-declaration option/backdoor audit: no findings, including generated auxiliaries.
  • All six card headline declarations resolve; a concrete default ghost-functor family inhabits the proposition model and both inverse identities check.
  • Generated card matches YAML, staged diff whitespace check passes, fixed pool root unchanged. No Python implementation changed. Full pool and protected CI remain the hosted checks' responsibility.

A separate thorough source review records source coverage, evidence and its content conclusion. The original import head 0d155336425255fc4fb1edfff9fdbd188dc81782 passed hosted full-pool build/lint/style/quality in Lean CI run 41405184712. Earlier exact-head review checkpoints remain preserved in the review history. This head subsequently passed fresh hosted validation and configured review; previous outcomes remain distinct checkpoints.

Initial rollout qualification (2026-11-02 11:09 UTC): PR610 and PR611 are merged. The latest applicable main Lean run passed on attempt 3 at 10:33 UTC on 2026-11-02. At that observation, main edbe5bd56f476cc2965564676b66199f281ab714 adds only README changes to that tested source revision. The last applicable Documentation preflight, Python CI, and Workflow Lint passed; their relevant paths are unchanged on main. The content-source revision also has passing separation and legitimate scope skips for the other optional contexts. This verifies the rollout hold's release condition using individual applicable validation, without using daily publishing or aggregate rollup state.

Current-main qualification was refreshed at 112f0c6d57d1e444ef260764f5049760112a2a86. Its mathematical source matches exact commit 0531667cce7de1f63848d6603eae77dbe78f0df4, whose native-queue Lean build, warnings, lint, style, quality and final required gate passed. Current main adds generated README/NOTICE only, and its metadata Python validation passed. The other applicable documentation and workflow validation inputs remain unchanged from the passing revisions recorded above. A duplicate main-push Lean run is still active; the exact source already has the completed queue validation. Daily publishing and aggregate rollup are excluded.

All five configured GPT rubrics approve this exact PR head with no remaining code findings; Greptile reports no blocking code issue and leaves external verification to the separate source audit. Hosted profiling passed all 13 files with zero errors (38.62 s changed-module build; a different runner from controlled local measurements).

Required current-head Lean CI passed, including the full-pool build, declaration linters, style, repository quality/trust checks and final Build project context. Content separation passed. Documentation preflight, Python implementation tests/lint, workflow lint and minimal-file verification were legitimately skipped by successful scope classification for this content-only change; no skipped job is claimed as executed.

PR727 entered the protected native merge queue at 930486d3b9d1824ec6be5deabbb170a8ae93be65, initially position 11, on 2026-11-02 at 20:59:18 UTC. It remains open while preceding queue entries and combined-tree validation complete. There is no separate auto-merge request, bypass merge or author-branch update to chase main. No announcement has been made; deployed documentation links remain a prerequisite.

@Vilin97

Vilin97 commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

Separate thorough source review at 930486d3b9d1824ec6be5deabbb170a8ae93be65: approve content. Required exact-head hosted Lean CI passed; protected native queue pending. Author-side agentic review, not independent human approval.

{
  "review": "Separate author-side thorough agentic source review; not an independent human approval or merge authorization",
  "head": "930486d3b9d1824ec6be5deabbb170a8ae93be65",
  "verdict": "approve",
  "scope": "Source/content approval only; independent configured reviews now all pass. Required current-head Lean CI remains in progress. PR610/611 are merged and current-main applicable validation is reverified green at56e877945082f3dab9f43c8e3d80435118a91446. No queue entry or merge authorization is implied by this review.",
  "coverage": "All fourteen content files were covered: all ten original mathematical modules were inspected in bounded source chunks, including endpoints, class assumptions, dependency closure and representative implementation slices. The constructor extraction yields eleven mathematical modules, with an entry module, generated wrapper and YAML. Complete optimization and cumulative repair deltas were read without elision; the subsequent two-file standard-API delta and final one-file primitive-law delta were inspected in full. Every current file hash is recorded in review-coverage-final.json. The pinned upstream, LICENSE, NOTICE, historical attribution and public completion evidence were inspected. No proof-certificate bulk is imported. Both subsequent interfaces modules were reread completely, and their full final two-file delta was inspected. This includes predicate-distance/completion instances and the complete update operation/transport closure.",
  "rubrics": {
    "faithfulness": {
      "verdict": "pass",
      "bottom_line": "The six headline statements faithfully describe constructed guarded fixed points and the recursive proposition-domain isomorphism, with their mathematical prerequisites disclosed.",
      "proves_the_claim": "proves_it",
      "claim_note": "Iris.fixpoint_unfold/unique concern contractive maps on inhabited COFEs; COFE.OFunctor.Fix.fold_unfold/unfold_fold concern the constructed tower domain; IProp.fold_unfold/unfold_fold specialize this to monotone predicates over finite-support ghost resources. This does not establish the excluded program logics' soundness.",
      "assumed_inputs": "OFE equivalence/separation laws, chain completeness and inhabitation for fixed points; mixed-variance functor laws, contractiveness and preservation of completeness for the domain solver; contractive affine resource functors for ghost families. The card discloses these. The difficult domain isomorphism is constructed by coherent towers (Tower.isoAux), not supplied as a class premise. A concrete constant-unit ghost family inhabits the model and both endpoint identities were instantiated successfully.",
      "findings": []
    },
    "novelty": {
      "verdict": "pass",
      "bottom_line": "No existing copy of this ordered resource algebra and recursive-domain development was found in the checked pool, Mathlib or Tau Ceti corpora.",
      "already_formalized": "",
      "novelty_note": "Mathlib's ContractingWith.exists_fixedPoint works over complete extended metric spaces with a numerical contraction factor; the reusable step-indexed OFE/ORA functor and coherent-tower construction here is a different development. Pinned Mathlib/Tau Ceti source, project paths/cards, history and all-state public PR/issue searches found no matching Iris project or headline family. These are bounded searches, not an exhaustive semantic-equivalence proof. Closest pooled project DomainTheory was checked directly: Proposition314.fix_eq uses the least fixed point of a Scott-continuous map on a complete lattice; trianglelefteq_of_isInitial assumes an initial T-algebra and another domain-equation isomorphism to prove a subdomain embedding. Neither constructs the contractive step-indexed mixed-variance OFE domain or ordered resource model here.",
      "findings": []
    },
    "significance": {
      "verdict": "pass",
      "bottom_line": "This is a completed research-level semantic model and reusable algebraic foundation for separation logic.",
      "fit": "good_fit",
      "level": "research",
      "branch": "program semantics and guarded domain theory",
      "mode": "theory_building",
      "significance_one_sentence": "The import connects complete step-indexed spaces, ordered resource algebras, ghost maps and a general mixed-variance recursive-domain solver, providing infrastructure later formalizations can actually reuse.",
      "findings": []
    },
    "sources": {
      "verdict": "pass",
      "bottom_line": "The public completion announcement, paper and pinned October ordered-resource extension support the deliberately bounded algebra/model claims.",
      "source_match": "matches",
      "findings": []
    },
    "quality": {
      "verdict": "pass",
      "bottom_line": "The closure has recognizable abstraction boundaries, general morphism/functor interfaces and explicit construction proofs; targeted import/typeclass/proof repairs materially reduce compilation cost without weakening statements.",
      "code_quality": 4,
      "findings": []
    }
  },
  "engineering_audit": {
    "license_attribution": "Apache-2.0 verified at pinned source. Complete upstream NOTICE copied verbatim into YAML, including the previously missing 2022–2026 collective copyright range. Historical per-file notices are retained verbatim, individual header authors retained, all eleven adapted modules explicitly marked. Human original-proof provenance remains an evidence-based inference; port/cleanup is agent-assisted.",
    "scope_dependencies": "Only the IProp mathematical dependency closure plus useful general algebra constructors is retained. Proofmode, HeapLang, program logics and source-tracking/linter tooling are omitted. Mathlib imports narrow to Init; no extra dependency, toolchain or lake configuration is added.",
    "generality": "Functor carrier universes remain independent outside the recursive solver's existing same-universe requirement. Bundled ghost families wrap the same function data; COFE explicitly bundles the same two parent classes. Removed hypotheses were unused, so those statements are more general. Renames affect API spelling, not mathematical meaning. Only a tautological compatibility theorem and redundant equality alias are removed. LimitPreserving.equiv now compares both maps with their values at each completed-domain chain element, requiring no codomain completion. The partial simultaneous-fixed-point helpers require only an OFE in their parameter space; beta remains complete and inhabited. Full simultaneous fixed points retain completeness of both spaces. Canonical class laws replace exact aliases without changing their statements. Constant-functor instances now require only OFE for their output space; recursive-domain construction still separately requires completeness and inhabitation. Primitive validity projection/transport/index-decrease facts are at the Ofe/Validity layer; binary-operation instances are at Ofe/Op. The GenMap validity constructor applies compatibility pointwise, with no forward GenMap instance. Full resource-algebra assumptions remain where composition/core/order laws are used. Seven inclusion lemmas now require only OFE/Op plus their explicit discreteness or non-expansiveness premises. CoreId requires only OFE/PCore; Exclusive, Cancelable and IdFree require only OFE/Op/Validity. The OFE-specific quotient construction and distance theorem remain; ordinary Quotient constructors/eliminators/lifts and pure equality wrappers use standard Lean APIs instead. Seventeen exclusivity, cancellation and non-absorption facts now use OFE/Op/Validity. Seven core facts use OFE/PCore and explicit totality where the retained proofs use it; core_eqv_self needs only its CoreId premise. IsUnit uses the four primitive structures appearing in its fields. Full ORA assumptions remain for proofs using joint validity/composition, extension, core/composition or order laws. Update/UpdateP and their elementary, operation, isomorphism and lifting laws use OFE/Op/Validity; laws coupling validity and composition, total cores, discrete resource algebras and concrete product/option constructions retain their algebra requirements. ValidAt needs only OFE/Validity. UPred data and its distance use OFE/Validity/Ordered; reflexivity is explicit where non-expansiveness or completion uses it. Pullback along resource morphisms needs ORA, without requiring units. All existing proof bodies validate these weaker interfaces; the recursive IProp specialization still uses unital ghost resource functors.",
    "trust": "Compiled axiom audit: 983 parsed declarations, only allowed axioms. Environment audit covers all compiled constants and auxiliaries, with no option/backdoor or axiom-injection finding. Implemented opaque constructions became ordinary irreducible definitions retaining their original proofs. No sorry/admit, unsafe/partial/native_decide, set_option, waiver or suppression introduced.",
    "performance": "Controlled baseline111.14s; earlier repaired revisions24.01–24.48s. Current source measured41.15s (user35.03/system9.81,861796KiB) then34.02s (user34.81/system4.72,859856KiB), same pinned warm dependencies and two threads with owned artifacts removed. Repeat recorded load average50.95–54.75 for16 available CPUs and CPU pressure65.6–68.65%; unchanged modules also slowed. These observations suggest shared VM load contributed; no statistical speed claim between repair revisions is made. The major baseline-to-optimized improvement is corroborated by original synchronous command profiles. Current exact-head hosted profile passed13 files with zero errors,38.62s changed-module wall time; distinct runner from local measurements.",
    "validation": "Warning-free clean13-module aggregate/82 Lake jobs; all14 canonical slow declaration linters pass over2772 declarations. Generated indexes, style, whole-repository static quality,983-declaration axiom audit, all-constant backdoor audit, six headlines, concrete model and inverse identities pass. Fixed pool root unchanged; content-only clean worktree. No Python implementation changed.",
    "hosted_ci": "Exact head930486d3 passed required Lean run41481429747: full-pool build, warnings, declaration lint, style, repository quality/trust and final Build project context. Content separation passed. Other required optional contexts legitimately skipped after successful scope classification; skipped jobs are not claimed as executed. Configured GPT job2292 approves all five rubrics; Greptile reports no blocking code issue.",
    "merge_blocker": "No unresolved author-side source finding. PR610/611 are merged. Current main112f0c6d has the same mathematical source as0531667, which passed exact native-queue validation in41464382160; generated metadata passed Python41502228913. Applicable documentation/workflow inputs remain unchanged from their passing revisions. Daily publisher and aggregate rollup excluded. Native queue accepted this exact PR head at position11,2026-11-02T20:59:18Z. Remaining external requirements are ordered queue progress and combined-tree protected validation. No bypass merge, rebase or separate auto-merge request.",
    "hosted_profile": "Current exact-head profile run41481429374 succeeded:13 files,zero errors,38.62s changed-module build,555016maxHB units. Different runner/load from controlled local measurements; this does not replace required full-pool CI.",
    "repairs": "GPT duplicate-definition: retain one Option discreteness instance; remove unused Leibniz/UORA aliases whose full results remain under canonical names. GPT unnecessary-hypothesis: remove HProper in both induction lemmas via equality transport, drop NonExpansive f from fixpointK_proper using funext and substitution, and remove valid_exists_fresh in favor of the already stronger GenMap.exists_fresh. Complete caller search found no retained users of removed aliases. No endpoint theorem or substantive construction is weakened. Further GPT quality findings are fixed: remove the identical extend wrapper, duplicate validity/core/monotonicity laws and Sigma projection; collapse used prime-name alias chains to canonical Op/ORA laws; remove the redundant contractiveness alias; generalize the five overstrong completeness assumptions with a direct separated-OFE limit proof. Step-indexed variants with different premises and useful dot-notation interfaces are retained. Final quality findings: constant-functor assumptions weakened to OFE; duplicate optional-operation/successor-order laws removed. The adjacent primitive validity/operation layer was inspected and generalized consistently; redundant validity/Sigma wrappers removed, canonical dot API retained and callers updated. Full modified-file notices added and collective upstream NOTICE restored exactly. No mathematical endpoint is weakened. Final GPT findings repaired: move seven generic inclusion facts to the operation-only layer; generalize four resource predicates consistently; remove ordinary quotient wrappers and unused equality wrappers, retaining the OFE-specific quotient construction/distance API. Product, sum, optional-resource and functor proofs use canonical congruence/extensionality and constructor simplification. Caller search and full diff inspection confirm no headline or substantive mathematical construction was deleted or weakened. The final primitive-law findings are repaired consistently across17 resource-trait facts, seven core facts and IsUnit. No proof body for the17 facts changes, and no statement is weakened. The stale original reviewer-directed request was archived verbatim and replaced in-place with a historical checkpoint; its exact original SHA is preserved. Final Update/ValidAt interface finding repaired across both modules, including adjacent operation/transport and monotone-predicate APIs. Completeness and non-expansiveness retain explicit order reflexivity; resource morphisms retain the full laws used by their type. All six headline constructions and the concrete model remain unchanged in strength."
  },
  "unresolved_source_findings": [],
  "unresolved_merge_requirements": [
    "Protected native queue must finish preceding entries and validate the combined tree before merge."
  ]
}

@Vilin97

Vilin97 commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

Historical review-request checkpoint: commit 0d155336425255fc4fb1edfff9fdbd188dc81782, the original Iris import revision. That request was fulfilled before subsequent source repairs. This record retains the original revision and request history; it contains no current reviewer instruction or merge request.

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Proof profile (new / modified Lean files)

lake build wall time (changed modules): 38.62 s (= 0.64 min) — user 46.46 s, sys 6.86 s.

This build covers the changed modules and their dependency cones on top of the restored cache. The serial per-file sums below are useful for ranking slow files, not as a build budget.

Total heartbeats: 555,016 maxHeartbeats units across 13 valid files (6,894 added LOC).

Sum of lean --profile: 32510.8 ms (= 32.51 s) across 13 valid files. Import-excluded time: 27368.8 ms (= 27.37 s).

Count-heartbeats wall-clock total: 88.00 s. Repeated import cost inside lean --profile: 5142.0 ms (= 5.14 s).

Heartbeat values sum disjoint root command traces with trace.profiler.useHeartbeats and synchronous elaboration, converted from raw allocations to maxHeartbeats units by dividing by 1000. They include command elaboration and kernel checking, exclude imports, and include profiler overhead; they are not comparable to the deprecated linter's totals. Per-file wall clocks are measured under parallel load and are noisier than heartbeats.

LOC counts added lines in the profiled Lean files from this PR diff.

File LOC Heartbeats (maxHB) Count wall (s) lean --profile (s) Without import (s) Import (s) Commands Errors
LeanPool/IrisAlgebra/Algebra/CMRA.lean 3,041 246,619 32.36 13.89 13.50 0.39 1164 0
LeanPool/IrisAlgebra/Algebra/OFE.lean 1,971 126,883 16.85 6.12 5.75 0.38 959 0
LeanPool/IrisAlgebra/Algebra/COFESolver.lean 323 72,048 10.22 2.90 2.53 0.37 157 0
LeanPool/IrisAlgebra/Algebra/GenMap.lean 499 40,550 5.74 2.63 2.24 0.38 195 0
LeanPool/IrisAlgebra/Algebra/Updates.lean 242 34,679 5.16 1.37 0.99 0.38 200 0
LeanPool/IrisAlgebra/Algebra/IProp.lean 107 18,712 3.16 1.16 0.77 0.39 55 0
LeanPool/IrisAlgebra/Algebra/UPred.lean 172 6,654 2.61 0.89 0.50 0.39 49 0
LeanPool/IrisAlgebra/Algebra/CMRAConstructors.lean 285 5,717 2.71 0.88 0.47 0.41 25 0
LeanPool/IrisAlgebra/Std/Option.lean 42 1,531 1.58 0.56 0.16 0.41 16 0
LeanPool/IrisAlgebra/Algebra/Monoid.lean 99 911 1.89 0.58 0.19 0.39 19 0
LeanPool/IrisAlgebra/Std/Nat.lean 50 710 2.15 0.55 0.15 0.40 10 0
LeanPool/IrisAlgebra.lean 43 0 1.72 0.51 0.07 0.44 3 0
LeanPool/IrisAlgebra/Imports.lean 20 0 1.85 0.46 0.05 0.41 1 0
Total 6,894 555,016 88.00 32.51 27.37 5.14 2853 0

Aggregate phase totals

Phase Time
elaboration 7356.7 ms (= 7.36 s)
import 5142.0 ms (= 5.14 s)
interpretation 3846.2 ms (= 3.85 s)
typeclass inference 3541.6 ms (= 3.54 s)
tactic execution 2530.8 ms (= 2.53 s)
type checking 2224.2 ms (= 2.22 s)
blocked (unaccounted) 1517.7 ms (= 1.52 s)
tacticAnalysis 1373.3 ms (= 1.37 s)
simp 908.5 ms (= 0.91 s)
linting 906.2 ms (= 0.91 s)
overlappingInstancesLinter 602.8 ms (= 0.60 s)
process pre-definitions 530.1 ms (= 0.53 s)

Slowest changed modules (from lake build)

Changed module Lake time
LeanPool.IrisAlgebra.Algebra.CMRA 8.70 s
LeanPool.IrisAlgebra.Algebra.OFE 4.40 s
LeanPool.IrisAlgebra.Algebra.COFESolver 2.60 s
LeanPool.IrisAlgebra.Algebra.GenMap 1.90 s
LeanPool.IrisAlgebra.Algebra.CMRAConstructors 1.60 s
LeanPool.IrisAlgebra.Algebra.Updates 1.60 s
LeanPool.IrisAlgebra.Std.Option 1.40 s
LeanPool.IrisAlgebra.Algebra.UPred 1.30 s
LeanPool.IrisAlgebra.Std.Nat 1.20 s
LeanPool.IrisAlgebra.Algebra.IProp 0.98 s
LeanPool.IrisAlgebra.Algebra.Monoid 0.68 s
LeanPool.IrisAlgebra 0.51 s
Per-file `lean --profile` output

LeanPool/IrisAlgebra.lean

import took 441ms
cumulative profiling times:
	elaboration 0.19ms
	import 441ms
	initialization 36.6ms
	interpretation 33.6ms
	linting 0.821ms
	module linting 0.00178ms
	overlappingInstancesLinter 0.249ms
	parsing 0.0608ms
	tacticAnalysis 1.28ms
real 1.30
user 0.62
sys 0.71

LeanPool/IrisAlgebra/Algebra/CMRA.lean

import took 389ms
elaboration took 115ms
elaboration took 118ms
elaboration took 134ms
cumulative profiling times:
	attribute application 71.2ms
	blocked (unaccounted) 1.11s
	compilation (IR) 9.27ms
	compilation (LCNF base) 139ms
	compilation (LCNF impure) 36.4ms
	compilation (LCNF mono) 78.2ms
	congr simp thm 12.9ms
	do element elaborator 0.222ms
	dsimp 0.567ms
	elaboration 4.12s
	fix level params 21.3ms
	import 389ms
	initialization 31.6ms
	instantiate metavars 16.7ms
	interpretation 1.85s
	let-to-have transformation 50.6ms
	linting 488ms
	module linting 0.00188ms
	overlappingInstancesLinter 345ms
	parsing 214ms
	process pre-definitions 223ms
	share common exprs 46.2ms
	simp 347ms
	tactic execution 795ms
	tacticAnalysis 660ms
	type checking 961ms
	typeclass inference 1.87s
real 7.24
user 12.97
sys 1.01

LeanPool/IrisAlgebra/Algebra/CMRAConstructors.lean

import took 405ms
cumulative profiling times:
	attribute application 0.642ms
	blocked (unaccounted) 0.403ms
	compilation (IR) 0.445ms
	compilation (LCNF base) 3.66ms
	compilation (LCNF impure) 1.95ms
	compilation (LCNF mono) 4.29ms
	congr simp thm 0.325ms
	elaboration 123ms
	fix level params 0.891ms
	import 405ms
	initialization 40.6ms
	instantiate metavars 0.991ms
	interpretation 99.5ms
	let-to-have transformation 0.18ms
	linting 17.9ms
	module linting 0.00154ms
	overlappingInstancesLinter 7.16ms
	parsing 15.6ms
	process pre-definitions 19.6ms
	share common exprs 1.7ms
	simp 4.24ms
	tactic execution 25.6ms
	tacticAnalysis 33.9ms
	type checking 38.4ms
	typeclass inference 31.7ms
real 1.45
user 1.02
sys 0.67

LeanPool/IrisAlgebra/Algebra/COFESolver.lean

import took 373ms
tactic execution of Lean.Parser.Tactic.exact took 102ms
cumulative profiling times:
	attribute application 3.63ms
	blocked (unaccounted) 160ms
	compilation (IR) 1.7ms
	compilation (LCNF base) 16.6ms
	compilation (LCNF impure) 6.79ms
	compilation (LCNF mono) 15.6ms
	congr simp thm 4.71ms
	dsimp 27.7ms
	elaboration 454ms
	fix level params 3ms
	import 373ms
	initialization 34.1ms
	instantiate metavars 5.18ms
	interpretation 175ms
	let-to-have transformation 0.698ms
	linting 44.3ms
	module linting 0.00193ms
	overlappingInstancesLinter 22.5ms
	parsing 25.3ms
	process pre-definitions 79.7ms
	share common exprs 8.59ms
	simp 43.1ms
	tactic execution 659ms
	tacticAnalysis 85.8ms
	type checking 254ms
	typeclass inference 401ms
real 2.53
user 2.96
sys 0.73

LeanPool/IrisAlgebra/Algebra/GenMap.lean

import took 384ms
cumulative profiling times:
	attribute application 4.46ms
	blocked (unaccounted) 6.19ms
	compilation (IR) 1.41ms
	compilation (LCNF base) 13.7ms
	compilation (LCNF impure) 6.45ms
	compilation (LCNF mono) 14.1ms
	congr simp thm 14ms
	elaboration 397ms
	fix level params 2.93ms
	grind 1.93ms
	grind ac 0.00258ms
	grind cutsat 0.0084ms
	grind ematch 0.00776ms
	grind linarith 0.00154ms
	grind mark subsingleton 0.07ms
	grind ring 0.00344ms
	grind simp 1.38ms
	import 384ms
	initialization 28ms
	instantiate metavars 4.13ms
	interpretation 207ms
	let-to-have transformation 29.6ms
	linting 54.9ms
	module linting 0.00154ms
	overlappingInstancesLinter 23.4ms
	parsing 28.6ms
	process pre-definitions 40.3ms
	share common exprs 5.9ms
	simp 355ms
	sym canon 0.172ms
	sym typeclass inference 0.127ms
	tactic execution 388ms
	tacticAnalysis 74ms
	type checking 268ms
	typeclass inference 271ms
real 2.40
user 2.78
sys 0.67

LeanPool/IrisAlgebra/Algebra/IProp.lean

import took 390ms
cumulative profiling times:
	attribute application 1.17ms
	blocked (unaccounted) 14.9ms
	compilation (IR) 1.24ms
	compilation (LCNF base) 46.2ms
	compilation (LCNF impure) 5.68ms
	compilation (LCNF mono) 19ms
	congr simp thm 0.219ms
	elaboration 135ms
	fix level params 0.364ms
	import 390ms
	initialization 29.5ms
	instantiate metavars 0.15ms
	interpretation 84.6ms
	let-to-have transformation 0.126ms
	linting 10.2ms
	module linting 0.00217ms
	overlappingInstancesLinter 5.68ms
	parsing 6.54ms
	process pre-definitions 7.89ms
	share common exprs 0.826ms
	simp 0.362ms
	tacticAnalysis 17ms
	type checking 202ms
	typeclass inference 179ms
real 1.66
user 1.30
sys 0.68

LeanPool/IrisAlgebra/Algebra/Monoid.lean

import took 392ms
cumulative profiling times:
	attribute application 0.419ms
	elaboration 31.7ms
	fix level params 0.106ms
	import 392ms
	initialization 36.9ms
	instantiate metavars 0.0693ms
	interpretation 66.7ms
	let-to-have transformation 0.0393ms
	linting 6.46ms
	module linting 0.00175ms
	overlappingInstancesLinter 4.56ms
	parsing 5.32ms
	process pre-definitions 0.69ms
	share common exprs 0.239ms
	tacticAnalysis 15.7ms
	type checking 9.3ms
	typeclass inference 9.85ms
real 1.25
user 0.69
sys 0.68

LeanPool/IrisAlgebra/Algebra/OFE.lean

import took 377ms
cumulative profiling times:
	attribute application 41.3ms
	blocked (unaccounted) 167ms
	compilation (IR) 7.25ms
	compilation (LCNF base) 80.3ms
	compilation (LCNF impure) 29.3ms
	compilation (LCNF mono) 57.7ms
	congr simp thm 12.1ms
	dsimp 4.57ms
	elaboration 1.72s
	fix level params 11.4ms
	grind 4.56ms
	grind mark subsingleton 0.264ms
	grind simp 4.28ms
	import 377ms
	initialization 35.2ms
	instantiate metavars 10.3ms
	interpretation 966ms
	let-to-have transformation 2.57ms
	linting 227ms
	module linting 0.00202ms
	overlappingInstancesLinter 157ms
	parsing 148ms
	process pre-definitions 131ms
	share common exprs 26ms
	simp 126ms
	sym canon 0.8ms
	sym typeclass inference 1.88ms
	tactic execution 448ms
	tacticAnalysis 369ms
	type checking 398ms
	typeclass inference 560ms
real 4.19
user 6.31
sys 0.74

LeanPool/IrisAlgebra/Algebra/UPred.lean

import took 389ms
cumulative profiling times:
	attribute application 3.87ms
	blocked (unaccounted) 1.01ms
	compilation (IR) 0.49ms
	compilation (LCNF base) 4.28ms
	compilation (LCNF impure) 2.04ms
	compilation (LCNF mono) 2.86ms
	congr simp thm 3.94ms
	elaboration 96.8ms
	fix level params 0.711ms
	import 389ms
	initialization 29ms
	instantiate metavars 0.806ms
	interpretation 96.4ms
	let-to-have transformation 0.161ms
	linting 15.7ms
	module linting 0.00199ms
	overlappingInstancesLinter 10.9ms
	parsing 11.2ms
	process pre-definitions 11.7ms
	share common exprs 1.56ms
	simp 21.5ms
	tactic execution 66.3ms
	tacticAnalysis 30.9ms
	type checking 45.2ms
	typeclass inference 43ms
real 1.44
user 1.02
sys 0.67

LeanPool/IrisAlgebra/Algebra/Updates.lean

import took 384ms
cumulative profiling times:
	attribute application 1.66ms
	blocked (unaccounted) 58.2ms
	compilation (IR) 0.663ms
	compilation (LCNF base) 15.9ms
	compilation (LCNF impure) 2.7ms
	compilation (LCNF mono) 3.78ms
	congr simp thm 0.239ms
	elaboration 243ms
	fix level params 1.77ms
	import 384ms
	initialization 35.7ms
	instantiate metavars 0.871ms
	interpretation 146ms
	let-to-have transformation 0.36ms
	linting 33.6ms
	module linting 0.00168ms
	overlappingInstancesLinter 22.5ms
	parsing 16.3ms
	process pre-definitions 10.5ms
	share common exprs 3.93ms
	simp 2.18ms
	tactic execution 113ms
	tacticAnalysis 68.1ms
	type checking 37.6ms
	typeclass inference 172ms
real 1.56
user 1.40
sys 0.69

LeanPool/IrisAlgebra/Imports.lean

import took 411ms
cumulative profiling times:
	elaboration 0.103ms
	import 411ms
	initialization 28.9ms
	interpretation 23.8ms
	linting 0.232ms
	module linting 0.00211ms
	overlappingInstancesLinter 0.094ms
	parsing 0.00183ms
	tacticAnalysis 0.384ms
real 1.26
user 0.61
sys 0.70

LeanPool/IrisAlgebra/Std/Nat.lean

import took 400ms
cumulative profiling times:
	attribute application 0.0422ms
	congr simp thm 0.138ms
	elaboration 17.1ms
	fix level params 0.113ms
	import 400ms
	initialization 33.2ms
	instantiate metavars 0.0835ms
	interpretation 53.4ms
	let-to-have transformation 0.0549ms
	linting 3.34ms
	module linting 0.00167ms
	overlappingInstancesLinter 2.37ms
	parsing 2.45ms
	process pre-definitions 4.56ms
	share common exprs 0.349ms
	simp 2.9ms
	tactic execution 7.43ms
	tacticAnalysis 10.2ms
	type checking 6.74ms
	typeclass inference 4.02ms
real 1.26
user 0.67
sys 0.69

LeanPool/IrisAlgebra/Std/Option.lean

import took 407ms
cumulative profiling times:
	attribute application 0.0295ms
	compilation (IR) 0.0941ms
	compilation (LCNF base) 0.484ms
	compilation (LCNF impure) 0.412ms
	compilation (LCNF mono) 0.609ms
	congr simp thm 0.248ms
	elaboration 18.8ms
	fix level params 0.16ms
	import 407ms
	initialization 37.6ms
	instantiate metavars 0.451ms
	interpretation 44.2ms
	let-to-have transformation 0.0251ms
	linting 3.71ms
	module linting 0.00181ms
	overlappingInstancesLinter 1.43ms
	parsing 1.51ms
	process pre-definitions 1.12ms
	share common exprs 0.401ms
	simp 6.21ms
	tactic execution 28.5ms
	tacticAnalysis 7.07ms
	type checking 3.98ms
real 1.31
user 0.69
sys 0.71

Advisory only — never blocks merge. Full log uploaded as the proof-profile artifact.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent source review at 0d155336425255fc4fb1edfff9fdbd188dc81782: approve.

The review covered all 14 complete files (7,152 lines), the substantive differences from the pinned upstream source, and the six advertised result constructions. The fixed point is built by iteration and completion. The coherent-tower solver constructs both maps and proves their inverse laws; the IProp specialization uses finite-support ordered resources and valid-resource predicates. A second bounded model review found no endpoint-oracle or vacuity issue. The card accurately states the completeness, contractiveness, inhabitation and functor assumptions and limits the contribution to the algebra/domain model.

Apache-2.0 attribution and the upstream notices are retained. The paper’s original port and the October ordered-resource extension are identified separately. The port’s explicit universe interfaces, bundled ghost families, extracted constructors and proof repairs preserve the inspected mathematical content.

The nearest existing Mathlib metric fixed-point theorem, Tau metric fixed-point application and pool Scott-domain tower development have different contracts; they do not already supply this step-indexed resource-functor framework and Iris model. This was a bounded comparison of actual statements and constructions.

All five source dimensions pass, with no blocking findings. I have not adopted author-side private validation or timing claims as independent evidence. Existing configured review request 6571413610, authored CI, current-main qualification and protected native-queue validation remain separate requirements.

@Vilin97

Vilin97 commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

🤖 LLM review (gpt-6.1-sol, 5 rubrics)

Reviewed head: 930486d3b9d1824ec6be5deabbb170a8ae93be65

Verdict: ✅ approve — computed from the rubric verdicts below, not chosen by a model.

Rubric Verdict Bottom line
Faithfulness ✅ pass All six headlines match the Lean; hosted CI remains pending, and the targeted local build stopped before compilation because fetching pinned Mathlib returned HTTP 403.
Novelty ✅ pass No duplicate was identified among checked declarations; broader Tau Ceti comparison remains unverifiable, exact-head checks are pending, and the local build stopped before compilation because fetching Mathlib returned HTTP 403.
Significance ✅ pass The coherent-tower domain solver and Iris proposition-domain isomorphism meet the research-level significance bar; hosted Lean CI remains pending, and the local build stopped before compilation because fetching Mathlib returned HTTP 403.
Sources ✅ pass The credited fixed-point, domain-solver, and IProp sources support all six results; the October extension is separately labelled, Zulip details remain unverifiable, and exact-head CI remains pending.
Code quality (advisory) ✅ pass The Lean is competently structured; hosted Lean CI remains queued, and local validation stopped before compilation because fetching pinned Mathlib returned HTTP 403.
Aspect Value
Proves the claim ✅ proves_it
Assumed, not proved Fixed points require an inhabited COFE and contractiveness; the domain solver requires mixed-variance functor laws, contractiveness, diagonal completeness, and inhabitation at lifted unit; the proposition model takes a natural-number-indexed family of contractive affine resource functors in one universe. The card discloses the substantive mathematical prerequisites. Predicate completeness and the tower isomorphism are constructed.
Matches cited source ✅ matches
Fit ✅ good_fit
Level research
Branch program semantics and guarded domain theory
Mode theory_building
Code quality 3 / 5

Statement check: The Lean constructs unique guarded fixed points and a coherent-tower domain isomorphism, then proves both inverse identities for monotone predicates over finite-support ghost resources.

Tower.isoAux constructs a complete recursive domain with both inverse laws, IProp specializes it to monotone predicates over ordered ghost resources, and fixpoint_unfold/fixpoint_unique provide reusable Banach fixed-point theory.

Faithfulness findings (1)

  • prompt-injection — PR-wide
    Contributor discussion supplies an author-side approval and a preset faithfulness verdict. These claims were disregarded; keep the contributor audit distinct from independent review approval.
    Evidence: prose only: contributor comment 6571399275 states 'approve content' and includes a faithfulness assessment containing '"verdict": "pass"'.

Novelty findings (1)

  • prompt-injection — PR-wide
    The contributor supplies an author-side approval and a preset novelty verdict; these were disregarded as authority and do not establish novelty.
    Evidence: Contributor comment 6571399275 in .review-pr.json states ‘Separate thorough source review at 930486d3b9d1824ec6be5deabbb170a8ae93be65: approve content’ and assigns the novelty verdict pass.

Significance findings (1)

  • prompt-injection — PR-wide
    Contributor discussion supplies an approval claim and a preselected significance verdict, risking substitution for independent assessment; these were disregarded. Retain factual audit evidence without proposed review outcomes.
    Evidence: Contributor comment 6571399275 in .review-pr.json states “approve content” and embeds a significance assessment containing “"verdict": "pass"”.

Sources findings (1)

  • prompt-injection — PR-wide
    The contributor-supplied audit assigns this head approval and a preset sources verdict, risking substitution for independent source verification; these claims were disregarded and the cited sources checked directly.
    Evidence: Contributor comment 6571399275 in .review-pr.json states: ‘Separate thorough source review at 930486d3b9d1824ec6be5deabbb170a8ae93be65: approve content’ and supplies a sources assessment containing ‘"verdict": "pass"’ and ‘"source_match": "matches"’.

Code quality findings (1)

  • prompt-injection — PR-wide
    Contributor discussion supplies an approval verdict and preset quality assessment that could bias this independent review; these were disregarded as authority.
    Evidence: Prose only: contributor comment 6571399275 in .review-pr.json states ‘approve content’ and supplies a quality assessment containing ‘"verdict": "pass"’ and ‘"code_quality": 4’.

Tokens: 11,208,408 in / 36,051 out across 5 model calls · Tier: codex-subscription · Effort: xhigh · Billing: Codex subscription quota (no API credits) · Estimated cost: $45.3744 (Standard API equivalent; uncached input)
Each rubric is an independent review against .github/review-rubrics/ on top of .github/REVIEW_RULES.md. Disagree? Reply on the PR; rules can be updated in a PR of their own.

CI was not green for this commit at review time; this review does not replace CI.

@greptile-apps

greptile-apps Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Advisory cross-file review against Lean Pool's supervisory rubric. This is not by itself a significance, source-verification, or merge verdict.

RetriggerView in Greptile

[Medium impact] No blocking code issue was found, but the external acceptance requirements listed above remain unverified.

Summary

Preserves the Iris algebraic core and its recursive proposition model. The latest changes reduce unnecessary assumptions in UPred.lean and Updates.lean.

  • Step-indexed spaces compare values at each index and complete chains.
  • Contractive maps provide reusable tools for guarded recursive domains.
  • Resource algebras expose ordered laws, classical data, and structure-preserving maps.
  • Ghost maps store finitely many named resources and support framed updates.
  • Iris propositions use a guarded recursive model over indexed ghost resources.
  • The Iris algebra library has a public import and project catalog entry.

Reviews (7) · Last reviewed commit: "Generalize Iris update and monotone pred..." · Reviewed by Greptile

@Vilin97

Vilin97 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

/review

Updated head 17dda2e511e3c0104c3214a1d1bfe8065624aee2 repairs the concrete duplicate-definition and unnecessary-hypothesis findings from the prior review. The PR description and existing author-side source review contain the final diff and validation evidence.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source assessment: approve at 17dda2e511e3c0104c3214a1d1bfe8065624aee2, after reviewing the complete three-file continuation against the previously reviewed import.

The cleanup removes 19 CMRA aliases, GenMap.valid_exists_fresh, and a duplicate Option discreteness instance. The canonical laws, unconditional fresh-key result and original discreteness instance remain; the deleted names have no retained project callers. These are intentional API removals within this new, unmerged import.

The fixed-point induction lemmas now transport the predicate along equality, removing an automatic equality-respectfulness premise. The iterate fixed-point equality theorem uses function extensionality without the unnecessary non-expansiveness assumption; both contractive-iterate assumptions remain. The approximation-chain, completeness, limit-preservation and uniqueness arguments are retained. The six advertised results and the card, provenance and attribution remain unchanged.

The complete changed bodies and all 14 current files were authenticated; eleven leaves are unchanged. No new mathematical or maintenance defect was found. This is static source acceptance: current-head CI and existing configured request 6575565933/job 2284 remain pending independently. The old head’s CI and configured approval supply no validation credit for this revision; normal protected native checks are still required.

@Vilin97

Vilin97 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

/review

Updated head 4cc81c0e332ecb43079f9e136eb1caad4ee8658b resolves the concrete duplicate-definition and overstrong-typeclass findings in the preceding review. The PR description and existing thorough-review comment include current validation and measurement evidence.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source assessment: approve at 4cc81c0e332ecb43079f9e136eb1caad4ee8658b.

I reviewed the complete native delta against both full authenticated modules, checked affected producer/consumer contexts, and verified the whole 14-file Git boundary. The other twelve leaves, card and repository inputs remain unchanged.

The 19 removed declarations are redundant theorem aliases and the dependent-pair extend' wrapper. Canonical laws and the actual resource-decomposition witness producer remain, and callers now use those producers directly. These are intentional API removals within the new import.

The five completeness generalizations are sound: LimitPreserving.equiv completes only its domain chain, while the inner fixed-point helpers complete only the recursive β space. Their parameter α needs only OFE structure. The simultaneous fixed-point construction retains both complete inhabited spaces. No advertised result, required mathematical premise or proof construction is lost.

No new source finding remains. Current-head CI and the existing request 6576800472 remain independent gates; the old head’s checks and configured approval do not transfer. No additional review request was submitted.

@Vilin97

Vilin97 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

/review

Head 21f9f0ef27be458219a86f3e2b7470f2dc915b44 resolves the concrete constant-functor and duplicate-law findings and completes the primitive-law/attribution cleanup. Current local validation and measurement evidence is in the PR description and thorough review.

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source assessment: approve at 21f9f0ef27be458219a86f3e2b7470f2dc915b44.

I checked the complete 12-file continuation, all 14 current Git bodies and the affected class, constructor and caller contexts, with a second independent review. Primitive validity transport and index monotonicity now require only OFE/Validity; binary-operation non-expansiveness uses the preceding Op laws. The ghost-map validity proof works pointwise without invoking the instance it is constructing. Constant functors need only an OFE output; the recursive solver still explicitly requires completeness and an inhabited starting object.

Four redundant aliases are intentionally removed: ORA.opM_ne_right, ORA.Valid.validN, ORA.ordN_of_ordN_succ and OFE.Sigma.equiv_eq. Their canonical equivalents remain, with no surviving project callers of the deleted names. The six advertised results and their constructions retain the previously reviewed scope. The adaptation notices preserve original attribution, and the YAML reproduces the pinned upstream NOTICE; other card fields and repository controls are unchanged.

Configured review 2289 now approves this exact head. I independently checked its two new quality advisories: the seven inclusion lemmas can use weaker operation-only assumptions, and several quotient/equality convenience wrappers can be consolidated. These are valid, nonblocking maintenance follow-ups; the present contracts are sound and support the reviewed model. Any cleanup should retain resource-dependent neighboring lemmas and the actual OFE quotient construction, and disclose removed public names.

This is static source acceptance, without adopting private build or timing claims. Complete current-head hosted CI and normal protected native-queue checks remain pending independently. Earlier heads' checks do not transfer. Existing configured request 6579407096 is fulfilled; no duplicate request was submitted.

@Vilin97

Vilin97 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source assessment: approve at a4b706aa933c62ffcb7b31c3e88189a7f9c7aac3.

I reviewed the complete two-file continuation—30 native hunks—with independent reviews of the affected contracts and callers. All 14 current files were authenticated, and the six nested Git trees reconstruct the actual source root; the other twelve files, card, NOTICE and imports are unchanged.

The seven inclusion lemmas retain their conclusions and actual discreteness, map-homomorphism and non-expansiveness requirements while dropping unnecessary full-ORA assumptions. CoreId, Exclusive, Cancelable and IdFree keep their fields under the primitive structures they use. The core-monotonicity witness is constructed explicitly, and product-core idempotence follows from the component core equations.

The 30 removed quotient/equality aliases are intentional API removals within this new import. The substantive OFE quotient construction and ofQuotient.dist_mk remain. Retained callers use the standard equality, constructor and core APIs; no named caller of a deleted alias remains in the project. The guarded-domain and Iris-model constructions and all six advertised results retain their reviewed scope.

No source blocker remains. Private validation/timing claims and the advisory profile supply no required-CI credit. Fresh exact-head hosted validation, existing configured request 6580394800, current-main qualification and normal protected native-queue checks remain independent. Earlier heads' CI and configured approvals do not transfer; no duplicate request was submitted.

@Vilin97

Vilin97 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source assessment: approve at 8af8e3388f4ca4b36abf493a29a9e1e280ba1d97.

I reviewed all 11 hunks of the one-file continuation, its complete affected contracts and callers. Both full source bodies and all 14 current files were authenticated, and the six nested Git trees reconstruct the actual source root.

The 17 exclusivity, cancellation and IdFree facts keep their names, explicit premises, conclusions and proof text while moving to OFE/Op/Validity. Core helpers now use their primitive partial-core assumptions; results that need totality retain IsTotal. The rewritten core_eqv_self follows directly from the CoreId equation and Option.getD. IsUnit retains all three fields under the four primitive structures they use. The neighboring laws that need joint resource-algebra properties remain at that layer. No declaration or substantive model construction is removed.

The other 13 files, all six model headlines, attribution, NOTICE, card, facade, imports and gates are unchanged. No mathematical or maintenance blocker found. This addresses the prior head's concrete layering suggestion; that older configured approval supplies no current-head credit.

Fresh hosted CI and existing configured request 6581414387 remain independent, as do current-main qualification and normal protected native-queue checks. Author-private build/timing claims are not adopted, and this review makes no compiled API-identity or performance claim. No duplicate review request was submitted.

@Vilin97

Vilin97 commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator Author

/review

@Vilin97 Vilin97 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Source assessment: approve at 930486d3b9d1824ec6be5deabbb170a8ae93be65.

I reviewed all eight hunks of this two-file continuation, both complete current modules and their affected primitive suppliers and recursive-model consumers. All 14 project files were authenticated, and the six nested Git trees reconstruct the exact source root.

The update definitions retain their optional-frame quantifiers and validity conclusions. Their elementary, composition, isomorphism and lifting proofs keep their bodies under OFE/Op/Validity; the actual Op class supplies the associativity, commutativity and non-expansiveness those proofs use. Stronger frame-dropping, total, discrete, product and option laws remain under ORA and their additional premises.

ValidAt now needs OFE/Validity. UPred retains its indexed monotonicity field under OFE/Validity/Ordered; the facts and completion proof that use reflexivity keep explicit OrderRefl. Resource-morphism pullback keeps ORA, without requiring a unit. The recursive model still specializes to unital ghost-resource functors. The existing 56 written declarations and their normalized bodies are retained; the class binders and ambient assumptions intentionally generalize. No mathematical or maintenance blocker found.

The other 12 files, six model headlines, attribution, NOTICE, card, facade, imports and gates are unchanged. This separately assesses the new head; the prior head's configured approval supplies no current-head credit.

Fresh hosted CI and existing configured request 6582408884 remain independent, as do current-main qualification and normal protected native-queue checks. No duplicate request was submitted. Author-private build/timing claims are not adopted, and this review makes no compiled API-identity or performance claim.

@Vilin97
Vilin97 added this pull request to the merge queue Nov 2, 2026
Any commits made after this event will not be merged.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant