Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Finite real tables and Boolean weighted-overlap tables

Definition
APFPaper5_K1_MarkTable

by FiniteUniverse · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

apfapf-referencesib-v15-2026-11

Defines the finite coefficient form, the interchangeable-table predicate, Boolean indicator and weighted atom-overlap table. These are supplied mathematical data and predicates.

Representation and scope. A finite Gram-style score vocabulary inspired by K1; atomTable alone does not encode the Paper1 defender, normalized probabilities or the algebraic PairNumbers relation.

Supplied data or hypotheses. Finite index and atom types where summed; arbitrary real table or weights. Interchangeable is the predicate G(i,j)=1 on the diagonal and c off it, not an asserted law.

Claim boundaries. Do not call arbitrary atomTable entries normalized pair numbers; diagonal entries need not be one. Negative weights are allowed in the definition; nonnegativity is a theorem hypothesis.

This is conditional reference mathematics. The supplied model and its hypotheses are not adopted Foundation inputs, and this node does not establish K1 or K3 closure.

Definition code
/-
APF Foundation Ledger — definition node DRAFT (session EthanBrooke-01WrrBvu, 2026-11-12; not gated, not reviewed)
name: APFPaper5_K1_MarkTable
title: Tables of pair numbers on finitely many marks
inputs_revision: 2026-10-04.1
mathlib_rev: 0df444a360eaa60ab8c11dca51a86af692955474
statement: tableForm is the form of a real table on coefficient vectors; Interchangeable says each mark scores 1 against itself and any two different marks score the same c; ind sends a Boolean reading to 1 or 0; atomTable is the table read off weights on the atoms of a record space. Supplied data only; no law is assumed. Moved out of theorem files on 2026-11-12 (one module per node).
-/
import Mathlib.Data.Real.Basic
import Mathlib.Algebra.BigOperators.Group.Finset.Basic

set_option autoImplicit false
namespace APFPaper5.K1

universe u v
variable {ι : Type u} [Fintype ι] {W : Type v} [Fintype W]

/-- The form of a table of pair numbers on coefficient vectors. -/
def tableForm (G : ι → ι → ℝ) (x y : ι → ℝ) : ℝ := ∑ i, ∑ j, x i * G i j * y j

/-- Each mark scores 1 against itself and every two different marks score the same number `c`. -/
def Interchangeable [DecidableEq ι] (G : ι → ι → ℝ) (c : ℝ) : Prop :=
  ∀ i j, G i j = if i = j then 1 else c

/-- 1 for a marked reading, 0 for an unmarked one. -/
def ind (b : Bool) : ℝ := if b then 1 else 0

/-- The table of pair numbers read off weights on the atoms of a record space. -/
def atomTable (w : W → ℝ) (mark : ι → W → Bool) (i j : ι) : ℝ :=
  ∑ a, w a * (ind (mark i a) * ind (mark j a))

end APFPaper5.K1
Source
Definitions/Def_APFPaper5_K1_MarkTable.lean; Sib v15, SHA-256 14370b31453796fca7f904748173724be88a698b328933b9c7b6e7215f0738a7. [{'path': 'Papers/Paper 05 - Quantum Structure - Hilbert Space and Born Rule/Paper_5_Quantum_Structure_Hilbert_Born_Supplement_v7.33.tex', 'lines_or_section': '353-391;3038-3041'}, {'path': 'Papers/Paper 01 - The Enforceability of Distinction/Paper_1_Enforceability_of_Distinction_Supplement_v9.28.tex', 'lines_or_section': '3721-3749'}]
Human review
  • Endorsed by Shuze Chen · Nov 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 16, 2026

    Confirmed by the mission captain (proposal self-audit).

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