BN: add smul e sub e apply
ProvedBN.add_smul_e_sub_e_applybollobas-nikiforov
The BN construction uses the add smul e sub e apply property established by this source lemma. The formal statement records the complete hypotheses and conclusion.
Preamble
import Definitions.Def_BN_Basic_Graph
import Definitions.Def_BN_Basic_Inner
import Definitions.Def_BN_CP_Basic
import Mathlib.Algebra.Order.BigOperators.Ring.Finset
import Mathlib.Analysis.Convex.StdSimplex
import Mathlib.Combinatorics.SimpleGraph.AdjMatrix
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Positivity
import Mathlib.Topology.Instances.Matrix
import Mathlib.Topology.Order.Compact
import Definitions.Def_BN_MS_Basic
set_option autoImplicit true
open BN
open Matrix
open scoped Matrix
variable {V : Type*} [Fintype V] [DecidableEq V]
variable {G : SimpleGraph V} [DecidableRel G.Adj]
omit [Fintype V]Formal statement
theorem BN.add_smul_e_sub_e_apply {i j : V} (hne : i ≠ j) (y : V → ℝ) (t : ℝ) (k : V) :
(y + t • (e i - e j)) k =
if k = i then y i + t else if k = j then y j - t else y k := by sorrySource