Skip to content

Commit

Permalink
test for issue #23
Browse files Browse the repository at this point in the history
  • Loading branch information
lecopivo committed Sep 16, 2023
1 parent 5834e79 commit 78575ce
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/issues/23.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import SciLean

open SciLean

variable
{K : Type _} [IsROrC K]
{X : Type _} [Vec K X]

-- example (f : X → Fin 5 → Fin 10 → Fin 15→ K) (hf : ∀ i j k, IsDifferentiable K (f · i j k))
-- : IsDifferentiable K f := by fprop

-- example (f : X → Fin 5 → Fin 10 → Fin 15→ K) (hf : ∀ i j k, IsDifferentiable K (f · i j k))
-- : IsDifferentiable K (fun x => f x i j) := by fprop

-- example (f : X → Fin 5 → Fin 10 → Fin 15→ K) (hf : ∀ i j k, IsDifferentiable K (f · i j k))
-- : IsDifferentiable K (fun x => f x) := by fprop

-- example (f : X → Fin 5 → Fin 10 → Fin 15→ K) (hf : ∀ i j k, IsDifferentiable K (f · i j k))
-- : IsDifferentiable K (fun x i j => f x i j) := by fprop

example (f : X → Fin 5 → Fin 10 → Fin 15→ K) (hf : ∀ i j k, IsDifferentiable K (f · i j k))
: IsDifferentiable K (fun x i j k => f x i j k) := by fprop

0 comments on commit 78575ce

Please sign in to comment.