LeanPool.Duality.FarkasSpecial #
F∞ is sugar for Extend F, the type of values in F ∪ {⊥, ⊤}.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pretty-print Extend F back as F∞.
Equations
- One or more equations did not get rendered due to their size.
Instances For
F≥0 is sugar for NNeg F, the subtype of nonnegative elements of F.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pretty-print NNeg F back as F≥0.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Scalar action of a nonnegative scalar on F∞: c • ⊥ = ⊥, c • ⊤ = ⊤ when c > 0
(and c • ⊤ = 0 when c = 0), and c • (f : F) = c * f on finite values.
Equations
Instances For
Equations
- instSMulZeroClassNNegExtend = { smul := EF.smulNN, smul_zero := ⋯ }
dotWeig v w is the sum of the element-wise products w i • v i akin the dot product
but heterogeneous (mnemonic: "vector times weights").
Note that the order of arguments (also with the infix notation) is opposite than in the
SMul it builds upon.
Instances For
dotWeig v w is the sum of the element-wise products w i • v i akin the dot product
but heterogeneous (mnemonic: "vector times weights").
Note that the order of arguments (also with the infix notation) is opposite than in the
SMul it builds upon.
Equations
- «term_ᵥ⬝_» = Lean.ParserDescr.trailingNode `«term_ᵥ⬝_» 72 72 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ᵥ⬝ ") (Lean.ParserDescr.cat `term 73))
Instances For
Matrix.mulWeig M w is the heterogeneous analogue of the matrix-vector product
Matrix.mulVec M w (mnemonic: "matrix times weights").
Note that the order of arguments (also with the infix notation) is opposite than in the
SMul it builds upon.
Instances For
Matrix.mulWeig M w is the heterogeneous analogue of the matrix-vector product
Matrix.mulVec M w (mnemonic: "matrix times weights").
Note that the order of arguments (also with the infix notation) is opposite than in the
SMul it builds upon.
Equations
- «term_ₘ*_» = Lean.ParserDescr.trailingNode `«term_ₘ*_» 73 74 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ₘ* ") (Lean.ParserDescr.cat `term 73))
Instances For
The proof of extendedFarkas below is split across several private helpers so that no
single proof body exceeds the LeanPool 200-line cap, and so the elaborator does not run out
of heartbeats.
Just like inequalityFarkas_neg but for A and b over F∞.