OAI/Analysis/ForestSpace/Segments.lean

GitHub source file

30 declarations, 0 contain sorry, 0 declared as axioms

  1. def OAI.ForestSpace.ForestOrder line 14

    Source documentation

    Every ancestral cone is a chain, the order-theoretic forest condition.

    def ForestOrder (V : Type) [PartialOrder V] : Prop :=
    …
  2. def OAI.ForestSpace.IsSegment line 18

    Source documentation

    A finite, order-convex chain. The empty chain is a harmless zero test.

    Also declared: ComparatorChallenges/ForestSpace.lean:73 (same declaration text).

    def IsSegment {V : Type} [PartialOrder V] (S : Finset V) : Prop :=
    …
  3. def OAI.ForestSpace.segSum line 23

    Source documentation

    The sum of coordinates over a segment.

    Also declared: ComparatorChallenges/ForestSpace.lean:78 (same declaration text).

    def segSum {V : Type} (u : V → ℝ) (S : Finset V) : ℝ := ∑ v ∈ S, u v
  4. def OAI.ForestSpace.TestBound line 26

    Source documentation

    Squared bound on every disjoint family of segment tests.

    Also declared: ComparatorChallenges/ForestSpace.lean:81 (same declaration text).

    def TestBound {V : Type} [PartialOrder V] (u : V → ℝ) (C : ℝ) : Prop :=
    …
  5. theorem OAI.ForestSpace.isSegment_empty line 34
  6. theorem OAI.ForestSpace.isSegment_singleton line 37
  7. theorem OAI.ForestSpace.segSum_empty line 51
  8. theorem OAI.ForestSpace.segSum_zero line 53
  9. theorem OAI.ForestSpace.segSum_add line 56
  10. theorem OAI.ForestSpace.segSum_sub line 60
  11. theorem OAI.ForestSpace.segSum_smul line 64
  12. theorem OAI.ForestSpace.TestBound.mono line 68
  13. theorem OAI.ForestSpace.TestBound.nonneg line 71
  14. theorem OAI.ForestSpace.TestBound.single line 74
  15. theorem OAI.ForestSpace.TestBound.zero line 79
  16. theorem OAI.ForestSpace.TestBound.smul line 83
  17. theorem OAI.ForestSpace.TestBound.add line 89
  18. theorem OAI.ForestSpace.IsSegment.head line 116

    Source documentation

    Cutting a segment by an ancestral set produces another segment.

     theorem IsSegment.head {S : Finset V} (hS : IsSegment S) (H : Set V)
        (hH : IsLowerSet H) [DecidablePred (· ∈ H)] :
        IsSegment (S.filter (· ∈ H)) := by
    …

    Mentions: OAI.ForestSpace.IsSegment

  19. theorem OAI.ForestSpace.IsSegment.tail line 126
  20. theorem OAI.ForestSpace.TestBound.restrict line 137
  21. theorem OAI.ForestSpace.TestBound.restrict_compl line 146
  22. theorem OAI.ForestSpace.IsSegment.endpoints line 160
  23. def OAI.ForestSpace.Gate line 174

    Source documentation

    A first vertex outside an ancestral set (including unattached roots).

    def Gate (H : Set V) (g : V) : Prop := g ∉ H ∧ ∀ v, v < g → v ∈ H
  24. theorem OAI.ForestSpace.Gate.eq_of_le line 176
  25. theorem OAI.ForestSpace.IsSegment.gate_unique line 181
  26. theorem OAI.ForestSpace.IsSegment.exists_gate line 187
  27. def OAI.ForestSpace.SupportedOn line 210

    Source documentation

    A coordinate vector supported on a specified set.

    def SupportedOn (u : V → ℝ) (H : Set V) : Prop := ∀ v, v ∉ H → u v = 0
    …
  28. theorem OAI.ForestSpace.SupportedOn.segSum_filter line 213
  29. theorem OAI.ForestSpace.SupportedOn.segSum_eq_zero line 224
  30. theorem OAI.ForestSpace.cross_zero_of_no_gate line 228