Lean 4 · 100
declarations statementsfull
def raw448 : Matrix (Fin 6) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![1, -1, 0], ![1, -1, 0], ![1, 0, -1], ![1, 0, -1]] def raw448step0 : Matrix (Fin 6) (Fin 3) ℤ := ![![3, 0, -3], ![1, -2, 1], ![-1, 1, 0], ![-1, 1, 0], ![-1, 0, 1], ![-1, 0, 1]] def raw448step1 : Matrix (Fin 6) (Fin 3) ℤ := ![![-2, 1, 1], ![0, -3, 3], ![0, 1, -1], ![0, 1, -1], ![1, 0, -1], ![1, 0, -1]] theorem canonical448 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw448 = injectiveMoment H node2297 := by proof · 10 lines
calc
injectiveMoment H raw448 = injectiveMoment H raw448step0 := by
have heq : raw448step0 = -raw448 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw448).symm
injectiveMoment H raw448step0 = injectiveMoment H raw448step1 := by
have heq : raw448step1 = (fun i j => raw448step0 (permutation206 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw448step0 permutation206 permutation6
_ = injectiveMoment H node2297 := by rfldef raw449 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![1, -1, 0], ![1, -1, 0], ![2, 0, -2]] def raw449step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![3, 0, -3], ![1, -2, 1], ![-1, 1, 0], ![-1, 1, 0], ![-2, 0, 2]] def raw449step1 : Matrix (Fin 5) (Fin 3) ℤ := ![![-2, 1, 1], ![0, -3, 3], ![0, 2, -2], ![1, 0, -1], ![1, 0, -1]] theorem canonical449 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw449 = injectiveMoment H node699 := by proof · 10 lines
calc
injectiveMoment H raw449 = injectiveMoment H raw449step0 := by
have heq : raw449step0 = -raw449 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw449).symm
injectiveMoment H raw449step0 = injectiveMoment H raw449step1 := by
have heq : raw449step1 = (fun i j => raw449step0 (permutation61 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw449step0 permutation61 permutation6
_ = injectiveMoment H node699 := by rfldef raw450 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![1, -1, 0], ![1, 0, -1], ![2, -1, -1]] def raw450step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![3, 0, -3], ![1, -2, 1], ![-1, 1, 0], ![-1, 0, 1], ![-2, 1, 1]] def raw450step1 : Matrix (Fin 5) (Fin 3) ℤ := ![![-2, 1, 1], ![0, -3, 3], ![0, 1, -1], ![1, 0, -1], ![1, 1, -2]] theorem canonical450 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw450 = injectiveMoment H node697 := by proof · 10 lines
calc
injectiveMoment H raw450 = injectiveMoment H raw450step0 := by
have heq : raw450step0 = -raw450 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw450).symm
injectiveMoment H raw450step0 = injectiveMoment H raw450step1 := by
have heq : raw450step1 = (fun i j => raw450step0 (permutation59 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw450step0 permutation59 permutation6
_ = injectiveMoment H node697 := by rfldef raw451 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![1, -1, 0], ![1, 1, -2], ![2, -2, 0]] def raw451step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![3, 0, -3], ![1, -2, 1], ![-1, 1, 0], ![-1, -1, 2], ![-2, 2, 0]] def raw451step1 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, 1, -1], ![0, 2, -2], ![1, -2, 1], ![2, -1, -1]] theorem canonical451 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw451 = injectiveMoment H node345 := by proof · 10 lines
calc
injectiveMoment H raw451 = injectiveMoment H raw451step0 := by
have heq : raw451step0 = -raw451 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw451).symm
injectiveMoment H raw451step0 = injectiveMoment H raw451step1 := by
have heq : raw451step1 = (fun i j => raw451step0 (permutation43 i) (permutation8 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw451step0 permutation43 permutation8
_ = injectiveMoment H node345 := by rfldef raw452 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![1, -1, 0], ![3, -1, -2]] def raw452step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![3, 0, -3], ![1, -2, 1], ![-1, 1, 0], ![-3, 1, 2]] def raw452step1 : Matrix (Fin 4) (Fin 3) ℤ := ![![-2, 1, 1], ![0, -3, 3], ![1, 0, -1], ![1, 2, -3]] theorem canonical452 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw452 = injectiveMoment H node222 := by proof · 10 lines
calc
injectiveMoment H raw452 = injectiveMoment H raw452step0 := by
have heq : raw452step0 = -raw452 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw452).symm
injectiveMoment H raw452step0 = injectiveMoment H raw452step1 := by
have heq : raw452step1 = (fun i j => raw452step0 (permutation15 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw452step0 permutation15 permutation6
_ = injectiveMoment H node222 := by rfldef raw453 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![1, 0, -1], ![1, 0, -1], ![2, -2, 0]] def raw453step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![-2, 0, 2], ![0, -1, 1], ![0, -1, 1], ![0, 3, -3], ![2, -1, -1]] theorem canonical453 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw453 = injectiveMoment H node651 := by proof · 6 lines
calc
injectiveMoment H raw453 = injectiveMoment H raw453step0 := by
have heq : raw453step0 = (fun i j => raw453 (permutation143 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw453 permutation143 permutation6
_ = injectiveMoment H node651 := by rfldef raw454 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![1, 0, -1], ![3, -2, -1]] def raw454step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![-2, -1, 3], ![0, -1, 1], ![0, 3, -3], ![2, -1, -1]] theorem canonical454 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw454 = injectiveMoment H node170 := by proof · 6 lines
calc
injectiveMoment H raw454 = injectiveMoment H raw454step0 := by
have heq : raw454step0 = (fun i j => raw454 (permutation31 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw454 permutation31 permutation6
_ = injectiveMoment H node170 := by rfldef raw455 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![1, 1, -2], ![3, -3, 0]] def raw455step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![0, 3, -3], ![1, -2, 1], ![2, -1, -1]] theorem canonical455 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw455 = injectiveMoment H node98 := by proof · 6 lines
calc
injectiveMoment H raw455 = injectiveMoment H raw455step0 := by
have heq : raw455step0 = (fun i j => raw455 (permutation28 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw455 permutation28 permutation6
_ = injectiveMoment H node98 := by rfldef raw456 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![2, -2, 0], ![2, 0, -2]] def raw456step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![-2, 0, 2], ![0, -2, 2], ![0, 3, -3], ![2, -1, -1]] theorem canonical456 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw456 = injectiveMoment H node198 := by proof · 6 lines
calc
injectiveMoment H raw456 = injectiveMoment H raw456step0 := by
have heq : raw456step0 = (fun i j => raw456 (permutation25 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw456 permutation25 permutation6
_ = injectiveMoment H node198 := by rfldef raw457 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 2, -1], ![2, -1, -1], ![2, -1, -1]] def raw457step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![3, 0, -3], ![1, -2, 1], ![-2, 1, 1], ![-2, 1, 1]] def raw457step1 : Matrix (Fin 4) (Fin 3) ℤ := ![![-2, 1, 1], ![0, -3, 3], ![1, 1, -2], ![1, 1, -2]] theorem canonical457 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw457 = injectiveMoment H node223 := by proof · 10 lines
calc
injectiveMoment H raw457 = injectiveMoment H raw457step0 := by
have heq : raw457step0 = -raw457 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw457).symm
injectiveMoment H raw457step0 = injectiveMoment H raw457step1 := by
have heq : raw457step1 = (fun i j => raw457step0 (permutation15 i) (permutation6 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw457step0 permutation15 permutation6
_ = injectiveMoment H node223 := by rfldef raw458 : Matrix (Fin 6) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 3, -2], ![1, -1, 0], ![1, -1, 0], ![1, -1, 0], ![1, 0, -1]] def raw458step0 : Matrix (Fin 6) (Fin 3) ℤ := ![![3, 0, -3], ![1, -3, 2], ![-1, 1, 0], ![-1, 1, 0], ![-1, 1, 0], ![-1, 0, 1]] def raw458step1 : Matrix (Fin 6) (Fin 3) ℤ := ![![-3, 0, 3], ![0, 1, -1], ![0, 1, -1], ![0, 1, -1], ![1, 0, -1], ![2, -3, 1]] theorem canonical458 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw458 = injectiveMoment H node1411 := by proof · 10 lines
calc
injectiveMoment H raw458 = injectiveMoment H raw458step0 := by
have heq : raw458step0 = -raw458 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw458).symm
injectiveMoment H raw458step0 = injectiveMoment H raw458step1 := by
have heq : raw458step1 = (fun i j => raw458step0 (permutation172 i) (permutation8 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw458step0 permutation172 permutation8
_ = injectiveMoment H node1411 := by rfldef raw459 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 3, -2], ![1, -1, 0], ![1, -1, 0], ![2, -1, -1]] def raw459step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![3, 0, -3], ![1, -3, 2], ![-1, 1, 0], ![-1, 1, 0], ![-2, 1, 1]] def raw459step1 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, 1, -1], ![0, 1, -1], ![1, 1, -2], ![2, -3, 1]] theorem canonical459 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw459 = injectiveMoment H node343 := by proof · 10 lines
calc
injectiveMoment H raw459 = injectiveMoment H raw459step0 := by
have heq : raw459step0 = -raw459 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw459).symm
injectiveMoment H raw459step0 = injectiveMoment H raw459step1 := by
have heq : raw459step1 = (fun i j => raw459step0 (permutation42 i) (permutation8 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw459step0 permutation42 permutation8
_ = injectiveMoment H node343 := by rfldef raw460 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 3, -2], ![1, -1, 0], ![3, -2, -1]] def raw460step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![3, 0, -3], ![1, -3, 2], ![-1, 1, 0], ![-3, 2, 1]] def raw460step1 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![0, 1, -1], ![1, 2, -3], ![2, -3, 1]] theorem canonical460 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw460 = injectiveMoment H node95 := by proof · 10 lines
calc
injectiveMoment H raw460 = injectiveMoment H raw460step0 := by
have heq : raw460step0 = -raw460 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw460).symm
injectiveMoment H raw460step0 = injectiveMoment H raw460step1 := by
have heq : raw460step1 = (fun i j => raw460step0 (permutation12 i) (permutation8 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw460step0 permutation12 permutation8
_ = injectiveMoment H node95 := by rfldef raw461 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![-1, 3, -2], ![2, -2, 0], ![2, -1, -1]] def raw461step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![3, 0, -3], ![1, -3, 2], ![-2, 2, 0], ![-2, 1, 1]] def raw461step1 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![0, 2, -2], ![1, 1, -2], ![2, -3, 1]] theorem canonical461 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw461 = injectiveMoment H node97 := by proof · 10 lines
calc
injectiveMoment H raw461 = injectiveMoment H raw461step0 := by
have heq : raw461step0 = -raw461 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw461).symm
injectiveMoment H raw461step0 = injectiveMoment H raw461step1 := by
have heq : raw461step1 = (fun i j => raw461step0 (permutation12 i) (permutation8 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw461step0 permutation12 permutation8
_ = injectiveMoment H node97 := by rfldef raw462 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 1, -1], ![0, 2, -2], ![3, -1, -2]] theorem canonical462 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw462 = injectiveMoment H node325 := by proof · 1 line
rfl
def raw463 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 1, -1], ![1, -1, 0], ![2, 2, -4]] theorem canonical463 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw463 = injectiveMoment H node326 := by proof · 1 line
rfl
def raw464 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 1, -1], ![1, 0, -1], ![2, 1, -3]] def raw464step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![-2, 0, 2], ![0, -3, 3], ![0, 1, -1], ![1, 0, -1], ![1, 2, -3]] theorem canonical464 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw464 = injectiveMoment H node633 := by proof · 6 lines
calc
injectiveMoment H raw464 = injectiveMoment H raw464step0 := by
have heq : raw464step0 = (fun i j => raw464 (permutation59 i) (permutation5 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw464 permutation59 permutation5
_ = injectiveMoment H node633 := by rfldef raw465 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 1, -1], ![1, 1, -2], ![2, 0, -2]] def raw465step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![-2, 0, 2], ![0, -3, 3], ![0, 2, -2], ![1, 0, -1], ![1, 1, -2]] theorem canonical465 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw465 = injectiveMoment H node635 := by proof · 6 lines
calc
injectiveMoment H raw465 = injectiveMoment H raw465step0 := by
have heq : raw465step0 = (fun i j => raw465 (permutation61 i) (permutation5 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw465 permutation61 permutation5
_ = injectiveMoment H node635 := by rfldef raw466 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 1, -1], ![1, 2, -3], ![2, -1, -1]] theorem canonical466 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw466 = injectiveMoment H node327 := by proof · 1 line
rfl
def raw467 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 2, -2], ![1, -1, 0], ![2, 1, -3]] theorem canonical467 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw467 = injectiveMoment H node328 := by proof · 1 line
rfl
def raw468 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 2, -2], ![1, 0, -1], ![2, 0, -2]] def raw468step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![-2, 0, 2], ![0, -3, 3], ![0, 1, -1], ![0, 2, -2], ![2, 0, -2]] theorem canonical468 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw468 = injectiveMoment H node631 := by proof · 6 lines
calc
injectiveMoment H raw468 = injectiveMoment H raw468step0 := by
have heq : raw468step0 = (fun i j => raw468 (permutation60 i) (permutation5 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw468 permutation60 permutation5
_ = injectiveMoment H node631 := by rfldef raw469 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 2, -2], ![1, 1, -2], ![2, -1, -1]] theorem canonical469 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw469 = injectiveMoment H node329 := by proof · 1 line
rfl
def raw470 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 2, -2], ![2, -1, -1], ![1, 1, -2]] def raw470step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 2, -2], ![1, 1, -2], ![2, -1, -1]] theorem canonical470 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw470 = injectiveMoment H node329 := by proof · 6 lines
calc
injectiveMoment H raw470 = injectiveMoment H raw470step0 := by
have heq : raw470step0 = (fun i j => raw470 (permutation34 i) (permutation3 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw470 permutation34 permutation3
_ = injectiveMoment H node329 := by rfldef raw471 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 2, -2], ![3, 0, -3]] def raw471step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![-2, 0, 2], ![0, -3, 3], ![0, 3, -3], ![2, 0, -2]] theorem canonical471 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw471 = injectiveMoment H node192 := by proof · 6 lines
calc
injectiveMoment H raw471 = injectiveMoment H raw471step0 := by
have heq : raw471step0 = (fun i j => raw471 (permutation16 i) (permutation5 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw471 permutation16 permutation5
_ = injectiveMoment H node192 := by rfldef raw472 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 3, -3], ![1, -1, 0], ![2, 0, -2]] theorem canonical472 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw472 = injectiveMoment H node330 := by proof · 1 line
rfl
def raw473 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 3, -3], ![1, 0, -1], ![2, -1, -1]] theorem canonical473 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw473 = injectiveMoment H node331 := by proof · 1 line
rfl
def raw474 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 3, -3], ![2, -1, -1], ![1, 0, -1]] def raw474step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 3, -3], ![1, 0, -1], ![2, -1, -1]] theorem canonical474 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw474 = injectiveMoment H node331 := by proof · 6 lines
calc
injectiveMoment H raw474 = injectiveMoment H raw474step0 := by
have heq : raw474step0 = (fun i j => raw474 (permutation34 i) (permutation3 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw474 permutation34 permutation3
_ = injectiveMoment H node331 := by rfldef raw475 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![0, 3, -3], ![3, -1, -2]] theorem canonical475 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw475 = injectiveMoment H node91 := by proof · 1 line
rfl
def raw476 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![1, -1, 0], ![1, 0, -1], ![1, 3, -4]] def raw476step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![3, 0, -3], ![0, 2, -2], ![-1, 1, 0], ![-1, 0, 1], ![-1, -3, 4]] def raw476step1 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, -1, 4], ![0, -1, 1], ![0, 3, -3], ![1, -1, 0], ![2, 0, -2]] theorem canonical476 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw476 = injectiveMoment H node309 := by proof · 10 lines
calc
injectiveMoment H raw476 = injectiveMoment H raw476step0 := by
have heq : raw476step0 = -raw476 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw476).symm
injectiveMoment H raw476step0 = injectiveMoment H raw476step1 := by
have heq : raw476step1 = (fun i j => raw476step0 (permutation146 i) (permutation5 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw476step0 permutation146 permutation5
_ = injectiveMoment H node309 := by rfldef raw477 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![1, -1, 0], ![1, 1, -2], ![1, 2, -3]] theorem canonical477 {H : CMatrix} (_hH : IsHadamard H) :
injectiveMoment H raw477 = injectiveMoment H node332 := by proof · 1 line
rfl
def raw478 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![1, -1, 0], ![2, 3, -5]] def raw478step0 : Matrix (Fin 4) (Fin 3) ℤ := ![![3, 0, -3], ![0, 2, -2], ![-1, 1, 0], ![-2, -3, 5]] def raw478step1 : Matrix (Fin 4) (Fin 3) ℤ := ![![-3, -2, 5], ![0, 3, -3], ![1, -1, 0], ![2, 0, -2]] theorem canonical478 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw478 = injectiveMoment H node75 := by proof · 10 lines
calc
injectiveMoment H raw478 = injectiveMoment H raw478step0 := by
have heq : raw478step0 = -raw478 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw478).symm
injectiveMoment H raw478step0 = injectiveMoment H raw478step1 := by
have heq : raw478step1 = (fun i j => raw478step0 (permutation28 i) (permutation5 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw478step0 permutation28 permutation5
_ = injectiveMoment H node75 := by rfldef raw479 : Matrix (Fin 5) (Fin 3) ℤ := ![![-3, 0, 3], ![0, -2, 2], ![1, 0, -1], ![1, 0, -1], ![1, 2, -3]] def raw479step0 : Matrix (Fin 5) (Fin 3) ℤ := ![![3, 0, -3], ![0, 2, -2], ![-1, 0, 1], ![-1, 0, 1], ![-1, -2, 3]] def raw479step1 : Matrix (Fin 5) (Fin 3) ℤ := ![![-2, -1, 3], ![0, -1, 1], ![0, -1, 1], ![0, 3, -3], ![2, 0, -2]] theorem canonical479 {H : CMatrix} (hH : IsHadamard H) :
injectiveMoment H raw479 = injectiveMoment H node551 := by proof · 10 lines
calc
injectiveMoment H raw479 = injectiveMoment H raw479step0 := by
have heq : raw479step0 = -raw479 := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact (injectiveMoment_neg hH raw479).symm
injectiveMoment H raw479step0 = injectiveMoment H raw479step1 := by
have heq : raw479step1 = (fun i j => raw479step0 (permutation143 i) (permutation5 j)) := by ext i j; fin_cases i <;> fin_cases j <;> decide +kernel
rw [heq]
exact moment_permute H raw479step0 permutation143 permutation5
_ = injectiveMoment H node551 := by rflOutline
- def
raw44817 - def
raw448step019 - def
raw448step121 - theorem
canonical44823 - def
raw44936 - def
raw449step038 - def
raw449step140 - theorem
canonical44942 - def
raw45055 - def
raw450step057 - def
raw450step159 - theorem
canonical45061 - def
raw45174 - def
raw451step076 - def
raw451step178 - theorem
canonical45180 - def
raw45293 - def
raw452step095 - def
raw452step197 - theorem
canonical45299 - def
raw453112 - def
raw453step0114 - theorem
canonical453116 - def
raw454125 - def
raw454step0127 - theorem
canonical454129 - def
raw455138 - def
raw455step0140 - theorem
canonical455142 - def
raw456151 - def
raw456step0153 - theorem
canonical456155 - def
raw457164 - def
raw457step0166 - def
raw457step1168 - theorem
canonical457170 - def
raw458183 - def
raw458step0185 - def
raw458step1187 - theorem
canonical458189 - def
raw459202 - def
raw459step0204 - def
raw459step1206 - theorem
canonical459208 - def
raw460221 - def
raw460step0223 - def
raw460step1225 - theorem
canonical460227 - def
raw461240 - def
raw461step0242 - def
raw461step1244 - theorem
canonical461246 - def
raw462259 - theorem
canonical462261 - def
raw463265 - theorem
canonical463267 - def
raw464271 - def
raw464step0273 - theorem
canonical464275 - def
raw465284 - def
raw465step0286 - theorem
canonical465288 - def
raw466297 - theorem
canonical466299 - def
raw467303 - theorem
canonical467305 - def
raw468309 - def
raw468step0311 - theorem
canonical468313 - def
raw469322 - theorem
canonical469324 - def
raw470328 - def
raw470step0330 - theorem
canonical470332 - def
raw471341 - def
raw471step0343 - theorem
canonical471345 - def
raw472354 - theorem
canonical472356 - def
raw473360 - theorem
canonical473362 - def
raw474366 - def
raw474step0368 - theorem
canonical474370 - def
raw475379 - theorem
canonical475381 - def
raw476385 - def
raw476step0387 - def
raw476step1389 - theorem
canonical476391 - def
raw477404 - theorem
canonical477406 - def
raw478410 - def
raw478step0412 - def
raw478step1414 - theorem
canonical478416 - def
raw479429 - def
raw479step0431 - def
raw479step1433 - theorem
canonical479435
Xet Storage Details
- Size:
- 23.4 kB
- Xet hash:
- 704af25d0070502304e512c481635b09f0fe7e2b4917dba2cfb055784d381f4f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.