Scalar actions in Lean's mathlib

08/10/2021
by   Eric Wieser, et al.
0

Scalar actions are ubiquitous in mathematics, and therefore it is valuable to be able to write them succinctly when formalizing. In this paper we explore how Lean 3's typeclasses are used by mathlib for scalar actions with examples, illustrate some of the problems which come up when using them such as compatibility of actions and non-definitionally-equal diamonds, and note how these problems can be solved. We outline where more work is needed in mathlib in this area.

READ FULL TEXT
research
12/02/2021

Isomeric trees and the order of Runge–Kutta methods

The conditions for a Runge–Kutta method to be of order p with p≥ 5 for a...
research
09/27/2022

The *-product approach for linear ODEs: a numerical study of the scalar case

Solving systems of non-autonomous ordinary differential equations (ODE) ...
research
09/21/2017

In-depth comparison of the Berlekamp -- Massey -- Sakata and the Scalar-FGLM algorithms: the non adaptive variants

We compare thoroughly the Berlekamp -- Massey -- Sakata algorithm and th...
research
11/29/2019

Parametric Interpolation Framework for 1-D Scalar Conservation Laws with Non-Convex Flux Functions

In this paper we present a novel framework for obtaining high order nume...
research
01/13/2020

On the Gap between Scalar and Vector Solutions of Generalized Combination Networks

We study scalar-linear and vector-linear solutions to the generalized co...
research
02/13/2022

On a Boundary Updating Method for the Scalar Stefan Problem

We report on a general purpose method for the scalar Stefan problem insp...
research
10/10/2022

Hierarchical Learning in Euclidean Neural Networks

Equivariant machine learning methods have shown wide success at 3D learn...

Please sign up or login with your details

Forgot password? Click here to reset