Samplinglib
Lean gate not recorded for this source state main · ed709a7f320d
test module

Tests.WassersteinTriangleCore

0 named declarations scanned from Tests/WassersteinTriangleCore.lean.

Imports
Imported by
Placeholder scan
0 declaration(s) flagged
Gate status
Partial

Declarations

This aggregator contains no named declarations.

Complete Lean source

Tests/WassersteinTriangleCore.lean — full module with imports and context
Download module (.lean)
import AutoSamplingTheory.TechnicalLemmas.Measure.WassersteinTriangleCore

namespace AutoSamplingTheory.Tests.WassersteinTriangleCore

open MeasureTheory
open AutoSamplingTheory.TechnicalLemmas.Measure.WassersteinTriangleCore

#check edgeLength13_le_add
#check l2Seminorm_mono
#check l2Seminorm_add_le
#check l2_edge_triangle

example {E : Type*} [NormedAddCommGroup E] (p : ((E × E) × E)) :
    edgeLength13 p ≤ edgeLength12 p + edgeLength23 p :=
  edgeLength13_le_add p

example {E : Type*} [NormedAddCommGroup E] [MeasurableSpace E] [BorelSpace E]
    [SecondCountableTopology E] (γ : Measure ((E × E) × E)) :
    l2Seminorm γ (edgeLength13 (E := E)) ≤
      l2Seminorm γ (edgeLength12 (E := E)) +
        l2Seminorm γ (edgeLength23 (E := E)) :=
  l2_edge_triangle γ

end AutoSamplingTheory.Tests.WassersteinTriangleCore