LeanProofs.Rosetta.CascadeCertificate
DefinitionGrade4_LeanProofs_Rosetta_CascadeCertificateclifford-algebraleanproofs-grade4rosetta
Foundational definitions and structural lemmas from LeanProofs.Rosetta.CascadeCertificate, required by the selected LeanProofs theorem graph.
Definition code
/- A typed, finite certificate for staged calculations. This file does not identify a stage with a differential curl, rotor conjugation, monodromy, or holonomy. The provenance tag records which operator was actually supplied. In particular, a list of scalar formulas called "successive curls" acquires no differential or gauge-theoretic meaning merely by being represented as a cascade. -/ import Mathlib.Data.Fintype.Basic namespace LeanProofsGrade4P2M namespace CascadeAudit /-- Mutually distinct operator meanings found in the historical artifacts. -/ inductive OperatorKind where | differentialCurl | discretePlaquetteWinding | nonlinearAlgebraicStage | rotorConjugation | monodromy | holonomy | correspondenceOnly | finiteToy deriving DecidableEq, Repr /-- A threshold is part of a registered model, not a consequence of typing. -/ inductive ThresholdConvention where | strictGreater | greaterOrEqual | setMembership | noThreshold deriving DecidableEq, Repr /-- Minimal provenance retained with every stage. -/ structure StageProvenance where source : String revision : Option String operatorKind : OperatorKind executed : Bool note : String deriving Repr /-! ## Deliberately non-physical finite controls -/ end CascadeAudit end LeanProofsGrade4P2M
Source