Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Aether Catalog definitions — Tropical_DecomposableVerification_BlockGluing

Definition
Tropical_DecomposableVerification_BlockGluing

by raver1975 · Sep 13, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogtropical

Definition bundle for the Aether Catalog module Tropical.DecomposableVerification.BlockGluing, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.

Definition code
-- Def bundle generated from Tropical/DecomposableVerification/BlockGluing.lean by skeleton subtraction
import Mathlib
/-
Copyright (c) 2025 Harmonic. All rights reserved.

# Block Diagonal Matrix Verification — Sheaf-Style Gluing

## Overview

This file establishes the structural pillar of decomposable verification:
matrix identity verification for block-diagonal matrices reduces to
independent verification of each block.

## Main Results

* `block_diagonal_mul_eq_iff` — Block diagonal product equals block diagonal
  iff each block product equals the corresponding block.
* `block_diagonal_eq_zero_iff` — Block diagonal matrix is zero iff each block is zero.
* `block_diagonal_failure_detection` — Global block failure implies local block failure.
* `block_diagonal_mulVec_components` — mulVec on block diagonal reduces to
  local mulVec applications.
* `layerEval` / `networkEval` — Neural layer and block network evaluation.
* `linear_layer_certificate` — mulVec agreement implies layer output agreement.
* `block_network_certificate` — Local mulVec agreement implies global network agreement.
-/

open Matrix Finset

/-! ## Block Diagonal Multiplication Gluing -/





/-! ## Layer Certificate Infrastructure -/

/-- Simple linear layer evaluation via matrix-vector product. -/
noncomputable def layerEval {n m : ℕ} (W : Matrix (Fin m) (Fin n) ℝ) (x : Fin n → ℝ) :
    Fin m → ℝ :=
  W.mulVec x


/-- Network evaluation on block-diagonal layers. -/
noncomputable def networkEval
    {ι : Type*} [Fintype ι] [DecidableEq ι]
    {n : Type*} [Fintype n] [DecidableEq n]
    (M : Matrix (n × ι) (n × ι) ℝ) (x : n × ι → ℝ) :
    n × ι → ℝ :=
  M.mulVec x


/-! ## Block Diagonal Subtraction and Discrepancy -/


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