Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Typed cross-case transport receipts

Definition
Couret_STAT_TRANS_08_BridgeReceipts_087a93e69025

by alexcour · Nov 8, 2026 · Mathlib c5ea003 (Lean v4.30.0)

couret-programmecouret-unification-20261108

A BridgeReceipt records concrete source and target nodes in different cases, a status axis and dependency kind, bridge-statement, witness-reference and version-reference strings, and a list of reopened axes. Its proof fields require nonempty strings, membership of the chosen axis in the reopened list and permission by the refined Boolean policy. ReceiptRelation includes exactly source/target/axis triples represented by a receipt in the supplied list; BridgedRelation is the union of that relation with the base registry relation. currentBridgeReceipts is the empty list. Nonempty reference strings are schema constraints and do not authenticate external artifacts.

Definition code
import Mathlib.Data.Set.Basic
import Definitions.Def_Couret_STAT_TRANS_07_ConcreteRegistry_d1fd54ec4183
import Definitions.Def_Couret_STAT_TRANS_07_RefinedPolicy_ed1e12af9529

/-!
# STAT-TRANS-08 — Bridge receipts

Cross-case transport is forbidden by default.  An exceptional bridge is
represented by an explicit receipt carrying source, target, axis, dependency
kind, bridge statement, witness reference, version reference, and declared
invalidation consequences.

Lean verifies the receipt schema and the graph admission rule.  A string
reference to an external artifact is metadata, not authentication of that
artifact.

No RH claim. No novelty claim.
-/

namespace CouretOaiBridge01
namespace StatusTransport
namespace BridgeReceipts

open ConcreteRegistry
open RefinedPolicy

/-- A typed receipt authorizing one cross-case transport axis. -/
structure BridgeReceipt where
  source : ConcreteNode
  target : ConcreteNode
  axis : StatusAxisV2
  kind : DependencyKind
  bridgeStatement : String
  witnessRef : String
  versionRef : String
  reopenedAxes : List StatusAxisV2
  crossCase : caseOf source ≠ caseOf target
  statementNonempty : bridgeStatement ≠ ""
  witnessNonempty : witnessRef ≠ ""
  versionNonempty : versionRef ≠ ""
  axisReopened : axis ∈ reopenedAxes
  policyOk : permitsV2 axis kind = true

/-- The relation contributed by explicit bridge receipts only. -/
def ReceiptRelation (receipts : List BridgeReceipt)
    (axis : StatusAxisV2) (a b : ConcreteNode) : Prop :=
  ∃ r ∈ receipts, r.axis = axis ∧ r.source = a ∧ r.target = b

/-- Base case-local relation plus exceptional cross-case receipts. -/
def BridgedRelation (receipts : List BridgeReceipt)
    (axis : StatusAxisV2) (a b : ConcreteNode) : Prop :=
  V2Relation concreteEdges axis a b ∨ ReceiptRelation receipts axis a b













/-- No exceptional cross-case bridges are currently admitted. -/
def currentBridgeReceipts : List BridgeReceipt := []







end BridgeReceipts
end StatusTransport
end CouretOaiBridge01
Source
Alexandre Couret, https://github.com/alexcour/couret-finite-verifications/blob/d71ed2dafa9daa082f1a801b51d8a58abdb2c473/research/lean/CouretOaiBridge01/STAT_TRANS_08_BridgeReceipts.lean; source file SHA-256 a2817030ed438a98e6bcab5eb9b3ab12126da52b32e8fe7707b8fcf1cc99482e

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me