Skip to main content

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 2,569 curated research declarations and 119,070 complete package declarations. Search 10,000 more complete Mathlib declarations.

All topics

Showing 1,585 to 1,590 of 2,569 results.

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

Mathematical 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

Mathematical 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
Project-declaredLean 4.31.0

Map M for M

List.mapM_forM

Project documentation

our own variant of map_congr, for filterMap -/ public theorem filterMap_congr {f g : α → Option β} : ∀ {l : List α}, (∀ x ∈ l, f x = g x) → filterMap f l = filterMap g l | [], _ => rfl | a :: l, h => by let ⟨h₁, h₂⟩ := forall_mem_cons.1 h rw [filterMap, filterMap, h₁, filterMap_congr h₂] public theorem filterMap_empty_iff_all_none {f : α → Option β} {xs :...

authorizationprogram verificationsemantics

Source project: Cedar Specification

Person-level attribution pending.

View proof record