Skip to content

Commit b8f7e28

Browse files
committed
style: make style chack pass
1 parent 178e510 commit b8f7e28

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

CvxLean/Examples/FittingSphere.lean

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ equivalence* eqv/fittingSphereT (n m : ℕ) (x : Fin m → Fin n → ℝ) : fitt
127127
apply ChangeOfVariablesBij.toEquivalence
128128
(fun (ct : (Fin n → ℝ) × ℝ) => (ct.1, sqrt (ct.2 + ‖ct.1‖ ^ 2))) covBij
129129
· rintro cr h; exact h
130-
. rintro ct _; simp [covBij, sq_nonneg]
130+
· rintro ct _; simp [covBij, sq_nonneg]
131131
rename_vars [c, t]
132132
rename_constrs [h₁, h₂]
133133
conv_constr h₁ => dsimp

CvxLean/Lib/Math/SchurComplement.lean

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ lemma IsHermitian.fromBlocks₁₁ [Fintype m] [DecidableEq m] {A : Matrix m m
5555
apply hA.inv
5656
rw [isHermitian_fromBlocks_iff]
5757
constructor
58-
. intro h
58+
· intro h
5959
apply IsHermitian.sub h.2.2.2 hBAB
60-
. intro h
60+
· intro h
6161
refine' ⟨hA, rfl, conjTranspose_conjTranspose B, _⟩
6262
rw [← sub_add_cancel D]
6363
apply IsHermitian.add h hBAB

CvxLean/Tactic/DCP/AtomLibrary/Fns/Log.lean

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ solutionEqualsAtom by
2020
rfl;
2121
feasibility (c_exp : by
2222
unfold expCone
23-
simp
24-
rw [Real.exp_log cond])
23+
simp [Real.exp_log cond])
2524
optimality by
2625
intros y hy
2726
unfold expCone at c_exp

CvxLean/Tactic/DCP/AtomLibrary/Fns/Sqrt.lean

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ feasibility
2626
dsimp
2727
unfold rotatedSoCone
2828
refine ⟨?_, cond, by norm_num⟩
29-
simp
30-
rw [sq_sqrt cond])
29+
simp [sq_sqrt cond])
3130
optimality by
3231
intros y hy
3332
unfold rotatedSoCone at c1

0 commit comments

Comments
 (0)