Skip to content

Commit 22ca236

Browse files
committed
..
1 parent 2399602 commit 22ca236

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

QCLib/Mathlib/LinearAlgebra/EuclideanPi-testing.lean

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,11 @@ variable {l : ι → Type*} [∀ i, Fintype (l i)]
1111
variable {f : (i : ι) → EuclideanSpace ℂ (l i)}
1212

1313
instance : PiOuterProduct (fun i ↦ EuclideanSpace ℂ (l i)) (EuclideanSpace ℂ (Π i, l i)) where
14-
tprod := fun f ↦ WithLp.toLp 2 (⨂ i, ((f i) : (l i → ℂ)))
14+
tprod f := WithLp.toLp 2 (⨂ i, ((f i) : (l i → ℂ)))
15+
16+
17+
#synth SMul (Matrix (Fin 2) (Fin 2) ℂ) (EuclideanSpace ℂ (Fin 2))
18+
19+
#check Metric.sphere (0 : (EuclideanSpace ℝ (Fin 2))) 1
20+
21+
#synth SMul (Matrix.unitaryGroup (Fin 2) ℝ) ((Metric.sphere (0 : (EuclideanSpace ℝ (Fin 2))) 1))

0 commit comments

Comments
 (0)