-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: non-trivial atoms and
convexify
improvements
- Loading branch information
Showing
124 changed files
with
4,068 additions
and
2,044 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
.DS_Store | ||
|
||
/.lake | ||
/build | ||
/solver/build | ||
/solver/test.cbf | ||
/solver/test.sol | ||
/rewriter/*.dot | ||
/rewriter/*.svg | ||
/ffi/build | ||
/ffi/lake-packages | ||
/lake-packages | ||
/solver/*.cbf | ||
/solver/*.sol | ||
/egg-convexify/*.dot | ||
/egg-convexify/*.svg | ||
*.olean | ||
|
||
/playground | ||
/evaluation | ||
/plots | ||
|
||
/CvxLean/Tactic/Solver/Mosek/Path.lean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
import CvxLean.Command.Solve | ||
import CvxLean.Tactic.Convexify.Convexify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import Mathlib.Data.Real.Basic | ||
import Mathlib.LinearAlgebra.Matrix.PosDef | ||
|
||
namespace Real | ||
namespace Real | ||
|
||
def Matrix.PSDCone {m} [Fintype m] (M : Matrix m m Real) : Prop := | ||
def Matrix.PSDCone {m} [Fintype m] (M : Matrix m m Real) : Prop := | ||
Matrix.PosSemidef M | ||
|
||
end Real |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import Mathlib.Data.Real.Basic | ||
import CvxLean.Lib.Math.Data.Matrix | ||
|
||
namespace Real | ||
namespace Real | ||
|
||
def zeroCone (x : Real) : Prop := | ||
x = 0 | ||
|
||
def Vec.zeroCone (x : Fin n → Real) : Prop := | ||
def Vec.zeroCone (x : Fin n → Real) : Prop := | ||
∀ i, Real.zeroCone (x i) | ||
|
||
end Real | ||
def Matrix.zeroCone (M : Matrix (Fin n) (Fin m) Real) : Prop := | ||
∀ i j, Real.zeroCone (M i j) | ||
|
||
end Real |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.