Source-pinned research

Research proof index

Search theorem names, mathematical ideas, modules, topics, projects, and role-labelled researchers. Open a result for its complete indexed Lean declaration and source record.

This index contains 44 research declarations. Search 10,000 more complete Mathlib declarations.

1 topic

44 results

Clear filters
Project-declaredLean 4.31.0

Sum of not equals

JohnsonBound.sum_of_not_equals

Plain-language statement

Counting pairs that disagree at position i in terms of choose_2.

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Sum sum K i eq n sub d

JohnsonBound.sum_sum_K_i_eq_n_sub_d

Plain-language statement

Total choose_2 over all coordinates equals choose_2(|B|) · (n - d).

cryptographyproof systemscoding theory

Source project: ArkLib

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Find? pair map

List.find?_pair_map

Project documentation

our own variant of map_congr, for mapM -/ public theorem mapM_congr [Monad m] [LawfulMonad m] {f g : α → m β} : ∀ {l : List α}, (∀ x ∈ l, f x = g x) → mapM f l = mapM g l := by intro l rw [← mapM'_eq_mapM, ← mapM'_eq_mapM] exact mapM'_congr public theorem to_option_distr_mapM' {α β ε} {l : List α} {f: α → Except ε β} : (List.mapM' f l).toOption = (List.ma...

authorizationprogram verificationsemantics

Source project: Cedar Specification

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Foldl M of assoc some

List.foldlM_of_assoc_some

Project documentation

our own variant of map_congr, for mapM -/ public theorem mapM_congr [Monad m] [LawfulMonad m] {f g : α → m β} : ∀ {l : List α}, (∀ x ∈ l, f x = g x) → mapM f l = mapM g l := by intro l rw [← mapM'_eq_mapM, ← mapM'_eq_mapM] exact mapM'_congr public theorem to_option_distr_mapM' {α β ε} {l : List α} {f: α → Except ε β} : (List.mapM' f l).toOption = (List.ma...

authorizationprogram verificationsemantics

Source project: Cedar Specification

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Forall₂ compose map M right

List.forall₂_compose_mapM_right

Plain-language statement

Applying mapM on the RHS list of Forall₂ leads to new Forall₂ relation if certain conditions are met.

authorizationprogram verificationsemantics

Source project: Cedar Specification

Person-level attribution pending.

View proof record
Project-declaredLean 4.31.0

Forall₂ implies all left

List.forall₂_implies_all_left

Plain-language statement

Note the converse is not true: counterexample R is =, xs is [1], ys is [1, 2]

authorizationprogram verificationsemantics

Source project: Cedar Specification

Person-level attribution pending.

View proof record