Closed iff rank strict increase
ProvedFinitaryExchangeClosure.closed_iff_rank_strict_increaseaether-catalogbridges
Formal statement of FinitaryExchangeClosure.closed_iff_rank_strict_increase from the Aether Catalog (Bridges). The mathematical content is given by the Lean statement below; a human-readable write-up is pending.
theorem FinitaryExchangeClosure.closed_iff_rank_strict_increase(F : Set X) :
C.Closed F ↔ ∀ x ∉ F, C.rank (F ∪ {x}) = C.rank F + 1 := by sorry
Formalization Note Transplanted verbatim from the Aether Catalog source Bridges/ClosureMatroidSecretSharing.lean; the statement is byte-identical to the source declaration, elaborated with autoImplicit disabled in the platform environment.
Preamble
-- Thm stub generated from Bridges/ClosureMatroidSecretSharing.lean
import Mathlib
import Definitions.Def_Bridges_ClosureMatroidSecretSharing
/-!
# Closure–Matroid–Secret Sharing Bridge
## Overview
This module establishes a formal bridge between finite exchange closure operators,
matroid geometry, and cryptographic secret-sharing access structures, mediated by
an idempotent algebraic structure on closed sets.
## Main results
- **Exchange closures induce matroidal geometry**: independence, rank, flats, and circuits
arise canonically from the closure axioms.
- **Certified access structures**: for a designated "dealer" element `d`, the set of
subsets that span `d` under closure forms a monotone access structure with
formally certified reconstruction (qualified sets are upward-closed) and
privacy (non-spanning sets are downward-closed).
- **Minimal qualified sets are minimal dependent sets through the dealer**: the
circuit-like characterization of minimal reconstruction sets.
- **Rank-bounded reconstruction**: every qualified set contains a minimal qualified
subset of cardinality at most the global rank.
- **Idempotent closed-set algebra**: closed sets form a lattice under join = closure
of union and meet = intersection, with provable algebraic laws.
## Mathematical significance
Every finite exchange closure is not just a combinatorial geometry, but a certified
cryptographic universe in which reconstruction, privacy, and complexity are all
controlled by closure and rank. This reframes secret-sharing as resource-sensitive
entailment in a finite closure logic, with matroids providing the geometric backbone.
-/
open Set Finset
variable {X : Type*} [Fintype X] [DecidableEq X]
/-! ## 1. Finitary Exchange Closure Structure -/
open FinitaryExchangeClosure
variable (C : FinitaryExchangeClosure X)
/-! ## 2. Basic Definitions -/
/-! ## 3. Basic Closure Lemmas -/
/-
Closure of union absorbs inner closures (left).
-/
/-
Closure of union absorbs inner closures (right).
-/
/-
If `A ⊆ cl B` then `cl A ⊆ cl B`.
-/
/-
`x ∈ cl A` iff `cl (A ∪ {x}) = cl A`.
-/
/-! ## 4. Independence Lemmas -/
/-
Subsets of independent sets are independent (hereditary property).
-/
/-
If `I` is independent and `x ∉ cl I`, then `I ∪ {x}` is independent.
-/
/-
If `A` is independent, then `x ∈ cl A` iff `x ∈ A` or `A ∪ {x}` is dependent.
-/
/-! ## 5. Secret-Sharing Access Structure (Theorem 4) -/
/-
**Certified Access Structure**: qualification is upward-closed,
private is downward-closed, and they partition all subsets.
This is the foundational theorem for closure-based secret sharing.
-/
/-
**Certified Privacy**: non-spanning sets cannot leak the dealer.
This is the exact privacy guarantee: no subset of a private set is qualified.
-/
/-
**Reconstruction monotonicity**: if a subset can reconstruct, so can any superset.
-/
/-! ## 6. Rank Function -/
/-
Rank is bounded by cardinality.
-/
/-
Rank is monotone.
-/
/-
The empty set has rank zero.
-/
/-
Rank of a singleton is at most 1.
-/
/-
The set of cardinalities of independent subsets of A is bounded above.
-/
/-
The set of cardinalities of independent subsets of A is nonempty.
-/
/-
The rank of a set is achieved by some independent subset.
-/
/-
A rank-achieving independent subset spans the whole set under closure.
-/
/-! ## 7. Closed Sets and Flats (Theorem 2) -/
/-
A closed set `F` has the property that adding any element outside `F` strictly
increases the rank. This characterizes flats / dependency flats.
-/Formal statement
theorem FinitaryExchangeClosure.closed_iff_rank_strict_increase(F : Set X) :
C.Closed F ↔ ∀ x ∉ F, C.rank (F ∪ {x}) = C.rank F + 1 := by sorrySource