Skip to content

Latest commit

Β 

History

55 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PMAD-lean: Formal Verification of Phase-Mediated Attractor Dynamics

Zenodo ORCID SSRN iNSpire HEP

An open-source mathematical repository containing the formal machine-checked verification of Phase-Mediated Attractor Dynamics (PMAD), coded and verified using the Lean 4 interactive theorem prover and the Mathlib ecosystem (and compiling Physlib postulates)

This library codifies the theoretical foundations presented in the companion manuscript, demonstrating that classical metric spacetime geometry, emergent effective force fields, and quantum measurement statistics (the Born rule) arise natively as reductions of non-autonomous phase-space attractor selection rather than fundamental postulates.

Repository Status

  • Toolchain Snapshot: v4.33.0-rc1 (Aligned with Mathlib's modular infrastructure)
  • Compilation Status: 100% Successful Pass (17,498 jobs built clean)
  • Logical Cloture: Fully mathematically closed without placeholders (sorry-free core)

Formal Verification Dependency Graph

Below is the strict dependency architecture certified by the Lean compiler kernel. Rather than isolating individual definitions, this pipeline maps the actual logical transport arrows from micro phase axioms down to macroscopic spacetime geometries:

πŸ“¦ Axioms.lean (Foundations)

View Module Elements (5 items)
β”Œβ”€β”€β”€ [Axioms.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseState                     
β”‚  β”œβ”€ βš™οΈ [DEF]  Trajectory                     
β”‚  β”œβ”€ βš™οΈ [DEF]  IsDynamicallyStable            
β”‚  β”œβ”€ βš™οΈ [DEF]  AttractorSet                   
β”‚  β”œβ”€ βš™οΈ [DEF]  UbiquitousResonance            
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό [Cross-Module Dependency Pipeline]

πŸ“¦ Dynamics.lean (Attractor Convergence)

View Module Elements (7 items)
β”Œβ”€β”€β”€ [Dynamics.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  IsPmadFlow                      βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  IsAdmissibleAttractor          
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseFlowDerivative             βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseSpaceOccupationDensity     βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_flow_converges_to_attractor  βž” Outbound to: Axioms.Trajectory, Axioms.AttractorSet, Axioms.PhaseState
β”‚  β”œβ”€ πŸ”₯ [CORE] global_phase_gauge_invariance   βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ ⬜ [TRIV] stability_under_bounded_perturbations 
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό [Cross-Module Dependency Pipeline]

πŸ“¦ Probability.lean (Born Rule & Bounds)

View Module Elements (17 items)
β”Œβ”€β”€β”€ [Probability.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseOrderParameter             βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseOverlapFunctional          βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseSpaceContractionRate       βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  MacroscopicBornProbability      βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ βš™οΈ [DEF]  AmplitudeWeight                
β”‚  β”œβ”€ βš™οΈ [DEF]  TimeSeriesSample               
β”‚  β”œβ”€ βš™οΈ [DEF]  IsInArnoldTongue                βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] phase_order_parameter_bounds_constructive  βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] overlap_limit_of_matched_noiseless_flow  βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] uncoupled_flow_volume_conservation  βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ πŸ”₯ [CORE] born_rule_resonance_limit       βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] born_rule_derived_from_paper_dynamics  βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] born_rule_general_weighted_limit  βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] born_rule_bounded_noise_concentration  βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] derive_ftc_evolution            βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] born_rule_noise_degradation_bound_derive_ftc_evolution  βž” Outbound to: Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ ⬜ [TRIV] data_pipeline_discretization_bound 
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό [Cross-Module Dependency Pipeline]

πŸ“¦ Metrics.lean (Compliance Geometry)

View Module Elements (22 items)
β”Œβ”€β”€β”€ [Metrics.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  AttractorDimensionality        
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseMomentum                  
β”‚  β”œβ”€ βš™οΈ [DEF]  EmergentComplianceMetric       
β”‚  β”œβ”€ βš™οΈ [DEF]  LocalPhaseVelocityGradient      βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  LocalPhaseVorticityTensor       βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  ComplianceFloor                
β”‚  β”œβ”€ βš™οΈ [DEF]  NormalizedMetricTraceDensity   
β”‚  β”œβ”€ βš™οΈ [DEF]  DynamicSpatialAdjacency        
β”‚  β”œβ”€ πŸ”₯ [CORE] resonance_monotonicity          βž” Outbound to: Axioms.UbiquitousResonance
β”‚  β”œβ”€ ⬜ [TRIV] spatial_locality_collapse      
β”‚  β”œβ”€ ⬜ [TRIV] metric_singularity_censorship  
β”‚  β”œβ”€ πŸ”₯ [CORE] stiffness_from_overlap_functional  βž” Outbound to: Axioms.Trajectory, Probability.PhaseOverlapFunctional, Dynamics.IsPmadFlow
β”‚  β”œβ”€ ⬜ [TRIV] compliance_metric_diagonal_bound 
β”‚  β”œβ”€ πŸ”₯ [CORE] vorticity_tensor_magnitude_bound  βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ πŸ”₯ [CORE] vorticity_tensor_translational_invariance  βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ πŸ”₯ [CORE] vorticity_tensor_gauge_invariance  βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ ⬜ [TRIV] compliance_floor_monotonicity  
β”‚  β”œβ”€ ⬜ [TRIV] compliance_floor_divergence_bounds 
β”‚  β”œβ”€ πŸ”₯ [CORE] coordinate_independence         βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ ⬜ [TRIV] compliance_metric_positivity   
β”‚  β”œβ”€ ⬜ [TRIV] attractor_dimensionality_bounds 
β”‚  β”œβ”€ ⬜ [TRIV] thermodynamic_density_regularity_bound 
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό [Cross-Module Dependency Pipeline]

πŸ“¦ Renormalization.lean (Scale Decay)

View Module Elements (13 items)
β”Œβ”€β”€β”€ [Renormalization.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  AttractorDimensionalityRGFlow  
β”‚  β”œβ”€ βš™οΈ [DEF]  ContinuousAttractorDimensionality 
β”‚  β”œβ”€ βš™οΈ [DEF]  ContinuousAttractorDimensionalityRGFlow 
β”‚  β”œβ”€ ⬜ [TRIV] rg_flow_monotonicity           
β”‚  β”œβ”€ πŸ”₯ [CORE] rg_flow_ir_fixed_point          βž” Outbound to: Metrics.AttractorDimensionality
β”‚  β”œβ”€ πŸ”₯ [CORE] compliance_floor_bounds_rg_spectrum  βž” Outbound to: Metrics.AttractorDimensionality, Metrics.EmergentComplianceMetric, Metrics.metric_singularity_censorship
β”‚  β”œβ”€ πŸ”₯ [CORE] dynamics_to_renormalization_capacity_bound  βž” Outbound to: Metrics.AttractorDimensionality, Dynamics.IsAdmissibleAttractor
β”‚  β”œβ”€ πŸ”₯ [CORE] rg_flow_finite_monotonicity     βž” Outbound to: Metrics.AttractorDimensionality
β”‚  β”œβ”€ πŸ”₯ [CORE] rg_flow_uv_bounds               βž” Outbound to: Metrics.AttractorDimensionality
β”‚  β”œβ”€ ⬜ [TRIV] rg_flow_component_bounds       
β”‚  β”œβ”€ πŸ”₯ [CORE] rg_flow_c_theorem_analog        βž” Outbound to: Metrics.AttractorDimensionality
β”‚  β”œβ”€ ⬜ [TRIV] continuous_rg_flow_monotonicity 
β”‚  β”œβ”€ ⬜ [TRIV] continuous_rg_flow_finite_monotonicity 
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό [Cross-Module Dependency Pipeline]

πŸ“¦ Vorticity.lean (Spacetime Synthesis)

View Module Elements (28 items)
β”Œβ”€β”€β”€ [Vorticity.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  MacroscopicPhaseCurrent        
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseVelocityGradient           βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseVorticityTensor            βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  UnifiedMacroscopicSpacetimeMetricDim 
β”‚  β”œβ”€ βš™οΈ [DEF]  LocalFrameDraggingVector        βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  FrameDraggingMetricComponent   
β”‚  β”œβ”€ βš™οΈ [DEF]  UnifiedMacroscopicSpacetimeMetric 
β”‚  β”œβ”€ βš™οΈ [DEF]  SynthesizedSpacetimeMetric1     βž” Outbound to: Axioms.Trajectory, Metrics.AttractorDimensionality, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOrderParameter
β”‚  β”œβ”€ βš™οΈ [DEF]  SynthesizedSpacetimeMetricDim   βž” Outbound to: Axioms.Trajectory, Metrics.AttractorDimensionality, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOrderParameter
β”‚  β”œβ”€ βš™οΈ [DEF]  TransportArrow                 
β”‚  β”œβ”€ πŸ”₯ [CORE] vorticity_tensor_antisymmetric  βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ βš™οΈ [DEF]  PureMicroscaleMetric            βž” Outbound to: Axioms.Trajectory
β”‚  β”œβ”€ ⬜ [TRIV] compliance_floor_prevents_spacetime_singularity 
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_unification_censorship     βž” Outbound to: Axioms.Trajectory, Dynamics.IsAdmissibleAttractor, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOrderParameter
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_unification_censorship_dim  βž” Outbound to: Axioms.Trajectory, Dynamics.IsAdmissibleAttractor, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOrderParameter
β”‚  β”œβ”€ πŸ”₯ [CORE] phase_space_occupation_density_sum_bound  βž” Outbound to: Axioms.Trajectory, Dynamics.PhaseFlowDerivative, Dynamics.PhaseSpaceOccupationDensity
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_unification_censorship_dim_alltime  βž” Outbound to: Axioms.Trajectory, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOrderParameter
β”‚  β”œβ”€ ⬜ [TRIV] pmad_unification_censorship_emergent 
β”‚  β”œβ”€ ⬜ [TRIV] matrix_grid_double_sum_bound   
β”‚  β”œβ”€ ⬜ [TRIV] complex_norm_from_real_bound   
β”‚  β”œβ”€ πŸ”₯ [CORE] phase_overlap_locked_time_collapse  βž” Outbound to: Probability.born_rule_noise_degradation_bound_derive_ftc_evolution, Axioms.Trajectory, Probability.PhaseOverlapFunctional, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] complex_norm_error_bound_single_slot  βž” Outbound to: Probability.PhaseOverlapFunctional, Probability.AmplitudeWeight, Probability.MacroscopicBornProbability, Probability.born_rule_noise_degradation_bound_derive_ftc_evolution, Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] complex_norm_error_bound_matrix_grid  βž” Outbound to: Axioms.Trajectory, Probability.AmplitudeWeight, Probability.PhaseOverlapFunctional, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] derive_order_parameter_handshake_from_dynamics  βž” Outbound to: Probability.PhaseOrderParameter, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOverlapFunctional, Probability.AmplitudeWeight, Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] derive_arnold_tongue_emergence_identity  βž” Outbound to: Probability.PhaseOrderParameter, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOverlapFunctional, Probability.IsInArnoldTongue, Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_micro_censorship_alltime   βž” Outbound to: Probability.PhaseOrderParameter, Dynamics.IsAdmissibleAttractor, Metrics.AttractorDimensionality, Renormalization.rg_flow_finite_monotonicity, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOverlapFunctional, Probability.IsInArnoldTongue, Renormalization.dynamics_to_renormalization_capacity_bound, Probability.AmplitudeWeight, Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_micro_censorship_alltime_noisy  βž” Outbound to: Probability.PhaseOrderParameter, Dynamics.IsAdmissibleAttractor, Metrics.AttractorDimensionality, Renormalization.rg_flow_finite_monotonicity, Dynamics.PhaseSpaceOccupationDensity, Probability.PhaseOverlapFunctional, Probability.IsInArnoldTongue, Renormalization.dynamics_to_renormalization_capacity_bound, Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ ⬜ [TRIV] macroscopic_geodesic_completeness_invariant 
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό [Cross-Module Dependency Pipeline]

πŸ“¦ Incompleteness.lean (Decoupled Limits)

View Module Elements (5 items)
β”Œβ”€β”€β”€ [Incompleteness.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  FullPhaseSpace                 
β”‚  β”œβ”€ βš™οΈ [DEF]  EmergentEffectiveForce         
β”‚  β”œβ”€ βš™οΈ [DEF]  VisibleSubmanifoldEvolution    
β”‚  β”œβ”€ πŸ”₯ [CORE] visible_submanifold_decoupling_limit  βž” Outbound to: Metrics.resonance_monotonicity
β”‚  β”œβ”€ πŸ”₯ [CORE] resonance_modulation_of_manifold_evolution  βž” Outbound to: Axioms.UbiquitousResonance, Metrics.resonance_monotonicity, Metrics.DynamicSpatialAdjacency
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό [Cross-Module Dependency Pipeline]

πŸ“¦ Test.lean (spiral-vm runtime example)

View Module Elements (16 items)
β”Œβ”€β”€β”€ [Test.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  SpiralAlgoConfig               
β”‚  β”œβ”€ βš™οΈ [DEF]  executionStepCount             
β”‚  β”œβ”€ βš™οΈ [DEF]  IsSubExponentiallyBounded      
β”‚  β”œβ”€ βš™οΈ [DEF]  CoprimeInitialState            
β”‚  β”œβ”€ βš™οΈ [DEF]  PhaseGradientStep              
β”‚  β”œβ”€ βš™οΈ [DEF]  DualToneWaveform               
β”‚  β”œβ”€ βš™οΈ [DEF]  MeanFieldState                 
β”‚  β”œβ”€ ⬜ [TRIV] executionStepCount_polynomial  
β”‚  β”œβ”€ πŸ”₯ [CORE] spiral_shor_like_subexponential_bound  βž” Outbound to: Probability.TimeSeriesSample, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_trajectory_discretization_bridge  βž” Outbound to: Axioms.Trajectory, Probability.TimeSeriesSample, Probability.data_pipeline_discretization_bound, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_rg_attractor_convergence_time  βž” Outbound to: Dynamics.pmad_flow_converges_to_attractor, Dynamics.IsAdmissibleAttractor, Metrics.AttractorDimensionality, Renormalization.rg_flow_c_theorem_analog, Renormalization.dynamics_to_renormalization_capacity_bound, Axioms.AttractorSet, Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] gradient_descent_runtime_linearity  βž” Outbound to: Metrics.AttractorDimensionality, Renormalization.rg_flow_c_theorem_analog
β”‚  β”œβ”€ πŸ”₯ [CORE] dual_tone_attractor_smoothing   βž” Outbound to: Metrics.AttractorDimensionality, Renormalization.rg_flow_c_theorem_analog
β”‚  β”œβ”€ ⬜ [TRIV] mean_field_velocity_bounded    
β”‚  β”œβ”€ πŸ”₯ [CORE] global_non_linear_lattice_convergence  βž” Outbound to: Metrics.AttractorDimensionality
β”‚  β”œβ”€ πŸ”₯ [CORE] stochastic_gradient_linearity   βž” Outbound to: Metrics.AttractorDimensionality, Probability.AmplitudeWeight, Probability.MacroscopicBornProbability, Probability.born_rule_noise_degradation_bound_derive_ftc_evolution, Axioms.Trajectory, Dynamics.IsPmadFlow
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚
       β–Ό [Cross-Module Dependency Pipeline]

πŸ“¦ PhyslibBridge.lean (Show equivalence with Physlib)

View Module Elements (8 items)
β”Œβ”€β”€β”€ [PhyslibBridge.lean] ──────────────────────────────────────────────────┐
β”‚  β”œβ”€ βš™οΈ [DEF]  K0                             
β”‚  β”œβ”€ βš™οΈ [DEF]  K1                             
β”‚  β”œβ”€ βš™οΈ [DEF]  bundledPmadPhaseDampingChannel  βž” Outbound to: Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] physlib_quantum_probability_general_bridge  βž” Outbound to: Probability.AmplitudeWeight, Probability.MacroscopicBornProbability, Probability.born_rule_noise_degradation_bound_derive_ftc_evolution, Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ πŸ”₯ [CORE] amplitude_weight_equals_quantum_norm  βž” Outbound to: Probability.AmplitudeWeight
β”‚  β”œβ”€ πŸ”₯ [CORE] physlib_off_diagonal_decoherence_bound  βž” Outbound to: Probability.AmplitudeWeight, Probability.MacroscopicBornProbability, Probability.born_rule_noise_degradation_bound_derive_ftc_evolution, Axioms.Trajectory, Dynamics.IsPmadFlow
β”‚  β”œβ”€ ⬜ [TRIV] bundled_pmad_channel_evaluation 
β”‚  β”œβ”€ πŸ”₯ [CORE] pmad_flow_tracks_bundled_cptp_output  βž” Outbound to: Axioms.Trajectory, Probability.MacroscopicBornProbability, Probability.AmplitudeWeight, Dynamics.IsPmadFlow
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

High Level Core Verified Architecture (WIP)

The code tree is mapped inside the PMADLean/ library module to mirror the specific derivation pathways of the manuscript, emphasizing inter-module implication arrows:

  1. Axioms.lean (Axioms A1–A4): Formally initializes the fundamental non-spatial function manifold background (PhaseState := N β†’ ℝ). Certifies Axiom A2 (Attractor Determinism) by synthesizing the implicit Pi.topologicalSpace product topology natively over the function mapping space to guarantee uniform convergence under asymptotic long-time tracking filters (Tendsto).
  2. Dynamics.lean (Equation 2): Establishes the non-autonomous flow evolution equations driven by drive-locked quasienergies, phase-mediated coupling parameters, and bounded noise boundaries ($\vert{} \xi_i(t) \vert{} \le B$). Includes:
  • pmad_flow_converges_to_attractor: Proves that any bound-compliant trajectory family is trapped within a closed coordinate bounding envelope, satisfying neighborhood filter convergence.
    • global_phase_gauge_invariance: Rigorously proves that shifting all absolute coordinates uniformly by an arbitrary real translation constant ($\phi \mapsto \phi + c$) leaves the core differential flow structure perfectly invariant.
    • stability_under_bounded_perturbations: Verifies that an attractor configuration remains robustly stable (IsDynamicallyStable) under external perturbations when bounded beneath a negative Lyapunov exponent energy threshold ($\lambda_{\max} < -\delta$).
  1. Metrics.lean (Equation 29 & 47): Machine-checks the Singularity Censorship Theorem (metric_singularity_censorship). Proves that by modeling the effective space metric $g_{\mu\nu}$ as the inverse compliance of a state-dependent phase-stiffness matrix regularized by an endogenous stability floor (Ξ΅ > 0), the metric components remain structurally bounded even under a complete phase collapse (C β†’ 0). Includes:
  • stiffness_from_overlap_functional: A re-coupled transport arrow linking synchronized trajectories from Probability.lean to sharp upper bounds on real phase stiffness channels.
    • coordinate_independence: Machine-checks that the phase velocity gradient fields are invariant under an index permutation ($\sigma : N \simeq N$), proving observables are independent of arbitrary geometric indexing.
    • compliance_metric_positivity: Proves that if the state-dependent phase-stiffness matrix is positive semidefinite, the regularized emergent compliance metric $g_{\rm eff}$ is strictly positive definite across the diagonal for all Ξ΅ > 0.
    • compliance_metric_diagonal_bound: Verification of sharp entry-wise metric suppression under diagonal stiffness domination.
    • compliance_floor_monotonicity: Proves that as stable and unstable pathways collapse, the compliance floor strictly spikes over the target open quadrant.
    • compliance_floor_divergence_bounds: Constructively proves that as the alignment angle approaches the collapse boundary (ΞΈ β†’ 0), the compliance floor stays strictly lower-bounded.
    • resonance_monotonicity: Proves that for a uniform micro-coupling background, a stronger resonance profile entry translates directly to a stronger DynamicSpatialAdjacency weight.
    • attractor_dimensionality_bounds: Evaluates the discrete spectral summation of modes to prove that the effective attractor dimension $D_A$ is strictly lower-bounded by 0 and upper-bounded by the absolute network node capacity (|N|).
    • thermodynamic_density_regularity_bound: Formally evaluates the continuum thermodynamic limit (|N| β†’ ∞) over a macro-statistical density function, proving that the normalized trace compliance remains finite under uniform node-coupling constraints.
  1. Probability.lean (Equation 5, 66, & 69): Codifies the complex continuous time-averaging over the unified phase-overlap functional $\mathcal{O}_{ij}$ (PhaseOverlapFunctional) and the continuous volume contraction rate Ξ›(t) (PhaseSpaceContractionRate). Proves modulus behavior via overlap_limit_of_matched_noiseless_flow and includes uncoupled_flow_volume_conservation, bridging back to the dynamics core to verify phase volume conservation metrics under uncoupled baseline flows. Includes:
  • born_rule_resonance_limit: Extracts real projection profiles from the unified complex Phase Overlap space via MacroscopicBornProbability to prove that perfect noiseless resonance asymptotically yields stable, unitary quantum measurement statistics (P β†’ 1).
    • data_pipeline_discretization_bound: Resolves empirical sampling constraints by proving that a discrete 1D timeline array (TimeSeriesSample) mapping a continuous trajectory retains strict linear Lipschitz error bounds scaled by the temporal grid resolution Ξ” t.
  1. Renormalization.lean (Equation 81): Formalizes the spectral trace dimensionality selection rule $D_A$ as a non-local Wilsonian filtering kernel under variation of the continuous drive scale parameter Ξ©. Includes:
  • rg_flow_monotonicity: Proves purely algebraic finite variable inequality monotonicity for the RG flow, verifying the negative-definite behavior of the continuous trace deformation flow.
    • rg_flow_ir_fixed_point: Verifies the infrared fixed-point limit topology where fine-grained phase structure collapses into a contractive lower-dimensional attractor subspace.
    • dynamics_to_renormalization_capacity_bound: Shows that stable attractor bounds from Dynamics.lean restrict the maximum fractal dimension of the space to the total finite node capacity ($D_A \le \vert{}N\vert{}$).
    • rg_flow_finite_monotonicity: Establishes discrete scale-step decay bounds over raw real parameters without relying on differential calculus derivatives.
    • rg_flow_c_theorem_analog: Proves a discrete Zamolodchikov C-theorem variant showing that continuous active degrees of freedom undergo irreversible structural compression across energy scale updates (Ω₁ ≀ Ξ©β‚‚).
  1. Vorticity.lean (Equation 48, 49, & 51): Formalizes Phase Vorticity $\Omega_{ij}$ as the tensor curl of asymmetric macroscopic phase velocity gradients. Verifies tensor anti-symmetry properties (vorticity_tensor_antisymmetric) to face coordinate reflections. Includes:
  • vorticity_tensor_magnitude_bound: Proves that the anti-symmetric macroscopic Phase Vorticity Tensor is sharply bounded at any snapshot by twice the scalar micro coupling parameter.
    • vorticity_tensor_translational_invariance: Proves that shifting absolute coordinates uniformly leaves the structural Phase Vorticity Tensor invariant.
    • vorticity_tensor_gauge_invariance: Proves that shifting any absolute phase by an integer multiple of 2Ο€ acts as an exact identity operator, verifying discrete gauge invariance.
    • compliance_floor_prevents_spacetime_singularity: A direct cross-file link from Metrics.lean that leverages Mathlib's native real absolute value bounds to prove that the temporal component gβ‚€β‚€ of the macroscopic spacetime metric remains strictly finite and regular under structural phase collapse.
    • transport_arrow_composition: Formally maps the transitively linked categorical workflow channels ($\text{Probability} \longrightarrow \text{Metrics} \longrightarrow \text{Spacetime}$), confirming multi-scale information routing without requiring abstract category theory boilerplate.
    • local_frame_dragging_magnitude_bound: Extends microscopic vorticity bounds up to the macroscopic matrix level, proving that LocalFrameDraggingVector remains finite when bounded by micro-coupling matrices.
    • macroscopic_geodesic_completeness_invariant: Establishes the core mechanical step of singular horizon avoidance by using real square monotonicity rules to prove that a non-vanishing compliance floor (Ξ΅ > 0) enforces absolute finite bounds on the macroscopic spacetime metric elements.
  1. Incompleteness.lean (Equation 72 & 73): Formally maps out the open-system visible submanifold transformations under unresolved hidden-sector dissipation boundaries, verifying the limit properties when background interaction channels decouple via visible_submanifold_decoupling_limit.


Quick Start & Compilation

To pull down the precompiled Mathlib binary dependencies and build this PMAD proof matrix locally, follow these standard elan / lake commands:

# 1. Clone the repository
git clone https://github.com/cinquemb/PMAD-lean
cd PMAD-lean

# 2. Resync package toolchains and compile manifests
lake update

# 3. Pull down precompiled Mathlib binaries from the community cache
lake exe cache get

# 4. Execute the complete verification compilation pass
lake build

Upon a successful pass, the typechecker will verify all custom theorem dependencies and report a clean build configuration. Active section variable linter warnings are left active by design to cleanly audit unconstrained degrees of freedom reserved for downstream many-body extensions.


Publication Context & Citation

For the LaTeX declarations block or manuscript citations, please use:

@software{mcfarlaneblake2026pmad,
  author = {McFarlane-Blake, Cinque},
  title = {PMAD-lean: Formal Verification of Phase-Mediated Attractor Dynamics},
  year = {2026},
  publisher = {GitHub},
  journal = {GitHub Repository},
  howpublished \(= {\url{https://github.com/cinquemb/PMAD-lean}} \)}

About

Formal machine-checked verification of Phase-Mediated Attractor Dynamics (PMAD) in Lean 4. Axiomatic non-spatial background structures, emergent regularized metrics, and Wilsonian RG fixed-point limits certified down to first principles.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages