import proofs.RootFieldLift011a /-! # 011b / S-01b — root-to-Suture finite signature binding This module binds the finite root certificate from `011a` to the algebraic Suture Field signature recorded in: * *Suture Field* v0.1 (9 November 2026), SF.0, SF.7, SF.15 and SF.29, source SHA-256 `2b816bc7605c34094ff73d7fea8d0a487e4e51ed60fabf802df06498d5ed8f75`; * *Suture Field Dynamics* v0.1 (9 November 2026), SD.0 and SD.3 for the finite coordinate map; SD.5 remains a smooth-branch condition for S-01c, source SHA-256 `d8ef1b773356f6d85319d6b69f4b81186a1f166340b8e160b28ca33255c40a27`. The exact finite result is (eta-hat, C-hat, Pi_0) |-> (g = Pi_0^T eta-hat Pi_0, F_sol = Pi_0^T C-hat Pi_0). The unscaled antisymmetric matrix is the coordinate expression of the solder-flux two-form. The calibrated electromagnetic field `F_em = chi F_sol` is deliberately outside this finite certificate. The source papers require a smooth four-manifold, rank-eight bundle, constant-rank-four coframe, cyclic/mirror covariance, a density/action and a boundary completion. Those requirements are represented as a future witness interface below. This module supplies no instance of that interface. Lean target: 4.33.0, Core Lean only. -/ set_option autoImplicit false namespace SutureSignature011b open RootFieldLift011a /-! ## 1. Exact finite form match: SF.7 -/ def sutureEta : List (List Int) := RootCarrier.blk RootCarrier.G2 (RootCarrier.blk (RootCarrier.idMat 2) (RootCarrier.blk (RootCarrier.idMat 2) (RootCarrier.idMat 2) 2 2) 2 4) 2 6 def sutureChat : List (List Int) := RootCarrier.blk RootCarrier.C2 (RootCarrier.blk RootCarrier.C2 (RootCarrier.blk RootCarrier.C2 RootCarrier.C2 2 2) 2 4) 2 6 theorem root_eta_matches_SF7 : RootCarrier.eta = sutureEta := by decide +kernel theorem root_chat_matches_SF7 : RootCarrier.Chat = sutureChat := by decide +kernel /-! ## 2. Exact contractions: SF.0, SF.15 and SF.29 -/ def metricPullback (etaHat coframe : List (List Int)) : List (List Int) := RootCarrier.mmul (RootCarrier.tr coframe 4) (RootCarrier.mmul etaHat coframe 4) 4 def fluxPullback (cHat coframe : List (List Int)) : List (List Int) := RootCarrier.mmul (RootCarrier.tr coframe 4) (RootCarrier.mmul cHat coframe 4) 4 def pi0LeftInverse : List (List Int) := [[1, 0, 0, 0, 0, 0, 0, 0], [0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0, 0], [0, 0, 0, 0, 1, 0, 0, 0]] def lorentzNormalForm : List (List Int) := [[-2, 0, 0, 0], [0, 14, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]] theorem pi0_has_left_inverse : RootCarrier.mmul pi0LeftInverse RootCarrier.Pi0 4 = RootCarrier.idMat 4 := by decide +kernel theorem finite_metric_is_root_h : metricPullback finiteSeed.eta finiteSeed.coframe = RootCarrier.h := rfl theorem finite_metric_value : metricPullback finiteSeed.eta finiteSeed.coframe = [[-2, 1, 0, 0], [1, 3, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]] := RootCarrier.h_value theorem finite_metric_symmetric : RootCarrier.tr (metricPullback finiteSeed.eta finiteSeed.coframe) 4 = metricPullback finiteSeed.eta finiteSeed.coframe := by decide +kernel theorem finite_flux_value : fluxPullback finiteSeed.chat finiteSeed.coframe = [[0, -1, 0, 0], [1, 0, -1, 0], [0, 1, 0, 0], [0, 0, 0, 0]] := by decide +kernel theorem finite_flux_alternating : RootCarrier.madd (fluxPullback finiteSeed.chat finiteSeed.coframe) (RootCarrier.tr (fluxPullback finiteSeed.chat finiteSeed.coframe) 4) = RootCarrier.zerosMat 4 4 := by decide +kernel /-! ## 3. Finite Suture signature and its root witness -/ structure SutureFiniteSignature where etaHat : List (List Int) cHat : List (List Int) coframe : List (List Int) leftInverse : List (List Int) metric : List (List Int) solderFlux : List (List Int) etaMatchesSF7 : etaHat = sutureEta cHatMatchesSF7 : cHat = sutureChat coframeSplit : RootCarrier.mmul leftInverse coframe 4 = RootCarrier.idMat 4 metricFromCoframe : metric = metricPullback etaHat coframe fluxFromCoframe : solderFlux = fluxPullback cHat coframe metricSymmetric : RootCarrier.tr metric 4 = metric fluxAlternating : RootCarrier.madd solderFlux (RootCarrier.tr solderFlux 4) = RootCarrier.zerosMat 4 4 lorentzCongruence : RootCarrier.mmul (RootCarrier.tr RootCarrier.T 4) (RootCarrier.mmul metric RootCarrier.T 4) 4 = lorentzNormalForm congruenceSplit : RootCarrier.mmul RootCarrier.T RootCarrier.Tadj 4 = RootCarrier.mscale 2 (RootCarrier.idMat 4) scaledDerivativeCertificate : RootCarrier.preimages.map (RootCarrier.dS coframe) = (List.range 16).map RootCarrier.unitScaled def finiteRootSutureSignature : SutureFiniteSignature where etaHat := finiteSeed.eta cHat := finiteSeed.chat coframe := finiteSeed.coframe leftInverse := pi0LeftInverse metric := RootCarrier.h solderFlux := fluxPullback RootCarrier.Chat RootCarrier.Pi0 etaMatchesSF7 := by simpa [finiteSeed] using root_eta_matches_SF7 cHatMatchesSF7 := by simpa [finiteSeed] using root_chat_matches_SF7 coframeSplit := by simpa [finiteSeed] using pi0_has_left_inverse metricFromCoframe := by rfl fluxFromCoframe := by rfl metricSymmetric := by simpa [finite_metric_is_root_h] using finite_metric_symmetric fluxAlternating := by simpa [finiteSeed] using finite_flux_alternating lorentzCongruence := by simpa [lorentzNormalForm] using RootCarrier.h_congruence congruenceSplit := RootCarrier.T_invertible scaledDerivativeCertificate := finiteSeed_regular theorem finite_signature_carries_root : CarriesRoot ⟨finiteRootSutureSignature.etaHat, finiteRootSutureSignature.cHat, finiteRootSutureSignature.coframe⟩ := by simpa [finiteRootSutureSignature, finiteSeed] using finiteSeed_carries_root theorem finite_scaled_derivative_certificate : RootCarrier.preimages.map (RootCarrier.dS finiteRootSutureSignature.coframe) = (List.range 16).map RootCarrier.unitScaled := finiteRootSutureSignature.scaledDerivativeCertificate /-! ## 4. Source coordinates and future smooth witness -/ def sutureFieldSource011b : SourceRef := ⟨"Suture Field v0.1", "9 Nov 2026; SF.0, SF.7, SF.15, SF.29; source SHA-256 2b816bc7605c34094ff73d7fea8d0a487e4e51ed60fabf802df06498d5ed8f75"⟩ def sutureDynamicsSource011b : SourceRef := ⟨"Suture Field Dynamics v0.1", "9 Nov 2026; SD.0, SD.3, SD.5; source SHA-256 d8ef1b773356f6d85319d6b69f4b81186a1f166340b8e160b28ca33255c40a27"⟩ def sutureCalibrationSource011b : SourceRef := ⟨"Suture Field Dynamics v0.1", "Boundary 6; calibration office for chi; source SHA-256 d8ef1b773356f6d85319d6b69f4b81186a1f166340b8e160b28ca33255c40a27"⟩ inductive SutureClause where | sf0Metric | sf7InternalForms | sf15SolderFlux | sf29Closure | sd0CalibratedMap | sd3SutureMap | sd5RegularBranch deriving DecidableEq, Repr structure SutureSourceCoordinate where clause : SutureClause source : SourceRef deriving Repr def sutureSourceCoordinates : List SutureSourceCoordinate := [⟨.sf0Metric, sutureFieldSource011b⟩, ⟨.sf7InternalForms, sutureFieldSource011b⟩, ⟨.sf15SolderFlux, sutureFieldSource011b⟩, ⟨.sf29Closure, sutureFieldSource011b⟩, ⟨.sd0CalibratedMap, sutureDynamicsSource011b⟩, ⟨.sd3SutureMap, sutureDynamicsSource011b⟩, ⟨.sd5RegularBranch, sutureDynamicsSource011b⟩] /-! This interface is the S-01c input. A future witness supplies a real smooth carrier and the named relations. It cannot promote the imported action terms or calibrated chi into root-only output because each state uses `ClaimState` and `Certified` from 011a. -/ structure SutureFieldSignature where finite : SutureFiniteSignature spacetimeCarrier : Type tangentCarrier : Type internalCarrier : Type metricCarrier : Type fluxCarrier : Type densityCarrier : Type coframe : tangentCarrier → internalCarrier metric : metricCarrier solderFlux : fluxCarrier density : densityCarrier smoothManifold : Prop rankEightInternalBundle : Prop smoothRankFourCoframe : Prop inducedLorentzianMetric : Prop inducedSolderFlux : Prop cyclicCovariance : Prop mirrorFluxReversal : Prop regularSutureMap : Prop fieldDensity : Prop calibrationChi : Prop boundaryCompletion : Prop /-! The finite matrix representative in a later smooth construction need only be identified with the root seed through the displayed coordinates. This is weaker, and more useful, than literal equality of the full finite records. -/ structure FiniteSignatureCompatibility (candidate source : SutureFiniteSignature) where etaHat : candidate.etaHat = source.etaHat cHat : candidate.cHat = source.cHat coframe : candidate.coframe = source.coframe structure SutureSignatureWitness (I : SutureFieldSignature) where finiteBinding : FiniteSignatureCompatibility I.finite finiteRootSutureSignature manifoldState : ClaimState I.smoothManifold bundleState : ClaimState I.rankEightInternalBundle coframeState : ClaimState I.smoothRankFourCoframe metricState : ClaimState I.inducedLorentzianMetric fluxState : ClaimState I.inducedSolderFlux cyclicState : ClaimState I.cyclicCovariance mirrorState : ClaimState I.mirrorFluxReversal regularityState : ClaimState I.regularSutureMap densityState : ClaimState I.fieldDensity calibrationState : ClaimState I.calibrationChi boundaryState : ClaimState I.boundaryCompletion def sutureActionImport {P : Prop} (witness : P) : Certified [.imported] P := .imported sutureDynamicsSource011b witness def sutureCalibration {P : Prop} (witness : P) : Certified [.empiricallyCalibrated] P := .calibrated sutureCalibrationSource011b witness theorem suture_action_import_is_not_root_only {P : Prop} (witness : P) : ¬ RootOnly (Certified.origins (sutureActionImport witness)) := by exact imported_is_not_root_only sutureDynamicsSource011b witness theorem suture_calibration_is_not_root_only {P : Prop} (witness : P) : ¬ RootOnly (Certified.origins (sutureCalibration witness)) := by simp [RootOnly, Certified.origins] /-! The exact finite signature is rooted. Its interpretation as the source paper's Suture signature records a consistency-fixed source coordinate, so the combined certificate retains both offices instead of erasing either one. -/ def finiteSignatureCoordinate : Certified [.consistencyFixed] (CarriesRoot finiteSeed → finiteRootSutureSignature.etaHat = sutureEta ∧ finiteRootSutureSignature.cHat = sutureChat) := .consistencyFixed sutureFieldSource011b (by intro _ exact ⟨finiteRootSutureSignature.etaMatchesSF7, finiteRootSutureSignature.cHatMatchesSF7⟩) def finiteSignatureBinding : Certified [.consistencyFixed, .rootDerived] (finiteRootSutureSignature.etaHat = sutureEta ∧ finiteRootSutureSignature.cHat = sutureChat) := .compose finiteSignatureCoordinate finiteCarrierCertificate theorem finiteSignatureBinding_origins : Certified.origins finiteSignatureBinding = [.consistencyFixed, .rootDerived] := rfl theorem finiteSignatureBinding_is_not_root_only : ¬ RootOnly (Certified.origins finiteSignatureBinding) := by simp [finiteSignatureBinding_origins, RootOnly] #print axioms root_eta_matches_SF7 #print axioms root_chat_matches_SF7 #print axioms pi0_has_left_inverse #print axioms finite_metric_value #print axioms finite_flux_value #print axioms finite_flux_alternating #print axioms finite_signature_carries_root #print axioms finite_scaled_derivative_certificate #print axioms suture_action_import_is_not_root_only #print axioms suture_calibration_is_not_root_only #print axioms finiteSignatureBinding_origins #print axioms finiteSignatureBinding_is_not_root_only end SutureSignature011b