Additive energy #
This file defines the additive energy of two finsets of a group. This is a central quantity in additive combinatorics.
Main declarations #
Finset.addEnergy
: The additive energy of two finsets in an additive group.Finset.mulEnergy
: The multiplicative energy of two finsets in a group.
Notation #
The following notations are defined in the Combinatorics.Additive
scope:
E[s, t]
forFinset.addEnergy s t
.Eₘ[s, t]
forFinset.mulEnergy s t
.E[s]
forE[s, s]
.Eₘ[s]
forEₘ[s, s]
.
TODO #
It's possibly interesting to have
(s ×ˢ s) ×ˢ t ×ˢ t).filter (fun x : (α × α) × α × α ↦ x.1.1 * x.2.1 = x.1.2 * x.2.2)
(whose card
is mulEnergy s t
) as a standalone definition.
The additive energy E[s, t]
of two finsets s
and t
in a group is the number of
quadruples (a₁, a₂, b₁, b₂) ∈ s × s × t × t
such that a₁ + b₁ = a₂ + b₂
.
The notation E[s, t]
is available in scope Combinatorics.Additive
.
Equations
Instances For
The multiplicative energy Eₘ[s, t]
of two finsets s
and t
in a group is the number of
quadruples (a₁, a₂, b₁, b₂) ∈ s × s × t × t
such that a₁ * b₁ = a₂ * b₂
.
The notation Eₘ[s, t]
is available in scope Combinatorics.Additive
.
Equations
Instances For
The multiplicative energy of two finsets s
and t
in a group is the number of quadruples
(a₁, a₂, b₁, b₂) ∈ s × s × t × t
such that a₁ * b₁ = a₂ * b₂
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pretty printer defined by notation3
command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The additive energy of two finsets s
and t
in a group is the number of quadruples
(a₁, a₂, b₁, b₂) ∈ s × s × t × t
such that a₁ + b₁ = a₂ + b₂
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pretty printer defined by notation3
command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The multiplicative energy of a finset s
in a group is the number of quadruples
(a₁, a₂, b₁, b₂) ∈ s × s × s × s
such that a₁ * b₁ = a₂ * b₂
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pretty printer defined by notation3
command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The additive energy of a finset s
in a group is the number of quadruples
(a₁, a₂, b₁, b₂) ∈ s × s × s × s
such that a₁ + b₁ = a₂ + b₂
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pretty printer defined by notation3
command.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Finset.addEnergy_eq_sum_sq'.match_1 motive x h_1 = Prod.casesOn x fun (fst snd : α) => h_1 fst snd