cfahlgren1's picture
download
raw
26.8 kB
19
def raw3680 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 0, -1, 1], ![1, 0, -1, 0], ![1, 1, 2, -4]]
21
def raw3680step0 : Matrix (Fin 5) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 1, -2], ![0, 0, 1, -1], ![-1, 0, 1, 0], ![-1, -1, -2, 4]]
23
def raw3680step1 : Matrix (Fin 5) (Fin 4) ℤ := ![![-1, -1, -2, 4], ![0, -1, 1, 0], ![0, 0, 1, -1], ![0, 2, -1, -1], ![1, 0, 1, -2]]
25
theorem canonical3680 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3680 = injectiveMoment H node2491 := by
proof · 10 lines
  calc
    injectiveMoment H raw3680 = injectiveMoment H raw3680step0 := by
      have heq : raw3680step0 = -raw3680 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3680).symm
    injectiveMoment H raw3680step0 = injectiveMoment H raw3680step1 := by
      have heq : raw3680step1 = (fun i j => raw3680step0 (permutation149 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3680step0 permutation149 permutation15
    _ = injectiveMoment H node2491 := by rfl
38
def raw3681 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, -2, 1], ![1, -1, 0, 0], ![1, 1, 2, -4]]
40
theorem canonical3681 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3681 = injectiveMoment H node2060 := by
proof · 1 line
  rfl
44
def raw3682 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, -2, 1], ![2, 0, 2, -4]]
46
def raw3682step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, 0, -1, 2], ![0, -2, 1, 1], ![0, 2, 2, -4], ![1, 0, -2, 1]]
48
theorem canonical3682 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3682 = injectiveMoment H node1234 := by
proof · 6 lines
  calc
    injectiveMoment H raw3682 = injectiveMoment H raw3682step0 := by
      have heq : raw3682step0 = (fun i j => raw3682 (permutation16 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3682 permutation16 permutation15
    _ = injectiveMoment H node1234 := by rfl
57
def raw3683 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, -1, 0], ![0, 1, -1, 0], ![2, -1, 2, -3]]
59
theorem canonical3683 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3683 = injectiveMoment H node2061 := by
proof · 1 line
  rfl
63
def raw3684 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, -1, 0], ![1, -1, -1, 1], ![1, 1, 2, -4]]
65
theorem canonical3684 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3684 = injectiveMoment H node2062 := by
proof · 1 line
  rfl
69
def raw3685 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, -1, 0], ![1, -1, 0, 0], ![1, 1, 1, -3]]
71
theorem canonical3685 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3685 = injectiveMoment H node2063 := by
proof · 1 line
  rfl
75
def raw3686 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, -1, 0], ![1, 0, -1, 0], ![1, 0, 2, -3]]
77
def raw3686step0 : Matrix (Fin 5) (Fin 4) ℤ := ![![-1, 0, -1, 2], ![0, -2, 1, 1], ![0, 1, -1, 0], ![0, 1, 2, -3], ![1, 0, -1, 0]]
79
theorem canonical3686 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3686 = injectiveMoment H node2717 := by
proof · 6 lines
  calc
    injectiveMoment H raw3686 = injectiveMoment H raw3686step0 := by
      have heq : raw3686step0 = (fun i j => raw3686 (permutation60 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3686 permutation60 permutation15
    _ = injectiveMoment H node2717 := by rfl
88
def raw3687 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, -1, 0], ![2, 0, 1, -3]]
90
def raw3687step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, 1, -2, 1], ![0, 1, 2, -3], ![1, -1, 0, 0]]
92
theorem canonical3687 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3687 = injectiveMoment H node1079 := by
proof · 6 lines
  calc
    injectiveMoment H raw3687 = injectiveMoment H raw3687step0 := by
      have heq : raw3687step0 = (fun i j => raw3687 (permutation16 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3687 permutation16 permutation17
    _ = injectiveMoment H node1079 := by rfl
101
def raw3688 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, 0, -1], ![2, 0, 0, -2]]
103
def raw3688step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, 0, 2, -2], ![0, 1, -2, 1], ![1, 0, 0, -1]]
105
theorem canonical3688 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3688 = injectiveMoment H node1053 := by
proof · 6 lines
  calc
    injectiveMoment H raw3688 = injectiveMoment H raw3688step0 := by
      have heq : raw3688step0 = (fun i j => raw3688 (permutation19 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3688 permutation19 permutation17
    _ = injectiveMoment H node1053 := by rfl
114
def raw3689 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 1, 1, -2], ![2, 0, -1, -1]]
116
def raw3689step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, -1, 2, -1], ![0, 1, -2, 1], ![1, 1, 0, -2]]
118
theorem canonical3689 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3689 = injectiveMoment H node1005 := by
proof · 6 lines
  calc
    injectiveMoment H raw3689 = injectiveMoment H raw3689step0 := by
      have heq : raw3689step0 = (fun i j => raw3689 (permutation19 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3689 permutation19 permutation17
    _ = injectiveMoment H node1005 := by rfl
127
def raw3690 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, 2, -2, 0], ![2, -1, 2, -3]]
129
def raw3690step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 0, 2], ![0, -1, 2, -1], ![1, -1, -2, 2], ![1, 2, 0, -3]]
131
def raw3690step1 : Matrix (Fin 4) (Fin 4) ℤ := ![![2, 0, 0, -2], ![0, 1, -2, 1], ![-1, 1, 2, -2], ![-1, -2, 0, 3]]
133
def raw3690step2 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, -1, 0, 3], ![0, 2, 0, -2], ![1, -1, 2, -2], ![1, 0, -2, 1]]
135
theorem canonical3690 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3690 = injectiveMoment H node496 := by
proof · 14 lines
  calc
    injectiveMoment H raw3690 = injectiveMoment H raw3690step0 := by
      have heq : raw3690step0 = raw3690.transpose := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_transpose H raw3690).symm
    injectiveMoment H raw3690step0 = injectiveMoment H raw3690step1 := by
      have heq : raw3690step1 = -raw3690step0 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3690step0).symm
    injectiveMoment H raw3690step1 = injectiveMoment H raw3690step2 := by
      have heq : raw3690step2 = (fun i j => raw3690step1 (permutation28 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3690step1 permutation28 permutation15
    _ = injectiveMoment H node496 := by rfl
152
def raw3691 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![1, -1, -1, 1], ![1, 2, 1, -4]]
154
def raw3691step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 1, -2], ![-1, 1, 1, -1], ![-1, -2, -1, 4]]
156
def raw3691step1 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, -1, -1, 4], ![0, -1, 2, -1], ![1, 1, -1, -1], ![1, 1, 0, -2]]
158
theorem canonical3691 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3691 = injectiveMoment H node454 := by
proof · 10 lines
  calc
    injectiveMoment H raw3691 = injectiveMoment H raw3691step0 := by
      have heq : raw3691step0 = -raw3691 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3691).symm
    injectiveMoment H raw3691step0 = injectiveMoment H raw3691step1 := by
      have heq : raw3691step1 = (fun i j => raw3691step0 (permutation28 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3691step0 permutation28 permutation17
    _ = injectiveMoment H node454 := by rfl
171
def raw3692 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![1, -1, 0, 0], ![1, 2, 0, -3]]
173
def raw3692step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, -1, 1, 0], ![0, 2, 1, -3], ![1, 0, -2, 1]]
175
theorem canonical3692 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3692 = injectiveMoment H node1003 := by
proof · 6 lines
  calc
    injectiveMoment H raw3692 = injectiveMoment H raw3692step0 := by
      have heq : raw3692step0 = (fun i j => raw3692 (permutation18 i) (permutation23 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3692 permutation18 permutation23
    _ = injectiveMoment H node1003 := by rfl
184
def raw3693 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![1, 0, -2, 1], ![1, 1, 2, -4]]
186
def raw3693step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 1, -2], ![-1, 0, 2, -1], ![-1, -1, -2, 4]]
188
def raw3693step1 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, -2, 4], ![0, -1, 2, -1], ![0, 2, -1, -1], ![1, 0, 1, -2]]
190
theorem canonical3693 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3693 = injectiveMoment H node896 := by
proof · 10 lines
  calc
    injectiveMoment H raw3693 = injectiveMoment H raw3693step0 := by
      have heq : raw3693step0 = -raw3693 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3693).symm
    injectiveMoment H raw3693step0 = injectiveMoment H raw3693step1 := by
      have heq : raw3693step1 = (fun i j => raw3693step0 (permutation31 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3693step0 permutation31 permutation15
    _ = injectiveMoment H node896 := by rfl
203
def raw3694 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![1, 0, -1, 0], ![1, 1, 1, -3]]
205
def raw3694step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 1, -2], ![-1, 0, 1, 0], ![-1, -1, -1, 3]]
207
def raw3694step1 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, -1, 3], ![0, -1, 1, 0], ![0, 2, -1, -1], ![1, 0, 1, -2]]
209
theorem canonical3694 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3694 = injectiveMoment H node939 := by
proof · 10 lines
  calc
    injectiveMoment H raw3694 = injectiveMoment H raw3694step0 := by
      have heq : raw3694step0 = -raw3694 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3694).symm
    injectiveMoment H raw3694step0 = injectiveMoment H raw3694step1 := by
      have heq : raw3694step1 = (fun i j => raw3694step0 (permutation31 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3694step0 permutation31 permutation15
    _ = injectiveMoment H node939 := by rfl
222
def raw3695 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![1, 0, 0, -1], ![1, 1, 0, -2]]
224
def raw3695step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, 0, 1, -1], ![0, 1, -2, 1], ![1, 0, 1, -2]]
226
theorem canonical3695 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3695 = injectiveMoment H node1047 := by
proof · 6 lines
  calc
    injectiveMoment H raw3695 = injectiveMoment H raw3695step0 := by
      have heq : raw3695step0 = (fun i j => raw3695 (permutation17 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3695 permutation17 permutation17
    _ = injectiveMoment H node1047 := by rfl
235
def raw3696 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![1, 0, 1, -2], ![1, 1, -1, -1]]
237
def raw3696step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, 1, -2, 1], ![0, 1, 1, -2], ![1, -1, 1, -1]]
239
theorem canonical3696 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3696 = injectiveMoment H node1078 := by
proof · 6 lines
  calc
    injectiveMoment H raw3696 = injectiveMoment H raw3696step0 := by
      have heq : raw3696step0 = (fun i j => raw3696 (permutation15 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3696 permutation15 permutation17
    _ = injectiveMoment H node1078 := by rfl
248
def raw3697 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![1, 1, -1, -1], ![1, 0, 1, -2]]
250
def raw3697step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, 1, -2, 1], ![0, 1, 1, -2], ![1, -1, 1, -1]]
252
theorem canonical3697 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3697 = injectiveMoment H node1078 := by
proof · 6 lines
  calc
    injectiveMoment H raw3697 = injectiveMoment H raw3697step0 := by
      have heq : raw3697step0 = (fun i j => raw3697 (permutation16 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3697 permutation16 permutation17
    _ = injectiveMoment H node1078 := by rfl
261
def raw3698 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, -1, -1, 2], ![1, 1, -1, -1], ![1, 1, 1, -3]]
263
def raw3698step0 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, -1, 2], ![0, -1, 0, 1], ![1, 1, -1, -1], ![1, 1, 1, -3]]
265
theorem canonical3698 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3698 = injectiveMoment H node2059 := by
proof · 6 lines
  calc
    injectiveMoment H raw3698 = injectiveMoment H raw3698step0 := by
      have heq : raw3698step0 = (fun i j => raw3698 (permutation39 i) (permutation9 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3698 permutation39 permutation9
    _ = injectiveMoment H node2059 := by rfl
274
def raw3699 : Matrix (Fin 6) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, 0, -1, 1], ![0, 1, -1, 0], ![1, -1, 0, 0], ![1, 1, 1, -3]]
276
theorem canonical3699 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3699 = injectiveMoment H node3203 := by
proof · 1 line
  rfl
280
def raw3700 : Matrix (Fin 6) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, 0, -1, 1], ![1, -1, 0, 0], ![1, 0, -1, 0], ![0, 2, 1, -3]]
282
def raw3700step0 : Matrix (Fin 6) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 0, -1], ![0, 0, 1, -1], ![-1, 1, 0, 0], ![-1, 0, 1, 0], ![0, -2, -1, 3]]
284
def raw3700step1 : Matrix (Fin 6) (Fin 4) ℤ := ![![-2, -1, 0, 3], ![0, -1, 2, -1], ![0, 1, -1, 0], ![0, 1, 0, -1], ![1, 0, -1, 0], ![1, 0, 0, -1]]
286
theorem canonical3700 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3700 = injectiveMoment H node2977 := by
proof · 10 lines
  calc
    injectiveMoment H raw3700 = injectiveMoment H raw3700step0 := by
      have heq : raw3700step0 = -raw3700 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3700).symm
    injectiveMoment H raw3700step0 = injectiveMoment H raw3700step1 := by
      have heq : raw3700step1 = (fun i j => raw3700step0 (permutation328 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3700step0 permutation328 permutation17
    _ = injectiveMoment H node2977 := by rfl
299
def raw3701 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, 0, -1, 1], ![1, 0, -1, 0], ![1, 1, 1, -3]]
301
def raw3701step0 : Matrix (Fin 5) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 0, -1], ![0, 0, 1, -1], ![-1, 0, 1, 0], ![-1, -1, -1, 3]]
303
def raw3701step1 : Matrix (Fin 5) (Fin 4) ℤ := ![![-1, -1, -1, 3], ![0, -1, 1, 0], ![0, 0, 1, -1], ![0, 2, -1, -1], ![1, 0, 0, -1]]
305
theorem canonical3701 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3701 = injectiveMoment H node2532 := by
proof · 10 lines
  calc
    injectiveMoment H raw3701 = injectiveMoment H raw3701step0 := by
      have heq : raw3701step0 = -raw3701 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3701).symm
    injectiveMoment H raw3701step0 = injectiveMoment H raw3701step1 := by
      have heq : raw3701step1 = (fun i j => raw3701step0 (permutation149 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3701step0 permutation149 permutation15
    _ = injectiveMoment H node2532 := by rfl
318
def raw3702 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, 0, -1, 1], ![1, 1, -1, -1], ![1, 0, 1, -2]]
320
def raw3702step0 : Matrix (Fin 5) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 0, -1], ![0, 0, 1, -1], ![-1, -1, 1, 1], ![-1, 0, -1, 2]]
322
def raw3702step1 : Matrix (Fin 5) (Fin 4) ℤ := ![![-1, -1, 1, 1], ![0, -1, -1, 2], ![0, 0, 1, -1], ![0, 2, -1, -1], ![1, 0, 0, -1]]
324
theorem canonical3702 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3702 = injectiveMoment H node2623 := by
proof · 10 lines
  calc
    injectiveMoment H raw3702 = injectiveMoment H raw3702step0 := by
      have heq : raw3702step0 = -raw3702 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3702).symm
    injectiveMoment H raw3702step0 = injectiveMoment H raw3702step1 := by
      have heq : raw3702step1 = (fun i j => raw3702step0 (permutation126 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3702step0 permutation126 permutation15
    _ = injectiveMoment H node2623 := by rfl
337
def raw3703 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, 1, -1, 0], ![1, -1, -1, 1], ![1, 1, 1, -3]]
339
theorem canonical3703 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3703 = injectiveMoment H node2070 := by
proof · 1 line
  rfl
343
def raw3704 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, 1, -1, 0], ![1, 0, -1, 0], ![1, 0, 1, -2]]
345
def raw3704step0 : Matrix (Fin 5) (Fin 4) ℤ := ![![-1, 0, 0, 1], ![0, -2, 1, 1], ![0, 1, -1, 0], ![0, 1, 1, -2], ![1, 0, -1, 0]]
347
theorem canonical3704 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3704 = injectiveMoment H node2744 := by
proof · 6 lines
  calc
    injectiveMoment H raw3704 = injectiveMoment H raw3704step0 := by
      have heq : raw3704step0 = (fun i j => raw3704 (permutation60 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3704 permutation60 permutation15
    _ = injectiveMoment H node2744 := by rfl
356
def raw3705 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, 1, -1, 0], ![1, 0, 0, -1], ![1, 0, 0, -1]]
358
def raw3705step0 : Matrix (Fin 5) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 0, -1], ![0, -1, 1, 0], ![-1, 0, 0, 1], ![-1, 0, 0, 1]]
360
def raw3705step1 : Matrix (Fin 5) (Fin 4) ℤ := ![![-1, 0, -1, 2], ![0, 0, 1, -1], ![0, 0, 1, -1], ![0, 1, -1, 0], ![1, -1, 0, 0]]
362
theorem canonical3705 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3705 = injectiveMoment H node2734 := by
proof · 10 lines
  calc
    injectiveMoment H raw3705 = injectiveMoment H raw3705step0 := by
      have heq : raw3705step0 = -raw3705 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3705).symm
    injectiveMoment H raw3705step0 = injectiveMoment H raw3705step1 := by
      have heq : raw3705step1 = (fun i j => raw3705step0 (permutation49 i) (permutation24 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3705step0 permutation49 permutation24
    _ = injectiveMoment H node2734 := by rfl
375
def raw3706 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![0, 1, 0, -1], ![2, 0, -1, -1]]
377
def raw3706step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, 0, -1, 2], ![0, -1, 1, 0], ![0, 1, -1, 0], ![1, 0, 1, -2]]
379
theorem canonical3706 {H : CMatrix} (_hH : IsHadamard H) :
    injectiveMoment H raw3706 = injectiveMoment H node1241 := by
proof · 6 lines
  calc
    injectiveMoment H raw3706 = injectiveMoment H raw3706step0 := by
      have heq : raw3706step0 = (fun i j => raw3706 (permutation30 i) (permutation24 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3706 permutation30 permutation24
    _ = injectiveMoment H node1241 := by rfl
388
def raw3707 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![1, 0, -2, 1], ![1, 1, 1, -3]]
390
def raw3707step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 0, -1], ![-1, 0, 2, -1], ![-1, -1, -1, 3]]
392
def raw3707step1 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, -1, 3], ![0, -1, 2, -1], ![0, 2, -1, -1], ![1, 0, 0, -1]]
394
theorem canonical3707 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3707 = injectiveMoment H node945 := by
proof · 10 lines
  calc
    injectiveMoment H raw3707 = injectiveMoment H raw3707step0 := by
      have heq : raw3707step0 = -raw3707 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3707).symm
    injectiveMoment H raw3707step0 = injectiveMoment H raw3707step1 := by
      have heq : raw3707step1 = (fun i j => raw3707step0 (permutation31 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3707step0 permutation31 permutation15
    _ = injectiveMoment H node945 := by rfl
407
def raw3708 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![1, 0, -1, 0], ![1, 1, 0, -2]]
409
def raw3708step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 0, -1], ![-1, 0, 1, 0], ![-1, -1, 0, 2]]
411
def raw3708step1 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, 0, -1, 2], ![0, -1, 2, -1], ![0, 1, -1, 0], ![1, 0, 0, -1]]
413
theorem canonical3708 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3708 = injectiveMoment H node1245 := by
proof · 10 lines
  calc
    injectiveMoment H raw3708 = injectiveMoment H raw3708step0 := by
      have heq : raw3708step0 = -raw3708 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3708).symm
    injectiveMoment H raw3708step0 = injectiveMoment H raw3708step1 := by
      have heq : raw3708step1 = (fun i j => raw3708step0 (permutation28 i) (permutation17 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3708step0 permutation28 permutation17
    _ = injectiveMoment H node1245 := by rfl
426
def raw3709 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![1, 0, 0, -1], ![1, 1, -1, -1]]
428
def raw3709step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 0, -1], ![-1, 0, 0, 1], ![-1, -1, 1, 1]]
430
def raw3709step1 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, 0, -1, 2], ![0, 0, 1, -1], ![0, 1, -1, 0], ![1, -1, 1, -1]]
432
theorem canonical3709 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3709 = injectiveMoment H node1262 := by
proof · 10 lines
  calc
    injectiveMoment H raw3709 = injectiveMoment H raw3709step0 := by
      have heq : raw3709step0 = -raw3709 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3709).symm
    injectiveMoment H raw3709step0 = injectiveMoment H raw3709step1 := by
      have heq : raw3709step1 = (fun i j => raw3709step0 (permutation11 i) (permutation24 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3709step0 permutation11 permutation24
    _ = injectiveMoment H node1262 := by rfl
445
def raw3710 : Matrix (Fin 4) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 0, 1], ![1, 1, -2, 0], ![1, 0, 1, -2]]
447
def raw3710step0 : Matrix (Fin 4) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, 0, -1], ![-1, -1, 2, 0], ![-1, 0, -1, 2]]
449
def raw3710step1 : Matrix (Fin 4) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, -1, 2, -1], ![0, 2, -1, -1], ![1, 0, -1, 0]]
451
theorem canonical3710 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3710 = injectiveMoment H node1009 := by
proof · 10 lines
  calc
    injectiveMoment H raw3710 = injectiveMoment H raw3710step0 := by
      have heq : raw3710step0 = -raw3710 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3710).symm
    injectiveMoment H raw3710step0 = injectiveMoment H raw3710step1 := by
      have heq : raw3710step1 = (fun i j => raw3710step0 (permutation25 i) (permutation16 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3710step0 permutation25 permutation16
    _ = injectiveMoment H node1009 := by rfl
464
def raw3711 : Matrix (Fin 5) (Fin 4) ℤ := ![![-2, 0, 1, 1], ![0, -1, 1, 0], ![0, 0, -1, 1], ![1, 0, -1, 0], ![1, 1, 0, -2]]
466
def raw3711step0 : Matrix (Fin 5) (Fin 4) ℤ := ![![2, 0, -1, -1], ![0, 1, -1, 0], ![0, 0, 1, -1], ![-1, 0, 1, 0], ![-1, -1, 0, 2]]
468
def raw3711step1 : Matrix (Fin 5) (Fin 4) ℤ := ![![-1, -1, 0, 2], ![0, -1, 1, 0], ![0, 0, 1, -1], ![0, 2, -1, -1], ![1, 0, -1, 0]]
470
theorem canonical3711 {H : CMatrix} (hH : IsHadamard H) :
    injectiveMoment H raw3711 = injectiveMoment H node2584 := by
proof · 10 lines
  calc
    injectiveMoment H raw3711 = injectiveMoment H raw3711step0 := by
      have heq : raw3711step0 = -raw3711 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact (injectiveMoment_neg hH raw3711).symm
    injectiveMoment H raw3711step0 = injectiveMoment H raw3711step1 := by
      have heq : raw3711step1 = (fun i j => raw3711step0 (permutation149 i) (permutation15 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
      rw [heq]
      exact moment_permute H raw3711step0 permutation149 permutation15
    _ = injectiveMoment H node2584 := by rfl

Xet Storage Details

Size:
26.8 kB
·
Xet hash:
9f067d56a56ba87ca515672bfd754e88c8add8b1c0537320085619f1c6626581

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.