Positive comparison odds on any undirected comparison domain. Every finite closed comparison walk is tested, including returns and repeated vertices.
def
MindFormal.SharedSupportRepresentation.walkProduct
{V : Type u_1}
{G : SimpleGraph V}
(odds : V → V → ℝ)
{a b : V}
:
Equations
Instances For
theorem
MindFormal.SharedSupportRepresentation.walkProduct_pos
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
(hpos : ∀ (a b : V), G.Adj a b → 0 < odds a b)
{a b : V}
(p : G.Walk a b)
:
theorem
MindFormal.SharedSupportRepresentation.walkProduct_append
{V : Type u_1}
{G : SimpleGraph V}
(odds : V → V → ℝ)
{a b c : V}
(p : G.Walk a b)
(q : G.Walk b c)
:
def
MindFormal.SharedSupportRepresentation.CycleLaw
{V : Type u_1}
(G : SimpleGraph V)
(odds : V → V → ℝ)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
MindFormal.SharedSupportRepresentation.PositiveWeights
{V : Type u_1}
(G : SimpleGraph V)
(odds : V → V → ℝ)
(w : V → ℝ)
:
Equations
Instances For
theorem
MindFormal.SharedSupportRepresentation.represented_walk
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
{w : V → ℝ}
(hw : PositiveWeights G odds w)
{a b : V}
(p : G.Walk a b)
:
theorem
MindFormal.SharedSupportRepresentation.path_independent
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
(hpos : ∀ (a b : V), G.Adj a b → 0 < odds a b)
(hc : CycleLaw G odds)
{a b : V}
(p q : G.Walk a b)
:
noncomputable def
MindFormal.SharedSupportRepresentation.componentRoute
{V : Type u_1}
{G : SimpleGraph V}
(c : G.ConnectedComponent)
(v : V)
(hv : G.connectedComponentMk v = c)
:
Equations
Instances For
noncomputable def
MindFormal.SharedSupportRepresentation.componentWeight
{V : Type u_1}
{G : SimpleGraph V}
(odds : V → V → ℝ)
(c : G.ConnectedComponent)
(v : V)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.SharedSupportRepresentation.componentWeight_pos
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
(hpos : ∀ (a b : V), G.Adj a b → 0 < odds a b)
(c : G.ConnectedComponent)
(v : V)
:
theorem
MindFormal.SharedSupportRepresentation.componentWeight_edge
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
(hpos : ∀ (a b : V), G.Adj a b → 0 < odds a b)
(hc : CycleLaw G odds)
(c : G.ConnectedComponent)
{a b : V}
(ha : G.connectedComponentMk a = c)
(hb : G.connectedComponentMk b = c)
(hab : G.Adj a b)
:
theorem
MindFormal.SharedSupportRepresentation.positive_weights_iff
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
(hpos : ∀ (a b : V), G.Adj a b → 0 < odds a b)
:
Choosing one route per vertex is the spanning-tree construction's algebra. The closed-walk test proves every other route gives the same weights. Separate connected components are allowed and carry separate arbitrary positive scales.
theorem
MindFormal.SharedSupportRepresentation.component_scale
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
{w z : V → ℝ}
(hw : PositiveWeights G odds w)
(hz : PositiveWeights G odds z)
{a b : V}
(hab : G.Reachable a b)
:
theorem
MindFormal.SharedSupportRepresentation.rescale_weights
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
{w : V → ℝ}
(hw : PositiveWeights G odds w)
(k : G.ConnectedComponent → ℝ)
(hk : ∀ (c : G.ConnectedComponent), 0 < k c)
:
PositiveWeights G odds fun (v : V) => k (G.connectedComponentMk v) * w v
theorem
MindFormal.SharedSupportRepresentation.normalize_weights
{V : Type u_1}
{G : SimpleGraph V}
[Fintype V]
[Nonempty V]
{odds : V → V → ℝ}
{w : V → ℝ}
(hw : PositiveWeights G odds w)
:
def
MindFormal.SharedSupportRepresentation.BinaryWeights
{V : Type u_1}
(G : SimpleGraph V)
(p : V → V → ℝ)
(w : V → ℝ)
:
Equations
Instances For
theorem
MindFormal.SharedSupportRepresentation.binary_weights_equiv
{V : Type u_1}
{G : SimpleGraph V}
{p : V → V → ℝ}
{w : V → ℝ}
(hp : ∀ (a b : V), G.Adj a b → p a b < 1)
:
theorem
MindFormal.SharedSupportRepresentation.binary_weights_iff
{V : Type u_1}
{G : SimpleGraph V}
{p : V → V → ℝ}
(hp : ∀ (a b : V), G.Adj a b → 0 < p a b ∧ p a b < 1)
:
theorem
MindFormal.SharedSupportRepresentation.root_normalized
{V : Type u_1}
{G : SimpleGraph V}
{odds : V → V → ℝ}
(hc : CycleLaw G odds)
(c : G.ConnectedComponent)
:
theorem
MindFormal.SharedSupportRepresentation.normalized_unique
{V : Type u_1}
{G : SimpleGraph V}
[Fintype V]
[Nonempty V]
{odds : V → V → ℝ}
(hG : G.Preconnected)
{w z : V → ℝ}
(hw : PositiveWeights G odds w)
(hz : PositiveWeights G odds z)
(hsw : ∑ v : V, w v = 1)
(hsz : ∑ v : V, z v = 1)
: