File tree Expand file tree Collapse file tree 4 files changed +709
-0
lines changed Expand file tree Collapse file tree 4 files changed +709
-0
lines changed Original file line number Diff line number Diff line change
1
+ import Mathlib
2
+
3
+ section Defs
4
+
5
+ abbrev SpaceDimension := ℕ
6
+
7
+ structure Delta where
8
+ val : ℝ
9
+ prop : val > 0
10
+
11
+ instance : Coe Delta ℝ where
12
+ coe δ := δ.val
13
+
14
+ structure CDelta where
15
+ val : ℝ
16
+ prop : val > 0
17
+
18
+ instance : Coe CDelta ℝ where
19
+ coe c_δ := c_δ.val
20
+
21
+ structure ConstK where
22
+ val : ℝ
23
+ prop : val > 0
24
+
25
+ instance : Coe ConstK ℝ where
26
+ coe K := K.val
27
+
28
+ structure ConstM0 where
29
+ val : ℝ
30
+ prop : 1 < val
31
+
32
+ instance : Coe ConstM0 ℝ where
33
+ coe M0 := M0.val
34
+
35
+ instance : Coe ConstM0 ℝ where
36
+ coe M0 := M0.val
37
+
38
+ abbrev SideLength := ℕ
39
+
40
+ structure VolM' where
41
+ val : ℕ
42
+
43
+ instance : Coe VolM' ℕ where
44
+ coe M0 := M0.val
45
+
46
+ abbrev LatticeSpacing := ℕ
47
+
48
+ structure LatticeSpacing' where
49
+ val : ℕ
50
+
51
+ instance : Coe LatticeSpacing' ℕ where
52
+ coe N := N.val
53
+
54
+ abbrev RGStepL := ℕ
55
+
56
+ structure RGStepL' where
57
+ val : ℕ
58
+ prop : 1 < val
59
+
60
+ instance : Coe RGStepL' ℕ where
61
+ coe L := L.val
62
+
63
+ end Defs
File renamed without changes.
You can’t perform that action at this time.
0 commit comments